/* =====================================================
   Mongolia Travel - components.css
   Page-Specific & Reusable Component Styles
   ===================================================== */

/* =====================================================
   FLIGHT SEARCH PAGE
   ===================================================== */
.flight-search-box {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.flight-search-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.trip-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.trip-type-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.trip-type-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.flight-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

@media (max-width: 1199px) {
  .flight-fields {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media (max-width: 767px) {
  .flight-fields {
    grid-template-columns: 1fr;
  }
}

.swap-btn {
  width: 40px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--primary);
  cursor: pointer;
  background: var(--bg-card);
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.swap-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: rotate(180deg);
}

/* Flight Result Card */
.flight-result-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-base);
  cursor: pointer;
  margin-bottom: 12px;
}

.flight-result-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.flight-result-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.airline-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg);
  padding: 4px;
  flex-shrink: 0;
}

.airline-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.flight-time {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.flight-airport {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.flight-duration-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  padding: 0 12px;
}

.flight-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, var(--primary) 50%, var(--border) 100%);
  position: relative;
}

.flight-line::before,
.flight-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.flight-line::before { left: 0; }
.flight-line::after  { right: 0; }

.flight-plane-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary);
  font-size: 0.9rem;
  background: var(--bg-card);
  padding: 0 4px;
}

.flight-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.flight-stops {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
}

.flight-stops.direct {
  color: var(--accent);
}

.flight-stops.layover {
  color: var(--highlight-dark);
}

.flight-price-col {
  text-align: right;
}

.flight-price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.flight-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.flight-price-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 80px;
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border);
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
}

.filter-check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}

.filter-check-label {
  font-size: 0.85rem;
  color: var(--text-body);
  flex: 1;
}

.filter-check-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Price Range Slider */
.price-range-wrap {
  padding: 0 4px;
}

.price-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary) var(--val, 50%), var(--border) var(--val, 50%), var(--border) 100%);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(13,110,253,0.35);
  cursor: pointer;
  transition: transform var(--trans-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* =====================================================
   BOOKING PAGE
   ===================================================== */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 0;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-step-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-card);
  transition: all var(--trans-base);
  flex-shrink: 0;
}

.progress-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--trans-base);
}

.progress-line {
  flex: 1;
  height: 2px;
  min-width: 32px;
  max-width: 80px;
  background: var(--border);
  margin: 0 8px;
  transition: background var(--trans-base);
}

/* Active State */
.progress-step.active .progress-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13,110,253,0.3);
}

.progress-step.active .progress-label {
  color: var(--primary);
}

/* Completed State */
.progress-step.done .progress-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.progress-step.done .progress-label {
  color: var(--accent);
}

.progress-step.done + .progress-line {
  background: var(--accent);
}

/* Booking Summary */
.booking-summary {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 80px;
}

.booking-summary-header {
  padding: 20px;
  background: var(--grad-primary);
  color: #fff;
}

.booking-summary-header h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.booking-summary-body {
  padding: 20px;
}

.booking-summary-product {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.booking-summary-product img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.summary-product-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}

.summary-product-detail {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.booking-price-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.booking-price-row .label {
  color: var(--text-muted);
}

.booking-price-row .value {
  font-weight: 600;
  color: var(--text-dark);
}

.booking-price-row .value.discount {
  color: #ff4757;
}

.booking-price-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--border);
}

.booking-price-total .label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.booking-price-total .value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

/* Booking Form Section */
.booking-form-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
}

.booking-form-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-form-title i {
  color: var(--primary);
}

/* Passenger Count Picker */
.pax-picker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pax-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-body);
  transition: all var(--trans-fast);
}

.pax-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.pax-count {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  min-width: 28px;
  text-align: center;
}

/* =====================================================
   PAYMENT SECTION
   ===================================================== */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.payment-method-item:hover {
  border-color: var(--primary);
}

.payment-method-item.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-method-item input[type="radio"] {
  accent-color: var(--primary);
  flex-shrink: 0;
}

.payment-method-icon {
  width: 42px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.payment-method-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.payment-method-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =====================================================
   BOOKING COMPLETE PAGE
   ===================================================== */
.booking-complete-hero {
  text-align: center;
  padding: 80px 0;
}

.complete-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: completePopIn 0.6s var(--trans-spring) both;
}

@keyframes completePopIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1);   opacity: 1; }
}

.complete-number {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  font-family: monospace;
  letter-spacing: 0.1em;
}

.booking-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.booking-detail-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.booking-detail-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.booking-detail-table td:last-child {
  font-weight: 600;
  color: var(--text-dark);
}

.booking-detail-table tr:last-child td {
  border-bottom: none;
}

/* =====================================================
   MYPAGE
   ===================================================== */
.mypage-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.mypage-profile {
  background: var(--grad-primary);
  padding: 32px 24px;
  text-align: center;
}

.mypage-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.5);
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
}

.mypage-username {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.mypage-grade {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.mypage-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 16px;
}

.mypage-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.mypage-stat:last-child {
  border-right: none;
}

.mypage-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.mypage-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
}

/* Sidebar Nav */
.mypage-nav {
  padding: 12px;
}

.mypage-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--trans-fast);
  text-decoration: none;
  margin-bottom: 2px;
}

.mypage-nav-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mypage-nav-item.active {
  background: var(--primary);
  color: #fff;
}

.mypage-nav-item i {
  width: 18px;
  text-align: center;
  font-size: 0.95rem;
}

/* Points/Coupon Card */
.mypage-benefit-card {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  margin-bottom: 12px;
}

.mypage-benefit-card h5 {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-bottom: 4px;
}

.mypage-benefit-card .amount {
  font-size: 2rem;
  font-weight: 800;
}

.mypage-benefit-card .unit {
  font-size: 0.85rem;
  margin-left: 4px;
}

/* Reservation History */
.reservation-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  margin-bottom: 16px;
  transition: all var(--trans-base);
}

.reservation-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.reservation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 8px;
}

.reservation-number {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: monospace;
}

.reservation-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reservation-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.status-confirmed { background: var(--accent-light); color: var(--accent-dark); }
.status-pending   { background: #fff8e0;              color: var(--highlight-dark); }
.status-cancelled { background: #ffe0e0;              color: #c0392b; }
.status-completed { background: var(--primary-light); color: var(--primary); }

.reservation-body {
  padding: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.reservation-img {
  width: 88px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.reservation-info {
  flex: 1;
  min-width: 180px;
}

.reservation-product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.reservation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.reservation-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.reservation-meta-item i {
  color: var(--primary);
}

.reservation-price-col {
  text-align: right;
  flex-shrink: 0;
}

.reservation-total-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.reservation-total-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.reservation-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 20px;
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}

/* =====================================================
   WISHLIST
   ===================================================== */
.wishlist-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-slow);
  display: flex;
  gap: 0;
}

.wishlist-card:hover {
  box-shadow: var(--shadow-hover);
}

.wishlist-card-image {
  width: 160px;
  flex-shrink: 0;
  overflow: hidden;
}

.wishlist-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.wishlist-card:hover .wishlist-card-image img {
  transform: scale(1.06);
}

.wishlist-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 576px) {
  .wishlist-card {
    flex-direction: column;
  }

  .wishlist-card-image {
    width: 100%;
    height: 180px;
  }
}

/* =====================================================
   REVIEW WRITE PAGE
   ===================================================== */
.star-rating-input {
  display: flex;
  gap: 6px;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.star-rating-input input[type="radio"] {
  display: none;
}

.star-rating-input label {
  font-size: 2rem;
  color: var(--border);
  cursor: pointer;
  transition: color var(--trans-fast), transform var(--trans-fast);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
  color: var(--highlight);
}

.star-rating-input label:hover {
  transform: scale(1.2);
}

/* Image Upload Grid */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.upload-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  position: relative;
  cursor: pointer;
}

.upload-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.75rem;
  background: var(--bg);
  transition: all var(--trans-fast);
}

.upload-placeholder i {
  font-size: 1.5rem;
  color: var(--border);
}

.upload-placeholder:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.upload-item:hover .upload-placeholder i {
  color: var(--primary);
}

.upload-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.upload-item:hover .upload-remove-btn {
  opacity: 1;
}

/* =====================================================
   FAQ PAGE (Full)
   ===================================================== */
.faq-category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.faq-cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Search in FAQ */
.faq-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto 40px;
}

.faq-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  z-index: 1;
  pointer-events: none;
}

.faq-search input {
  width: 100%;
  height: 56px;
  padding: 0 20px 0 50px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-card);
  outline: none;
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-sm);
}

.faq-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,110,253,0.1), var(--shadow-sm);
}

/* =====================================================
   404 PAGE
   ===================================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
}

.error-number {
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 900;
  line-height: 0.9;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

.error-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.error-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   TOUR DETAIL PAGE
   ===================================================== */
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 8px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

@media (min-width: 768px) {
  .detail-gallery {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    height: 460px;
  }

  .detail-gallery-main {
    grid-row: span 2;
  }
}

.detail-gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.detail-gallery-item:hover img {
  transform: scale(1.05);
}

.detail-gallery-main {
  aspect-ratio: 16/9;
}

@media (min-width: 768px) {
  .detail-gallery-main {
    aspect-ratio: unset;
  }
}

/* Sticky Booking Panel */
.sticky-book-panel {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--border);
  position: sticky;
  top: 80px;
  overflow: hidden;
}

.sticky-book-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-light);
}

.sticky-book-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.sticky-book-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.sticky-book-original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.sticky-book-body {
  padding: 20px 22px;
}

.sticky-book-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.sticky-book-option:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}

.sticky-book-option .label {
  color: var(--text-muted);
}

.sticky-book-option .value {
  font-weight: 600;
  color: var(--text-dark);
}

/* Itinerary Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -22px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--primary);
  z-index: 1;
}

.timeline-day {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Included / Excluded Lists */
.include-list, .exclude-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.include-item, .exclude-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.include-item i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.exclude-item i {
  color: #ff4757;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-hero {
  background: var(--grad-hero);
  color: #fff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.value-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: all var(--trans-slow);
  border: 1.5px solid transparent;
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: all var(--trans-base);
}

.value-card:hover .value-icon {
  background: var(--primary);
  color: #fff;
}

.value-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Team Card */
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--trans-slow);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card-body {
  padding: 18px;
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.team-role {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

/* =====================================================
   CUSTOMER CENTER PAGE
   ===================================================== */
.cs-channel-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  height: 100%;
  border: 1.5px solid var(--border);
  transition: all var(--trans-slow);
}

.cs-channel-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.cs-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all var(--trans-base);
}

.cs-channel-card:hover .cs-icon {
  background: var(--primary);
  color: #fff;
}

.cs-channel-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cs-channel-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================================================
   EVENT PAGE
   ===================================================== */
.event-banner-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/6;
  cursor: pointer;
  display: block;
}

.event-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.event-banner-card:hover img {
  transform: scale(1.04);
}

.event-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, transparent 70%);
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.event-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--highlight);
  color: #1A1D23;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  width: fit-content;
}

.event-title-lg {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.event-period {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}

/* Event Small Card */
.event-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all var(--trans-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.event-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.event-card:hover .event-card-image img {
  transform: scale(1.06);
}

.event-dday {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4757;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.event-card-body {
  padding: 16px 18px 18px;
  flex: 1;
}

.event-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.event-card-period {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =====================================================
   LOGIN / SIGNUP PAGE
   ===================================================== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg);
}

@media (min-width: 992px) {
  .auth-page {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-visual {
  background: var(--grad-hero);
  display: none;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .auth-visual {
    display: flex;
  }
}

.auth-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.auth-visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px;
  color: #fff;
}

.auth-visual-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.auth-visual-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  min-height: 100vh;
}

.auth-form-wrap {
  width: 100%;
  max-width: 440px;
}

.auth-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auth-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Social Login */
.social-login-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-social {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-social:hover {
  border-color: var(--text-muted);
  background: var(--bg);
}

.btn-social.kakao {
  background: #FEE500;
  border-color: #FEE500;
  color: #3C1E1E;
}

.btn-social.kakao:hover {
  background: #f0d800;
}

.btn-social.naver {
  background: #03C75A;
  border-color: #03C75A;
  color: #fff;
}

.btn-social.naver:hover {
  background: #02b351;
}

.btn-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 16px 0;
}

.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Password strength */
.pw-strength {
  margin-top: 6px;
}

.pw-strength-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
  margin-bottom: 4px;
}

.pw-strength-fill {
  height: 100%;
  border-radius: 2px;
  transition: all var(--trans-base);
}

.pw-strength-fill.weak   { width: 25%; background: #ff4757; }
.pw-strength-fill.fair   { width: 50%; background: var(--highlight-dark); }
.pw-strength-fill.good   { width: 75%; background: var(--primary); }
.pw-strength-fill.strong { width: 100%; background: var(--accent); }

.pw-strength-text {
  font-size: 0.72rem;
  font-weight: 600;
}

.pw-strength-text.weak   { color: #ff4757; }
.pw-strength-text.fair   { color: var(--highlight-dark); }
.pw-strength-text.good   { color: var(--primary); }
.pw-strength-text.strong { color: var(--accent); }