/* ===== Driver Portal Styles ===== */
/* DopGO Driver Page - Mobile Responsive */

@import 'common.css';

:root {
    --driver-primary: #594545;
    --driver-primary-dark: #2b2525;
    --driver-success: #00e676;
    --driver-warning: #ffa500;
    --driver-danger: #b00020;
    --driver-info: #2196f3;
    --driver-text: #ffffff;
    --driver-text-secondary: #9ca3af;
    --driver-border: #444444;
    --driver-card-bg: #1f1f1f;
}

/* ===== Mobile Viewport & Touch Prevention ===== */
@media (max-width: 768px) {
    html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        touch-action: pan-x pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
        overflow-x: hidden;
    }
    
    input, select, textarea, button {
        font-size: 16px !important;
    }
    
    @supports (-webkit-touch-callout: none) {
        input[type="text"],
        input[type="email"],
        input[type="password"],
        input[type="number"],
        input[type="tel"],
        input[type="date"],
        input[type="time"],
        textarea,
        select {
            font-size: 16px !important;
        }
    }
    
    .modal-overlay {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* ===== Driver Portal Content ===== */
.pickup-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
    padding-bottom: 90px;
    min-height: calc(100vh - 140px);
}

/* ===== Pickup Header ===== */
.pickup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
    background: linear-gradient(135deg, #382c42, #18141c);
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(56, 44, 66, 0.3);
}

.pickup-header h1 {
    font-size: 20px;
    color: #fff;
    margin: 0;
}

.pickup-header h1 i {
    margin-right: 8px;
    color: #ff9500;
}

.pickup-header p {
    color: #e0e0e0;
    margin: 4px 0 0 0;
    font-size: 12px;
}

.pickup-header-content {
    display: flex;
    flex-direction: column;
}

/* ===== Map Container ===== */
.map-container {
    position: relative;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
}

#map {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    min-height: 180px;
}

.map-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.map-control-btn {
    background: #ffffff;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.map-control-btn:active {
    background: var(--driver-primary);
    color: #181818;
    transform: scale(1.1);
}

.current-location-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
}

.current-location-dot {
    width: 14px;
    height: 14px;
    background: #2196f3;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.current-location-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(33, 150, 243, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ===== Request Markers ===== */
.request-marker {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.request-marker:hover {
    transform: scale(1.1);
}

/* ===== Active Rides Section ===== */
.active-rides-section {
    margin-bottom: 16px;
}

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

.section-header h2 {
    font-size: 16px;
    color: var(--driver-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header h2 i {
    color: var(--driver-primary);
}

.badge {
    background: var(--driver-primary);
    color: #181818;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Pickup Dates Container ===== */
.pickup-dates-container {
    position: relative;
}

.pickup-dates-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
    min-height: 120px;
    overflow-y: auto;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
}

.pickup-dates-list::-webkit-scrollbar {
    width: 5px;
}

.pickup-dates-list::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.pickup-dates-list::-webkit-scrollbar-thumb {
    background: var(--driver-primary);
    border-radius: 3px;
}

/* ===== Pickup Date Card ===== */
.pickup-date-card {
    background: var(--driver-card-bg);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pickup-date-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.pickup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.ticket-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-info i {
    color: #ff9500;
}

.ticket-no {
    font-weight: 600;
    color: #ff9500;
    font-size: 14px;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.pending {
    background: #ffa500;
    color: #000;
}

.status-badge.completed {
    background: var(--driver-success);
    color: #181818;
}

.status-badge.cancelled {
    background: var(--driver-danger);
    color: #fff;
}

.pickup-card-body {
    font-size: 13px;
}

.detail-row-compact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.detail-item-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--driver-text-secondary);
}

.detail-item-compact i {
    color: #ff9500;
}

.offer-row-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.offer-amount-compact {
    font-size: 20px;
    font-weight: 700;
    color: var(--driver-primary);
}

/* ===== Active Ride Card ===== */
.active-ride-card {
    border-left: 4px solid var(--driver-success);
}

.active-ride-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--driver-border);
}

.btn-complete {
    flex: 1;
    padding: 12px 16px;
    background: var(--driver-success);
    color: #181818;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-complete:active {
    background: #00c853;
}

.btn-complete i {
    margin-right: 6px;
}

/* ===== Request Modal ===== */
.request-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.request-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--driver-border);
    background: linear-gradient(135deg, #382c42, #18141c);
    border-radius: 16px 16px 0 0;
}

.request-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.request-modal-header h2 i {
    color: #ff9500;
}

.modal-close {
    background: none;
    border: none;
    color: #cc5500;
    font-size: 20px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:active {
    background: rgba(255,255,255,0.1);
    color: #ff6b00;
}

.request-modal-body {
    padding: 16px;
}

.request-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--driver-border);
}

/* ===== Trip Details Display ===== */
.trip-details-display {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--driver-border);
}

.trip-detail:last-child {
    border-bottom: none;
}

.trip-detail-label {
    font-size: 13px;
    color: var(--driver-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trip-detail-label i {
    color: var(--driver-primary);
}

.trip-detail-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--driver-text);
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.status-value {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.status-value.pending { background: rgba(255, 165, 0, 0.2); color: #ffa500; }
.status-value.accepted { background: rgba(0, 230, 118, 0.2); color: var(--driver-success); }
.status-value.onway { background: rgba(255, 179, 0, 0.2); color: #ffb300; }
.status-value.pickedup { background: rgba(33, 150, 243, 0.2); color: var(--driver-info); }
.status-value.delivered { background: rgba(0, 230, 118, 0.2); color: var(--driver-success); }

/* ===== Action Buttons ===== */
.btn-accept {
    flex: 1;
    padding: 12px 20px;
    background: var(--driver-success);
    color: #181818;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

.btn-accept:active {
    background: #00c853;
    transform: scale(0.98);
}

.btn-decline {
    flex: 1;
    padding: 12px 20px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    -webkit-tap-highlight-color: transparent;
}

.btn-decline:active {
    background: #d32f2f;
    transform: scale(0.98);
}

/* ===== Empty & Loading States ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.empty-state i {
    font-size: 48px;
    color: #444;
    margin-bottom: 12px;
}

.empty-state p {
    color: #888;
    font-size: 14px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    color: #888;
}

.loading-state i {
    font-size: 28px;
    margin-bottom: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Modal Styles ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

/* ===== Success Alert ===== */
.success-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-alert.show {
    display: flex;
}

.success-content {
    background: #000;
    border: 2px solid var(--driver-primary);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(5, 235, 177, 0.3);
}

.success-content i {
    font-size: 48px;
    color: var(--driver-success);
    margin-bottom: 16px;
}

.success-content h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
}

.success-content p {
    margin: 0 0 20px 0;
    color: #ccc;
    line-height: 1.6;
    font-size: 14px;
}

.success-content button {
    padding: 12px 32px;
    background: linear-gradient(135deg, #05ebb1, #00d198);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(5, 235, 177, 0.4);
    margin-top: 16px;
}

.success-content button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 235, 177, 0.5);
}

/* ===== Bottom Navigation ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 4px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 9px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 56px;
}

.nav-item i {
    font-size: 18px;
}

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

.nav-item.dopgo {
    color: var(--text-primary);
    background: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    margin-top: 0;
    box-shadow: none;
}

.nav-item.dopgo i {
    font-size: 22px;
}

.nav-item.dopgo .dopgo-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
}

.nav-item.dopgo .dopgo-icons i {
    font-size: 22px;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    line-height: 1 !important;
    color: var(--text-primary) !important;
}

.nav-item.dopgo.active .dopgo-icons i {
    color: var(--primary-color) !important;
}

.nav-item.dopgo .dopgo-icons i::before {
    display: inline-block !important;
}

.nav-item.dopgo .dopgo-icons i.fa-plus-circle {
    position: relative;
    top: auto;
    right: auto;
    font-size: 22px;
    z-index: 1;
}

.nav-item.dopgo .dopgo-icons i.fa-car {
    margin-left: -6px;
    margin-right: 2px;
    font-size: 18px;
}

/* ===== Header Actions ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-action-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--driver-card-bg);
    color: #fff;
    border-radius: 50%;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.header-action-btn:active {
    background: var(--driver-primary);
    color: #181818;
}

.header-sos-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--driver-danger);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: pulse-sos 2s infinite;
}

.header-sos-btn i {
    font-size: 16px;
}

@keyframes pulse-sos {
    0% { box-shadow: 0 0 0 0 rgba(176, 0, 32, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(176, 0, 32, 0); }
    100% { box-shadow: 0 0 0 0 rgba(176, 0, 32, 0); }
}

.notification-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-btn i {
    font-size: 16px;
    color: var(--primary-color);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--error-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ===== Driver Marker ===== */
.driver-marker {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* ===== SOS Modal ===== */
.sos-modal {
    background: #000;
    border: 2px solid #333;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.sos-header-red {
    background: linear-gradient(135deg, #8b0000, #5c0000) !important;
    border-radius: 14px 14px 0 0 !important;
}

.sos-header-red h2 {
    color: #fff !important;
}

.sos-content {
    padding: 16px;
}

.sos-emergency-type h4,
.sos-description h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--driver-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sos-emergency-type h4 i,
.sos-description h4 i {
    color: var(--driver-danger);
}

.emergency-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.emergency-type-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #222;
    border: 2px solid #444;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.emergency-type-option:hover {
    border-color: var(--driver-danger);
}

.emergency-type-option input[type="radio"] {
    accent-color: var(--driver-danger);
}

.type-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--driver-text);
}

.type-label i {
    font-size: 16px;
}

.sos-description {
    margin-bottom: 16px;
}

.sos-description .form-input {
    width: 100%;
    padding: 12px 14px;
    background: #333;
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 14px;
    color: var(--driver-text);
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--driver-primary);
}

.form-select {
    width: 100%;
    padding: 12px 14px;
    background: #333;
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 14px;
    color: var(--driver-text);
    outline: none;
    cursor: pointer;
}

/* ===== Responsive Adjustments for Small Screens ===== */
@media (max-width: 380px) {
    .pickup-header h1 {
        font-size: 18px;
    }
    
    #map {
        height: 180px;
    }
    
    .pickup-dates-list {
        max-height: 280px;
    }
    
    .modal-overlay {
        padding: 12px;
    }
    
    .request-modal {
        max-height: 90vh;
    }
    
    .confirm-pickup-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .pickup-card-body {
        font-size: 12px;
    }
    
    .offer-amount {
        font-size: 14px;
    }
}

/* ===== Extra Small Devices ===== */
@media (max-width: 320px) {
    .pickup-header {
        padding: 12px;
    }
    
    .pickup-header h1 {
        font-size: 16px;
    }
    
    .pickup-content {
        padding: 12px;
        padding-bottom: 80px;
    }
    
    #map {
        height: 160px;
    }
    
    .bottom-nav {
        padding: 4px 2px;
    }
    
    .nav-item {
        min-width: 48px;
        padding: 4px 6px;
        font-size: 8px;
    }
    
    .nav-item i {
        font-size: 16px;
    }
    
    .nav-item.dopgo {
        width: 44px;
        height: 44px;
        margin-top: -12px;
    }
    
    .nav-item.dopgo i,
    .nav-item.dopgo .dopgo-icons i {
        font-size: 18px;
    }
    
    .btn-accept,
    .btn-decline {
        padding: 10px 14px;
        font-size: 13px;
    }
}
    color: var(--driver-text);
    resize: vertical;
    min-height: 80px;
}

.sos-description .form-input::placeholder {
    color: var(--driver-text-secondary);
}

.sos-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.sos-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sos-btn.emergency {
    background: var(--driver-danger);
    color: #fff;
}

.sos-btn.emergency:active {
    background: #900018;
}

.sos-btn.dopetz {
    background: var(--driver-primary);
    color: #fff;
}

.sos-btn.dopetz:active {
    background: var(--driver-primary-dark);
}

.sos-send-alert {
    margin-bottom: 16px;
}

.sos-send-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--driver-danger);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sos-send-btn:active {
    background: #900018;
    transform: scale(0.98);
}

.sos-alert-status {
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
}

.sos-alert-status .alert-sending {
    color: var(--driver-warning);
}

.sos-alert-status .alert-success {
    color: var(--driver-success);
}

.sos-alert-status .alert-error {
    color: var(--driver-danger);
}

/* ===== SOS Success Overlay ===== */
.sos-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 6000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sos-success-overlay.show {
    display: flex;
}

.sos-success-overlay-content {
    background: #000;
    border: 2px solid var(--driver-danger);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 30px rgba(176, 0, 32, 0.3);
}

.sos-success-icon {
    width: 64px;
    height: 64px;
    background: var(--driver-danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.sos-success-icon i {
    font-size: 32px;
    color: #fff;
}

.sos-success-overlay-content h2 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #fff;
}

.sos-success-overlay-content p {
    margin: 0 0 8px 0;
    color: #ccc;
    font-size: 14px;
}

.sos-success-message {
    color: var(--driver-success) !important;
    font-weight: 600;
    margin-bottom: 20px !important;
}

.sos-success-btn {
    padding: 12px 32px;
    background: var(--driver-danger);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sos-success-btn:active {
    background: #900018;
}

/* ===== Loading Overlay ===== */
.pickup-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.pickup-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--driver-border);
}

.pickup-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--driver-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pickup-modal-header h2 i {
    color: var(--driver-primary);
}

.pickup-modal-body {
    padding: 16px;
}

.pickup-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--driver-border);
}

/* ===== Notification Modal ===== */
.notification-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.notification-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--driver-border);
}

.notification-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--driver-text);
}

.notification-modal-body {
    padding: 16px;
}

.notification-stats {
    display: flex;
    gap: 12px;
}

.notification-stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: var(--driver-card-bg);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-stat-card:active {
    transform: scale(0.98);
}

.notification-stat-card i {
    font-size: 24px;
    color: var(--driver-primary);
}

.notification-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--driver-text);
}

.notification-stat-label {
    font-size: 11px;
    color: var(--driver-text-secondary);
}

/* ===== Notifications Dropdown ===== */
.notifications-dropdown {
    position: fixed;
    top: 70px;
    right: 16px;
    background: #181818;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    padding: 14px 0;
    min-width: 280px;
    z-index: 4000;
    max-height: 350px;
    overflow-y: auto;
}

.notif-header {
    font-weight: 600;
    font-size: 16px;
    padding: 0 14px 10px 14px;
    border-bottom: 1px solid #222;
    margin-bottom: 8px;
}

.notif-empty {
    padding: 12px 14px;
    color: #888;
    text-align: center;
}

.notif-item {
    padding: 10px 14px;
    border-bottom: 1px solid #222;
}

.notif-item:last-child {
    border-bottom: none;
}

.notif-item b {
    display: block;
    margin-bottom: 4px;
}

.notif-item p {
    margin: 0 0 6px 0;
    font-size: 13px;
}

.notif-item small {
    font-size: 12px;
    color: var(--driver-primary);
}

/* ===== Driver Registration ===== */
.driver-reg-container {
    max-width: 600px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
}

.driver-reg-left {
    flex: 1;
    display: none;
}

.driver-reg-right {
    flex: 1;
}

.driver-form-card {
    background: var(--driver-card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.driver-form-card h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: var(--driver-text);
}

.driver-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--driver-text);
    font-size: 14px;
}

.benefit-item i {
    color: var(--driver-primary);
    font-size: 16px;
}

/* ===== Form Styles ===== */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    font-size: 13px;
    color: var(--driver-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--driver-primary);
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    background: #333;
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 14px;
