/* ============================================
   ZENTER DRIVES - NEW FEATURES STYLESHEET
   Onboarding, Notifications, History,
   Spin Wheel, Trusted Contacts, Offline,
   Ghana Map
   ============================================ */

/* ============================================
   1. ONBOARDING FLOW
   ============================================ */
   .onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  
  .onboarding-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .onboarding-modal {
    background: var(--bg-card);
    border-radius: 28px;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .onboarding-overlay.active .onboarding-modal {
    transform: scale(1) translateY(0);
  }
  
  /* Progress Bar */
  .onboarding-progress {
    height: 4px;
    background: var(--border-light);
    position: relative;
    overflow: hidden;
  }
  
  .onboarding-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6C63FF, #00D4AA);
    transition: width 0.5s ease;
    border-radius: 0 2px 2px 0;
  }
  
  /* Steps */
  .onboarding-step {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 40px 36px 32px;
    text-align: center;
    min-height: 500px;
    justify-content: space-between;
  }
  
  .onboarding-step.active {
    display: flex;
    animation: onboardingFadeIn 0.4s ease;
  }
  
  .onboarding-step-visual {
    margin-bottom: 28px;
    position: relative;
  }
  
  .onboarding-emoji-big {
    font-size: 5rem;
    display: block;
    animation: onboardingBounce 2s ease-in-out infinite;
    margin-bottom: 16px;
  }
  
  .onboarding-ghana-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .flag-stripe {
    width: 60px;
    height: 24px;
    border-radius: 4px;
  }
  
  .flag-stripe.red { background: #CF0828; }
  .flag-stripe.gold { background: #FCD116; position: relative; }
  .flag-stripe.green { background: #006B3F; }
  
  .flag-star {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 1rem;
  }
  
  .onboarding-icon-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2.5rem;
    position: relative;
  }
  
  .onboarding-icon-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: onboardingRing 3s linear infinite;
  }
  
  .step-1 .onboarding-icon-ring {
    background: linear-gradient(135deg, rgba(108,99,255,0.15), rgba(0,212,170,0.15));
  }
  .step-1 .onboarding-icon-ring::before {
    border-top-color: #6C63FF;
    border-right-color: #00D4AA;
  }
  .step-2 .onboarding-icon-ring {
    background: rgba(0,212,170,0.15);
  }
  .step-2 .onboarding-icon-ring::before { border-top-color: #00D4AA; }
  .step-3 .onboarding-icon-ring {
    background: rgba(255,165,0,0.15);
  }
  .step-3 .onboarding-icon-ring::before { border-top-color: #FFA500; }
  .step-4 .onboarding-icon-ring {
    background: rgba(255,107,107,0.15);
  }
  .step-4 .onboarding-icon-ring::before { border-top-color: #FF6B6B; }
  
  .onboarding-step h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  
  .onboarding-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 340px;
  }
  
  /* Step 2: Location inputs */
  .onboarding-locations {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .ob-location-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    border-radius: 14px;
    transition: all 0.2s;
    cursor: pointer;
  }
  
  .ob-location-input:focus-within {
    border-color: var(--primary);
    background: var(--bg-card);
  }
  
  .ob-location-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .ob-location-input input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.9rem;
    color: var(--text-primary);
    width: 100%;
    font-family: 'Inter', sans-serif;
  }
  
  .ob-location-input input::placeholder { color: var(--text-muted); }
  
  /* Step 3: MoMo */
  .momo-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 16px;
  }
  
  .momo-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border: 2px solid var(--border-light);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg-secondary);
  }
  
  .momo-opt:hover,
  .momo-opt.selected {
    border-color: var(--primary);
    background: var(--primary-glow);
  }
  
  .momo-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
  }
  
  .momo-logo.mtn { background: #FFCC00; color: #000; }
  .momo-logo.vodafone { background: #E60000; }
  .momo-logo.airtel { background: #FF0000; }
  
  .momo-opt span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
  }
  
  .ob-phone-input {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
  }
  
  .ob-phone-prefix {
    padding: 12px 14px;
    background: var(--primary-glow);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .ob-phone-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s;
  }
  
  .ob-phone-input input:focus {
    border-color: var(--primary);
    background: var(--bg-card);
  }
  
  /* Step 4: Notifications */
  .notif-preferences {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .notif-pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border-radius: 14px;
    border: 1px solid var(--border-light);
  }
  
  .notif-pref-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .notif-pref-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  
  .notif-pref-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 2px;
  }
  
  .notif-pref-info small {
    font-size: 0.72rem;
    color: var(--text-muted);
  }
  
  /* Onboarding Footer */
  .onboarding-footer {
    padding: 0 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .onboarding-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
  }
  
  .ob-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    transition: all 0.3s;
  }
  
  .ob-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
  }
  
  .onboarding-footer .btn-full { border-radius: 16px; padding: 14px; font-size: 1rem; }
  
  .onboarding-skip {
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.2s;
    background: none;
    border: none;
  }
  
  .onboarding-skip:hover { color: var(--primary); }
  
  /* ============================================
     2. NOTIFICATIONS CENTER
     ============================================ */
  .notif-trigger {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.2s;
    flex-shrink: 0;
  }
  
  .notif-trigger:hover {
    background: var(--primary-glow);
    color: var(--primary);
  }
  
  .notif-trigger .notif-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
    animation: badgePulse 2s ease infinite;
  }
  
  .notif-panel {
    position: fixed;
    top: 70px;
    right: 24px;
    width: 380px;
    max-height: calc(100vh - 90px);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    z-index: 600;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .notif-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  
  .notif-panel-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }
  
  .notif-panel-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .notif-panel-header h3 i { color: var(--primary); }
  
  .notif-header-actions {
    display: flex;
    gap: 8px;
  }
  
  .notif-header-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--primary-glow);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .notif-header-btn:hover { background: var(--primary); color: white; }
  
  /* Notification Tabs */
  .notif-tabs {
    display: flex;
    padding: 0 16px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
  }
  
  .notif-tab {
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    white-space: nowrap;
  }
  
  .notif-tab.active,
  .notif-tab:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
  }
  
  /* Notification List */
  .notif-list {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
  }
  
  .notif-list::-webkit-scrollbar { width: 3px; }
  .notif-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
  
  .notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
  }
  
  .notif-item:hover { background: var(--bg-secondary); }
  
  .notif-item.unread {
    background: rgba(108, 99, 255, 0.04);
  }
  
  .notif-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
  }
  
  .notif-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  .notif-icon-wrap.ride    { background: rgba(108, 99, 255, 0.15); color: var(--primary); }
  .notif-icon-wrap.promo   { background: rgba(255, 165, 0, 0.15);  color: var(--warning); }
  .notif-icon-wrap.safety  { background: rgba(255, 68, 68, 0.15);  color: var(--danger); }
  .notif-icon-wrap.wallet  { background: rgba(0, 212, 170, 0.15);  color: var(--secondary); }
  .notif-icon-wrap.badge   { background: rgba(255, 215, 0, 0.15);  color: #FFD700; }
  .notif-icon-wrap.system  { background: rgba(74, 74, 106, 0.15);  color: var(--text-muted); }
  .notif-icon-wrap.referral { background: rgba(255, 107, 107, 0.15); color: var(--accent); }
  
  .notif-content { flex: 1; min-width: 0; }
  
  .notif-content strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .notif-content p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 4px;
  }
  
  .notif-content .notif-time {
    font-size: 0.68rem;
    color: var(--text-muted);
  }
  
  .notif-unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
  }
  
  .notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    gap: 12px;
  }
  
  .notif-empty i {
    font-size: 2.5rem;
    color: var(--text-muted);
    opacity: 0.4;
  }
  
  .notif-empty p {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
  
  .notif-panel-footer {
    padding: 12px 18px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    flex-shrink: 0;
  }
  
  .notif-panel-footer button {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  /* ============================================
     3. BOOKING HISTORY
     ============================================ */
  .history-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  
  .history-panel-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .history-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: var(--shadow-xl);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .history-panel-overlay.active .history-panel {
    right: 0;
  }
  
  .history-panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: var(--bg-card);
  }
  
  .history-panel-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .history-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
  }
  
  .history-close-btn:hover { background: var(--accent); color: white; }
  
  /* History Filters */
  .history-filters {
    padding: 14px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .history-filters::-webkit-scrollbar { display: none; }
  
  .history-filter-btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: all 0.2s;
    flex-shrink: 0;
  }
  
  .history-filter-btn.active,
  .history-filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  /* History Stats Bar */
  .history-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-light);
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
  }
  
  .hsb-item {
    padding: 12px;
    background: var(--bg-card);
    text-align: center;
  }
  
  .hsb-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
  }
  
  .hsb-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* History List */
  .history-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    min-height: 0;
  }
  
  .history-list::-webkit-scrollbar { width: 3px; }
  .history-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
  
  /* Month Group */
  .history-month-group { margin-bottom: 20px; }
  
  .history-month-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 4px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .history-month-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
  }
  
  /* Ride Card */
  .ride-history-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
    cursor: pointer;
  }
  
  .ride-history-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(-2px);
  }
  
  .rhc-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  
  .rhc-type {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .rhc-type-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
  }
  
  .rhc-type-icon.economy  { background: rgba(108,99,255,0.15); color: var(--primary); }
  .rhc-type-icon.comfort  { background: rgba(0,212,170,0.15);  color: var(--secondary); }
  .rhc-type-icon.premium  { background: rgba(255,215,0,0.15);  color: #FFD700; }
  .rhc-type-icon.okada    { background: rgba(255,107,107,0.15); color: var(--accent); }
  .rhc-type-icon.delivery { background: rgba(255,165,0,0.15);  color: var(--warning); }
  .rhc-type-icon.food     { background: rgba(255,107,107,0.15); color: var(--accent); }
  
  .rhc-type-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
  }
  
  .rhc-type-info small {
    font-size: 0.72rem;
    color: var(--text-muted);
  }
  
  .rhc-amount {
    text-align: right;
  }
  
  .rhc-amount strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
  }
  
  .rhc-amount small {
    font-size: 0.7rem;
    color: var(--text-muted);
  }
  
  .rhc-route {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
  }
  
  .rhc-route-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .rhc-route-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .rhc-route-arrow {
    color: var(--text-muted);
    font-size: 0.7rem;
    flex-shrink: 0;
  }
  
  .rhc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .rhc-rating { color: #FFD700; font-size: 0.75rem; }
  .rhc-rating span { color: var(--text-muted); margin-left: 4px; font-size: 0.72rem; }
  
  .rhc-actions {
    display: flex;
    gap: 6px;
  }
  
  .rhc-action-btn {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .rhc-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
  
  .rhc-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
  }
  
  .rhc-status.completed { background: rgba(0,212,170,0.15); color: var(--secondary); }
  .rhc-status.cancelled { background: rgba(255,68,68,0.15);  color: var(--danger); }
  
  /* History Trigger Button */
  .history-trigger-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
  }
  
  .history-trigger-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
  }
  
  /* ============================================
     4. DAILY SPIN WHEEL
     ============================================ */
  .spin-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  
  .spin-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .spin-modal {
    background: var(--bg-card);
    border-radius: 28px;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  
  .spin-overlay.active .spin-modal {
    transform: scale(1);
  }
  
  .spin-header {
    background: linear-gradient(135deg, #6C63FF, #5A52D5);
    padding: 24px;
    text-align: center;
    position: relative;
  }
  
  .spin-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
  }
  
  .spin-header p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
  }
  
  .spin-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s;
  }
  
  .spin-close:hover { background: rgba(255,255,255,0.35); }
  
  .spin-streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 0.78rem;
    color: white;
    margin-top: 8px;
  }
  
  .spin-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  /* Wheel Container */
  .wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
  }
  
  .wheel-pointer {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  }
  
  .wheel-canvas {
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(108,99,255,0.4),
                0 0 0 6px white,
                0 0 0 10px rgba(108,99,255,0.3);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
  }
  
  .wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6C63FF, #00D4AA);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(108,99,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 5;
  }
  
  .spin-btn {
    background: linear-gradient(135deg, #6C63FF, #5A52D5);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 24px rgba(108,99,255,0.4);
  }
  
  .spin-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(108,99,255,0.5);
  }
  
  .spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
  }
  
  .spin-next-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
  }
  
  .spin-next-info span { color: var(--primary); font-weight: 600; }
  
  /* Prize Result */
  .spin-result {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 16px;
    width: 100%;
    text-align: center;
    border: 2px solid var(--primary);
    animation: spinResultPop 0.5s cubic-bezier(0.4,0,0.2,1);
  }
  
  .spin-result.visible { display: flex; }
  
  .spin-result-emoji { font-size: 2.5rem; }
  
  .spin-result h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
  }
  
  .spin-result p {
    font-size: 0.82rem;
    color: var(--text-secondary);
  }
  
  /* Spin Trigger Button (floating) */
  .spin-float-btn {
    position: fixed;
    bottom: 180px;
    left: 32px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
  }
  
  .spin-float-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFA500, #FF6B6B);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 6px 24px rgba(255,107,107,0.5);
    border: none;
    cursor: pointer;
    animation: spinFloatPulse 3s ease infinite;
    transition: all 0.2s;
  }
  
  .spin-float-inner:hover { transform: scale(1.1); }
  
  .spin-float-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    background: rgba(255,107,107,0.8);
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
    backdrop-filter: blur(4px);
  }
  
  /* ============================================
     5. TRUSTED CONTACTS
     ============================================ */
  .trusted-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .trusted-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .trusted-modal {
    background: var(--bg-card);
    border-radius: 24px;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  
  .trusted-overlay.active .trusted-modal {
    transform: scale(1);
  }
  
  .trusted-modal-header {
    background: linear-gradient(135deg, #FF6B6B, #E55555);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
  }
  
  .trusted-modal-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .trusted-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s;
  }
  
  .trusted-modal-close:hover { background: rgba(255,255,255,0.35); }
  
  .trusted-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    min-height: 0;
  }
  
  .trusted-modal-body::-webkit-scrollbar { width: 3px; }
  .trusted-modal-body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
  
  .trusted-intro {
    background: rgba(255,107,107,0.08);
    border: 1px solid rgba(255,107,107,0.2);
    border-radius: 12px;
    padding: 14px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }
  
  .trusted-intro i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
  
  /* Contact Items */
  .trusted-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .trusted-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-secondary);
    border-radius: 14px;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
  }
  
  .trusted-contact-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
  }
  
  .tc-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
  }
  
  .tc-info { flex: 1; min-width: 0; }
  
  .tc-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 2px;
  }
  
  .tc-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .tc-notify-badge {
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
  }
  
  .tc-notify-badge.day   { background: rgba(255,165,0,0.15); color: var(--warning); }
  .tc-notify-badge.night { background: rgba(108,99,255,0.15); color: var(--primary); }
  .tc-notify-badge.both  { background: rgba(0,212,170,0.15);  color: var(--secondary); }
  
  .tc-actions {
    display: flex;
    gap: 6px;
  }
  
  .tc-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
  }
  
  .tc-action.test   { background: rgba(0,212,170,0.1); color: var(--secondary); }
  .tc-action.edit   { background: rgba(108,99,255,0.1); color: var(--primary); }
  .tc-action.delete { background: rgba(255,68,68,0.1);  color: var(--danger); }
  
  .tc-action:hover { transform: scale(1.15); }
  
  .tc-priority {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    background: linear-gradient(135deg, #6C63FF, #00D4AA);
    color: white;
    border-radius: 10px;
  }
  
  /* Add Contact Form */
  .add-contact-form {
    background: var(--bg-secondary);
    border-radius: 14px;
    padding: 16px;
    border: 2px dashed var(--border-light);
    transition: all 0.2s;
  }
  
  .add-contact-form:focus-within {
    border-color: var(--primary);
    background: var(--bg-card);
  }
  
  .add-contact-form h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .add-contact-form h5 i { color: var(--primary); }
  
  .add-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .add-contact-grid .acg-full { grid-column: 1 / -1; }
  
  .acg-input {
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    font-family: 'Inter', sans-serif;
  }
  
  .acg-input:focus { border-color: var(--primary); }
  
  .notify-time-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .notify-time-opt {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: all 0.2s;
  }
  
  .notify-time-opt.selected,
  .notify-time-opt:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  /* Safety Settings */
  .safety-settings-section {
    margin-top: 16px;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
  }
  
  .safety-settings-section h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .safety-settings-section h5 i { color: var(--danger); }
  
  .safety-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }
  
  .safety-setting-row:last-child { border: none; }
  
  .ssr-info strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-primary);
  }
  
  .ssr-info small { font-size: 0.72rem; color: var(--text-muted); }
  
  /* ============================================
     6. OFFLINE MODE BANNER
     ============================================ */
  .offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .offline-banner.visible {
    transform: translateY(0);
  }
  
  .offline-bar {
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .offline-bar i { font-size: 1rem; flex-shrink: 0; }
  
  .offline-bar-text { flex: 1; }
  
  .offline-bar-text small {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
  }
  
  .offline-reconnecting {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    opacity: 0.85;
    white-space: nowrap;
  }
  
  .offline-dots {
    display: flex;
    gap: 3px;
  }
  
  .offline-dots span {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    opacity: 0.4;
    animation: offlineDot 1.4s ease infinite;
  }
  
  .offline-dots span:nth-child(2) { animation-delay: 0.2s; }
  .offline-dots span:nth-child(3) { animation-delay: 0.4s; }
  
  /* Queued Actions Bar */
  .offline-queue-bar {
    background: #FF6600;
    color: white;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
  }
  
  .offline-queue-bar i { font-size: 0.85rem; }
  
  .oqb-text { flex: 1; }
  
  .oqb-count {
    background: rgba(255,255,255,0.25);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.72rem;
  }
  
  /* Online Restored Banner */
  .online-restored-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #00D4AA, #00B894);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
  }
  
  .online-restored-banner.visible { transform: translateY(0); }
  
  .online-restored-banner i { font-size: 1.1rem; }
  
  /* Offline Page Overlay */
  .offline-page-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
  }
  
  .offline-page-overlay.show {
    opacity: 1;
    visibility: visible;
  }
  
  .offline-animation {
    font-size: 5rem;
    margin-bottom: 24px;
    animation: offlineFloat 3s ease-in-out infinite;
  }
  
  .offline-page-overlay h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
  }
  
  .offline-page-overlay p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 360px;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  
  .offline-sms-box {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 20px;
    max-width: 360px;
    width: 100%;
    margin-bottom: 24px;
    border: 1px solid var(--border-card);
  }
  
  .offline-sms-box h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .offline-sms-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .sms-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: left;
  }
  
  .sms-step-num {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
  }
  
  .offline-cached-rides {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 16px;
    max-width: 360px;
    width: 100%;
    border: 1px solid var(--border-card);
    margin-bottom: 20px;
  }
  
  .offline-cached-rides h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .cached-driver {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.8rem;
    color: var(--text-secondary);
  }
  
  .cached-driver:last-child { border: none; }
  
  .cached-driver-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
  }
  
  /* ============================================
     7. GHANA REGIONS MAP
     ============================================ */
  .ghana-regions-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
  }
  
  .ghana-regions-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
  }
  
  .ghana-map-container {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 600px;
  }
  
  #ghanaRegionsMap {
    width: 100%;
    height: 600px;
  }
  
  .ghana-map-legend {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    z-index: 400;
  }
  
  .ghana-map-legend h5 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
  }
  
  .gml-items { display: flex; flex-direction: column; gap: 6px; }
  
  .gml-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem;
    color: var(--text-secondary);
  }
  
  .gml-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  
  /* Regions Sidebar */
  .ghana-regions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .ghana-overall-stats {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-card);
  }
  
  .ghana-overall-stats h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .ghana-overall-stats h4 i { color: var(--primary); }
  
  .gos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .gos-item {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
  }
  
  .gos-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
  }
  
  .gos-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Region List */
  .regions-list-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-card);
    overflow: hidden;
  }
  
  .rlc-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .rlc-header h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  
  .rlc-search {
    padding: 6px 14px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.78rem;
    outline: none;
    width: 140px;
    transition: all 0.2s;
  }
  
  .rlc-search:focus {
    border-color: var(--primary);
    width: 180px;
  }
  
  .regions-list {
    max-height: 380px;
    overflow-y: auto;
  }
  
  .regions-list::-webkit-scrollbar { width: 3px; }
  .regions-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }
  
  .region-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .region-item:last-child { border: none; }
  
  .region-item:hover {
    background: var(--bg-secondary);
  }
  
  .region-item.active {
    background: var(--primary-glow);
    border-color: var(--primary);
  }
  
  .region-coverage-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .ri-info { flex: 1; }
  
  .ri-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
  }
  
  .ri-info small { font-size: 0.72rem; color: var(--text-muted); }
  
  .ri-coverage-bar {
    width: 60px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
  }
  
  .ri-coverage-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
  }
  
  /* Region Detail Popup */
  .region-detail-panel {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 240px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 16px;
    z-index: 400;
    box-shadow: var(--shadow-lg);
    display: none;
    animation: slideDown 0.3s ease;
  }
  
  .region-detail-panel.active { display: block; }
  
  .rdp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  
  .rdp-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
  }
  
  .rdp-close {
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    padding: 2px;
  }
  
  .rdp-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .rdp-stat {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
  }
  
  .rdp-stat span:first-child { color: var(--text-muted); }
  .rdp-stat span:last-child  { font-weight: 600; color: var(--text-primary); }
  
  /* Request Coverage Button */
  .request-coverage-widget {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-card);
    text-align: center;
  }
  
  .request-coverage-widget h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
  }
  
  .request-coverage-widget p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
  }
  
  .rcw-input {
    padding: 10px 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    width: 100%;
    margin-bottom: 10px;
    transition: all 0.2s;
  }
  
  .rcw-input:focus { border-color: var(--primary); }
  
  /* ============================================
     ANIMATIONS
     ============================================ */
  @keyframes onboardingFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes onboardingBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-10px) scale(1.05); }
  }
  
  @keyframes onboardingRing {
    to { transform: rotate(360deg); }
  }
  
  @keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
  }
  
  @keyframes spinFloatPulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(255,107,107,0.5); }
    50%       { box-shadow: 0 6px 40px rgba(255,107,107,0.8), 0 0 0 8px rgba(255,107,107,0.1); }
  }
  
  @keyframes spinResultPop {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }
  
  @keyframes offlineDot {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50%       { opacity: 1;   transform: translateY(-3px); }
  }
  
  @keyframes offlineFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
  }
  
  /* ============================================
     RESPONSIVE
     ============================================ */
  @media (max-width: 900px) {
    .ghana-regions-wrapper { grid-template-columns: 1fr; }
    .ghana-map-container { min-height: 400px; }
    #ghanaRegionsMap { height: 400px; }
    .notif-panel { right: 8px; left: 8px; width: auto; }
  }
  
  @media (max-width: 767px) {
    .onboarding-step { padding: 28px 24px 20px; min-height: 440px; }
    .onboarding-footer { padding: 0 24px 24px; }
    .spin-modal { border-radius: 20px; }
    .wheel-container { width: 260px; height: 260px; }
    .history-panel { max-width: 100%; }
    .trusted-modal { border-radius: 20px; }
    .spin-float-btn { left: 16px; bottom: 160px; }
    .momo-options { grid-template-columns: repeat(3, 1fr); }
    .add-contact-grid { grid-template-columns: 1fr; }
  }
  
  @media (max-width: 480px) {
    .onboarding-step h2 { font-size: 1.2rem; }
    .wheel-container { width: 240px; height: 240px; }
    .gos-grid { grid-template-columns: 1fr 1fr; }
  }