@charset "UTF-8";
/**
 * 케어 — 리워드 일반 유저 UI (리워드몰·포인트·쿠폰·출석 공통)
 * 빌드: sass scss/style.scss ../style.css
 * 소스만 수정하고 컴파일된 style.css는 배포 시 생성합니다.
 */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600&display=swap");
.reward-user-header {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ru-mypage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 32px;
}

.ru-mypage-bar__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.29;
  color: #000;
  margin: 0;
  text-align: center;
}
@media (min-width: 640px) {
  .ru-mypage-bar__title {
    text-align: left;
  }
}

.ru-mode-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ru-mode-toggle--triple {
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.ru-mode-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  text-decoration: none;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ru-mode-toggle__btn--care {
  background: #3383f5;
  color: #fff;
  border-color: #3383f5;
}
.ru-mode-toggle__btn--care:hover {
  opacity: 0.92;
  color: #fff;
}

.ru-mode-toggle__btn--fest {
  background: #fff;
  color: #3383f5;
  border-color: #3383f5;
}
.ru-mode-toggle__btn--fest:hover {
  background: #f9fafb;
  color: #3383f5;
}

.board.notice .reward-user-header .fig-tab-v1 a.fig-tab-v1__link {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

#attendance-container .reward-user-header {
  margin-bottom: 0;
}

#attendance-container .ru-mypage-bar {
  margin-bottom: 32px;
}

/* 리워드 사용자 페이지: .board 기본 패딩/배경 재정의 (대시보드 40px 20px 일치) */
.care-reward-user .board {
  padding: 40px 0 0;       /* 상단 40px 회색, 좌우·하단은 *-outer가 담당 */
  background: #f3f3f5;     /* #fafafa → rm-outer 동일 색상으로 통일 */
}

/* 출석·쿠폰 등 동일 회색 바깥 영역 */
.board.notice .rc-outer {
  background: #f3f3f5;
  padding: 0 20px 48px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .board.notice .rc-outer {
    padding: 0 20px 64px;
  }
}

.fig-tab-v1 {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  border-radius: 50px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  scrollbar-width: thin;
  box-sizing: border-box;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .fig-tab-v1 {
    overflow-x: visible;
  }
}
.fig-tab-v1::-webkit-scrollbar {
  height: 4px;
}
.fig-tab-v1::-webkit-scrollbar-thumb {
  background: #e3e3e3;
  border-radius: 4px;
}

.fig-tab-v1__link {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 15px;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #8e8e8e;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.15s, color 0.15s, border-radius 0.15s;
}
@media (min-width: 768px) {
  .fig-tab-v1__link {
    padding: 8px 12px;
  }
}
.fig-tab-v1__link:hover {
  color: #2371e8;
}

.fig-tab-v1__link--active {
  background: #2371e8;
  color: #ffffff;
  border-radius: 50px;
}
.fig-tab-v1__link--active:hover {
  color: #ffffff;
}

.rm-outer {
  background: #f3f3f5;
  padding: 0 20px 48px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .rm-outer {
    padding: 0 20px 64px;
  }
}
#container .board.notice .content-box.rm-page {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fffffe;
  border-radius: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 16px 40px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  #container .board.notice .content-box.rm-page {
    padding: 20px 40px 52px;
  }
}
.rm-after-tabs {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
}

.rm-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  color: #000;
  margin: 0 0 16px;
  text-align: left;
  width: 100%;
}

@media (min-width: 768px) {
  .rm-title {
    font-size: 28px;
    line-height: 1.29;
    margin-bottom: 24px;
  }
}
.rm-point-bar {
  background: #f5f9ff;
  border-radius: 20px;
  padding: 20px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .rm-point-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    gap: 20px;
  }
}
.rm-point-bar__left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .rm-point-bar__left {
    justify-content: flex-start;
    width: auto;
    flex: 1;
    min-width: 0;
  }
}
.rm-point-bar__label-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rm-point-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #3383f5;
}

@media (max-width: 767px) {
  .rm-point-icon {
    width: 24px;
    height: 24px;
  }
}
.rm-point-bar__label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  line-height: 1.43;
}

@media (min-width: 768px) {
  .rm-point-bar__label {
    font-size: 16px;
    line-height: 1.5;
  }
}
.rm-point-bar__value {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  color: #3383f5;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .rm-point-bar__value {
    margin-left: 12px;
  }
}
.rm-point-bar__value-num {
  font-size: 24px;
}

@media (min-width: 768px) {
  .rm-point-bar__value-num {
    font-size: 32px;
    line-height: 1.25;
  }
}
.rm-point-bar__value-unit {
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 2px;
}

.rm-btn-history {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #2371e8;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  text-decoration: none;
  box-sizing: border-box;
  width: 100%;
}

.rm-btn-history:hover {
  opacity: 0.92;
  color: #fff;
}

@media (min-width: 768px) {
  .rm-btn-history {
    width: auto;
    flex-shrink: 0;
  }
}
.rm-btn-history svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.rm-cat-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin-bottom: 24px;
  width: 100%;
  scrollbar-width: thin;
}

.rm-cat-scroll::-webkit-scrollbar {
  height: 4px;
}

.rm-cat-scroll::-webkit-scrollbar-thumb {
  background: #e3e3e3;
  border-radius: 4px;
}

.rm-cat {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

@media (min-width: 768px) {
  .rm-cat {
    padding: 8px 20px;
    font-size: 16px;
    line-height: 1.5;
  }
}
.rm-cat--active {
  background: #e8f2ff;
  color: #3383f5;
}

.rm-cat--inactive {
  background: #f5f5f5;
  color: #8e8e8e;
}

.rm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  width: 100%;
}

@media (min-width: 640px) {
  .rm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
  }
}
@media (min-width: 1024px) {
  .rm-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px 16px;
  }
}
.rm-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: visible;
  padding-bottom: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.rm-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.rm-card__brand,
.rm-card__name,
.rm-card__row {
  padding-left: 10px;
  padding-right: 10px;
}

.rm-card__thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  background: #e3e3e3;
  margin-bottom: 10px;
  overflow: hidden;
  width: 100%;
  display: block;
  object-fit: cover;
}

.rm-card__thumb--c1 {
  background: linear-gradient(145deg, #d4e8fc, #e8f2ff);
}

.rm-card__thumb--c2 {
  background: linear-gradient(145deg, #fde4d4, #fff0e8);
}

.rm-card__thumb--c3 {
  background: linear-gradient(145deg, #fce8d4, #fff5e8);
}

.rm-card__thumb--c4 {
  background: linear-gradient(145deg, #e8e0f5, #f5f0ff);
}

.rm-card__thumb--c5 {
  background: linear-gradient(145deg, #f5e6d4, #faf3eb);
}

.rm-card__thumb--c6 {
  background: linear-gradient(145deg, #d4f0e8, #e8faf5);
}

.rm-card__thumb--c7 {
  background: linear-gradient(145deg, #dce8f5, #eef4fc);
}

.rm-card__thumb--c8 {
  background: linear-gradient(145deg, #ffd6e8, #fff0f5);
}

.rm-card__thumb--c9 {
  background: linear-gradient(145deg, #c8e6d5, #e8f5ec);
}

.rm-card__thumb--c10 {
  background: linear-gradient(145deg, #ffe0c8, #fff4eb);
}

.rm-card__thumb--c11 {
  background: linear-gradient(145deg, #e0d4f5, #f0e8ff);
}

.rm-card__thumb--c12 {
  background: linear-gradient(145deg, #d8e4f0, #eef4fa);
}

.rm-card__thumb--c13 {
  background: linear-gradient(145deg, #e8f0d8, #f5fae8);
}

.rm-card__thumb--c14 {
  background: linear-gradient(145deg, #fce0d8, #fff0eb);
}

.rm-card__thumb--c15 {
  background: linear-gradient(145deg, #ffe8c8, #fff8e8);
}

.rm-card__thumb--c16 {
  background: linear-gradient(145deg, #f5d8e8, #fceef5);
}

.rm-card__thumb--c17 {
  background: linear-gradient(145deg, #d4ecf8, #e8f6fc);
}

.rm-card__thumb--c18 {
  background: linear-gradient(145deg, #ffd8c8, #fff0e8);
}

.rm-card__thumb--c19 {
  background: linear-gradient(145deg, #f0d8f0, #fae8fa);
}

.rm-card__thumb--c20 {
  background: linear-gradient(145deg, #d8e8f0, #eaf4fa);
}

.rm-card__brand {
  font-size: 12px;
  color: #8e8e8e;
  line-height: 1.43;
  margin: 0 0 4px;
}

.rm-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.43;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .rm-card__name {
    font-size: 15px;
    line-height: 1.4;
  }
}
.rm-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rm-card__points {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #3383f5;
  line-height: 1.25;
}

.rm-badge {
  flex-shrink: 0;
  background: #f4faef;
  color: #5da76d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.43;
  padding: 4px 10px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .rm-badge {
    font-size: 14px;
    padding: 4px 12px;
  }
}
.rm-empty {
  border-top: 1px solid #000;
  border-bottom: 1px solid #bebebe;
  padding: 80px 24px;
  text-align: center;
  box-sizing: border-box;
}

.rm-empty__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 20px;
  color: #bebebe;
}

@media (max-width: 767px) {
  .rm-empty {
    padding: 100px 20px;
  }
  .rm-empty__icon {
    width: 38px;
    height: 38px;
  }
}
.rm-empty__text {
  font-size: 14px;
  color: #000;
  line-height: 1.43;
  margin: 0;
}

@media (min-width: 768px) {
  .rm-empty__text {
    font-size: 18px;
    line-height: 1.5;
  }
}
.rm-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.rm-page-link {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
}

.rm-page-link:hover {
  background: #f5f5f5;
}

.rm-page-link--active {
  background: #000;
  color: #fff;
}

.rm-page-link--active:hover {
  background: #000;
  color: #fff;
}

.rm-demo-hint {
  margin-top: 24px;
  font-size: 13px;
  color: #8e8e8e;
  text-align: center;
  line-height: 1.5;
}

.rm-demo-hint a {
  color: #2371e8;
}

.rmd-outer {
  background: #f3f3f5;
  padding: 24px 12px 48px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .rmd-outer {
    padding: 32px 24px 64px;
  }
}
#container .board.notice .content-box.rmd-page {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fffffe;
  border-radius: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 16px 100px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1024px) {
  #container .board.notice .content-box.rmd-page {
    padding: 32px 32px 48px;
  }
}
.rmd-back {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #2371e8;
  text-decoration: none;
}

.rmd-back:hover {
  text-decoration: underline;
}

.rmd-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 1024px) {
  .rmd-layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
}
.rmd-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .rmd-main {
    max-width: 950px;
    gap: 40px;
  }
}
.rmd-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .rmd-hero {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
}
.rmd-hero__img-wrap {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  background: #e3e3e3;
  aspect-ratio: 1;
  max-height: 360px;
}

@media (min-width: 1024px) {
  .rmd-hero__img-wrap {
    flex: 0 0 45%;
    max-width: 545px;
    max-height: none;
    aspect-ratio: 1;
  }
}
.rmd-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(145deg, #d4e8fc, #e8f2ff);
}

.rmd-hero__info {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .rmd-hero__info {
    max-width: 300px;
  }
}
.rmd-brand {
  font-size: 14px;
  color: #8e8e8e;
  line-height: 1.43;
  margin: 0 0 4px;
}

.rmd-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
  margin: 0 0 12px;
}

.rmd-desc {
  font-size: 14px;
  color: #8e8e8e;
  line-height: 1.43;
  margin: 0 0 12px;
}

.rmd-price {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  color: #3383f5;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 16px;
}

.rmd-price__num {
  font-size: 24px;
  line-height: 1.25;
}

.rmd-price__unit {
  font-size: 18px;
  line-height: 1.5;
}

.rmd-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  padding: 2px 4px;
  gap: 4px;
  margin-bottom: 16px;
}

.rmd-qty__btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: rgba(17, 17, 17, 0.5);
  padding: 0;
}

.rmd-qty__val {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.rmd-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 15px;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
  color: #aaa;
  cursor: default;
}

.rmd-select svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.6;
}

.rmd-ship-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .rmd-ship-desktop {
    display: block;
  }
}
.rmd-ship-box {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e3e3e3;
  box-sizing: border-box;
}

.rmd-ship-box__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e3e3e3;
}

.rmd-ship-box__title {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin: 0;
}

.rmd-ship-change {
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid #2371e8;
  background: #fff;
  font-size: 12px;
  color: #2371e8;
  cursor: pointer;
  font-family: inherit;
}

.rmd-ship-box__name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
}

.rmd-ship-box__addr {
  font-size: 14px;
  color: #8e8e8e;
  line-height: 1.43;
  margin: 0 0 4px;
}

.rmd-ship-box__phone {
  font-size: 14px;
  color: #aaa;
  margin: 0;
}

.rmd-section-title {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 12px;
  margin: 0 0 0;
  border-bottom: 1px solid #000;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .rmd-section-title {
    font-size: 20px;
    line-height: 1.45;
  }
}
.rmd-detail-img {
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a3d2e 0%, #0d1f18 100%);
  aspect-ratio: 800/1480;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.rmd-aside {
  width: 100%;
  flex-shrink: 0;
  padding: 24px;
  border-radius: 20px;
  background: #fffffe;
  border: 1px solid #eee;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .rmd-aside {
    width: 300px;
    position: sticky;
    top: 24px;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }
}
.rmd-aside__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px;
}

.rmd-aside__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.43;
  margin-bottom: 12px;
}

.rmd-aside__row strong {
  font-weight: 600;
  color: #000;
}

.rmd-aside__row span {
  color: #6d6d6d;
}

.rmd-aside__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 4px;
  border-top: 1px solid #e3e3e3;
}

.rmd-aside__total-label {
  font-size: 14px;
  font-weight: 600;
}

.rmd-aside__total-val {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  color: #3383f5;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.rmd-aside__total-val .n {
  font-size: 24px;
  line-height: 1.25;
}

.rmd-aside__total-val .u {
  font-size: 18px;
}

.rmd-btn-exchange {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: #2371e8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  transition: background 0.18s, transform 0.18s;
}

.rmd-btn-exchange:hover {
  background: #1a5fd6;
  transform: translateY(-1px);
  color: #fff;
}

.rmd-held {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.rmd-held__val {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  color: #3383f5;
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.rmd-mobile-summary {
  display: block;
  order: 2;
}

@media (min-width: 1024px) {
  .rmd-mobile-summary {
    display: none;
  }
}
.rmd-mobile-bar {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 20px 12px 12px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -8px 24px rgba(149, 157, 165, 0.2);
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .rmd-mobile-bar {
    display: none;
  }
}
.rmd-desktop-aside-wrap {
  display: none;
}

@media (min-width: 1024px) {
  .rmd-desktop-aside-wrap {
    display: block;
  }
}
.rmd-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  box-sizing: border-box;
}

.rmd-modal-overlay.is-open {
  display: flex;
}

.rmd-modal {
  position: relative;
  width: 100%;
  max-width: 582px;
  margin: 40px auto;
}

/* 모달 — Figma 8209:25247 (배송지 변경 패널, node 8209:25185 플로우) */
.rmd-modal__close-out {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.rmd-modal__x {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/contain no-repeat;
  cursor: pointer;
  padding: 0;
}

.rmd-modal__panel {
  background: #fff;
  border-radius: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 582px;
  padding: 48px 36px;
}

@media (max-width: 619px) {
  .rmd-modal__panel {
    padding: 32px 24px;
  }
}
/* 타이틀: headline/small-emphasized 24px / 1.33 / #141414, 하단 간격 40px (8209:25248 gap) */
.rmd-modal__title {
  margin: 0 0 40px;
  padding: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.33;
  color: #141414;
}

@media (max-width: 619px) {
  .rmd-modal__title {
    font-size: 20px;
    margin-bottom: 32px;
  }
}
/* 탭~필드 40px, 필드블록~버튼 30px (8209:25251 gap) */
.rmd-modal__sheet {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 30px;
}

.rmd-modal__tabs {
  display: flex;
  gap: 12px;
}

/* 탭 타일: py 24 px 20, radius 12, 아이콘 32, 라벨 18px semibold / 1.5 */
.rmd-modal__tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 20px;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  background: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  color: #000;
}

.rmd-modal__tab.is-active {
  background: #e8f2ff;
  border-color: #2371e8;
  color: #2371e8;
}

.rmd-modal__tab svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* 필드 그룹 간격 20px (8209:25271) */
.rmd-modal__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rmd-field {
  margin: 0;
}

/* 라벨~인풋 10px (input_box gap 10px); 본문 18px semibold / 1.5 */
.rmd-field__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
}

/* 주소 라벨만 16px (8209:25284), * 는 18px (8209:25285) */
.rmd-field--addr > .rmd-field__label {
  margin-bottom: 8px;
  font-size: 16px;
}

.rmd-field--addr > .rmd-field__label .rmd-field__req {
  font-size: 18px;
  line-height: 1.5;
}

.rmd-field__req {
  color: #f92626;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.rmd-field__label > span:first-child {
  font-size: inherit;
  font-weight: inherit;
}

.rmd-field__opt {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #8e8e8e;
}

/* 인풋: 안쪽 여백 좌우 15px·상하 12px(Figma), 14px/1.43, radius 5 — 포커스 시 테두리 #000 */
.rmd-modal__panel .rmd-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0;
  padding-top: 12px;
  padding-right: 15px;
  padding-bottom: 12px;
  padding-left: 15px;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  font-family: inherit;
  box-sizing: border-box;
  color: #000;
  background: #fff;
  min-height: 44px;
  vertical-align: middle;
}

.rmd-modal__panel .rmd-input::placeholder {
  color: #aaa;
}

.rmd-modal__panel .rmd-input:read-only {
  padding-top: 12px;
  padding-right: 15px;
  padding-bottom: 12px;
  padding-left: 15px;
}

.rmd-modal__panel .rmd-input:focus {
  border-color: #000;
  outline: none;
}

.rmd-field__addr-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rmd-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.rmd-input-row .rmd-input {
  flex: 1 1 0;
  min-width: 0;
}

.rmd-btn-zip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 5px;
  background: #3383f5;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}

.rmd-modal__actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

/* 취소: w 124, px 32 py 12, radius 10, border #8e8e8e, 16px semibold / 1.5 */
.rmd-btn-cancel {
  box-sizing: border-box;
  width: 124px;
  flex-shrink: 0;
  padding: 12px 32px;
  border: 1px solid #8e8e8e;
  border-radius: 10px;
  background: #fff;
  color: #8e8e8e;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  font-family: inherit;
}

/* 교환 신청: flex 1, px 90 py 12, radius 10, bg #2371e8 */
.rmd-btn-submit {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 90px;
  border: none;
  border-radius: 10px;
  background: #2371e8;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}

.rp-outer {
  background: #f3f3f5;
  padding: 0 20px 48px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .rp-outer {
    padding: 0 20px 64px;
  }
}
#container .board.notice .content-box.rp-page {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fffffe;
  border-radius: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px 48px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  #container .board.notice .content-box.rp-page {
    padding: 20px 40px 52px;
  }
}
/* 리워드 상단(마이페이지+tab_v1): common/reward_user_header.php — 탭 활성 #2371E8 는 reward_user_tabs.php */
.rp-after-tabs {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
}

.rp-stack {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.rp-block-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Figma 8209:25510 — 소제목(리워드몰·포인트·쿠폰·출석 공통 톤) */
.rp-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.29;
  color: #000;
  margin: 0;
  text-align: left;
  width: 100%;
}

.rp-summary {
  background: #e8f2ff;
  border-radius: 20px;
  padding: 28px;
  box-sizing: border-box;
  width: 100%;
}

.rp-summary-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

@media (min-width: 900px) {
  .rp-summary-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}
.rp-summary-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.rp-p-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3383f5;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rp-summary-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.rp-summary-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #555555;
}

.rp-summary-amount {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  color: #3383f5;
}

.rp-summary-amount .rp-num {
  font-size: 32px;
  line-height: 1.25;
}

.rp-summary-amount .rp-unit {
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 2px;
}

.rp-summary-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 640px) {
  .rp-summary-stats {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0;
  }
}
.rp-sum-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .rp-sum-col {
    padding: 0 40px;
  }
  .rp-sum-col + .rp-sum-col {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
  }
}
.rp-sum-col__label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #6d6d6d;
}

.rp-sum-col__val {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.33;
}

.rp-sum-col__val--black {
  color: #000;
}

.rp-sum-col__val--muted {
  color: #6d6d6d;
}

.rp-sum-col__val .rp-p-suffix {
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 1px;
}

.rp-filters-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

/* 폼 안: 타입 탭(tab_v2) ↔ 날짜 행 — Figma 8209:25530 gap 28px (블록 gap이 폼에만 있어서 붙어 보이던 문제) */
.rp-filters {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.rp-type-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
}

/* Figma 8209:25531 tab_v2 비활성 — Neutral/300 #F5F5F5 */
.rp-type-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  background: #f5f5f5;
  color: #8e8e8e;
  transition: background 0.15s, color 0.15s;
}

.rp-type-btn:hover {
  color: #3383f5;
}

.rp-type-btn--on {
  background: #e8f2ff;
  color: #3383f5;
}

.rp-date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.rp-date-field {
  flex: 1 1 140px;
  min-width: 0;
  max-width: 240px;
}

.rp-date-field .rp-date-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #1a1a1a;
  box-sizing: border-box;
}

.rp-date-field .rp-date-input::placeholder {
  color: #aaa;
}

.rp-date-field .rp-date-input:focus {
  outline: none;
  border-color: #3383f5;
}

.rp-date-sep {
  color: #555;
  font-size: 14px;
  flex: 0 0 auto;
  padding: 0 4px;
}

.rp-submit {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.43;
}

.rp-submit:hover {
  opacity: 0.88;
}

.rp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.rp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  min-height: 85px;
  padding: 16px 24px;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  box-sizing: border-box;
  background: #fff;
}

.rp-row--alt {
  background: #f9fafb;
}

.rp-row__main {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rp-row__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
  word-break: break-word;
}

.rp-row__date {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #6d6d6d;
}

.rp-row__mid {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 1 auto;
  margin-left: auto;
}

@media (max-width: 639px) {
  .rp-row__mid {
    align-items: flex-start;
    margin-left: 0;
    width: 100%;
  }
}
.rp-amt {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
}

.rp-amt--earn {
  color: #3383f5;
}

.rp-amt--use {
  color: #e35667;
}

.rp-amt--expire {
  color: #6d6d6d;
}

.rp-balance-line {
  font-size: 14px;
  line-height: 1.43;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

@media (max-width: 639px) {
  .rp-balance-line {
    justify-content: flex-start;
  }
}
.rp-balance-line__lbl {
  font-weight: 400;
  color: #000;
}

.rp-balance-line__val {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: #757575;
}

.rp-badge {
  flex: 0 0 auto;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  margin-left: auto;
}

@media (max-width: 639px) {
  .rp-badge {
    margin-left: 0;
  }
}
/* Figma 8209 — 뱃지 테두리 없음 */
.rp-badge--earn {
  background: #e8f2ff;
  color: #3383f5;
  border: none;
}

.rp-badge--use {
  background: #ffeeee;
  color: #e35667;
  border: none;
}

.rp-badge--expire {
  background: #f5f5f5;
  color: #8e8e8e;
  border: none;
}

.rp-empty {
  text-align: center;
  padding: 48px 24px;
  color: #8e8e8e;
  font-size: 15px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
}

.rp-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin-top: 28px;
}

.rp-pager__nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  font-size: 14px;
  text-decoration: none;
  color: #1a1a1a;
  min-height: 36px;
}

.rp-pager__nav:hover {
  color: #3383f5;
}

.rp-pager a:not(.rp-pager__nav),
.rp-pager span.rp-pager__num {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
  color: #1a1a1a;
}

.rp-pager a:not(.rp-pager__nav):hover {
  background: #e8f2ff;
  color: #3383f5;
}

.rp-pager__current {
  background: #000 !important;
  color: #fff !important;
  font-weight: 600;
}

.rp-pager__disabled {
  color: #ccc !important;
  pointer-events: none;
}

.rp-pager__ellipsis {
  min-width: 28px;
  text-align: center;
  color: #8e8e8e;
  font-size: 14px;
}

.rc-outer {
  background: #f3f3f5;
  padding: 0 20px 48px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .rc-outer {
    padding: 0 20px 64px;
  }
}
#container .board.notice .content-box.rc-page {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fffffe;
  border-radius: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 20px 48px;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
  #container .board.notice .content-box.rc-page {
    padding: 20px 40px 52px;
  }
}
.rc-after-tabs {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 0;
}

.rc-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
}

.rc-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.29;
  color: #000;
  margin: 0;
  text-align: left;
  width: 100%;
}

.rc-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.rc-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.rc-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  background: #f5f5f5;
  color: #8e8e8e;
  transition: background 0.15s, color 0.15s;
}

.rc-filter-btn:hover {
  color: #3383f5;
}

.rc-filter-btn--on {
  background: #e8f2ff;
  color: #3383f5;
}

.rc-grid-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.rc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.rc-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
  width: 100%;
  max-width: 590px;
  flex: 1 1 100%;
  padding: 16px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
}

@media (min-width: 1220px) {
  .rc-card {
    flex: 1 1 calc(50% - 8px);
    max-width: 590px;
  }
}
.rc-card--alt {
  background: #f9fafb;
}

.rc-thumb {
  width: 140px;
  height: 140px;
  border-radius: 16px;
  background: #e3e3e3;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rc-thumb__ph {
  font-size: 13px;
  font-weight: 600;
  color: #8e8e8e;
  text-align: center;
  padding: 8px;
  line-height: 1.35;
  word-break: keep-all;
}

.rc-main {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.rc-row-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  width: 100%;
}

.rc-text-stack {
  flex: 1 1 160px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.rc-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.5px;
}

.rc-type-badge--mobile {
  background: #e8f2ff;
  color: #3383f5;
}

.rc-type-badge--physical {
  background: #fff7ee;
  color: #eea126;
}

.rc-brand {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  color: #8e8e8e;
}

.rc-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #000;
  word-break: break-word;
}

.rc-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  white-space: nowrap;
  flex-shrink: 0;
}

.rc-status--ok {
  background: #f4faef;
  color: #5da76d;
}

.rc-status--warn {
  background: #fff7ee;
  color: #eea126;
}

.rc-status--err {
  background: #ffeeee;
  color: #e35667;
}

.rc-status--ship {
  background: #e8f2ff;
  color: #3383f5;
}

.rc-meta-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.rc-meta {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
  color: #8e8e8e;
}

.rc-notice {
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.43;
  white-space: pre-wrap;
  word-break: break-word;
}

.rc-notice--green {
  background: #f4faef;
  color: #5da76d;
}

.rc-notice--orange {
  background: #fff7ee;
  color: #eea126;
}

.rc-notice--red {
  background: #ffeeee;
  color: #e35667;
}

.rc-notice--blue {
  background: #e8f2ff;
  color: #2371e8;
}

.rc-divider {
  border-top: 1px solid #e7e7e7;
  padding-top: 16px;
  margin-top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-timeline {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.rc-timeline__node {
  flex: 0 0 37px;
  width: 37px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rc-timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 10.833px;
  flex-shrink: 0;
}

.rc-timeline__dot--done {
  background: linear-gradient(90.77deg, #3a7adb 3.12%, #195dc5 99.62%);
  box-shadow: 0 4px 4px 0 rgba(12, 12, 13, 0.1), 0 4px 4px 0 rgba(12, 12, 13, 0.05);
}

.rc-timeline__dot--current {
  box-sizing: border-box;
  border: 3px solid #ff8800;
  background: #fff;
  box-shadow: 0 2px 6px rgba(255, 136, 0, 0.35);
}

.rc-timeline__dot--wait {
  background: #e7e7e7;
}

.rc-timeline__line {
  flex: 1 1 auto;
  height: 2px;
  background: #e7e7e7;
  min-width: 8px;
  align-self: center;
}

.rc-timeline__line--active {
  background: linear-gradient(90deg, #3a7adb, #e7e7e7);
}

.rc-timeline-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  margin-top: 4px;
}

.rc-tl-active {
  color: #2371e8;
}

.rc-tl-current {
  color: #ff8800;
}

.rc-tl-muted {
  color: #bebebe;
}

.rc-address {
  background: #f9fafb;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.rc-address__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  color: #000;
  padding-bottom: 8px;
  border-bottom: 1px solid #e3e3e3;
}

.rc-address__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.43;
}

.rc-address__k {
  flex: 0 0 50px;
  color: #aaa;
  font-weight: 400;
}

.rc-address__k--wide {
  color: #8e8e8e;
}

.rc-address__v {
  flex: 1 1 auto;
  color: #8e8e8e;
  font-weight: 400;
  word-break: break-word;
}

.rc-address__v--strong {
  color: #000;
  font-weight: 600;
}

.rc-empty {
  text-align: center;
  padding: 48px 24px;
  color: #8e8e8e;
  font-size: 15px;
  width: 100%;
}

.rc-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin-top: 28px;
}

.rc-pager__nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  font-size: 14px;
  text-decoration: none;
  color: #1a1a1a;
  min-height: 36px;
  border: none;
  background: none;
  cursor: default;
  font-family: inherit;
}

.rc-pager__num {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  text-decoration: none;
  color: #1a1a1a;
  border: none;
  background: transparent;
  cursor: default;
  font-family: inherit;
}

.rc-pager__current {
  background: #000 !important;
  color: #fff !important;
  font-weight: 600;
}

.rc-pager__ellipsis {
  min-width: 28px;
  text-align: center;
  color: #8e8e8e;
  font-size: 14px;
}

#attendance-container,
#attendance-container *,
#attendance-container *::before,
#attendance-container *::after {
  box-sizing: border-box;
}

/* ===== CONTENT CONTAINER ===== */
#attendance-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  max-width: none;
  background: transparent;
  border-radius: 0;
}

/* ===== SECTION WRAPPER ===== */
.attendance-section {
  width: 100%;
  margin-top: 28px;
}

.attendance-tabs-wrap {
  width: 100%;
  margin-bottom: 0;
}

/* ===== WHITE CARD (이번 달 출석 현황 + 연속 보너스) Figma 8053:20675 ===== */
.att-white-card {
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-sizing: border-box;
}

.att-white-card .section-label {
  margin-bottom: 16px;
}

.att-white-card .section-label--spaced {
  margin-top: 40px;
}

/* ===== STATS ROW (cupon 368×108) ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.stat-card {
  display: flex;
  padding: 20px 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex: 1 0 0;
  border-radius: 20px;
  background: #f9fafb;
  border: 1px solid #e3e3e3;
  min-height: 108px;
  box-sizing: border-box;
}

.stat-card-label {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
  color: #8E8E8E;
}

.stat-card-value-wrap {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.stat-card-number {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  color: #000;
}

.stat-card-number--accent {
  color: #2371e8;
}

.stat-card-unit {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #000;
  padding-bottom: 2px;
}

/* ===== SECTION LABEL (H3) ===== */
.section-label {
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

/* ===== CALENDAR CARD ===== */
.calendar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  width: 100%;
}

.calendar-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.cal-nav-btn {
  background: #F3F4F6;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.cal-nav-btn:hover {
  background: #E5E7EB;
  color: #374151;
}

.cal-month-label {
  font-family: "Pretendard", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  min-width: 140px;
  text-align: center;
}

/* Day-of-week headers */
.cal-dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.cal-dow {
  text-align: center;
  font-family: "Pretendard", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
}

.cal-dow.sun {
  color: #e35667;
}

.cal-dow.sat {
  color: #2371e8;
}

.cal-dow.weekday {
  color: #8e8e8e;
}

/* Calendar weeks wrapper */
.cal-weeks {
  display: flex;
  flex-direction: column;
}

.cal-week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-bottom: 1px solid #EBEBEB;
  padding: 8px 0;
}

.cal-week-row:last-child {
  border-bottom: none;
}

/* 달력 날짜 셀 */
.cal-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  gap: 4px;
  flex: 1;
}

.cal-cell.empty {
  visibility: hidden;
}

/* 체크 아이콘 (출석한 날) */
.cal-check {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-check.attended {
  background: linear-gradient(135deg, #2371E8, #3383F5);
}

.cal-check.attended-today {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.cal-check svg {
  width: 38px;
  height: 27px;
}

/* 날짜 숫자 (미출석/미래) */
.cal-date-only {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #6D6D6D;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-date-only.today-unattended {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  cursor: pointer;
}

/* ===== BONUS INFO BAR ===== */
.bonus-info-bar {
  display: flex;
  width: 100%;
  padding: 28px;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 20px;
  background: #F9FAFB;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.bonus-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bonus-info-left svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #6B7280;
}

.bonus-info-title {
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.45;
}

.bonus-info-right {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.bonus-info-item {
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.bonus-info-item strong {
  color: #2371E8;
  font-weight: 700;
}

/* ===== ATTENDANCE BUTTON ===== */
.attendance-btn-wrap {
  text-align: center;
  width: 100%;
}

.btn-attendance {
  background: #2371E8;
  color: #ffffff;
  border: none;
  padding: 16px 64px;
  border-radius: 12px;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(35, 113, 232, 0.4);
}

.btn-attendance:hover:not(:disabled) {
  background: #1a5fd4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 113, 232, 0.5);
}

.btn-attendance:disabled {
  background: #D1D5DB;
  color: #9CA3AF;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===== 연속 출석 보너스 트랙 (Figma 8053:20696 — 6단계 + 보너스 원) ===== */
.bonus-section {
  width: 100%;
}

.bonus-track-desc {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
  margin: 0 0 20px;
  text-align: left;
}

.bonus-track-desc .highlight-blue {
  color: #2371e8;
  font-weight: 700;
}

.bonus-track-desc .highlight-red {
  color: #e35667;
  font-weight: 600;
}

.fig-bonus-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1144px;
  margin: 0 auto;
  padding: 8px 0 0;
}

.fig-bonus-track__line {
  flex: 1 1 0;
  min-width: 6px;
  height: 2px;
  background: #e3e3e3;
  align-self: center;
}

.fig-bonus-track__node {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fig-bonus-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  box-sizing: border-box;
}

.fig-bonus-circle--done {
  background: #2371e8;
  color: #ffffff;
}

.fig-bonus-circle--current {
  background: #ffffff;
  border: 2px solid #2371e8;
  color: #2371e8;
  width: 48px;
  height: 48px;
}

.fig-bonus-circle--pending {
  background: #e5e7eb;
  color: #9ca3af;
}

.fig-bonus-node--bonus .fig-bonus-circle--bonus {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  border: none;
  color: #ffffff;
  width: 65px;
  height: 65px;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.fig-bonus-node--bonus .fig-bonus-circle--bonus-pending {
  width: 65px;
  height: 65px;
  background: #e5e7eb;
  border: 2px dashed #c4c4c4;
  color: #9ca3af;
}

.bonus-track-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 1.5;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  flex-shrink: 0;
}

.legend-dot.blue {
  background: #2371e8;
}

.legend-dot.orange {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  max-width: 582px;
  width: calc(100% - 40px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  animation: popIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: color 0.15s;
}

.modal-close-btn:hover {
  color: #374151;
}

.modal-check-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 6px;
}

.modal-content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  padding-bottom: 40px;
}

.modal-title {
  font-family: "Pretendard", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 129%;
  color: #000;
}

.modal-points {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.modal-points-number {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 125%;
  color: #3383F5;
}

.modal-points-unit {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 150%;
  color: #3383F5;
  padding-bottom: 4px;
}

.modal-streak-line1 {
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 145%;
  color: #000;
}

.modal-streak-line1 .streak-days {
  color: #2371E8;
  font-weight: 600;
}

.modal-streak-line2 {
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: #8E8E8E;
}

.modal-streak-line2 .days-left {
  color: #E35667;
  font-weight: 600;
}

.btn-modal-confirm {
  background: #2371E8;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  align-self: stretch;
}

.btn-modal-confirm:hover {
  background: #1a5fd4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 16px 20px;
  }
  .fig-bonus-circle {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .fig-bonus-node--bonus .fig-bonus-circle--bonus,
  .fig-bonus-node--bonus .fig-bonus-circle--bonus-pending {
    width: 52px;
    height: 52px;
  }
  .bonus-info-right {
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .cal-week-row {
    padding: 4px 0;
  }
  .cal-dow-row {
    gap: 4px;
  }
  .bonus-info-bar {
    flex-direction: column;
  }
  .bonus-info-right {
    flex-direction: column;
    gap: 8px;
  }
}
