/**
 * 파트너 영역 공통 스타일 (partner/*.php)
 */

/* partner_auth.js: 권한 확인 전 본문이 잠깐 보이는 현상 완화 */
html.kafc-partner-gating body {
  visibility: hidden !important;
}

body.partner-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f5f6f8;
  margin: 0;
}

.partner-card {
  width: 100%;
  max-width: 450px;
  margin: 0 16px;
  background: #fff;
  border-radius: 16px;
  padding: 44px 36px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

@media (max-width: 440px) {
  .partner-card {
    padding: 28px 22px 24px;
    margin: 0 12px;
  }
}

.partner-head {
  text-align: center;
  margin-bottom: 36px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #1B1735;
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.partner-head h3 {
  font-size: 28px;
  font-weight: 700;
  color: #202020;
}

/* 파트너 전환 신청 등 — 제목만 작게 */
.partner-head--compact {
  margin-bottom: 22px;
}

.partner-head--compact h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #202020;
  margin: 0;
  letter-spacing: -0.02em;
}

.partner-head p {
  margin: 0;
  font-size: 14px;
  color: #8a8a8a;
}

.partner-muted {
  color: #8a8a8a;
  font-size: 14px;
}

/* 파트너 전환 — 검토 대기 (최소 스타일) */
.partner-pending {
  text-align: center;
  padding: 8px 0 4px;
}

.partner-pending__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #202020;
}

.partner-pending__note {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.55;
  color: #8a8a8a;
}

.partner-pending__row {
  display: flex;
  justify-content: center;
}

.partner-pending .partner-pending__btn {
  max-width: 100%;
  font-weight: 500;
}

/* 필드 */
.partner-field {
  margin-bottom: 16px;
}

.partner-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.partner-input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}

.partner-input::placeholder {
  color: #bbb;
}

.partner-input:focus {
  border-color: #1B1735;
}

/* 체크 + 찾기 행 */
.partner-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.partner-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #8a8a8a;
  cursor: pointer;
}

.partner-remember input {
  width: 16px;
  height: 16px;
  accent-color: #1B1735;
  margin: 0;
}

.partner-find {
  font-size: 14px;
  color: #8a8a8a;
  text-decoration: none;
}

.partner-find:hover {
  color: #1B1735;
  opacity: 1;
}

/* 버튼 */
.partner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  box-sizing: border-box;
}

.partner-btn--primary {
  background: #1B1735;
  color: #fff;
  margin-bottom: 10px;
}

.partner-btn--primary:hover {
  background: #1a1f2e;
  opacity: 1;
}

.partner-btn--outline {
  background: #fff;
  border: 1px solid #e6e6e6;
  color: #5c5c5c;
  font-weight: 500;
  font-size: 15px;
}

.partner-btn--outline:hover {
  background: #f9f9f9;
  opacity: 1;
}

/* 하단 문의 */
.partner-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.partner-footer__help {
  margin: 0 0 4px;
  font-size: 13px;
  color: #9ca3af;
}

.partner-footer__contact {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

/* ══════════════════════════════════════
   파트너 대시보드
   ══════════════════════════════════════ */
.pd-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f5f6f8;
  margin: 0;
}

/* 헤더 */
.pd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1B1735;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pd-header__inner {
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.pd-header__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fff;
  color: #1B1735;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.pd-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.pd-header__user {
  color: rgb(255, 255, 255, 0.9);
}

.pd-header__link {
  color: #ddd;
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  transition: background 0.2s;
}

.pd-header__link:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.pd-header__link--logout {
  border: none;
  padding: 0;
  color: #e8e8e8;
}

.pd-header__link--logout:hover {
  color: #fff;
  background: none;
}

@media (max-width: 768px) {
  .pd-header__user { display: none; }
  .pd-header__right { gap: 10px; }
}

/* 레이아웃 */
.pd-layout {
  display: flex;
  gap: 28px;
  width: 100%;
  max-width: 1500px;
  padding: 28px 0;
  margin: 0 auto;
  flex: 1;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .pd-layout {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
  }
}

/* 사이드바 */
.pd-sidebar {
  width: 240px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .pd-sidebar { width: 100%; }
}

.pd-nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.pd-nav__title {
  margin: 0;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.pd-nav__item {
  display: block;
  padding: 12px 18px;
  font-size: 15px;
  color: #5c5c5c;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.pd-nav__item:hover {
  background: #f9fafb;
  color: #202020;
  opacity: 1;
}

.pd-nav__item--active {
  background: #eff6ff;
  color: #1e40af;
  font-weight: 700;
}

/* 프로모 박스 */
.pd-promo {
  background: #1e3a5f;
  border-radius: 12px;
  padding: 24px 20px;
  color: #fff;
}

.pd-promo__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.pd-promo__desc {
  margin: 0 0 16px;
  font-size: 13px;
  color: #93c5fd;
  line-height: 1.5;
}

.pd-promo__btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: #fff;
  color: #1e3a5f;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.pd-promo__btn:hover {
  background: #eff6ff;
  opacity: 1;
}

/* 메인 */
.pd-main {
  flex: 1;
  min-width: 0;
}

/* 환영 */
.pd-welcome {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.pd-welcome__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.pd-welcome__desc {
  margin: 0;
  font-size: 15px;
  color: #6b7280;
}

/* 요약 카드 */
.pd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .pd-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.pd-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px 22px;
}

.pd-stat__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #8a8a8a;
  margin-bottom: 6px;
}

.pd-stat__value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.pd-stat__value--blue {
  color: #1e40af;
}

.pd-stat__tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
}

.pd-stat__tag--green {
  background: #dcfce7;
  color: #16a34a;
}

.pd-stat__sub {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #9ca3af;
}

/* 섹션 */
.pd-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.pd-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.pd-section__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #374151;
}

.pd-section__more {
  font-size: 13px;
  color: #8a8a8a;
  text-decoration: none;
}

.pd-section__more:hover {
  color: #1e40af;
  opacity: 1;
}

/* 공지 리스트 */
.pd-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.15s;
}

.pd-notice:last-child {
  border-bottom: none;
}

.pd-notice:hover {
  background: #f9fafb;
}

.pd-notice__link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.pd-notice__badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #5c5c5c;
}

.pd-notice__badge--red {
  background: #fef2f2;
  color: #dc2626;
}

.pd-notice__title {
  font-size: 15px;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pd-notice:hover .pd-notice__title {
  color: #1e40af;
}

.pd-notice__title--muted {
  color: #9ca3af;
  font-size: 14px;
}

.pd-notice--multiline .pd-notice__title {
  white-space: normal;
  line-height: 1.45;
}

.pd-notice__date {
  font-size: 13px;
  color: #9ca3af;
  flex-shrink: 0;
  margin-left: 16px;
}

/* 인라인 링크 (대시보드·신청 내역) */
.pd-inline-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pd-inline-link:hover {
  color: #1d4ed8;
}

/* 신청 내역 표 */
.pd-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.pd-table thead th {
  background: #f9fafb;
  color: #374151;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.pd-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  color: #1f2937;
  vertical-align: top;
}

.pd-table tbody tr:last-child td {
  border-bottom: none;
}

.pd-table tbody tr:hover td {
  background: #fafafa;
}

.pd-desc-cell {
  max-width: 280px;
  line-height: 1.45;
  word-break: break-word;
}

@media (max-width: 768px) {
  .pd-table thead th,
  .pd-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .pd-desc-cell {
    max-width: 160px;
  }
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #4b5563;
}

.pd-badge--approved {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.pd-badge--pending {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.pd-badge--rejected {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

/* 신청 내역 — 첨부(사업자/로고) · 부가·정가 */
.pd-apps-files-cell .pd-apps-files,
.pd-apps-extras-cell .pd-apps-extras {
  min-width: 0;
}

.pd-apps-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-apps-file-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  line-height: 1.35;
}

.pd-apps-file-chip {
  flex-shrink: 0;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #4b5563;
}

.pd-apps-file-chip--biz {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}

.pd-apps-file-chip--logo {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.pd-apps-file-chip--misc {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #6b7280;
}

.pd-apps-file-link {
  word-break: break-all;
  font-size: 13px;
  font-weight: 500;
}

.pd-apps-extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-apps-extras__price {
  font-size: 13px;
  color: #374151;
  line-height: 1.4;
}

.pd-apps-extras__price strong {
  color: #1e40af;
  font-weight: 800;
  margin: 0 2px;
}

.pd-apps-extras__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.pd-apps-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

/* ══════════════════════════════════════
   부스 신청
   ══════════════════════════════════════ */
.booth-status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  flex-shrink: 0;
}

/* 부스 신청 — 상단 행사 헤더 */
.booth-page-hero {
  margin-bottom: 22px;
}

.booth-page-hero__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 8px;
}

.booth-page-hero__title {
  margin: 0;
  flex: 1 1 160px;
  min-width: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.25;
}

.booth-page-hero__meta {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.booth-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

@media (max-width: 768px) {
  .booth-card {
    padding: 20px 16px;
  }
}

.booth-card__title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

/* 배치도 */
.booth-map {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.booth-map__inner {
  min-width: 500px;
}

.booth-stage {
  background: #1B1735;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.booth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.booth-aisle {
  height: 16px;
}

.booth-cell {
  position: relative;
  height: 80px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.booth-cell--closed {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  color: #9ca3af;
}

.booth-cell--premium {
  border: 2px solid #16a34a;
  background: #fff;
  color: #16a34a;
}

.booth-cell--standard {
  border: 2px solid #2563eb;
  background: #fff;
  color: #2563eb;
}

.booth-radio {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
  margin: 0;
}

.booth-cell__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1.3;
}

.booth-cell__label small {
  font-size: inherit;
  font-weight: inherit;
}

.booth-cell--premium .booth-radio:checked ~ .booth-cell__label {
  background: #16a34a;
  color: #fff;
}

.booth-cell--standard .booth-radio:checked ~ .booth-cell__label {
  background: #2563eb;
  color: #fff;
}

/* 범례 */
.booth-legend {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #5c5c5c;
}

.booth-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.booth-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.booth-legend__dot--closed {
  background: #e5e7eb;
  border: 1px solid #d1d5db;
}

.booth-legend__dot--premium {
  background: #fff;
  border: 2px solid #16a34a;
}

.booth-legend__dot--standard {
  background: #fff;
  border: 2px solid #2563eb;
}

/* 신청 폼 */
.booth-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .booth-fields {
    grid-template-columns: 1fr;
  }
}

.booth-field--full {
  grid-column: 1 / -1;
}

.booth-field--naegi {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.booth-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.booth-input {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.booth-input:focus {
  border-color: #1B1735;
}

.booth-input[readonly] {
  background: #f9f9f9;
  color: #8a8a8a;
}

.booth-input--narrow {
  max-width: 12rem;
}

.booth-textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.booth-textarea:focus {
  border-color: #1B1735;
}

.booth-file-hint {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 8px;
  line-height: 1.45;
}

.booth-file-input {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
}

/* 버튼 */
.booth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.booth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border: none;
}

.booth-btn--cancel {
  background: #fff;
  border: 1px solid #e6e6e6;
  color: #5c5c5c;
}

.booth-btn--cancel:hover {
  background: #f9f9f9;
}

.booth-btn--submit {
  background: #1e40af;
  color: #fff;
}

.booth-btn--submit:hover {
  background: #1e3a8a;
}

.booth-btn--submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.booth-conference-row {
  margin-bottom: 20px;
}

.booth-conference-row .booth-label {
  display: block;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .booth-conference-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .booth-conference-row .booth-label {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .booth-conference-select {
    flex: 1 1 220px;
  }
}

.booth-conference-select {
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.booth-notice {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.booth-notice--muted {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #4b5563;
}

.booth-notice--warn {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.booth-notice--ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.booth-notice--before-actions {
  margin-bottom: 16px;
}

.booth-label .req {
  color: #dc2626;
  font-weight: 700;
}

.booth-grade-panel {
  margin: 0;
}

.booth-grade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 12px;
}

.booth-grade-btn {
  display: block;
  margin: 0;
  cursor: pointer;
  position: relative;
}

.booth-grade-btn__input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.booth-grade-btn__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 76px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #374151;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}

.booth-grade-btn__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.booth-grade-btn__price {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}



.booth-grade-btn__input:focus-visible + .booth-grade-btn__body {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.booth-grade-btn__input:checked + .booth-grade-btn__body {
  border-color: #1d4ed8;
  background: linear-gradient(165deg, #bfdbfe 0%, #dbeafe 45%, #eff6ff 100%);
  color: #1e3a8a;

}

.booth-grade-btn__input:checked + .booth-grade-btn__body .booth-grade-btn__name {
  font-weight: 800;
}

.booth-grade-btn__input:checked + .booth-grade-btn__body .booth-grade-btn__price {
  color: #1e40af;
  font-weight: 700;
}

.booth-grade-empty {
  margin: 0;
  padding: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px dashed #d1d5db;
}

.booth-download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #bfdbfe;
  background: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}

.booth-download-link:hover {
  color: #1e3a8a;
  background: #eff6ff;
  border-color: #93c5fd;
}

.booth-extra-block {
  margin-bottom: 12px;
  padding: 12px 0 14px;
  border: none;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #e8edf3;
}

.booth-extra-block__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.booth-extra-prices {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.booth-addons-mount {
  min-height: 0;
}

.booth-addons-checks {
  margin-top: 4px;
}

.booth-addon-price {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.booth-extra-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.booth-extra-checks .booth-check-label {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.booth-extra-checks .booth-check-label:hover {
  border-color: #cbd5e1;
}

.booth-extra-checks .booth-check-label:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
}

.booth-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.booth-check-label--block {
  display: flex;
  margin-top: 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.booth-check-label--block:hover {
  border-color: #cbd5e1;
}

.booth-check-label--block:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
}

.booth-total-panel {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.booth-total-panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #475569;
  padding: 6px 0;
}

.booth-total-panel__row strong {
  font-variant-numeric: tabular-nums;
  color: #334155;
  font-weight: 700;
}

.booth-total-panel__row--grand {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.booth-total-panel__row--grand span {
  color: #1e293b;
}

.booth-total-panel__row--grand strong {
  font-size: 18px;
  color: #1d4ed8;
  font-weight: 800;
}
