/* ===== KrenX Tour — Global Styles ===== */
:root {
  --primary: #0A2463;
  --primary-light: #1a3a8f;
  --accent: #FF6B35;
  --accent-dark: #e55a24;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --bg: #f0f4ff;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(10,36,99,.10);
  --shadow-hover: 0 8px 40px rgba(10,36,99,.18);
  --radius: 14px;
  --radius-sm: 8px;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* === NAVBAR === */
.navbar {
  background: var(--primary);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 20px; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff; font-family: var(--font-head);
  font-weight: 900; font-size: 1.4rem;
}
.logo-icon {
  background: var(--accent); border-radius: 10px;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.logo-text span { color: var(--accent); }
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-link {
  color: rgba(255,255,255,.85); text-decoration: none;
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  transition: all .2s;
}
.nav-link:hover, .nav-link.active {
  background: rgba(255,255,255,.15); color: #fff;
}
.nav-divider { width: 1px; height: 28px; background: rgba(255,255,255,.2); margin: 0 8px; }
.btn-nav-login {
  background: transparent; border: 1.5px solid rgba(255,255,255,.6);
  color: #fff; padding: 8px 18px; border-radius: 50px;
  text-decoration: none; font-size: .85rem; font-weight: 600;
  transition: all .2s;
}
.btn-nav-login:hover { background: rgba(255,255,255,.1); }
.btn-nav-signup {
  background: var(--accent); color: #fff;
  padding: 8px 18px; border-radius: 50px;
  text-decoration: none; font-size: .85rem; font-weight: 700;
  transition: all .2s; margin-left: 6px;
}
.btn-nav-signup:hover { background: var(--accent-dark); transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 2px; background: #fff; display: block;
  border-radius: 2px; transition: all .3s;
}

/* === FLASH === */
.flash-msg {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; font-size: .9rem; font-weight: 600;
  border-left: 4px solid; position: relative;
}
.flash-success { background: #dcfce7; border-color: var(--green); color: #166534; }
.flash-error { background: #fee2e2; border-color: var(--red); color: #991b1b; }
.flash-info { background: #dbeafe; border-color: #3b82f6; color: #1e40af; }
.flash-close {
  margin-left: auto; background: none; border: none;
  font-size: 1.2rem; cursor: pointer; opacity: .6;
}
.flash-close:hover { opacity: 1; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a8f 50%, #0d1f55 100%);
  padding: 60px 20px 80px; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 60% 40%, rgba(255,107,53,.12) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hero h1 {
  font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 12px;
}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.05rem; opacity: .85; margin-bottom: 36px; }

/* === SEARCH TABS === */
.search-container {
  max-width: 1100px; margin: -40px auto 40px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-hover); overflow: hidden; position: relative; z-index: 10;
}
.search-tabs {
  display: flex; background: var(--primary);
}
.search-tab {
  flex: 1; padding: 16px 10px; border: none; background: none;
  color: rgba(255,255,255,.65); cursor: pointer; font-family: var(--font-body);
  font-size: .9rem; font-weight: 600; display: flex; align-items: center;
  justify-content: center; gap: 8px; transition: all .2s; border-bottom: 3px solid transparent;
}
.search-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.search-tab.active { color: #fff; background: rgba(255,255,255,.1); border-bottom-color: var(--accent); }
.search-panel { padding: 28px; display: none; }
.search-panel.active { display: block; }
.search-row {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr 1fr 140px 160px;
  align-items: end;
}
.search-row-taxi { grid-template-columns: 1fr 1fr 160px 160px; }
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: .75rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
}
.search-field input, .search-field select {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: .95rem; font-family: var(--font-body);
  color: var(--text); outline: none; transition: border-color .2s; background: #fafbff;
  width: 100%;
}
.search-field input:focus, .search-field select:focus {
  border-color: var(--primary); background: #fff;
}
.field-swap {
  position: relative;
}
.swap-btn {
  position: absolute; right: -22px; top: 50%; transform: translateY(50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent);
  border: 3px solid #fff; color: #fff; cursor: pointer; font-size: .8rem;
  display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.trip-type-row {
  display: flex; gap: 20px; margin-bottom: 16px;
}
.trip-type-label {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--text);
}
.trip-type-label input { accent-color: var(--primary); width: 16px; height: 16px; }
.btn-search {
  background: var(--accent); color: #fff;
  border: none; padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .2s; font-family: var(--font-body);
}
.btn-search:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* === SECTION === */
.section { padding: 60px 20px; }
.section-container { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--primary);
}
.section-head p { color: var(--muted); margin-top: 8px; font-size: 1rem; }
.eyebrow {
  display: inline-block; background: rgba(255,107,53,.1);
  color: var(--accent); font-size: .75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 10px;
}

/* === CARDS === */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: all .25s; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* === ROUTE CARD (Bus/Train results) === */
.route-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 16px; overflow: hidden; transition: all .25s; border: 1.5px solid transparent;
}
.route-card:hover { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.route-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.operator-info { display: flex; align-items: center; gap: 10px; }
.operator-badge {
  width: 42px; height: 42px; background: var(--primary); color: #fff;
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
}
.operator-name { font-weight: 700; font-size: .95rem; }
.operator-type { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.route-rating {
  display: flex; align-items: center; gap: 4px;
  background: #dcfce7; color: #166534; font-size: .8rem; font-weight: 700;
  padding: 4px 8px; border-radius: 6px;
}
.route-card-body {
  display: flex; align-items: center; gap: 20px; padding: 20px;
}
.route-time { text-align: center; }
.route-time .time { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.route-time .city { font-size: .78rem; color: var(--muted); font-weight: 600; margin-top: 2px; }
.route-duration {
  flex: 1; text-align: center; position: relative;
}
.route-line {
  height: 2px; background: var(--border); position: relative; margin: 6px 0;
}
.route-line::before, .route-line::after {
  content: ''; position: absolute; top: -4px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary);
}
.route-line::before { left: 0; }
.route-line::after { right: 0; }
.route-duration-text { font-size: .78rem; color: var(--muted); font-weight: 600; }
.route-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--bg); border-top: 1px solid var(--border);
}
.route-fare { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.route-fare small { font-size: .7rem; color: var(--muted); display: block; font-family: var(--font-body); font-weight: 400; }
.route-seats { font-size: .8rem; color: var(--green); font-weight: 600; }
.route-seats.low { color: var(--red); }
.amenity-tags { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 20px 14px; }
.amenity-tag {
  background: #eff6ff; color: var(--primary); font-size: .7rem;
  padding: 3px 8px; border-radius: 4px; font-weight: 600;
}

/* === BTN === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 700; border: none; cursor: pointer; text-decoration: none; transition: all .2s; font-family: var(--font-body); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* === FORM === */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.form-control {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: .95rem; font-family: var(--font-body);
  color: var(--text); outline: none; transition: border-color .2s; background: #fafbff;
}
.form-control:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(10,36,99,.08); }
.form-control.error { border-color: var(--red); }
.form-hint { font-size: .78rem; color: var(--muted); }
.form-error { font-size: .78rem; color: var(--red); font-weight: 600; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 36px; }

/* === AUTH PAGES === */
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: linear-gradient(135deg, var(--primary) 0%, #1a3a8f 100%); }
.auth-card { background: #fff; border-radius: var(--radius); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-hover); }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.auth-logo p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: .88rem; color: var(--muted); }
.auth-footer a { color: var(--primary); font-weight: 700; text-decoration: none; }
.social-divider { text-align: center; margin: 20px 0; position: relative; color: var(--muted); font-size: .85rem; }
.social-divider::before, .social-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border); }
.social-divider::before { left: 0; }
.social-divider::after { right: 0; }

/* === BOOKING SUMMARY === */
.booking-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; max-width: 1100px; margin: 0 auto; padding: 30px 20px; }
.booking-form-card, .booking-summary-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.booking-summary-card { position: sticky; top: 80px; height: fit-content; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.summary-row:last-child { border: none; }
.summary-total { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.section-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--primary); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }

/* === MY BOOKINGS === */
.booking-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
.booking-item-header { background: var(--primary); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.booking-ref { font-family: var(--font-head); font-weight: 800; font-size: 1rem; }
.booking-status { padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.status-confirmed { background: var(--green); }
.status-pending { background: var(--yellow); }
.status-cancelled { background: var(--red); }
.booking-item-body { padding: 20px; }
.booking-route { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.booking-meta { display: flex; gap: 20px; margin-top: 12px; font-size: .85rem; color: var(--muted); }
.booking-meta span { display: flex; align-items: center; gap: 6px; }

/* === ADMIN === */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--primary); color: #fff; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar-logo { padding: 20px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 8px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: rgba(255,255,255,.75); text-decoration: none; font-size: .88rem; font-weight: 500; transition: all .2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-nav .nav-section { padding: 10px 20px 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-top: 10px; }
.admin-main { flex: 1; padding: 30px; overflow-x: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-header h1 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border-left: 4px solid; }
.stat-card.blue { border-color: var(--primary); }
.stat-card.orange { border-color: var(--accent); }
.stat-card.green { border-color: var(--green); }
.stat-card.red { border-color: var(--red); }
.stat-value { font-family: var(--font-head); font-size: 2rem; font-weight: 900; margin-bottom: 4px; }
.stat-label { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { background: var(--bg); padding: 12px 16px; text-align: left; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.data-table td { padding: 14px 16px; border-top: 1px solid var(--border); font-size: .88rem; vertical-align: middle; }
.data-table tr:hover td { background: #fafbff; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .72rem; font-weight: 700; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }

/* === TICKET === */
.ticket-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-hover); max-width: 680px; margin: 0 auto; overflow: hidden; }
.ticket-header { background: var(--primary); color: #fff; padding: 24px; display: flex; justify-content: space-between; align-items: center; }
.ticket-logo { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; }
.ticket-ref { text-align: right; font-size: .82rem; opacity: .75; }
.ticket-ref strong { font-size: 1.1rem; opacity: 1; display: block; font-family: var(--font-head); }
.ticket-body { padding: 28px; }
.ticket-route { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.ticket-city { flex: 1; text-align: center; }
.ticket-city .city-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.ticket-city .city-time { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-top: 4px; }
.ticket-arrow { flex: 1; text-align: center; font-size: 2rem; color: var(--accent); }
.ticket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.ticket-field { }
.ticket-field .field-label { font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.ticket-field .field-value { font-weight: 700; font-size: .95rem; color: var(--text); }
.ticket-divider { border: none; border-top: 2px dashed var(--border); margin: 20px 0; }
.ticket-footer { background: var(--bg); padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; }
.ticket-total { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.ticket-note { font-size: .78rem; color: var(--muted); }

/* === OFFER BANNER === */
.offer-strip { background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%); color: #fff; text-align: center; padding: 10px; font-size: .88rem; font-weight: 600; }
.offer-strip span { background: rgba(255,255,255,.2); padding: 2px 10px; border-radius: 4px; margin-left: 8px; font-weight: 800; }

/* === POPULAR ROUTES === */
.popular-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.popular-card {
  background: #fff; border-radius: var(--radius-sm); padding: 16px;
  box-shadow: var(--shadow); cursor: pointer; transition: all .2s;
  border: 1.5px solid transparent; text-decoration: none; color: var(--text);
  display: flex; align-items: center; gap: 12px;
}
.popular-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.popular-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.popular-icon.bus { background: #dbeafe; color: var(--primary); }
.popular-icon.train { background: #dcfce7; color: #166534; }
.popular-route { font-weight: 700; font-size: .9rem; }
.popular-fare { font-size: .78rem; color: var(--accent); font-weight: 600; margin-top: 2px; }

/* === WHY US === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; box-shadow: var(--shadow); }
.feature-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; }
.feature-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.feature-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* === SEAT MAP === */
.seat-map { padding: 20px; background: #fafbff; border-radius: var(--radius-sm); }
.seat-legend { display: flex; gap: 16px; margin-bottom: 14px; font-size: .78rem; font-weight: 600; }
.seat-legend span { display: flex; align-items: center; gap: 6px; }
.seat-row { display: flex; gap: 8px; margin-bottom: 8px; align-items: center; justify-content: center; }
.seat-btn {
  width: 36px; height: 36px; border-radius: 6px; border: 1.5px solid;
  cursor: pointer; font-size: .72rem; font-weight: 700; transition: all .15s; display: flex; align-items: center; justify-content: center;
}
.seat-available { border-color: #94a3b8; background: #fff; color: var(--text); }
.seat-available:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.seat-booked { border-color: #cbd5e1; background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }
.seat-selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.seat-aisle { width: 20px; }

/* === FILTERS === */
.filters-bar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 20px; margin-bottom: 16px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.filter-chip {
  padding: 6px 14px; border-radius: 20px; font-size: .82rem; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff; color: var(--muted);
  cursor: pointer; transition: all .2s;
}
.filter-chip:hover, .filter-chip.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.sort-select { margin-left: auto; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 7px 12px; font-size: .85rem; font-family: var(--font-body); outline: none; }

/* === LOADING === */
.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 9999; display: none; }
.loading-overlay.show { display: flex; }
.loading-box { background: #fff; border-radius: var(--radius); padding: 32px; text-align: center; }

/* === RESULT HEADER === */
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 0 4px; }
.result-count { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--primary); }
.result-modify { color: var(--accent); font-size: .88rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; }

/* === FOOTER === */
.footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 60px 20px 0; margin-top: 80px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; font-size: .85rem; text-decoration: none; transition: all .2s; }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-links h4 { color: #fff; font-family: var(--font-head); font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.footer-bottom a { color: var(--accent); text-decoration: none; }
.footer-pay { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; color: rgba(255,255,255,.7); }
.upi-badge { background: rgba(255,255,255,.15); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 800; }

/* === RESPONSIVE === */
@media(max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary); flex-direction: column; padding: 16px; gap: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
  .nav-menu.open { display: flex; }
  .nav-divider { display: none; }
  .search-row { grid-template-columns: 1fr 1fr; }
  .search-row-taxi { grid-template-columns: 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { display: none; }
}
@media(max-width: 600px) {
  .hero { padding: 40px 16px 70px; }
  .search-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .ticket-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === TOAST === */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 8px 30px rgba(0,0,0,.15); padding: 14px 18px; display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; min-width: 260px; animation: slideIn .3s ease; border-left: 4px solid; }
.toast-success { border-color: var(--green); }
.toast-error { border-color: var(--red); }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
