:root {
  --navy-900: #0c2648;
  --navy-800: #123566;
  --navy-700: #1a3d7c;
  --navy-500: #2c5aa8;
  --navy-100: #e8edf7;
  --gold-600: #c78f2e;
  --gold-500: #d9a441;
  --gold-100: #faf1dd;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #182233;
  --text-muted: #5b6472;
  --border: #e3e7ee;
  --success: #2e9e5b;
  --success-bg: #e6f5ec;
  --warning: #b9791f;
  --warning-bg: #fdf1dd;
  --danger: #c94f4f;
  --danger-bg: #fbe9e9;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(12, 38, 72, 0.08);
  --font: 'Golos Text', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3 {
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 12px;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.app-main {
  flex: 1;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-900);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--navy-900);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text);
}

.site-nav a:hover {
  color: var(--navy-700);
}

.site-nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-hello {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}

.nav-hello:hover {
  color: var(--text);
  text-decoration: underline;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--bg);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  width: 32px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.lang-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lang-btn-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--navy-900);
}

.lang-switcher-mobile {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.05s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-700);
}

.btn-outline {
  background: #fff;
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn-outline:hover {
  background: var(--navy-100);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg);
}

.btn-kakao {
  background: #fee500;
  color: #191600;
  border-color: #fee500;
}

.btn-kakao:hover {
  background: #fada0a;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted, #9aa2b1);
  font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-disabled,
.btn:disabled {
  background: #e5e8ee;
  color: #9aa2b1;
  cursor: not-allowed;
  border-color: transparent;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700) 60%, #2a4f8f);
  color: #fff;
  padding: 90px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(217, 164, 65, 0.25), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.hero-slogan {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  min-height: 3.4em;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 1;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

@media (max-width: 640px) {
  .hero-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .hero-arrow-prev {
    left: 8px;
  }

  .hero-arrow-next {
    right: 8px;
  }
}

.hero-controls {
  position: absolute;
  right: 20px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.hero-counter {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.22);
  padding: 4px 12px;
  border-radius: 999px;
}

.hero-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.hero-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-actions .btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}

.hero-actions .btn-primary:hover {
  background: var(--gold-600);
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 20px;
}

.section-narrow {
  max-width: 780px;
}

.section-alt {
  background: var(--surface);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section-alt > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-trust {
  background: var(--gold-100);
  max-width: none;
  border-radius: 24px;
  margin: 40px 20px;
  max-width: 1140px;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.page-subtitle {
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 28px;
}

.link-more {
  font-weight: 700;
  color: var(--navy-700);
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
}

/* Steps / trust */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.trust-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  font-weight: 600;
}

/* Listings grid & cards */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.listing-grid-1col {
  grid-template-columns: 1fr;
}

.listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
}

.listing-card-photo {
  height: 140px;
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  overflow: hidden;
}

.listing-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-card-body {
  padding: 14px 16px 18px;
}

.listing-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.tag-muted {
  background: var(--navy-100);
  color: var(--navy-800);
}

.listing-card-title {
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: var(--text);
}

.listing-card-region {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 8px;
}

.listing-card-price {
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 4px;
}

.listing-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Filters */
.filter-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.filter-field select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  min-width: 140px;
}

.results-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Listings split page */
.listings-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 20px;
}

.mobile-tabs {
  display: none;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-tabs button {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-tabs button.active {
  background: var(--navy-900);
  color: #fff;
}

.listings-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}

.listings-list-col {
  max-height: 74vh;
  overflow-y: auto;
  padding-right: 6px;
}

.listings-map-col {
  position: sticky;
  top: 90px;
  height: 74vh;
}

.map-popup {
  cursor: pointer;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(12, 38, 72, 0.18);
  white-space: nowrap;
  transition: box-shadow 0.15s ease;
}

.map-popup:hover {
  box-shadow: 0 8px 24px rgba(12, 38, 72, 0.24);
}

.map-popup strong {
  display: block;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
  font-size: 13px;
}

.map-popup div {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 12px;
}

.map-popup::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: var(--surface) transparent transparent transparent;
  filter: drop-shadow(0 2px 1px rgba(12, 38, 72, 0.08));
}

.map-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--navy-700);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(12, 38, 72, 0.35);
  cursor: pointer;
}

.map-pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.empty-state {
  color: var(--text-muted);
  padding: 40px 0;
  text-align: center;
}

/* Listing detail */
.listing-detail {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 70px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--navy-700);
}

.listing-detail-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.listing-detail-photo {
  height: 260px;
  background: var(--navy-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  margin-bottom: 16px;
}

.listing-detail-photo-slider {
  position: relative;
  height: 260px;
  background: var(--navy-900);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.listing-detail-photo-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 배경이 밝은 사진 위에서도 잘 보이도록 hero-arrow보다 어둡고 진하게 오버라이드 */
.listing-detail-photo-slider .hero-arrow {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.7);
}

.listing-detail-photo-slider .hero-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.listing-detail-photo-slider .hero-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
}

.listing-detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.listing-detail-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
}

.detail-facts div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-facts span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.detail-options {
  margin-bottom: 18px;
}

.detail-options > span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chip {
  background: var(--navy-100);
  color: var(--navy-800);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.agency-line {
  font-weight: 700;
  margin-bottom: 16px;
}

.listing-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 38, 72, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius);
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.confirm-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 8px 4px 4px;
}

.confirm-modal-icon {
  font-size: 2.2rem;
  margin-bottom: 4px;
}

.confirm-modal-message {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 18px;
}

.modal-body textarea,
.modal-body input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  resize: vertical;
}

.field-label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text);
}

.radio-row {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
  font-weight: 600;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.interpreter-pick-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.interpreter-pick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.interpreter-pick-row.selected {
  border-color: var(--navy-700);
  background: var(--navy-100);
}

.interpreter-avatar {
  font-size: 1.4rem;
}

.interpreter-pick-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  font-size: 0.85rem;
}

.interpreter-pick-info span {
  color: var(--text-muted);
}

.interpreter-rate {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-800);
  white-space: nowrap;
}

.fee-line {
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 12px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

/* Interpreters page */
.interpreter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.interpreter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.interpreter-card-clickable {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.interpreter-card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 38, 72, 0.12);
}

.interpreter-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  display: block;
}

.interpreter-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: var(--gold-100);
}

.interpreter-years {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.interpreter-bio {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 12px;
  text-align: left;
}

.interpreter-langs {
  font-size: 0.85rem;
  margin-bottom: 12px;
  text-align: left;
}

.interpreter-rate-badge {
  background: var(--gold-100);
  color: var(--gold-600);
  font-weight: 700;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.85rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--gold-600);
}

.pagination-btn.active {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: #fff;
  font-weight: 700;
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Columns */
.column-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.column-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.column-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 8px 0 0;
}

.column-content {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text);
}

.column-content p {
  margin: 0 0 14px;
}

/* Legal pages */
.legal-page section {
  margin-bottom: 22px;
}

.legal-page h2 {
  font-size: 1.05rem;
}

.legal-page p {
  color: var(--text);
  white-space: pre-line;
}

.legal-effective {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.legal-draft-notice {
  margin-top: 30px;
  padding: 14px 16px;
  background: var(--gold-100);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--gold-600);
  font-weight: 600;
}

/* Auth */
.auth-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 20px;
}

.signup-choice {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px;
  text-align: center;
}

.signup-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.signup-choice-grid:has(.signup-choice-card[hidden]) {
  grid-template-columns: 1fr;
  max-width: 360px;
  margin-inline: auto;
}

.signup-choice-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.signup-choice-card:hover {
  border-color: var(--navy-700);
}

.signup-choice-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.signup-choice-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

.auth-card input,
.auth-card textarea,
.auth-card select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 400;
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin: 0;
}

.primary-area-row {
  display: flex;
  gap: 8px;
}

.primary-area-row select {
  flex: 1;
  min-width: 0;
}

.auth-switch {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--navy-700);
  font-weight: 700;
}

.demo-accounts-box {
  margin-top: 10px;
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.demo-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pending-notice {
  background: var(--warning-bg);
  color: var(--warning);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hint-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: -8px 0 0;
}

.agree-terms-line {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.agree-terms-line a {
  color: var(--navy-700);
  font-weight: 700;
}

/* Dashboards */
.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-tabs button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.admin-tabs button.active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}

.admin-table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table-actions {
  display: flex;
  gap: 8px;
}

.admin-table-row-clickable {
  cursor: pointer;
}

.admin-table-row-clickable:hover {
  background: var(--bg);
}

.request-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  flex-wrap: wrap;
}

.request-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.request-row-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.request-detail {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-default {
  background: var(--navy-100);
  color: var(--navy-800);
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  max-width: 560px;
  display: flex;
  flex-direction: column;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.profile-row:last-child {
  border-bottom: none;
}

.profile-row .field-label {
  width: 140px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.profile-row-photo {
  align-items: flex-start;
}

.profile-license-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.profile-license-photo {
  max-width: 260px;
  max-height: 200px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: contain;
}

/* Forms (listing form etc.) */
.listing-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.listing-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

.listing-form input,
.listing-form select,
.listing-form textarea {
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 400;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  margin-top: 60px;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 600;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-rights {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 200;
}

/* Responsive */
@media (max-width: 860px) {
  .site-header-inner {
    justify-content: flex-start;
    gap: 12px;
  }

  .brand {
    margin-right: auto;
  }

  .menu-toggle {
    display: block;
  }

  .lang-switcher-mobile {
    display: flex;
  }

  .site-nav .lang-switcher {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 14px;
  }

  .site-nav-open {
    display: flex;
  }

  .site-nav-divider {
    display: none;
  }

  .listings-split {
    grid-template-columns: 1fr;
  }

  .mobile-tabs {
    display: flex;
  }

  .hide-on-mobile {
    display: none;
  }

  .listings-map-col {
    position: static;
    height: 60vh;
  }

  .listing-detail-grid {
    grid-template-columns: 1fr;
  }

  .listing-detail-actions {
    position: static;
  }

  .signup-choice-grid {
    grid-template-columns: 1fr;
  }
}
