@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* --------------------------------------------------
 * GolfTScan Brand Style & Design System
 * Premium Deep Forest Emerald Theme
 * -------------------------------------------------- */

:root {
  /* Colors */
  --primary: #0c1510;                  /* Luxury Deepest Forest Black */
  --primary-light: #16241c;
  --primary-dark: #040806;
  --accent: #00875a;                  /* Rich Rolex/Masters Emerald Green */
  --accent-hover: #006b47;
  --accent-neon: #00b377;
  
  --dark-bg: #0b0f19;                 /* Modern Luxury Dark */
  --dark-surface: #151c2c;
  --dark-border: rgba(255, 255, 255, 0.08);
  
  --light-bg: #f8fafc;
  --light-surface: #ffffff;
  --light-border: #e2e8f0;
  
  --text-primary: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px -2px rgba(15, 81, 50, 0.12);
  --shadow-lg: 0 10px 30px -5px rgba(11, 15, 25, 0.25);
  
  /* Fonts */
  --font-main: 'Outfit', 'Pretendard', 'Noto Sans KR', sans-serif;
  --font-serif: 'Outfit', 'Pretendard', 'Noto Sans KR', sans-serif;
  
  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select {
  font-family: inherit;
  outline: none;
}

/* Utility Badges */
.badge-tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 30px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  margin-bottom: 12px;
}

.badge-tag.alert {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--dark-border);
  color: var(--text-light);
  height: 70px;
  display: flex;
  align-items: center;
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000000;
}

.navbar .logo {
  color: #ffffff;
}

.logo i {
  color: var(--accent-neon);
  font-size: 1.6rem;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
  animation: bounceBall 3s infinite ease-in-out;
}

.logo span span {
  color: var(--accent-neon);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.7);
  transition: color 0.25s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-neon);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.badge {
  background-color: var(--accent);
  color: white;
  padding: 2px 8px;
  font-size: 0.75rem;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.currency-selector {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 30px;
  cursor: pointer;
}

.btn-premium {
  background: linear-gradient(135deg, #d4af37, #aa7c11);
  color: #0b0f19;
  border: none;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: url('pure_grass_bg.png') no-repeat center top/cover;
  padding: 100px 24px 140px;
  color: var(--text-light);
  text-align: center;
  min-height: 480px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.3) 0%, rgba(11, 15, 25, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 48px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 5px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 48px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Search Box Container */
.search-box-container {
  background: rgba(21, 28, 44, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transform: translateY(20px);
}

.search-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.search-tab {
  background: none;
  border: none;
  color: rgba(248, 250, 252, 0.5);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  border-radius: var(--radius-sm);
}

.search-tab:hover:not([disabled]) {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}

.search-tab.active {
  color: var(--accent-neon);
  background: rgba(16, 185, 129, 0.1);
}

.search-tab[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-form-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.search-form-row.second-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
}

.input-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(248, 250, 252, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-group select,
.input-group input[type="date"] {
  background-color: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  height: 52px;
  padding: 0 16px;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.input-group select:focus,
.input-group input[type="date"]:focus {
  border-color: var(--accent-neon);
}

.input-group select {
  background-image: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

.search-switch {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-neon);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 6px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.search-switch:hover {
  transform: rotate(180deg);
  background: var(--accent);
  color: white;
}

/* Custom Dropdown Trigger */
.select-dropdown-trigger {
  background-color: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  height: 52px;
  padding: 0 16px;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

/* Dropdown Panel */
.dropdown-panel {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 20px;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  display: none;
}

.dropdown-panel.show {
  display: block;
  animation: slideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-row:last-of-type {
  border-bottom: none;
}

.panel-label strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
}

.panel-label span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.counter-control {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-counter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-counter:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.counter-control span {
  font-size: 1.1rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.panel-footer {
  margin-top: 15px;
  text-align: right;
}

.btn-done {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-done:hover {
  background-color: var(--accent-hover);
}

/* Search Button */
.btn-search {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  border: none;
  height: 52px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}

/* Main Content Wrapper */
.main-content {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
}

/* Section Common */
.section {
  margin-bottom: 80px;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.center {
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 8px;
}

/* Landing View Recommendations Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.destination-card {
  background: var(--light-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(15, 81, 50, 0.15);
}

.card-img {
  height: 200px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.price-badge {
  background-color: var(--dark-bg);
  color: var(--accent-neon);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-info {
  padding: 24px;
}

.card-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-info h3 .country {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--light-border);
  padding-top: 16px;
}

.rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
}

.rating i {
  color: #fbbf24;
}

.btn-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.25s ease;
}

.destination-card:hover .btn-arrow {
  background: var(--accent);
  color: white;
}

/* Deals Section Styles */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.deal-card {
  display: flex;
  background: var(--light-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.deal-thumb {
  width: 140px;
  min-height: 100%;
}

.deal-details {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.deal-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.deal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px dotted var(--light-border);
  padding-top: 12px;
}

.deal-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.deal-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-hover);
}

/* Results Mode (Split Layout) */
.results-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--light-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--light-border);
  padding-bottom: 12px;
}

.sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.sidebar-header button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-group {
  margin-bottom: 28px;
}

.filter-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Price Range Slider */
.price-slider-container input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--light-border);
  outline: none;
  appearance: none;
  cursor: pointer;
}

.price-slider-container input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.15s ease;
}

.price-slider-container input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-values strong {
  color: var(--accent-hover);
  font-weight: 700;
}

/* Custom Checkboxes */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  font-size: 0.9rem;
  user-select: none;
}

.checkbox-item input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #f1f5f9;
  border: 1px solid var(--light-border);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.checkbox-item:hover input ~ .checkmark {
  background-color: #e2e8f0;
}

.checkbox-item input:checked ~ .checkmark {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-item input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-item .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Skyscanner 3 Sorting Tabs */
.sort-tabs-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.sort-tab {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  padding: 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.sort-tab:hover {
  border-color: var(--accent);
}

.sort-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.sort-tab .tab-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.sort-tab .tab-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sort-tab.active .tab-subtitle {
  color: var(--accent-neon);
  font-weight: 700;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.results-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.selected-summary-badge {
  background: rgba(15, 81, 50, 0.08);
  border: 1px solid rgba(15, 81, 50, 0.15);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Product Result Card */
.result-card {
  background: var(--light-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.result-card-left {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px dashed var(--light-border);
}

.package-main-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.package-main-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.package-main-info .location-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.package-specs {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
}

.spec-item {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--primary-light);
}

.spec-item.hard { background-color: #fee2e2; color: #ef4444; }
.spec-item.medium { background-color: #fef3c7; color: #d97706; }
.spec-item.easy { background-color: #d1fae5; color: #10b981; }

.airline-schedule {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fafafa;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.airline-logo {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  min-width: 80px;
}

.schedule-timeline {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 320px;
}

.sch-time {
  display: flex;
  flex-direction: column;
}

.sch-time .time {
  font-size: 1rem;
  font-weight: 700;
}

.sch-time .port {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sch-path {
  flex: 1;
  margin: 0 16px;
  text-align: center;
  position: relative;
}

.sch-path .duration {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.sch-path .line-art {
  height: 2px;
  background-color: var(--light-border);
  display: block;
  position: relative;
  margin-top: 4px;
}

.sch-path .line-art::after {
  content: '\f072';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: -7px;
  right: 50%;
  transform: translateX(50%);
  color: var(--text-muted);
  font-size: 0.75rem;
  background-color: #fafafa;
  padding: 0 6px;
}

.stops-badge {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stops-badge.direct {
  color: var(--accent-hover);
}

/* Result Card Right (Price & CTA) */
.result-card-right {
  width: 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(16, 185, 129, 0.02);
  text-align: center;
}

.price-box {
  margin-bottom: 20px;
}

.price-box .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.price-box .price-amt {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn-select {
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-select:hover {
  background-color: var(--accent-hover);
}

/* Empty / No Results Style */
.no-results {
  text-align: center;
  padding: 60px 24px;
  background: var(--light-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-border);
}

.no-results i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.no-results h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.no-results button {
  padding: 10px 24px;
}

/* Modals & Overlay */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none !important;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(8px);
}

.modal-wrapper {
  position: relative;
  background: var(--light-surface);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  z-index: 2;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-wrapper.detail-modal-wrapper {
  max-width: 900px;
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--light-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-close-modal:hover {
  color: var(--primary-dark);
}

.modal-body {
  padding: 30px;
}

/* Detail Modal Grid Layout */
.modal-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

.modal-details-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-hero-image {
  height: 200px;
  border-radius: var(--radius-md);
  position: relative;
  padding: 20px;
  display: flex;
  align-items: flex-end;
}

.modal-stars-badge {
  background-color: rgba(11, 15, 25, 0.7);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.8rem;
}

.modal-info-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th, .info-table td {
  padding: 10px 12px;
  font-size: 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--light-border);
}

.info-table th {
  width: 100px;
  color: var(--text-muted);
  font-weight: 500;
}

.info-table td {
  font-weight: 600;
}

.diff-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.diff-badge.medium { background: #fef3c7; color: #d97706; }
.diff-badge.hard { background: #fee2e2; color: #ef4444; }
.diff-badge.easy { background: #d1fae5; color: #10b981; }

.flight-schedule-card {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.flight-schedule-card .airline-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.flight-schedule-card .airline-badge {
  font-weight: 700;
  font-size: 0.85rem;
}

.flight-schedule-card .stops-info {
  font-size: 0.8rem;
  color: var(--accent-hover);
  font-weight: 600;
}

.flight-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flight-timeline .time-block {
  display: flex;
  flex-direction: column;
}

.flight-timeline .time {
  font-size: 1.1rem;
  font-weight: 700;
}

.flight-timeline .airport {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.flight-timeline .duration-block {
  flex: 1;
  text-align: center;
  margin: 0 16px;
}

.flight-timeline .line {
  height: 2px;
  background-color: var(--light-border);
  display: block;
}

.flight-timeline .duration {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.includes-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

/* Booking form styling */
.booking-price-card {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 0;
}

.booking-price-card .label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.booking-price-card .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-hover);
}

.booking-price-card .price-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.booking-price-card .divider {
  height: 1px;
  background-color: var(--light-border);
  margin-bottom: 20px;
}

.booking-form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-group input {
  height: 44px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 0.9rem;
}

.form-group input:focus {
  border-color: var(--accent);
}

.summary-details {
  background: #f1f5f9;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin: 10px 0;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.sum-row:last-of-type {
  margin-bottom: 0;
}

.sum-row.font-bold {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  border-top: 1px solid var(--light-border);
  padding-top: 8px;
  margin-top: 8px;
}

.btn-book-now {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white;
  border: none;
  height: 48px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease;
}

.btn-book-now:hover {
  transform: scale(1.02);
}

/* Success Modal Styles */
.success-wrapper {
  text-align: center;
  padding: 40px;
}

.success-icon-animation {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
  animation: scaleBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-booking-card {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  text-align: left;
}

.success-booking-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.success-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.success-details strong {
  color: var(--accent-hover);
}

/* Loading Golf Animation */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  text-align: center;
}

.loading-state.hidden {
  display: none;
}

.loading-state h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-top: 30px;
  margin-bottom: 8px;
}

.loading-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.golf-spinner-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
}

.golf-ball-spinner {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 40px;
  left: 40px;
  box-shadow: inset -5px -5px 10px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.2);
  animation: rollBall 1.5s infinite linear;
}

.golf-ball-spinner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, #ddd 1px, transparent 1.5px),
    radial-gradient(circle, #ddd 1px, transparent 1.5px);
  background-size: 6px 6px;
  background-position: 0 0, 3px 3px;
  border-radius: 50%;
  opacity: 0.7;
}

.golf-club-swing {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--accent-neon);
  border-radius: 50%;
  animation: swingOrbit 1.2s infinite ease-in-out;
}

/* My Bookings List */
.my-booking-item {
  background: #f8fafc;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.my-booking-item:last-of-type {
  margin-bottom: 0;
}

.my-booking-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.my-booking-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Animations */
@keyframes bounceBall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes scaleBounce {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes rollBall {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes swingOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .results-layout {
    grid-template-columns: 1fr;
  }
  
  .filter-sidebar {
    position: static;
  }
  
  .modal-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .deals-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .navbar-container {
    padding: 0 16px;
  }
  
  .nav-menu {
    display: none; /* Hide on mobile for simplicity */
  }
  
  .search-form-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-form-row.second-row {
    grid-template-columns: 1fr;
  }
  
  .search-switch {
    align-self: center;
    margin: 4px 0;
  }
  
  .grid-cards {
    grid-template-columns: 1fr;
  }
  
  .result-card {
    flex-direction: column;
  }
  
  .result-card-right {
    width: 100%;
    border-left: none;
    border-top: 1px dashed var(--light-border);
  }
}

.hidden {
  display: none !important;
}

/* ==========================================
 * 7. Interactive Recommendation Wizard & Scanner Styles
 * ========================================== */

.wizard-container {
  background: rgba(21, 28, 44, 0.8);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transform: translateY(10px);
  animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(10px); }
}

/* Progress bar */
.wizard-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 25px;
  overflow: hidden;
  position: relative;
}

.wizard-progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--accent), var(--accent-neon));
  border-radius: 10px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.wizard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.wizard-title-group h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}

.wizard-title-group p {
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.6);
}

.wizard-step-indicator {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-neon);
  background: rgba(52, 211, 153, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Wizard Steps Layout */
.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Grid layout for selection cards */
.wizard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 25px;
}

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

/* Card item */
.wizard-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.wizard-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(52, 211, 153, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.wizard-card.selected {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--accent-neon);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.15), inset 0 0 10px rgba(52, 211, 153, 0.05);
}

.wizard-card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.wizard-card:hover .wizard-card-icon {
  transform: scale(1.15);
}

.wizard-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.wizard-card-desc {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.5);
  max-width: 180px;
}

.wizard-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent-neon);
  color: var(--primary-dark);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Custom select grid (for non-card steps) */
.wizard-inputs-row {
  display: flex;
  gap: 16px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .wizard-inputs-row {
    flex-direction: column;
  }
}

.wizard-input-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

.wizard-input-box label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.6);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wizard-select-group {
  display: flex;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.wizard-select-btn {
  flex: 1;
  background: none;
  border: none;
  color: rgba(248, 250, 252, 0.6);
  padding: 12px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wizard-select-btn:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
}

.wizard-select-btn.active {
  background: var(--accent);
  color: var(--text-light);
}

/* Actions Footer */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.btn-wizard-back {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(248, 250, 252, 0.7);
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-wizard-back:hover {
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-wizard-next {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border: none;
  color: var(--text-light);
  padding: 12px 30px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto; /* Push to right */
}

.btn-wizard-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-wizard-scan {
  background: linear-gradient(135deg, #10b981, #34d399);
  border: none;
  color: var(--primary-dark);
  padding: 12px 36px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
}

.btn-wizard-scan:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(52, 211, 153, 0.5);
}

/* ==========================================
 * 8. Real-time Scanner Loading Animation
 * ========================================== */
.scanner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 15, 25, 0.95);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  transition: opacity 0.3s ease;
}

/* Radar scanner styling */
.radar-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 40px;
}

.radar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.15);
  position: absolute;
  top: 0;
  left: 0;
}

.radar-circle-2 {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-radius: 50%;
  border: 1px dashed rgba(16, 185, 129, 0.2);
  position: absolute;
}

.radar-circle-3 {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.25);
  position: absolute;
}

/* Pulsing Center */
.radar-center {
  width: 12px;
  height: 12px;
  background-color: var(--accent-neon);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px var(--accent-neon);
}

/* Rotating Sweep */
.radar-sweep {
  width: 50%;
  height: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: 0% 100%;
  background: linear-gradient(45deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0));
  border-left: 2px solid var(--accent);
  border-radius: 100% 0 0 0;
  animation: radarRotate 2.5s infinite linear;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Vertical Scanner Line Sweep */
.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.8), rgba(52, 211, 153, 0));
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
  animation: lineSweep 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes lineSweep {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Status texts */
.scanner-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text-light);
  text-align: center;
}

.scanner-subtitle {
  font-size: 0.95rem;
  color: var(--accent-neon);
  font-weight: 600;
  margin-bottom: 25px;
  height: 24px;
  text-align: center;
}

.scanner-log {
  max-width: 380px;
  width: 90%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: monospace;
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.55);
  max-height: 100px;
  overflow-y: auto;
  text-align: left;
}

.scanner-log-line {
  margin-bottom: 6px;
  display: flex;
  gap: 8px;
}

.scanner-log-line .time {
  color: var(--accent);
}

.scanner-log-line .success {
  color: var(--accent-neon);
}

/* ==========================================
 * 9. Dual Action & Affiliate Layout inside Modal
 * ========================================== */

.modal-actions-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--light-border);
}

/* Affiliate Button */
.btn-partner-outlink {
  width: 100%;
  background: linear-gradient(135deg, #ff5e36, #ff7b00);
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 94, 54, 0.3);
}

.btn-partner-outlink:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 54, 0.5);
  filter: brightness(1.05);
}

.btn-partner-outlink i {
  font-size: 1.1rem;
}

.partner-benefit-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Lead Section Splitter */
.lead-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 10px 0;
}

.lead-divider::before,
.lead-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--light-border);
}

.lead-divider:not(:empty)::before {
  margin-right: .75em;
}

.lead-divider:not(:empty)::after {
  margin-left: .75em;
}

/* Lead Agent Section */
.lead-advisor-box {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.lead-advisor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.lead-advisor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.lead-advisor-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.lead-advisor-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.lead-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-form-group.full-width {
  grid-column: span 2;
}

.lead-form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.lead-form-group input {
  height: 40px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 0.85rem;
}

.lead-form-group input:focus {
  border-color: var(--accent);
}

.btn-lead-submit {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-lead-submit:hover {
  background: var(--primary-light);
}

/* ==========================================
 * 10. Partner Redirect Transition Modal
 * ========================================== */
.transition-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transition-card {
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 460px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-border);
}

.transition-logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 25px;
}

.transition-logo span {
  color: var(--accent);
}

.transition-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.transition-icon-gs {
  font-size: 1.6rem;
  color: var(--accent);
}

.transition-icon-partner {
  font-size: 1.6rem;
  color: #ff5e36;
}

.transition-dots {
  display: flex;
  gap: 6px;
}

.transition-dots span {
  width: 6px;
  height: 6px;
  background-color: var(--text-muted);
  border-radius: 50%;
  animation: dotBlink 1.4s infinite both;
}

.transition-dots span:nth-child(2) { animation-delay: .2s; }
.transition-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes dotBlink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

.transition-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.transition-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.transition-partner-info {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--text-muted);
}

/* ==========================================
 * 11. Responsive Web Design Grid & Mobile Filters
 * ========================================== */

/* Body adjustments */
body {
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* Wizard sizing for PC */
.wizard-container {
  max-width: 760px;
  margin: 0 auto;
}

/* Results Layout Grid */
.results-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
  position: relative;
}

.filter-sidebar {
  width: 285px;
  flex-shrink: 0;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
  z-index: 10;
  display: block;
}

.results-main {
  flex: 1;
  min-width: 0;
}

.mobile-filter-bar {
  display: none;
}

.btn-close-filters-mobile {
  display: none;
}

.sidebar-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sidebar header styling */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sidebar-header button {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.sidebar-header button:hover {
  opacity: 0.8;
}

/* Modals sizing on PC */
.modal-wrapper {
  width: 90%;
  max-width: 500px;
}

.detail-modal-wrapper {
  max-width: 960px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

/* Responsive Styles for Mobile Viewports */
@media (max-width: 991px) {
  .detail-modal-wrapper {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .results-layout {
    display: block;
    padding: 0 16px;
    margin: 20px auto;
  }

  /* Show mobile filter bar at top of search results */
  .mobile-filter-bar {
    display: block;
    margin-bottom: 20px;
  }

  .btn-mobile-filter {
    width: 100%;
    background-color: var(--dark-surface);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
  }

  .btn-mobile-filter:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
  }

  /* Make filter sidebar float in from left on mobile */
  .filter-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 310px;
    height: 100vh;
    background: #0f172a; /* Dark premium style for mobile filter modal */
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    z-index: 1500;
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.6);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .filter-sidebar.show {
    left: 0;
  }

  .filter-sidebar .sidebar-header h3 {
    color: var(--text-light);
  }

  .filter-sidebar .filter-label {
    color: rgba(248, 250, 252, 0.6);
  }

  .filter-sidebar .checkbox-item {
    color: var(--text-light);
  }

  .btn-close-filters-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: rgba(248, 250, 252, 0.5);
    transition: color 0.2s ease;
  }

  .btn-close-filters-mobile:hover {
    color: var(--text-light);
  }

  /* Modal responsive adjustment: fullscreen modals on mobile */
  .detail-modal-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
  }

  .modal-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .modal-details-left,
  .modal-details-right {
    width: 100%;
  }

  .lead-form-grid {
    grid-template-columns: 1fr;
  }

  .lead-form-group.full-width {
    grid-column: span 1;
  }
}

/* ==========================================
 * 11. Footer Styling
 * ========================================== */
.footer {
  background-color: var(--light-surface);
  border-top: 1px solid var(--light-border);
  padding: 60px 0 30px 0;
  margin-top: 80px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-business {
  flex: 1.5;
  min-width: 320px;
  text-align: right;
  line-height: 1.7;
}

.footer-business h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-business p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0 auto;
  padding: 24px 24px 0 24px;
  border-top: 1px solid var(--light-border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-business {
    text-align: center;
    width: 100%;
  }
}

/* ==========================================
 * 12. Golf Course Search & Comparison Styling
 * ========================================== */

/* Card compared pricing */
.card-sellers {
  margin-top: 15px;
  background: var(--light-surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--light-border);
}

.seller-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--light-border);
}

.seller-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.seller-row.cheapest {
  color: var(--primary);
  font-weight: 700;
}

.seller-row.cheapest .seller-name {
  display: flex;
  align-items: center;
  gap: 4px;
}

.seller-row.cheapest .seller-name i {
  color: #f1c40f; /* gold star/trophy */
}

/* Modal compared pricing list */
.seller-compare-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.seller-compare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.seller-compare-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.seller-compare-item.cheapest {
  border: 1px solid rgba(46, 204, 113, 0.4);
  background: rgba(46, 204, 113, 0.05);
}

.seller-info-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.seller-logo-icon {
  font-size: 1.2rem;
  color: var(--primary);
}

.seller-name-label {
  font-weight: 600;
  color: var(--text-primary);
}

.seller-price-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.seller-price-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.seller-compare-item.cheapest .seller-price-value {
  color: var(--primary);
}

.btn-seller-book {
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}

.btn-seller-book:hover {
  opacity: 0.9;
}

/* ==========================================
 * Flatpickr Premium Emerald Theme Override
 * ========================================== */
.flatpickr-calendar {
  background: var(--dark-surface) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: var(--font-main) !important;
  border-radius: var(--radius-md) !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: var(--dark-surface) !important;
}

.flatpickr-months .flatpickr-month {
  color: var(--text-light) !important;
  fill: var(--text-light) !important;
}

.flatpickr-months .flatpickr-prev-month, 
.flatpickr-months .flatpickr-next-month {
  color: var(--text-light) !important;
  fill: var(--text-light) !important;
}
.flatpickr-months .flatpickr-prev-month:hover, 
.flatpickr-months .flatpickr-next-month:hover {
  color: var(--accent-neon) !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
  border-bottom-color: var(--text-light) !important;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-top-color: var(--text-light) !important;
}

span.flatpickr-weekday {
  color: rgba(248, 250, 252, 0.5) !important;
  font-weight: 600 !important;
}

.flatpickr-day {
  color: var(--text-light) !important;
  border-radius: var(--radius-sm) !important;
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: transparent !important;
  color: var(--text-light) !important;
}

.flatpickr-day.today {
  border-color: var(--accent-neon) !important;
  color: var(--accent-neon) !important;
}
.flatpickr-day.today:hover {
  background: rgba(52, 211, 153, 0.1) !important;
  color: var(--text-light) !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.prevMonthDay.selected, 
.flatpickr-day.nextMonthDay.selected {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--text-light) !important;
  box-shadow: 0 0 10px rgba(0, 135, 90, 0.4) !important;
}

.flatpickr-day.flatpickr-disabled, 
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay, 
.flatpickr-day.nextMonthDay {
  color: rgba(255, 255, 255, 0.15) !important;
  background: transparent !important;
  border-color: transparent !important;
}

/* Date Input Field Hover State */
.wizard-date-input {
  cursor: pointer;
  transition: all 0.3s ease;
}
.wizard-date-input:hover {
  border-color: var(--accent-neon) !important;
  background: rgba(11, 15, 25, 0.8) !important;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.1);
}

/* ==========================================
   AGL Real-Time Booking & Payment Styles
   ========================================== */

/* Trust Badge inside Booking Area */
.agl-trust-badge {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.agl-booking-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 20px;
}

/* AGL Submit Button */
.btn-agl-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-agl-submit:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* AGL Checkout Modal Wrapper */
.agl-checkout-wrapper {
  max-width: 480px;
  background: #f8fafc;
  color: #0b0f19;
  border: 1px solid rgba(11, 15, 25, 0.08);
}

/* AGL Checkout Header */
.agl-checkout-header {
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agl-checkout-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.agl-checkout-logo i {
  color: #10b981;
}

.agl-checkout-logo span {
  color: #10b981;
}

.secure-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Mock Browser Iframe Container */
.agl-iframe-container {
  padding: 16px;
}

.agl-mock-iframe-header {
  background: #e2e8f0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.browser-dot.red { background-color: #ef4444; }
.browser-dot.yellow { background-color: #f59e0b; }
.browser-dot.green { background-color: #10b981; }

.browser-address-bar {
  flex: 1;
  background: #ffffff;
  border-radius: 4px;
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: monospace;
}

.agl-mock-iframe-body {
  position: relative;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 20px;
}

/* Payment Summary Box */
.payment-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 20px;
}

.pay-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.pay-summary-row:last-child {
  margin-bottom: 0;
}

.pay-label {
  color: #64748b;
}

.pay-val {
  font-weight: 600;
  color: #0f172a;
}

.pay-val.highlight {
  color: #10b981;
  font-size: 1.05rem;
  font-weight: 800;
}

/* Payment Method Tabs */
.payment-method-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.method-card {
  padding: 12px;
  text-align: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.method-card:hover {
  border-color: #cbd5e1;
  color: #475569;
}

.method-card.active {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.04);
  color: #10b981;
}

/* PG Form Box */
.agl-pg-form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pg-form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-form-row label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
}

.pg-form-row select, 
.pg-input {
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.pg-form-row select:focus, 
.pg-input:focus {
  border-color: #10b981;
}

.card-number-inputs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pg-input.card-num {
  text-align: center;
}

.pg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.text-center {
  text-align: center;
}

.pg-agreement {
  margin: 6px 0;
}

.pg-actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12px;
  margin-top: 10px;
}

.btn-pg-cancel {
  padding: 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-pg-cancel:hover {
  background: #e2e8f0;
}

.btn-pg-submit {
  padding: 12px;
  background: #0f172a;
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
  transition: all 0.2s ease;
}

.btn-pg-submit:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

/* PG Processing Overlay */
.pg-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.pg-loading-overlay h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 16px 0 8px 0;
}

.pg-loading-overlay p {
  font-size: 0.78rem;
  color: #64748b;
  max-width: 280px;
  line-height: 1.4;
}

/* Spinner Circle Animation */
.spinner-circle {
  width: 40px;
  height: 40px;
  border: 3.5px solid #f1f5f9;
  border-top-color: #10b981;
  border-radius: 50%;
  animation: pgSpin 1s linear infinite;
}

@keyframes pgSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================
   Admin Dashboard Styles
   ========================================== */
.admin-dashboard-layout {
  max-width: 1200px;
  margin: 40px auto;
  background: var(--light-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  padding: 30px;
  animation: modalPop 0.3s ease;
}

.admin-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--light-border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.admin-header-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-header-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.btn-admin-exit {
  background: #ffffff;
  border: 1px solid var(--light-border);
  color: var(--primary-dark);
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.btn-admin-exit:hover {
  background: var(--light-border);
  transform: translateY(-1px);
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--light-border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.admin-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-tab:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--light-border);
}

.admin-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

/* Stats Cards Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.admin-stat-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-icon.agl {
  background: rgba(0, 92, 151, 0.1);
  color: #005c97;
}

.stat-icon.realtime {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.stat-icon.lead {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.stat-icon.outlink {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

/* Admin Charts Panel */
.admin-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .admin-charts-row {
    grid-template-columns: 1fr;
  }
}

.admin-chart-box {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.admin-chart-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--light-border);
  padding-bottom: 10px;
}

.admin-chart-mock {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 0;
}

.chart-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chart-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
}

.chart-bar-name {
  color: var(--primary-dark);
}

.chart-bar-val {
  color: var(--text-muted);
}

.chart-bar-container {
  height: 10px;
  background: #f1f5f9;
  border-radius: 10px;
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.6s ease;
}

.chart-bar-fill.color-1 { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.chart-bar-fill.color-2 { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.chart-bar-fill.color-3 { background: linear-gradient(90deg, #10b981, #34d399); }
.chart-bar-fill.color-4 { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.chart-empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Admin Tables */
.admin-table-container {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, 
.admin-table td {
  padding: 14px 18px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--light-border);
  vertical-align: middle;
}

.admin-table th {
  background: #f8fafc;
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
  background: #f8fafc;
}

/* Admin Badges */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 30px;
}

.admin-badge.status-realtime {
  background: #d1fae5;
  color: #065f46;
}

.admin-badge.status-lead-waiting {
  background: #fee2e2;
  color: #991b1b;
}

.admin-badge.status-lead-done {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.admin-badge.partner-tag {
  background: #f3e8ff;
  color: #6b21a8;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 600;
}

.admin-badge.partner-tag.agl {
  background: #e0f2fe;
  color: #075985;
}

.admin-badge.partner-tag.rakuten {
  background: #fee2e2;
  color: #991b1b;
}

/* Admin Table Action Buttons */
.admin-actions-cell {
  display: flex;
  gap: 6px;
}

.btn-table-action {
  border: none;
  background: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-table-action.complete {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.btn-table-action.complete:hover {
  background: #10b981;
  color: white;
}

.btn-table-action.delete {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.btn-table-action.delete:hover {
  background: #ef4444;
  color: white;
}

/* Nav Link customization for Admin */
.nav-link.admin-nav {
  color: #e0f2fe !important;
  background: rgba(56, 189, 248, 0.12) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link.admin-nav:hover {
  background: rgba(56, 189, 248, 0.25) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

