/* ============================================
   DriveIL — Complete Design System
   Premium Dark Theme • RTL • Hebrew
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Core Colors */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a2035;
    --bg-card-hover: #1f2847;
    --bg-elevated: #232d4a;

    /* Accent Colors */
    --primary: #00d4aa;
    --primary-hover: #00eabd;
    --primary-glow: rgba(0, 212, 170, 0.25);
    --primary-subtle: rgba(0, 212, 170, 0.08);

    --secondary: #6366f1;
    --secondary-hover: #818cf8;
    --secondary-glow: rgba(99, 102, 241, 0.25);

    --pro-gradient: linear-gradient(135deg, #7c3aed, #6366f1, #3b82f6);
    --pro-glow: rgba(99, 102, 241, 0.3);

    /* Status Colors */
    --success: #22c55e;
    --success-bg: rgba(34, 197, 94, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --info: #3b82f6;
    --info-bg: rgba(59, 130, 246, 0.12);

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-on-primary: #0a0e1a;

    /* Borders & Shadows */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.03);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 170, 0.15);

    /* Glass */
    --glass-bg: rgba(26, 32, 53, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 20px;

    /* Dimensions */
    --header-height: 64px;
    --bottom-nav-height: 72px;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-xs: 6px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== Screens ===== */
.screen {
    display: none;
    min-height: 100vh;
    animation: fadeIn 0.4s ease;
}

.screen.active {
    display: block;
}

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

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

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50% { box-shadow: 0 0 0 12px transparent; }
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
#screen-splash {
    position: relative;
    display: none;              /* מוסתר כברירת-מחדל — מוצג רק עם .active (תוקן: היה flex תמיד) */
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

#screen-splash.active {
    display: flex;
}

.splash-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.splash-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0, 212, 170, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 212, 170, 0.04) 0%, transparent 80%);
}

.splash-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.splash-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
}

.splash-logo {
    margin-bottom: 3rem;
    animation: slideUp 0.8s ease;
}

.logo-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--pro-gradient);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: white;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
    animation: float 4s ease-in-out infinite;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 32px;
    background: var(--pro-gradient);
    opacity: 0.3;
    filter: blur(15px);
    z-index: -1;
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.logo-text span {
    background: var(--pro-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-tagline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 300;
}

.splash-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: slideUp 0.8s ease 0.2s both;
}

.splash-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sf-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition-normal);
}

.sf-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.splash-feature span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.splash-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: slideUp 0.8s ease 0.4s both;
}

.splash-btn {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition-normal);
    cursor: pointer;
}

.splash-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    animation: slideUp 0.8s ease 0.6s both;
}

.splash-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--pro-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.splash-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ============================================
   COMMON COMPONENTS
   ============================================ */

/* Buttons */
.btn {
    border: none;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:active::after {
    opacity: 0.1;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-light {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-pro {
    background: var(--pro-gradient);
    color: white;
    box-shadow: 0 4px 15px var(--pro-glow);
}

.btn-pro:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px var(--pro-glow);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    border-radius: var(--border-radius-xs);
}

.btn-block {
    width: 100%;
    padding: 0.875rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: var(--glass-bg);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
}

.btn-icon:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

/* Avatars */
.avatar, .avatar-sm, .avatar-md, .avatar-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    color: white;
    background: var(--pro-gradient);
    flex-shrink: 0;
}

.avatar {
    width: 44px;
    height: 44px;
    font-size: 0.85rem;
}

.avatar-sm {
    width: 36px;
    height: 36px;
    font-size: 0.72rem;
    border-radius: 10px;
}

.avatar-sm.pro {
    box-shadow: 0 0 0 2px var(--secondary), 0 0 10px var(--pro-glow);
}

.avatar-md {
    width: 52px;
    height: 52px;
    font-size: 0.95rem;
}

.avatar-lg {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
    border-radius: 22px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.badge-warning {
    background: var(--warning-bg);
    color: var(--warning);
}

.notif-badge {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-btn {
    position: relative;
}

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    background: var(--pro-gradient);
    color: white;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pro-badge.lg {
    padding: 0.25rem 0.8rem;
    font-size: 0.78rem;
    border-radius: 8px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    background: var(--success-bg);
    color: var(--success);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

.pro-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--secondary);
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 600;
}

.pro-icon {
    color: var(--secondary);
    font-size: 0.7rem;
    margin-right: 0.15rem;
}

/* ============================================
   APP LAYOUT
   ============================================ */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    padding-bottom: calc(var(--bottom-nav-height) + 20px);
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    height: var(--header-height);
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-right,
.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-title h2 {
    font-size: 1.15rem;
    font-weight: 700;
}

.header-subtitle {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.header-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.header-status.online {
    background: var(--success-bg);
    color: var(--success);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.5rem;
    z-index: 200;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border: none;
    background: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    border-radius: var(--border-radius-sm);
    position: relative;
}

.nav-item i {
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--primary);
}

.nav-item:hover {
    color: var(--text-primary);
}

/* Sections */
.section {
    padding: 0 1.25rem;
    margin-bottom: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h3 i {
    color: var(--primary);
    font-size: 0.95rem;
}

.link-text {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.link-text:hover {
    color: var(--primary-hover);
}

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    animation: scaleIn 0.4s ease both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.15;
}

.stat-drivers::before { background: var(--primary); }
.stat-rides::before { background: var(--info); }
.stat-revenue::before { background: var(--success); }
.stat-pending::before { background: var(--warning); }

.stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.stat-drivers .stat-card-icon { background: var(--primary-subtle); color: var(--primary); }
.stat-rides .stat-card-icon { background: var(--info-bg); color: var(--info); }
.stat-revenue .stat-card-icon { background: var(--success-bg); color: var(--success); }
.stat-pending .stat-card-icon { background: var(--warning-bg); color: var(--warning); }

.stat-card-value {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    line-height: 1.1;
}

.stat-card-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-card-trend {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.stat-card-trend.up {
    color: var(--success);
}

.stat-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
}

.stat-card-badge.pulse {
    background: var(--danger-bg);
    color: var(--danger);
    animation: pulse 2s infinite;
}

/* ============================================
   APPROVAL CARDS
   ============================================ */
.approval-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.approval-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-normal);
    animation: slideRight 0.5s ease both;
}

.approval-card:nth-child(1) { animation-delay: 0.1s; }
.approval-card:nth-child(2) { animation-delay: 0.2s; }
.approval-card:nth-child(3) { animation-delay: 0.3s; }

.approval-card:hover {
    border-color: var(--glass-border);
    background: var(--bg-card-hover);
}

.approval-info {
    flex: 1;
    min-width: 0;
}

.approval-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.approval-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.approval-time {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.approval-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Approval animation */
.approval-card.approved {
    animation: approvedSlide 0.5s ease forwards;
    background: var(--success-bg);
    border-color: var(--success);
}

.approval-card.rejected {
    animation: rejectedSlide 0.5s ease forwards;
    background: var(--danger-bg);
    border-color: var(--danger);
}

@keyframes approvedSlide {
    to { opacity: 0; transform: translateX(-100%); height: 0; padding: 0; margin: 0; overflow: hidden; }
}

@keyframes rejectedSlide {
    to { opacity: 0; transform: translateX(100%); height: 0; padding: 0; margin: 0; overflow: hidden; }
}

/* ============================================
   RIDE CARDS
   ============================================ */
.rides-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ride-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.ride-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.ride-status-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.ride-status-bar.active { background: var(--success); }
.ride-status-bar.waiting { background: var(--warning); animation: pulse 2s infinite; }
.ride-status-bar.scheduled { background: var(--info); }

.ride-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ride-id {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
}

.ride-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.ride-badge-active { background: var(--success-bg); color: var(--success); }
.ride-badge-waiting { background: var(--warning-bg); color: var(--warning); }
.ride-badge-scheduled { background: var(--info-bg); color: var(--info); }

/* Route Display */
.ride-route {
    margin-bottom: 0.75rem;
}

.route-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.15rem 0;
}

.route-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
}

.route-dot.pickup {
    background: transparent;
    border: 3px solid var(--primary);
}

.route-dot.dropoff {
    background: var(--secondary);
}

.route-line {
    width: 2px;
    height: 16px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    margin-right: 5px;
    margin-top: -2px;
    margin-bottom: -2px;
    opacity: 0.5;
}

.route-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

.route-address {
    font-size: 0.85rem;
    font-weight: 500;
    display: block;
}

.ride-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.ride-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ride-meta i {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Live Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--danger);
    letter-spacing: 1px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--danger);
    animation: pulse 1.5s infinite;
}

/* ============================================
   CHART
   ============================================ */
.chart-tabs {
    display: flex;
    gap: 0.5rem;
}

.chart-tab {
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Heebo', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.chart-tab.active {
    background: var(--primary-subtle);
    color: var(--primary);
}

.chart-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem 1rem 1rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 160px;
    gap: 0.5rem;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.chart-bar {
    width: 100%;
    max-width: 32px;
    height: var(--height);
    background: linear-gradient(to top, var(--primary), rgba(0, 212, 170, 0.4));
    border-radius: 6px 6px 2px 2px;
    position: relative;
    transition: var(--transition-normal);
    cursor: pointer;
    min-height: 8px;
}

.chart-bar:hover {
    filter: brightness(1.2);
    transform: scaleY(1.03);
}

.chart-bar-group.highlight .chart-bar {
    background: var(--pro-gradient);
    box-shadow: 0 0 15px var(--pro-glow);
}

.chart-value {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0;
    transition: var(--transition-fast);
}

.chart-bar:hover .chart-value {
    opacity: 1;
}

.chart-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   RIDES FULL CARDS (Admin Rides Page)
   ============================================ */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    padding: 0.45rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Heebo', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.filter-tab::after {
    content: ' ' attr(data-count);
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.filter-tab.active {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
}

.filter-tab.active::after {
    color: var(--text-on-primary);
    opacity: 0.7;
}

.rides-list {
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ride-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition-normal);
}

.ride-card-full:hover {
    border-color: var(--glass-border);
    background: var(--bg-card-hover);
}

.rcf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rcf-id-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rcf-id {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.status-pill {
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-pill.active { background: var(--success-bg); color: var(--success); }
.status-pill.waiting { background: var(--warning-bg); color: var(--warning); }
.status-pill.completed { background: rgba(148, 163, 184, 0.1); color: var(--text-secondary); }
.status-pill.scheduled { background: var(--info-bg); color: var(--info); }

.rcf-time {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rcf-route {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.rcf-route-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 4px;
}

.rv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rv-dot.pickup {
    background: transparent;
    border: 2.5px solid var(--primary);
}

.rv-dot.dropoff {
    background: var(--secondary);
}

.rv-line {
    width: 2px;
    height: 12px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.4;
}

.rcf-route-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rcf-address {
    font-size: 0.85rem;
    font-weight: 500;
}

.rcf-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rcf-details {
    display: flex;
    gap: 0.75rem;
}

.rcf-detail {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.rcf-detail i {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.rcf-driver {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.waiting-driver {
    color: var(--warning);
    font-weight: 500;
    animation: pulse 2s infinite;
}

.rcf-source {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-subtle);
}

.rcf-source i {
    color: #25D366;
}

/* ============================================
   DRIVERS LIST
   ============================================ */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1.25rem 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-bar i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-family: 'Heebo', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.driver-status-summary {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 1.25rem 1.25rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.dss-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dss-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dss-dot.online { background: var(--success); }
.dss-dot.busy { background: var(--warning); }
.dss-dot.offline { background: var(--text-muted); }

.dss-count {
    font-weight: 700;
    font-size: 0.95rem;
}

.dss-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.drivers-list {
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.driver-card-full {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition-normal);
}

.driver-card-full:hover {
    border-color: var(--glass-border);
    background: var(--bg-card-hover);
}

.dcf-header {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.dcf-avatar-wrap {
    position: relative;
}

.dcf-status {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2.5px solid var(--bg-card);
}

.dcf-status.online { background: var(--success); }
.dcf-status.busy { background: var(--warning); }
.dcf-status.offline { background: var(--text-muted); }

.dcf-info {
    flex: 1;
}

.dcf-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.dcf-name-row h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.dcf-vehicle,
.dcf-base {
    font-size: 0.78rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dcf-vehicle i,
.dcf-base i {
    font-size: 0.72rem;
    color: var(--text-muted);
    width: 14px;
    text-align: center;
}

.dcf-stats {
    display: flex;
    gap: 0;
    margin-bottom: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.dcf-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    border-left: 1px solid var(--border-color);
}

.dcf-stat:last-child {
    border-left: none;
}

.dcf-stat-value {
    font-size: 0.95rem;
    font-weight: 700;
}

.dcf-stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.dcf-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* ============================================
   SUBSCRIPTIONS (Admin)
   ============================================ */
.revenue-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.revenue-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.revenue-card.primary::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--success);
    filter: blur(40px);
    opacity: 0.15;
}

.revenue-card.secondary::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--secondary);
    filter: blur(40px);
    opacity: 0.15;
}

.rev-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.revenue-card.primary .rev-icon {
    background: var(--success-bg);
    color: var(--success);
}

.revenue-card.secondary .rev-icon {
    background: rgba(99, 102, 241, 0.12);
    color: var(--secondary);
}

.rev-value {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
}

.rev-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.rev-trend {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
}

.rev-trend.up {
    background: var(--success-bg);
    color: var(--success);
}

.sub-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-normal);
}

.sub-card:hover {
    border-color: var(--glass-border);
    background: var(--bg-card-hover);
}

.sub-info {
    flex: 1;
}

.sub-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.sub-plan {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-badge {
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-badge.monthly {
    background: var(--info-bg);
    color: var(--info);
}

.plan-badge.yearly {
    background: rgba(99, 102, 241, 0.12);
    color: var(--secondary);
}

.sub-price {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.sub-expiry {
    text-align: center;
}

.expiry-date {
    font-size: 0.82rem;
    font-weight: 600;
    display: block;
}

.expiry-label {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.sub-expiry.expiring-soon .expiry-date {
    color: var(--warning);
}

.sub-expiry.expiring-soon .expiry-label {
    color: var(--warning);
    font-weight: 600;
}

/* ============================================
   SETTINGS
   ============================================ */
.settings-list {
    padding: 0 1.25rem;
}

.settings-group {
    margin-bottom: 1.5rem;
}

.settings-group-title {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    transition: var(--transition-normal);
}

.setting-item:hover {
    border-color: var(--glass-border);
}

.setting-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.setting-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.setting-icon.whatsapp { background: rgba(37, 211, 102, 0.12); color: #25D366; }
.setting-icon.telegram { background: rgba(0, 136, 204, 0.12); color: #0088cc; }
.setting-icon.maps { background: rgba(66, 133, 244, 0.12); color: #4285F4; }
.setting-icon.ai { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.setting-icon.delay { background: var(--warning-bg); color: var(--warning); }
.setting-icon.dup { background: var(--info-bg); color: var(--info); }

.setting-info h5 {
    font-size: 0.88rem;
    font-weight: 600;
}

.setting-info p {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.setting-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

/* Toggle Switch */
.toggle-switch {
    width: 48px;
    height: 26px;
    border-radius: 13px;
    background: var(--bg-elevated);
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-thumb {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    transition: var(--transition-spring);
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-thumb {
    right: calc(100% - 23px);
}

/* WhatsApp Groups */
.wa-group-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wa-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
}

.wa-group-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.wa-group-info {
    flex: 1;
}

.wa-group-name {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.wa-group-count {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.wa-group-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.wa-group-status.active {
    background: var(--success);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

/* ============================================
   DRIVER DASHBOARD
   ============================================ */
.driver-app .app-header {
    background: rgba(10, 14, 26, 0.9);
}

.driver-pro-label {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}

.driver-pro-label i {
    color: #f59e0b;
}

/* Status Toggle */
.driver-status-toggle {
    padding: 1rem 1.25rem;
}

.status-toggle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.status-toggle-card.available {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.08);
}

.toggle-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.toggle-icon.available {
    background: var(--success-bg);
    color: var(--success);
}

.toggle-icon.unavailable {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
}

.toggle-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
}

.toggle-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Big Toggle */
.big-toggle {
    width: 60px;
    height: 32px;
    border-radius: 16px;
    background: var(--bg-elevated);
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.big-toggle.active {
    background: var(--success);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
}

.big-toggle-thumb {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    transition: var(--transition-spring);
    box-shadow: var(--shadow-sm);
}

.big-toggle.active .big-toggle-thumb {
    right: calc(100% - 28px);
}

/* Driver Stats Row */
.driver-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0 1.25rem;
    margin-bottom: 1.25rem;
}

.driver-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.85rem;
    text-align: center;
    transition: var(--transition-normal);
}

.driver-stat-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-2px);
}

.ds-icon {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.ds-value {
    font-size: 1.35rem;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.ds-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   INCOMING RIDE ALERT
   ============================================ */
.incoming-ride-alert {
    background: var(--bg-card);
    border: 2px solid var(--success);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.4s ease;
}

.ira-pulse {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    animation: pulse 3s infinite;
}

.ira-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.ira-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: var(--success-bg);
    color: var(--success);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    animation: pulse 1.5s infinite;
}

.ira-timer {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--warning);
    font-variant-numeric: tabular-nums;
}

.ira-route {
    margin-bottom: 1rem;
    position: relative;
}

.ira-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.2rem 0;
}

.ira-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.ira-dot.pickup {
    background: transparent;
    border: 3px solid var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.ira-dot.dropoff {
    background: var(--secondary);
    box-shadow: 0 0 8px var(--secondary-glow);
}

.ira-line {
    width: 2px;
    height: 14px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    margin-right: 6px;
    opacity: 0.5;
}

.ira-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

.ira-address {
    font-size: 0.92rem;
    font-weight: 600;
    display: block;
}

.ira-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.ira-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.ira-details i {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.ira-profitability {
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.ira-profitability.profitable {
    background: var(--success-bg);
    color: var(--success);
}

.ira-profitability.not-profitable {
    background: var(--danger-bg);
    color: var(--danger);
}

.ira-actions {
    display: flex;
    gap: 0.75rem;
    position: relative;
}

.ira-take {
    flex: 1;
    padding: 0.9rem !important;
    font-size: 1.05rem !important;
    border-radius: 14px !important;
    animation: pulseGlow 2s infinite;
}

.btn-navigate {
    padding: 0.9rem 1.25rem !important;
    border-radius: 14px !important;
}

/* ============================================
   RETURN RIDE CARD
   ============================================ */
.return-ride-card {
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.return-ride-card::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    filter: blur(60px);
    opacity: 0.1;
}

.rrc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    position: relative;
}

.rrc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary);
}

.rrc-content {
    position: relative;
    margin-bottom: 0.75rem;
}

.rrc-suggestion {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.rrc-ride {
    background: var(--bg-elevated);
    border-radius: var(--border-radius-sm);
    padding: 0.65rem 0.85rem;
}

.rrc-route {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.rrc-details {
    display: flex;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.rrc-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================================
   DRIVER RIDES LIST
   ============================================ */
.driver-rides-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.driver-ride-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.driver-ride-item:hover {
    background: var(--bg-card-hover);
}

.dri-time {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    min-width: 40px;
}

.dri-route {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.dri-route i {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.dri-from {
    font-weight: 500;
}

.dri-to {
    font-weight: 600;
    color: var(--primary);
}

.dri-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--success);
}

/* Daily Report */
.daily-report-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.dr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dr-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dr-header h3 i {
    color: var(--primary);
}

.dr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.dr-item {
    text-align: center;
    padding: 0.65rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.dr-item-value {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

.dr-item-label {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ============================================
   AVAILABLE RIDES (Driver)
   ============================================ */
.active-filters {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.active-filters::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-normal);
}

.filter-chip.active {
    background: var(--primary-subtle);
    color: var(--primary);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.filter-chip.add {
    background: transparent;
    color: var(--text-muted);
    border: 1px dashed var(--border-color);
    cursor: pointer;
}

.filter-chip.add:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.chip-remove {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 0.7rem;
    opacity: 0.6;
    padding: 0;
}

.chip-remove:hover {
    opacity: 1;
}

.available-rides {
    padding: 0.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.available-ride-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition-normal);
}

.available-ride-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.arc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.arc-time-badge {
    padding: 0.2rem 0.6rem;
    background: var(--success-bg);
    color: var(--success);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
}

.arc-time-badge.scheduled-badge {
    background: var(--info-bg);
    color: var(--info);
}

.arc-match {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
}

.arc-route {
    margin-bottom: 0.75rem;
}

.arc-point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.15rem 0;
}

.arc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.arc-dot.pickup {
    background: transparent;
    border: 2.5px solid var(--primary);
}

.arc-dot.dropoff {
    background: var(--secondary);
}

.arc-point span {
    font-size: 0.88rem;
    font-weight: 500;
}

.arc-route-line {
    width: 2px;
    height: 10px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    margin-right: 4px;
    opacity: 0.4;
}

.arc-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.arc-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.45rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-xs);
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-align: center;
}

.arc-detail i {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.arc-profitability {
    padding: 0.4rem 0.65rem;
    border-radius: var(--border-radius-xs);
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.arc-profitability.good {
    background: var(--success-bg);
    color: var(--success);
}

.arc-profitability.okay {
    background: var(--info-bg);
    color: var(--info);
}

.arc-profitability.bad {
    background: var(--danger-bg);
    color: var(--danger);
}

.arc-actions {
    display: flex;
    gap: 0.5rem;
}

.arc-take {
    flex: 1;
    padding: 0.65rem !important;
    font-size: 0.92rem !important;
}

.arc-nav {
    padding: 0.65rem 1rem !important;
}

/* ============================================
   DRIVER PROFILE
   ============================================ */
.profile-hero {
    text-align: center;
    padding: 1.5rem 1.25rem;
    position: relative;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--pro-gradient);
    opacity: 0.08;
}

.profile-avatar-lg {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.profile-status {
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.profile-status.online {
    background: var(--success);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.profile-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.profile-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0.85rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.ps-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ps-value {
    font-size: 1.15rem;
    font-weight: 800;
}

.ps-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ps-divider {
    width: 1px;
    height: 35px;
    background: var(--border-color);
}

/* Info Card */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.info-value {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.info-value.highlight {
    color: var(--primary);
}

.text-success { color: var(--success); }
.text-muted { color: var(--text-muted); }

.destination-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.dest-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.5rem;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Preferences */
.preferences-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.pref-item:hover {
    border-color: var(--glass-border);
}

.pref-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.pref-info > i {
    font-size: 1rem;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.pref-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
}

.pref-info p {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.pref-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-subtle);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

/* Subscription Info Card */
.sub-info-card {
    background: var(--bg-card);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.sub-info-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    filter: blur(60px);
    opacity: 0.1;
}

.sic-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.sic-plan-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
}

.sic-plan-price {
    font-size: 0.85rem;
    font-weight: 600;
}

.sic-expiry {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
}

.sic-progress {
    width: 100%;
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.35rem;
    position: relative;
}

.sic-progress-bar {
    height: 100%;
    background: var(--pro-gradient);
    border-radius: 3px;
    transition: width 1s ease;
}

.sic-days-left {
    font-size: 0.72rem;
    color: var(--text-muted);
    position: relative;
}

/* ============================================
   PRO SUBSCRIPTION PAGE
   ============================================ */
.pro-hero {
    position: relative;
    padding: 2.5rem 1.25rem;
    text-align: center;
    overflow: hidden;
}

.pro-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--pro-gradient);
    opacity: 0.08;
}

.pro-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
}

.pro-hero-content {
    position: relative;
}

.pro-crown-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--pro-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 32px var(--pro-glow);
    animation: float 4s ease-in-out infinite;
}

.pro-hero-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.pro-hero-content p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0 1.25rem;
    margin-bottom: 1.5rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: 0 0 25px var(--pro-glow);
}

.pc-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.2rem 0.7rem;
    background: var(--pro-gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.pc-header {
    margin-bottom: 1rem;
}

.pc-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.pc-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
}

.pc-amount {
    font-size: 2.2rem;
    font-weight: 900;
}

.pc-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pc-period {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.pc-savings {
    font-size: 0.78rem;
    color: var(--success);
    font-weight: 600;
    margin-top: 0.3rem;
}

/* Pro Features List */
.pro-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pro-feature {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.pro-feature:hover {
    border-color: var(--glass-border);
    background: var(--bg-card-hover);
}

.pf-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pf-content h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.pf-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Comparison Table */
.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.ct-header {
    display: grid;
    grid-template-columns: 1fr 60px 60px;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    font-weight: 700;
    font-size: 0.82rem;
}

.ct-free-header,
.ct-pro-header {
    text-align: center;
}

.ct-pro-header {
    color: var(--secondary);
}

.ct-row {
    display: grid;
    grid-template-columns: 1fr 60px 60px;
    padding: 0.6rem 1rem;
    border-top: 1px solid var(--border-subtle);
    align-items: center;
}

.ct-row.highlight {
    background: rgba(99, 102, 241, 0.03);
}

.ct-feature {
    font-size: 0.82rem;
    font-weight: 500;
}

.ct-free,
.ct-pro {
    text-align: center;
}

.ct-free i,
.ct-pro i {
    font-size: 0.85rem;
}

.ct-free .fa-check { color: var(--success); }
.ct-free .fa-times { color: var(--text-muted); }
.ct-pro .fa-check { color: var(--success); }

/* ============================================
   CHAT
   ============================================ */
.chat-header {
    border-bottom: 1px solid var(--border-color);
}

.chat-user-info h2 {
    font-size: 1rem;
}

.chat-messages {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: calc(100vh - var(--header-height) - 72px);
    justify-content: flex-end;
}

.chat-date-divider {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0.5rem 0;
    position: relative;
}

.chat-date-divider::before,
.chat-date-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: var(--border-color);
}

.chat-date-divider::before { right: 0; }
.chat-date-divider::after { left: 0; }

.chat-message {
    display: flex;
    max-width: 80%;
}

.chat-message.incoming {
    align-self: flex-start;
}

.chat-message.outgoing {
    align-self: flex-end;
}

.message-bubble {
    padding: 0.65rem 1rem;
    border-radius: 16px;
    position: relative;
}

.incoming .message-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-bottom-right: 4px;
}

.outgoing .message-bubble {
    background: var(--primary);
    color: var(--text-on-primary);
    border-bottom-left: 4px;
}

.message-bubble p {
    font-size: 0.88rem;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.6;
    display: block;
    text-align: left;
}

.chat-input-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 480px;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    z-index: 200;
}

.chat-input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-primary);
    font-family: 'Heebo', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-normal);
}

.chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--text-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
}

.chat-send-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 420px;
    width: calc(100% - 2rem);
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.4s ease;
    backdrop-filter: blur(20px);
}

.toast.success { border-color: rgba(34, 197, 94, 0.3); }
.toast.error { border-color: rgba(239, 68, 68, 0.3); }
.toast.info { border-color: rgba(59, 130, 246, 0.3); }

.toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.toast.success .toast-icon { background: var(--success-bg); color: var(--success); }
.toast.error .toast-icon { background: var(--danger-bg); color: var(--danger); }
.toast.info .toast-icon { background: var(--info-bg); color: var(--info); }

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.toast-message {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-20px) scale(0.95); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
    .stats-grid {
        gap: 0.5rem;
    }

    .stat-card-value {
        font-size: 1.35rem;
    }

    .splash-features {
        gap: 1.25rem;
    }

    .pricing-cards {
        gap: 0.5rem;
    }

    .pc-amount {
        font-size: 1.8rem;
    }

    .arc-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .driver-stats-row {
        gap: 0.5rem;
    }

    .ds-value {
        font-size: 1.15rem;
    }
}

@media (min-width: 481px) {
    .app-container {
        border-right: 1px solid var(--border-color);
        border-left: 1px solid var(--border-color);
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }


/* ===== Passenger form ===== */
.pax-form .pax-label { display:block; font-size:13px; color:var(--text-secondary); margin:12px 0 6px; }
.pax-input { display:flex; align-items:center; gap:10px; background:var(--bg-secondary);
             border:1px solid var(--border-color); border-radius:var(--border-radius-sm); padding:0 14px; }
.pax-input i { color:var(--primary); width:18px; text-align:center; }
.pax-input input { flex:1; background:transparent; border:0; outline:0; color:var(--text-primary);
                   font-size:16px; padding:14px 0; font-family:inherit; }
.pax-row { display:flex; gap:12px; } .pax-row > div { flex:1; }
.pax-msg { text-align:center; color:var(--text-secondary); padding:12px 0 0; font-size:14px; }


/* ===== Driver login ===== */
.dl-tabs { display:flex; gap:8px; margin-bottom:14px; }
.dl-tab { flex:1; padding:12px; border-radius:var(--border-radius-sm); border:1px solid var(--border-color);
          background:var(--bg-card); color:var(--text-secondary); font-weight:600; cursor:pointer;
          font-family:inherit; font-size:15px; }
.dl-tab.active { background:var(--primary); color:var(--text-on-primary); border-color:var(--primary); }
.hidden { display:none !important; }

/* ===== כניסת-מנהל נסתרת — מנעול אפור קטן בתחתית המסך, מאיר ירוק במעבר/לחיצה ===== */
/* יושב בתוך מסך-הכניסה → מוצג רק לפני התחברות (אחרי כניסה ההורה display:none) */
.admin-lock-wrap {
  position: fixed; bottom: 14px; left: 0; right: 0;
  text-align: center; z-index: 40; pointer-events: none;
}
.admin-lock {
  pointer-events: auto;
  background: transparent; border: none; cursor: pointer; padding: 12px;
  color: #6b7280; opacity: .4; font-size: 17px; line-height: 1;   /* אפור-כהה, בקושי נראה */
  transition: color .3s ease, opacity .3s ease, transform .3s ease, text-shadow .3s ease;
  -webkit-tap-highlight-color: transparent;
}
.admin-lock:hover, .admin-lock:active, .admin-lock:focus {
  color: #00d4aa; opacity: 1; transform: scale(1.4);              /* ירוק זוהר */
  text-shadow: 0 0 16px #00d4aa, 0 0 30px rgba(0, 212, 170, .6); outline: none;
}


/* פירוט הכדאיות מתחת ל-₪/שעה (נוסף 21/7) */
.arc-econ-detail {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.75;
}
.arc-econ-tgt { font-weight: 400; opacity: 0.7; font-size: 0.85em; }


/* ההודעה המקורית מהקבוצה — בדיוק כפי שנכתבה (קודים של סדרנים). נוסף 21/7 */
.arc-raw {
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(127, 127, 127, 0.08);
  border-inline-start: 3px solid var(--primary, #14b8a6);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0 4px;
  font-size: 0.86rem;
  line-height: 1.45;
  max-height: 130px;
  overflow-y: auto;
}
