.dash-body,
.admin-body {
  background: #f4f6fb;
  color: var(--dark);
  padding-bottom: 48px;
}

@media (min-width: 1024px) {
  .admin-body,
  .dash-body {
    padding-bottom: 32px;
  }
}

/* Admin shell: left sidebar + right panel */
.admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px 16px 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .admin-shell {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    padding: 28px 16px 48px;
  }
}

.admin-sidebar {
  background: linear-gradient(165deg, #0f1729 0%, #1a2332 100%);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 193, 7, 0.15);
}

@media (min-width: 900px) {
  .admin-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
  }
}

.admin-sidebar__label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
  padding: 0 10px;
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s;
}

.admin-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.admin-sidebar__link.is-active {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
}

.admin-sidebar__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sidebar__icon svg {
  width: 20px;
  height: 20px;
}

.admin-sidebar__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar__user {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  padding: 0 10px;
}

.admin-sidebar__logout {
  width: 100%;
  min-height: 40px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-sidebar__logout:hover {
  background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar__home {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  padding: 8px;
}

.admin-panel {
  min-width: 0;
}

.dash-main {
  padding-top: 24px;
}

.admin-panel .dash-page-head:first-child {
  margin-top: 0;
}

.dash-page-head {
  margin-bottom: 24px;
}

.dash-page-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.dash-page-desc {
  color: var(--grey);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.dash-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.dash-btn--primary {
  background: var(--yellow);
  color: var(--dark);
}

.dash-btn--secondary {
  background: var(--white);
  color: var(--royal-blue);
  border: 1.5px solid var(--royal-blue);
}

.dash-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.dash-btn--block {
  width: 100%;
}

.dash-alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.dash-alert--success {
  background: #e8f5e9;
  color: #1b5e20;
}

.dash-alert--error {
  background: #ffebee;
  color: #b71c1c;
}

.dash-alert ul {
  margin: 0;
  padding-left: 18px;
}

.dash-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.dash-filter {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
}

.dash-filter.is-active {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: var(--white);
}

.dash-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.dash-table th,
.dash-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--grey-border);
  vertical-align: top;
}

.dash-table th {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
  background: #fafafa;
}

.dash-table__note-row td {
  background: var(--yellow-light);
  font-size: 0.75rem;
}

.dash-muted {
  color: var(--grey);
  font-size: 0.75rem;
}

.dash-select {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--grey-border);
}

.dash-empty,
.dash-empty-block {
  text-align: center;
  color: var(--grey);
  padding: 32px 16px;
}

.dash-cards {
  display: grid;
  gap: 16px;
}

.dash-booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.dash-booking-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dash-booking-card__ref {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.dash-badge {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.dash-badge--pending { background: #fff8e1; color: #f57f17; }
.dash-badge--confirmed { background: #e3f2fd; color: #1565c0; }
.dash-badge--completed { background: #e8f5e9; color: #2e7d32; }
.dash-badge--cancelled { background: #ffebee; color: #c62828; }

.dash-booking-card__route {
  margin-bottom: 10px;
  line-height: 1.45;
}

.dash-booking-card__meta {
  list-style: none;
  font-size: 0.8125rem;
  color: var(--grey);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-booking-card__note {
  margin-top: 12px;
  font-size: 0.8125rem;
  padding-top: 12px;
  border-top: 1px solid var(--grey-border);
}

.dash-body--auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
}

.auth-card__brand {
  display: block;
  font-weight: 800;
  color: var(--royal-blue);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.auth-card__title {
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.auth-card__sub {
  font-size: 0.875rem;
  color: var(--grey);
  margin-bottom: 20px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
}

.auth-field input {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.9375rem;
}

.auth-check {
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-border);
}

.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1.5px solid #dadce0;
  background: #fff;
  color: #3c4043;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 0.15s, box-shadow 0.15s;
}

.auth-google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.auth-google-btn__icon {
  flex-shrink: 0;
}

.auth-card__foot {
  margin-top: 16px;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--grey);
}

.auth-card__foot a {
  color: var(--royal-blue);
  font-weight: 700;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.pagination li span,
.pagination li a {
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--grey-border);
  background: var(--white);
  color: var(--dark);
}

.pagination li.active span {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: var(--white);
}

.dash-page-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dash-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dash-field--full {
  grid-column: 1 / -1;
}

.dash-field span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--grey);
  margin-bottom: 6px;
}

.dash-field input,
.dash-field select,
.dash-input {
  width: 100%;
  min-height: 42px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 0 12px;
  font-family: inherit;
  font-size: 0.9375rem;
}

.dash-input--narrow {
  max-width: 120px;
}

.dash-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.dash-fieldset__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.dash-hint {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 8px;
}

.dash-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

.dash-actions-cell {
  white-space: nowrap;
}

.dash-actions-cell form {
  display: inline;
}

.dash-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--royal-blue);
  cursor: pointer;
  margin-left: 8px;
}

.dash-link-btn--danger {
  color: #c62828;
}

code {
  font-size: 0.8125rem;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .dash-form-grid {
    grid-template-columns: 1fr;
  }
}

.booking__deal-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--royal-blue);
  background: var(--yellow-light);
  border: 1px solid rgba(255, 193, 7, 0.5);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 4px;
}

.dash-page-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.customer-bookings-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

@media (min-width: 900px) {
  .customer-bookings-split {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 24px;
  }
}

.customer-booking-list-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.customer-booking-list__heading {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  padding: 14px 16px;
  border-bottom: 1px solid var(--grey-border);
  margin: 0;
}

.customer-booking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: min(70vh, 640px);
  overflow-y: auto;
}

.customer-booking-list__item {
  display: block;
  padding: 14px 16px;
  border-bottom: 1px solid var(--grey-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.customer-booking-list__item:hover {
  background: #f8faff;
}

.customer-booking-list__item.is-active {
  background: var(--yellow-light);
  border-left: 4px solid var(--yellow);
  padding-left: 12px;
}

.customer-booking-list__ref {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--royal-blue);
  margin-bottom: 4px;
}

.customer-booking-list__route {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.customer-booking-list__meta {
  display: block;
  font-size: 0.6875rem;
  color: var(--grey);
  margin-bottom: 8px;
}

.customer-booking-list__badge {
  font-size: 0.625rem;
}

.customer-booking-detail-wrap {
  min-width: 0;
}

.customer-booking-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.customer-booking-detail__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-border);
}

.customer-booking-detail__ref {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.customer-booking-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.customer-booking-detail__section + .customer-booking-detail__section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--grey-border);
}

.customer-booking-detail__title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--royal-blue);
  margin-bottom: 12px;
}

.customer-detail-dl {
  margin: 0;
  display: grid;
  gap: 10px;
}

.customer-detail-dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px;
  font-size: 0.8125rem;
}

@media (max-width: 480px) {
  .customer-detail-dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

.customer-detail-dl dt {
  font-weight: 600;
  color: var(--grey);
}

.customer-detail-dl dd {
  margin: 0;
  font-weight: 600;
  color: var(--dark);
}

.customer-detail-dl__total dt,
.customer-detail-dl__total dd {
  font-weight: 800;
  color: var(--royal-blue);
  font-size: 0.9375rem;
}

.customer-booking-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.customer-extra-list {
  margin: 0;
  padding-left: 18px;
  font-weight: 600;
}

.customer-extra-list li {
  margin-bottom: 4px;
}

.dash-payment-cell {
  min-width: 120px;
}

.dash-status-form--stack {
  margin-top: 8px;
}

.dash-select--compact {
  font-size: 0.6875rem;
  padding: 4px 6px;
  max-width: 130px;
}
