/* ===========================================================
   Book Bali Holiday — Admin Panel Styles
   Modern · 3D · Professional · Colorful
   =========================================================== */

:root {
  /* Brand colors */
  --navy:        #1a2b5c;
  --navy-dark:   #0f1a3d;
  --navy-light:  #2a3f7e;
  --orange:      #f7931e;
  --orange-dark: #e07d0a;
  --orange-light:#ffb555;
  --green:       #2e8b57;
  --gold:        #c9a55a;

  /* Neutrals */
  --ink:        #1a2030;
  --ink-soft:   #4a5568;
  --muted:      #6b7280;
  --muted-soft: #9ca3af;
  --border:     #e5e7eb;
  --border-soft:#f1f3f5;
  --bg:         #f0f3f8;
  --bg-soft:    #f6f8fb;
  --white:      #ffffff;

  /* Sidebar */
  --sidebar-w:        260px;
  --sidebar-bg:       #0f1a3d;
  --sidebar-bg-2:     #1a2b5c;
  --sidebar-fg:       #e5e7eb;
  --sidebar-fg-dim:   #94a3b8;
  --sidebar-hover:    rgba(247,147,30,.12);
  --sidebar-active:   rgba(247,147,30,.20);

  /* 3D shadow system — layered for depth */
  --sh-xs:  0 1px 2px rgba(15,26,61,.04);
  --sh-sm:  0 1px 3px rgba(15,26,61,.06), 0 1px 2px rgba(15,26,61,.04);
  --sh-md:  0 4px 12px rgba(15,26,61,.08), 0 2px 4px rgba(15,26,61,.04);
  --sh-lg:  0 12px 30px rgba(15,26,61,.12), 0 4px 12px rgba(15,26,61,.06);
  --sh-xl:  0 24px 60px rgba(15,26,61,.18), 0 12px 24px rgba(15,26,61,.08);
  --sh-orange: 0 6px 20px rgba(247,147,30,.35);
  --sh-navy:   0 6px 20px rgba(26,43,92,.30);

  /* Curves */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Transitions */
  --t-fast: cubic-bezier(.4,0,.2,1);
  --t-bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ===========================================================
   BASE
   =========================================================== */

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(at 20% 0%, rgba(247,147,30,.06) 0px, transparent 50%),
    radial-gradient(at 80% 100%, rgba(26,43,92,.05) 0px, transparent 50%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.with-sidebar { padding-left: var(--sidebar-w); }

a { color: var(--navy); text-decoration: none; transition: color .15s var(--t-fast); }
a:hover { color: var(--orange); }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* ===========================================================
   SIDEBAR
   =========================================================== */

.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background:
    linear-gradient(180deg, var(--sidebar-bg-2) 0%, var(--sidebar-bg) 100%);
  color: var(--sidebar-fg);
  display: flex; flex-direction: column;
  z-index: 1000;
  box-shadow: 4px 0 24px rgba(15,26,61,.10);
}

/* Subtle decorative orange glow at top of sidebar */
.sidebar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 50%, var(--orange) 100%);
}

.sidebar-brand {
  padding: 22px 22px 18px;
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.08);
  letter-spacing: .02em;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-brand strong { color: #fff; }
.sidebar-brand span { color: var(--orange); font-weight: 500; }

.nav-menu {
  list-style: none; padding: 14px 0; margin: 0;
  flex: 1; overflow-y: auto;
}
.nav-menu::-webkit-scrollbar { width: 6px; }
.nav-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

.nav-menu li a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px;
  margin: 2px 12px;
  border-radius: 10px;
  color: var(--sidebar-fg);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all .2s var(--t-fast);
  position: relative;
}
.nav-menu li a:hover {
  background: var(--sidebar-hover);
  color: #fff;
  transform: translateX(2px);
}
.nav-menu li a.active {
  background: var(--sidebar-active);
  color: var(--orange);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--orange);
}
.nav-menu li a i {
  width: 20px; font-size: 1.05rem;
  transition: transform .2s var(--t-bounce);
}
.nav-menu li a:hover i { transform: scale(1.15) rotate(-3deg); }

.nav-menu li.nav-divider {
  padding: 18px 22px 6px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sidebar-fg-dim);
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.nav-menu li.nav-divider::before {
  content: ''; width: 18px; height: 1px;
  background: rgba(255,255,255,.1);
}

.sidebar-foot {
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 0.78rem;
  color: var(--sidebar-fg-dim);
}
.sidebar-foot strong { color: #fff; }

/* ===========================================================
   CONTENT WRAPPER
   =========================================================== */

.content {
  padding: 32px 36px;
  max-width: 1400px;
  animation: fadeInUp .35s var(--t-fast);
}

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

.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap; gap: 12px;
}
.page-header h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: -.01em;
}
.page-header h1 small { color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ===========================================================
   BUTTONS — gradients + 3D depth + hover lift
   =========================================================== */

.btn {
  font-weight: 600;
  border-radius: var(--r-sm);
  padding: 8px 18px;
  transition: all .2s var(--t-fast);
  border-width: 1px;
  letter-spacing: -.005em;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%) !important;
  border-color: var(--orange-dark) !important;
  color: #fff !important;
  box-shadow: var(--sh-orange);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%) !important;
  box-shadow: 0 8px 24px rgba(247,147,30,.45);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--navy) !important;
  border-color: var(--navy) !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
  box-shadow: var(--sh-navy);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  background: var(--white);
  border-color: var(--border);
  color: var(--ink-soft);
}
.btn-outline-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--muted-soft);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

.btn-outline-success { color: var(--green) !important; border-color: var(--green) !important; }
.btn-outline-success:hover { background: var(--green) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(46,139,87,.3); transform: translateY(-1px); }

.btn-outline-danger:hover { box-shadow: 0 6px 18px rgba(220,38,38,.3); transform: translateY(-1px); }
.btn-outline-warning:hover { box-shadow: 0 6px 18px rgba(247,147,30,.3); transform: translateY(-1px); }
.btn-outline-info:hover { box-shadow: 0 6px 18px rgba(14,116,144,.3); transform: translateY(-1px); }

.btn-sm { padding: 5px 12px; font-size: .82rem; }
.btn-lg { padding: 12px 28px; font-size: 1.05rem; }

/* ===========================================================
   STAT CARDS
   =========================================================== */

.card-stat {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  transition: all .25s var(--t-fast);
}
.card-stat .label { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.card-stat .value { font-size: 1.8rem; font-weight: 700; margin-top: 4px; color: var(--navy); }

a.text-decoration-none .card-stat:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

/* Modern stat tiles */
.stat-tile {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  display: flex; align-items: center; gap: 16px;
  transition: all .25s var(--t-fast);
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.stat-tile::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(247,147,30,.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.stat-tile:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  color: inherit;
  text-decoration: none;
}
.stat-tile:hover::after { opacity: 1; }
.stat-tile:hover .icon-box { transform: scale(1.08) rotate(-4deg); }

.stat-tile .icon-box {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform .3s var(--t-bounce);
  box-shadow: var(--sh-sm);
}
.stat-tile .icon-blue   { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); color: #1e40af; }
.stat-tile .icon-green  { background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); color: #065f46; }
.stat-tile .icon-cyan   { background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%); color: #155e75; }
.stat-tile .icon-orange { background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%); color: #92400e; }
.stat-tile .icon-purple { background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%); color: #6b21a8; }
.stat-tile .icon-pink   { background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%); color: #831843; }
.stat-tile .icon-navy   { background: linear-gradient(135deg, rgba(26,43,92,.12) 0%, rgba(26,43,92,.20) 100%); color: var(--navy); }
.stat-tile .icon-gold   { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #92400e; }

.stat-tile .label {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-tile .value {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat-tile .sub {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ===========================================================
   WELCOME BANNER
   =========================================================== */

.welcome-banner {
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--sh-lg);
}
.welcome-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -50px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(247,147,30,.40) 0%, transparent 70%);
}
.welcome-banner::after {
  content: '';
  position: absolute;
  bottom: -120px; left: 30%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(46,139,87,.18) 0%, transparent 70%);
}
.welcome-banner > * { position: relative; z-index: 1; }
.welcome-banner h2 {
  font-size: 1.55rem; font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.welcome-banner .sub { opacity: .85; font-size: .95rem; }
.welcome-banner .quick-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}
.welcome-banner .quick-actions a {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  transition: all .2s var(--t-fast);
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255,255,255,.18);
}
.welcome-banner .quick-actions a:hover {
  background: rgba(255,255,255,.20);
  border-color: var(--orange);
  transform: translateY(-1px);
}
.welcome-banner .quick-actions a.primary {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: var(--sh-orange);
}
.welcome-banner .quick-actions a.primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,147,30,.5);
}

/* ===========================================================
   DASH CARD (panel with title bar)
   =========================================================== */

.dash-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  margin-bottom: 22px;
  transition: box-shadow .25s var(--t-fast);
}
.dash-card:hover { box-shadow: var(--sh-md); }
.dash-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.dash-card-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex; align-items: center; gap: 8px;
}
.dash-card-head .head-link {
  font-size: .82rem;
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
  transition: all .15s;
}
.dash-card-head .head-link:hover { color: var(--orange-dark); transform: translateX(2px); }

.dash-card .table { margin: 0; }
.dash-card .table thead th {
  background: transparent;
  border-bottom: 1px solid var(--border);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
  padding: 14px 22px;
}
.dash-card .table tbody td {
  padding: 14px 22px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-soft);
}
.dash-card .table tbody tr:last-child td { border-bottom: 0; }
.dash-card .table tbody tr { transition: background .15s; }
.dash-card .table tbody tr:hover { background: var(--bg-soft); }

/* ===========================================================
   PIPELINE STEPS
   =========================================================== */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}
.pipeline > a { text-decoration: none; }
.pipeline-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: center;
  position: relative;
  transition: all .25s var(--t-fast);
  box-shadow: var(--sh-sm);
}
.pipeline-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--orange);
}
.pipeline-step .step-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--sh-sm);
}
.pipeline-step .step-count {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.pipeline-step .step-label {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
  font-weight: 700;
}
.pipeline-step.draft .step-icon     { background: linear-gradient(135deg, #f3f4f6, #e5e7eb); color: #4b5563; }
.pipeline-step.sent .step-icon      { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: #0e7490; }
.pipeline-step.confirmed .step-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; }
.pipeline-step.cancelled .step-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }

/* ===========================================================
   STATUS BADGES
   =========================================================== */

.status-badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border: 1px solid transparent;
}
.status-draft     { background: #f3f4f6; color: #4b5563; border-color: #e5e7eb; }
.status-sent      { background: #cffafe; color: #0e7490; border-color: #a5f3fc; }
.status-confirmed { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.status-cancelled { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

/* Bootstrap badge enhancements */
.badge {
  padding: 4px 10px;
  font-weight: 600;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .03em;
}

/* ===========================================================
   FORMS
   =========================================================== */

.form-label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.form-label.fw-bold {
  color: var(--navy);
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: .92rem;
  transition: border-color .15s, box-shadow .15s;
  background: var(--white);
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,147,30,.12);
  outline: none;
}
.form-control::placeholder { color: var(--muted-soft); }
.form-control:hover:not(:focus), .form-select:hover:not(:focus) {
  border-color: var(--muted-soft);
}

textarea.form-control { line-height: 1.5; }

/* Form section divider */
.form-section {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 26px 28px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.form-section-title {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--navy);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ===========================================================
   CATEGORY PILLS (hotel category preference)
   =========================================================== */

.cat-pill {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 8px;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  transition: all .2s var(--t-fast);
  text-align: center;
  user-select: none;
  height: 100%;
}
.cat-pill:hover {
  border-color: var(--orange-light);
  background: linear-gradient(180deg, #fff 0%, rgba(247,147,30,.04) 100%);
}
.cat-pill.active {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(247,147,30,.08) 0%, rgba(247,147,30,.04) 100%);
  box-shadow: 0 0 0 3px rgba(247,147,30,.12);
}
.cat-pill input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.cat-pill .ico { font-size: 1.4rem; line-height: 1; }
.cat-pill .lbl { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.cat-pill.active .lbl { color: var(--orange-dark); }

/* ===========================================================
   PAX FIELD TILES
   =========================================================== */

.pax-field {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  transition: all .2s var(--t-fast);
  box-shadow: var(--sh-xs);
}
.pax-field:hover { border-color: var(--muted-soft); }
.pax-field:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,147,30,.12);
}
.pax-field .pax-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--sh-xs);
}
.pax-field .pax-body { flex: 1; min-width: 0; }
.pax-field input.form-control {
  border: 0;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  height: auto;
}
.pax-field input.form-control:focus {
  box-shadow: none;
  outline: none;
}

/* ===========================================================
   EMPTY STATES
   =========================================================== */

.empty-state {
  text-align: center;
  padding: 60px 30px;
  color: var(--muted);
}
.empty-state .empty-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 2rem;
  color: var(--orange-dark);
  box-shadow: var(--sh-md);
}
.empty-state h4 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.empty-state p {
  font-size: .92rem;
  margin-bottom: 18px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================================================
   LOGIN PAGE
   =========================================================== */

body.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, rgba(14,59,52,.92) 0%, rgba(11,18,32,.95) 100%),
    url('https://bookbaliholiday.com/assets/img/home-destinations/seminyak.jpg') center/cover no-repeat;
  position: relative;
}
.auth-logo {
  height: 54px; width: auto; display: block;
  margin: 0 auto 18px;
}
body.auth-page::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(at 20% 80%, rgba(247,147,30,.15) 0px, transparent 50%),
    radial-gradient(at 80% 20%, rgba(46,139,87,.10) 0px, transparent 50%);
  pointer-events: none;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: var(--sh-xl);
  position: relative;
  z-index: 1;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 50%, var(--orange) 100%);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.auth-card h1 {
  font-size: 1.6rem; font-weight: 700;
  margin: 0 0 6px; color: var(--navy);
  letter-spacing: -.02em;
}
.auth-card .subtitle {
  color: var(--muted); font-size: 0.92rem;
  margin-bottom: 28px;
}

/* ===========================================================
   TABLES
   =========================================================== */

.table {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}
.table thead th {
  background: var(--bg-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.table tbody td { padding: 13px 16px; vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--bg-soft); }

/* Card around tables */
.card.shadow-sm, .card {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.card-header {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  padding: 14px 22px;
}
.card-body { padding: 22px; }

/* ===========================================================
   ALERTS
   =========================================================== */

.alert {
  border-radius: var(--r-md);
  padding: 14px 18px;
  border: 1px solid transparent;
  font-size: .92rem;
  box-shadow: var(--sh-xs);
}
.alert-success { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); border-color: #bbf7d0; color: #065f46; }
.alert-danger  { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border-color: #fecaca; color: #991b1b; }
.alert-info    { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); border-color: #bae6fd; color: #075985; }
.alert-warning { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); border-color: #fde68a; color: #92400e; }

/* ===========================================================
   MODALS
   =========================================================== */

.modal-content {
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.modal-header {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
}
.modal-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.modal-body { padding: 24px; }
.modal-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 14px 24px;
}

/* ===========================================================
   BREADCRUMB / NAV TABS
   =========================================================== */

.nav-tabs {
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
}
.nav-tabs .nav-link {
  color: var(--muted);
  font-weight: 600;
  border: 0;
  padding: 12px 20px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .2s var(--t-fast);
}
.nav-tabs .nav-link:hover {
  color: var(--navy);
  border-color: rgba(247,147,30,.4);
}
.nav-tabs .nav-link.active {
  color: var(--orange);
  background: transparent;
  border-bottom-color: var(--orange);
}

/* ===========================================================
   ITINERARY / DAY CARDS in admin edit page
   =========================================================== */

.day-card-admin {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  margin-bottom: 18px;
  transition: box-shadow .2s;
}
.day-card-admin:hover { box-shadow: var(--sh-md); }

/* ===========================================================
   LIST GROUP polish
   =========================================================== */

.list-group { border-radius: var(--r-md); }
.list-group-item {
  border-color: var(--border-soft);
  padding: 14px 18px;
  transition: background .15s;
}
.list-group-item:hover { background: var(--bg-soft); }

/* ===========================================================
   SHARE-URL BAR
   =========================================================== */

.share-url-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(247,147,30,.06) 0%, rgba(247,147,30,.02) 100%);
  border: 1px dashed var(--orange);
  border-radius: var(--r-md);
  padding: 12px 18px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: 18px;
}
.share-url-bar i { color: var(--orange); font-size: 1.05rem; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */

@media (max-width: 991px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  body.with-sidebar { padding-left: 0; }
  .sidebar { transform: translateX(-100%); transition: transform .25s var(--t-fast); }
  .sidebar.open { transform: translateX(0); }
  .content { padding: 18px; }
  .welcome-banner { padding: 22px; }
  .welcome-banner h2 { font-size: 1.2rem; }
  .auth-card { padding: 30px 24px; }
  .form-section { padding: 20px; }
}

/* Mobile menu toggle */
.mobile-menu-btn {
  display: none;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: inline-flex; align-items: center; }
}

/* ===========================================================
   UTILITIES
   =========================================================== */

.text-navy { color: var(--navy) !important; }
.text-orange { color: var(--orange) !important; }
.bg-navy { background: var(--navy) !important; color: #fff; }
.bg-orange { background: var(--orange) !important; color: #fff; }

.shadow-soft { box-shadow: var(--sh-sm) !important; }
.shadow-pop  { box-shadow: var(--sh-md) !important; }
.shadow-deep { box-shadow: var(--sh-lg) !important; }

/* Divider with icon */
.divider {
  display: flex; align-items: center;
  margin: 24px 0;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.divider::before { margin-right: 12px; }
.divider::after  { margin-left: 12px; }

/* Loading spinner */
.spinner-border { color: var(--orange); }

/* Print */
@media print {
  .sidebar, .page-header .btn, .toolbar { display: none !important; }
  body.with-sidebar { padding-left: 0; }
}
