:root {
  --bg: #f1f5f9;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
body {
  font-family: 'Red Hat Display', sans-serif;
  background: radial-gradient(circle at 20% 0%, #e8f0ff, transparent 35%), var(--bg);
  color: var(--text);
  line-height: 1.45;
}

.app-shell-grid { padding: 1rem; }
.mobile-topbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding: .7rem 1rem;
}
.brand-mini { font-weight: 700; color: var(--text); }

.desktop-sidebar .sidebar-card {
  background: linear-gradient(165deg, #0b2a5b 0%, #061b3f 100%);
  border-radius: 16px;
  padding: 1rem;
  min-height: calc(100vh - 2rem);
  position: sticky;
  top: 1rem;
  box-shadow: var(--shadow);
}
.brand-main { color: #fff; font-weight: 800; letter-spacing: .4px; }

.menu-stack { display: grid; gap: .45rem; }
.menu-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .8rem;
  border-radius: .75rem;
  text-decoration: none;
  transition: all .18s ease;
}
.menu-link.dark { color: #dbeafe; }
.menu-link.dark:hover { background: rgba(59,130,246,.25); color: #fff; transform: translateX(2px); }
.menu-link.active { background: linear-gradient(90deg, var(--primary), #3b82f6); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }

.app-page-content { padding: 0; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.card .card-body { padding: 1.05rem 1.1rem; }
.card h3, .card h4, .card h5 { margin-bottom: .45rem; font-weight: 700; }

.btn {
  border-radius: .7rem;
  font-weight: 600;
  border: 1px solid transparent;
  padding: .55rem .9rem;
  transition: all .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--primary-2)); border-color: transparent; }
.btn-success { background: linear-gradient(90deg, #16a34a, #15803d); border-color: transparent; }
.btn-outline-secondary { border-color: #cbd5e1; color: #334155; background: #fff; }
.btn-outline-danger { border-color: #fecaca; color: var(--danger); background: #fff; }

.form-label { font-weight: 600; font-size: .9rem; color: #334155; margin-bottom: .35rem; }
.form-control, .form-select {
  border-radius: .65rem;
  border: 1px solid #cbd5e1;
  padding: .58rem .72rem;
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: #93c5fd;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.table { margin-bottom: 0; border-collapse: separate; border-spacing: 0; }
.table thead th {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.table td, .table th { padding: .78rem .65rem; border-bottom: 1px solid #eef2f7; }
.table-striped tbody tr:nth-child(odd) { background: #fcfdff; }
.table tbody tr:hover { background: #f8fbff; }

.hotel-row-card, .transport-row-card {
  background: #f8fafc;
  border: 1px solid #dbe7f5;
  border-radius: .85rem;
  padding: .85rem;
  margin-bottom: .75rem;
}

.badge {
  display: inline-block;
  padding: .25rem .5rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}
.badge-paid { background: #dcfce7; color: #166534; }
.badge-unpaid { background: #fee2e2; color: #991b1b; }

@media (max-width: 991.98px) {
  .desktop-sidebar { display: none !important; }
  .app-shell-grid { padding: .75rem; }
  .card .card-body { padding: .9rem; }
}

.menu-badge { margin-left: auto; background: #ef4444; color: #fff; border-radius: 999px; padding: 0.1rem 0.45rem; font-size: 0.72rem; font-weight: 700; min-width: 1.4rem; text-align: center; }
