/**
 * OTOGO 9 AM — Mobile Dashboard Transformation & Role-Based UI Stylesheet
 * 
 * Implements mobile-first app dashboard experience:
 * - Customer Dashboard (Overview, Bookings, Subscription & Billing)
 * - Field Staff Daily Jobs (Time banners, customer dispatch cards, actions)
 * - App-style topbar header with notification badge and user avatars
 * - Fixed bottom navigation with safe-area insets
 * - Responsive desktop fallbacks (> 768px)
 */

/* ==========================================================================
   1. Mobile Dashboard Design Tokens & Layout Containers
   ========================================================================== */
:root {
  --dash-bg: #05070b;
  --dash-surface: #0b1420;
  --dash-surface-card: #101b28;
  --dash-surface-light: #ffffff;
  --dash-blue: #087bff;
  --dash-blue-hover: #0062d1;
  --dash-blue-light: #eff6ff;
  --dash-green: #10b981;
  --dash-green-light: #ecfdf5;
  --dash-amber: #f59e0b;
  --dash-red: #ef4444;
  --dash-text-light: #f8fafc;
  --dash-text-muted: #94a3b8;
  --dash-text-dark: #0f172a;
  --dash-border-dark: rgba(255, 255, 255, 0.08);
  --dash-border-light: #e2e8f0;
  --dash-bottom-nav-height: 64px;
}

/* Add bottom padding to prevent content from hiding behind fixed bottom nav on mobile */
@media (max-width: 768px) {
  body.portal-account,
  body.portal-staff {
    padding-bottom: calc(var(--dash-bottom-nav-height) + env(safe-area-inset-bottom, 16px) + 20px) !important;
  }
}

/* ==========================================================================
   2. App Topbar Header Enhancements (Customer & Staff)
   ========================================================================== */
.topbar-app-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn-bell-notification {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--dash-border-dark);
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-bell-notification:hover,
.btn-bell-notification:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-bell-notification .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dash-red);
  box-shadow: 0 0 0 2px var(--dash-bg);
}

.user-avatar-chip {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(8, 123, 255, 0.4);
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

@media (max-width: 420px) {
  .topbar {
    padding: 8px 10px !important;
    gap: 6px !important;
  }
  .topbar .logo img {
    height: 32px !important;
    max-width: 100px !important;
  }
  .topbar-app-controls {
    gap: 6px !important;
  }
  .btn-bell-notification,
  .user-avatar-chip {
    width: 34px !important;
    height: 34px !important;
    font-size: 13px !important;
  }
  .topbar .nav-actions .btn-sm {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   3. Welcome Section (Screen 1)
   ========================================================================== */
.mobile-welcome-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 20px 0;
}

.mobile-welcome-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--dash-blue);
  background: linear-gradient(135deg, #087bff, #0056b3);
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-welcome-text h1,
.mobile-welcome-text h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dash-text-light);
  margin: 0;
  line-height: 1.2;
}

.mobile-welcome-text p {
  font-size: 13.5px;
  color: var(--dash-text-muted);
  margin: 4px 0 0 0;
}

/* ==========================================================================
   4. Active Subscription Card (White Card — Screen 1 & 3)
   ========================================================================== */
.dash-card-plan-active {
  background: var(--dash-surface-light);
  color: var(--dash-text-dark);
  border-radius: 18px;
  padding: 18px 18px 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.dash-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-plan-img {
  width: 110px;
  max-height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.dash-plan-info {
  flex: 1;
}

.dash-plan-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.dash-plan-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-plan-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.dash-badge-active {
  display: inline-flex;
  align-items: center;
  background: var(--dash-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dash-plan-price {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 4px;
}

.dash-plan-price span {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.dash-plan-validity {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.dash-plan-progress-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.dash-plan-pill-dark {
  flex: 1;
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.dash-plan-pill-dark svg {
  color: var(--dash-blue);
  flex-shrink: 0;
}

/* Empty state plan card */
.dash-card-plan-empty {
  background: var(--dash-surface);
  border: 1px dashed rgba(8, 123, 255, 0.4);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.dash-card-plan-empty h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.dash-card-plan-empty p {
  font-size: 13px;
  color: var(--dash-text-muted);
  margin: 0 0 16px 0;
}

/* ==========================================================================
   5. Next Cleaning Card (Obsidian Surface — Screen 1)
   ========================================================================== */
.dash-card-next-cleaning {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-dark);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.dash-cleaning-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dash-cleaning-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-cleaning-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(8, 123, 255, 0.12);
  color: var(--dash-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-cleaning-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--dash-text-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dash-cleaning-date {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.dash-badge-upcoming {
  background: var(--dash-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.dash-cleaning-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: #cbd5e1;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 14px;
}

.dash-cleaning-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dash-cleaning-meta-row svg {
  color: var(--dash-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.dash-btn-book {
  background: var(--dash-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  min-height: 48px;
  border-radius: 12px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dash-btn-book:hover {
  background: var(--dash-blue-hover);
}

/* ==========================================================================
   6. Quick Actions Grid (Screen 1)
   ========================================================================== */
.dash-quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

@media (max-width: 360px) {
  .dash-quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.dash-quick-action-card {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-dark);
  border-radius: 14px;
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  gap: 8px;
  transition: all 0.2s ease;
}

.dash-quick-action-card:hover,
.dash-quick-action-card:focus-visible {
  background: var(--dash-surface-card);
  border-color: rgba(8, 123, 255, 0.3);
  transform: translateY(-2px);
}

.dash-action-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(8, 123, 255, 0.1);
  color: var(--dash-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-action-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.2;
}

/* ==========================================================================
   7. Recent Activity List (Screen 1)
   ========================================================================== */
.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.dash-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.dash-section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--dash-blue);
  text-decoration: none;
}

.dash-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.dash-activity-item {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-dark);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.dash-activity-item:hover {
  background: var(--dash-surface-card);
}

.dash-activity-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dash-blue);
}

.dash-activity-content {
  flex: 1;
  min-width: 0;
}

.dash-activity-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-activity-time {
  font-size: 12px;
  color: var(--dash-text-muted);
  margin-top: 2px;
}

.dash-activity-proof {
  font-size: 11px;
  color: var(--dash-green);
  font-weight: 600;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-activity-arrow {
  color: var(--dash-text-muted);
  flex-shrink: 0;
}

/* ==========================================================================
   8. Customer Bookings Screen (Screen 2)
   ========================================================================== */
.dash-page-heading {
  margin-bottom: 18px;
}

.dash-page-heading h1 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.dash-page-heading p {
  font-size: 14px;
  color: var(--dash-text-muted);
  margin: 0;
}

/* App Segmented Pill Tabs */
.dash-segmented-tabs {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-dark);
  border-radius: 9999px;
  padding: 4px;
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.dash-segmented-tab {
  flex: 1;
  text-align: center;
  padding: 10px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dash-text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.dash-segmented-tab.active {
  background: var(--dash-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(8, 123, 255, 0.4);
}

/* Booking Card (White Card) */
.dash-booking-card-white {
  background: var(--dash-surface-light);
  color: var(--dash-text-dark);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dash-booking-top-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.dash-date-badge {
  background: #f8fafc;
  border: 1px solid var(--dash-border-light);
  border-radius: 12px;
  padding: 6px 12px;
  text-align: center;
  min-width: 58px;
  flex-shrink: 0;
}

.dash-date-day {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.dash-date-num {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.dash-date-month {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.dash-booking-main-meta {
  flex: 1;
}

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

.dash-booking-name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.dash-booking-time {
  font-size: 13px;
  color: #475569;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.dash-booking-loc {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.dash-booking-mid-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.dash-booking-car-thumb {
  width: 90px;
  max-height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.dash-booking-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #334155;
  font-weight: 500;
}

.dash-booking-checklist li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-booking-checklist svg {
  color: var(--dash-blue);
  flex-shrink: 0;
}

.dash-booking-actions-row {
  display: flex;
  gap: 10px;
}

.dash-btn-reschedule {
  flex: 1;
  background: #f8fafc;
  border: 1px solid var(--dash-border-light);
  color: #0f172a;
  font-weight: 700;
  font-size: 13px;
  min-height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dash-btn-reschedule:hover {
  background: #f1f5f9;
}

.dash-btn-cancel {
  flex: 1;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--dash-red);
  font-weight: 700;
  font-size: 13px;
  min-height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dash-btn-cancel:hover {
  background: #fee2e2;
}

/* Completed Service Cards */
.dash-completed-photos-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.dash-completed-photo {
  width: 100%;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

/* ==========================================================================
   9. Subscription & Billing Screen (Screen 3)
   ========================================================================== */
.dash-renewal-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid var(--dash-border-light);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 14px 0;
}

.dash-renewal-date-text {
  font-size: 13px;
  color: #334155;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-renewal-pill {
  background: var(--dash-blue-light);
  color: var(--dash-blue);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
}

.dash-subscription-features {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #334155;
}

.dash-subscription-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-subscription-features svg {
  color: var(--dash-blue);
  flex-shrink: 0;
}

.dash-btn-upgrade {
  background: var(--dash-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  min-height: 48px;
  border-radius: 12px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 10px;
}

.dash-btn-change-plan {
  background: #0f172a;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  min-height: 46px;
  border-radius: 12px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Payment History Table / Cards */
.dash-payment-row {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-dark);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dash-payment-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-payment-date {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.dash-payment-invoice {
  font-size: 12px;
  color: var(--dash-text-muted);
}

.dash-payment-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-payment-amount {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.dash-payment-download {
  color: var(--dash-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  background: rgba(8, 123, 255, 0.1);
}

/* ==========================================================================
   10. Field Staff Daily Jobs (Screen 4)
   ========================================================================== */
.staff-jobs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.staff-jobs-head h1 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.staff-today-date {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.staff-job-card-dark {
  background: var(--dash-surface);
  border: 1px solid var(--dash-border-dark);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.staff-time-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.staff-time-slot {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.staff-time-slot svg {
  color: var(--dash-blue);
}

.staff-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.staff-status-pill.status-enroute {
  background: rgba(8, 123, 255, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(8, 123, 255, 0.4);
}

.staff-status-pill.status-upcoming {
  background: var(--dash-blue);
  color: #ffffff;
}

.staff-status-pill.status-completed {
  background: var(--dash-green);
  color: #ffffff;
}

.staff-customer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.staff-customer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.staff-customer-meta h3 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.staff-customer-meta a {
  font-size: 13px;
  color: var(--dash-blue);
  font-weight: 600;
  text-decoration: none;
}

.staff-address-block {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.staff-address-block svg {
  color: var(--dash-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.staff-vehicle-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.staff-vehicle-block svg {
  color: var(--dash-blue);
  flex-shrink: 0;
}

.staff-plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 14px;
}

.staff-plan-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

.staff-details-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dash-blue);
  text-decoration: none;
}

.staff-actions-row {
  display: flex;
  gap: 10px;
}

.staff-btn-start {
  flex: 1;
  background: var(--dash-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  min-height: 46px;
  border-radius: 12px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.staff-btn-start:hover {
  background: var(--dash-blue-hover);
}

.staff-btn-call {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dash-border-dark);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  min-height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.staff-btn-call:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   11. Fixed Bottom Navigation Bar (Screens 1, 2, 3, 4)
   ========================================================================== */
.app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  height: var(--dash-bottom-nav-height);
  background: rgba(5, 7, 11, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--dash-border-dark);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  overflow-x: hidden;
}

.app-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--dash-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s ease;
  min-width: 0;
  flex: 1 1 0;
  box-sizing: border-box;
}

.app-bottom-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.app-bottom-nav-item:hover,
.app-bottom-nav-item:focus-visible {
  color: #ffffff;
}

.app-bottom-nav-item.active {
  color: var(--dash-blue);
}

.app-bottom-nav-item.active svg {
  transform: translateY(-1px);
}

/* Hide bottom nav on desktop screens */
@media (min-width: 769px) {
  .app-bottom-nav {
    display: none !important;
  }
}
