/* ========================================
   MAPPE.CSS - Redesign Completo UI/UX
   Design moderno con glassmorphism e animazioni
   ======================================== */

/* ========================================
   LAYOUT PRINCIPALE - FULL SCREEN
   ======================================== */
#mappe-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* Sottrai altezza header/navbar */
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1; /* Sotto l'header e i controlli */
}

/* ========================================
   GLASSMORPHISM - Effetto Vetro
   ======================================== */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.glass-effect-dark {
    background: rgba(113, 168, 148, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(113, 168, 148, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ========================================
   FLOATING CONTROLS - Alto Sinistra
   ======================================== */
.mappe-controls-floating {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 500; /* Sotto l'header (che è z-index: 1000) */
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    max-height: calc(100vh - 120px); /* Non andare fuori schermo */
    overflow-y: auto; /* Scroll se necessario */
}

.control-card {
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInLeft 0.5s ease-out;
}

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

.control-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Header Controlli */
.control-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
}

.control-card-header i {
    font-size: 18px;
    color: var(--primary-color);
}

/* ========================================
   TOGGLE MODALITÀ - Pill Style
   ======================================== */
.mode-toggle-wrapper {
    background: rgba(113, 168, 148, 0.1);
    border-radius: 50px;
    padding: 4px;
    display: flex;
    gap: 4px;
    position: relative;
}

.mode-toggle-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.mode-toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(113, 168, 148, 0.4);
    transform: scale(1.02);
}

.mode-toggle-btn:hover:not(.active) {
    color: var(--primary-color);
}

/* ========================================
   SELECT CUSTOM STYLE
   ======================================== */
.control-select-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(113, 168, 148, 0.2);
    border-radius: 12px;
    font-size: 14px;
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.control-select-modern:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(113, 168, 148, 0.1);
}

.control-select-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(113, 168, 148, 0.2);
}

/* ========================================
   ROUTE SUMMARY - Compatto Elegante
   ======================================== */
.route-summary-compact {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(113, 168, 148, 0.1) 100%);
    border-radius: 12px;
    padding: 14px;
    border: 2px solid rgba(113, 168, 148, 0.2);
}

.route-summary-compact .route-info {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 500;
}

.route-summary-compact .route-info i {
    color: var(--primary-color);
    margin-right: 6px;
}

/* ========================================
   LEGENDA - Minimal & Clean
   ======================================== */
.legend-minimal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legend-item:hover {
    background: rgba(113, 168, 148, 0.1);
    color: var(--text-primary);
}

.legend-item i {
    width: 24px;
    text-align: center;
    font-size: 16px;
}

/* ========================================
   SIDEBAR DRAWER - Slide In da Destra
   ======================================== */
.mappe-sidebar-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 400; /* Sotto l'header */
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.mappe-sidebar-drawer.open {
    transform: translateX(0);
}

/* Toggle Button Sidebar */
.sidebar-toggle-btn {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    width: 50px;
    height: 80px;
    border: none;
    border-radius: 12px 0 0 12px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: -4px 0 12px rgba(113, 168, 148, 0.4);
}

.sidebar-toggle-btn:hover {
    background: var(--primary-dark);
    left: -55px;
    box-shadow: -6px 0 20px rgba(113, 168, 148, 0.6);
}

.sidebar-toggle-btn i {
    transition: transform 0.3s ease;
}

.mappe-sidebar-drawer.open .sidebar-toggle-btn i {
    transform: rotate(180deg);
}

/* Header Sidebar */
.sidebar-drawer-header {
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    flex-shrink: 0;
    border-radius: 0;
}

.sidebar-drawer-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-drawer-header .count-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

/* Lista Sidebar */
.sidebar-drawer-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: var(--bg-light);
}

/* Scrollbar Custom */
.sidebar-drawer-list::-webkit-scrollbar {
    width: 8px;
}

.sidebar-drawer-list::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-drawer-list::-webkit-scrollbar-thumb {
    background: rgba(113, 168, 148, 0.3);
    border-radius: 4px;
}

.sidebar-drawer-list::-webkit-scrollbar-thumb:hover {
    background: rgba(113, 168, 148, 0.5);
}

/* Footer Sidebar */
.sidebar-drawer-footer {
    padding: 16px;
    background: white;
    border-top: 2px solid var(--border-light);
    flex-shrink: 0;
}

/* ========================================
   ITEM CARDS - Moderna con Hover Effect
   ======================================== */
.item-card-modern {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.item-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(113, 168, 148, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card-modern:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.item-card-modern:hover::before {
    opacity: 1;
}

.item-card-modern.selected {
    border-left-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(113, 168, 148, 0.2);
}

/* Stati Ordine */
.item-card-modern[data-stato="in_preparazione"] {
    border-left-color: var(--accent-red);
}

.item-card-modern[data-stato="pronto"] {
    border-left-color: var(--accent-yellow);
}

.item-card-modern[data-stato="in_consegna"] {
    border-left-color: var(--primary-color);
}

.item-card-header {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.item-card-dettagli {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.item-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
    padding-top: 10px;
    border-top: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.item-card-footer i {
    color: var(--primary-color);
}

/* ========================================
   BUTTONS - Modern Style
   ======================================== */
.btn-modern {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(113, 168, 148, 0.3);
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(113, 168, 148, 0.4);
}

.btn-modern-secondary {
    background: white;
    color: var(--text-secondary);
    border: 2px solid var(--border-medium);
}

.btn-modern-secondary:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ========================================
   MINI CARD FLOATING - Selezione Punto
   ======================================== */
.mini-card-floating {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    min-width: 350px;
    border-radius: 16px;
    padding: 20px;
    z-index: 450; /* Sotto l'header */
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-card-floating.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mini-card-content {
    position: relative;
}

.mini-card-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--accent-red);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(236, 103, 108, 0.4);
}

.mini-card-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--accent-red-dark);
}

.mini-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.mini-card-info {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.mini-card-actions {
    display: flex;
    gap: 10px;
}

.mini-card-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* ========================================
   MODAL RECENSIONE - Redesign Completo
   ======================================== */
.modal-overlay-modern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay-modern.show {
    opacity: 1;
    pointer-events: all;
}

.modal-container-modern {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.modal-overlay-modern.show .modal-container-modern {
    transform: scale(1) translateY(0);
}

.modal-header-modern {
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-modern h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close-btn-modern {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.modal-close-btn-modern:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body-modern {
    padding: 32px;
}

/* Info Cliente nel Modal */
.recensione-cliente-card {
    text-align: center;
    margin-bottom: 28px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(113, 168, 148, 0.05) 100%);
    border-radius: 16px;
}

.cliente-nome-hero {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.cliente-dettagli-modern {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cliente-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge-modern {
    background: white;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Rating Attuale */
.rating-current-section {
    margin-bottom: 28px;
}

.rating-current-section label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-display-modern {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid var(--border-light);
}

.rating-emoji-large {
    font-size: 48px;
}

.rating-text-modern {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Rating Buttons - Interattivi */
.rating-selection-section label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rating-buttons-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.rating-btn-modern {
    background: white;
    border: 3px solid var(--border-light);
    border-radius: 16px;
    padding: 20px 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.rating-btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rating-btn-modern:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(113, 168, 148, 0.3);
}

.rating-btn-modern.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: 0 8px 24px rgba(113, 168, 148, 0.4);
    transform: scale(1.1);
}

.rating-btn-modern.selected::before {
    opacity: 1;
}

.rating-emoji-btn {
    font-size: 32px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.rating-btn-modern:hover .rating-emoji-btn {
    transform: scale(1.2);
}

.rating-btn-modern.selected .rating-emoji-btn {
    transform: scale(1.3);
}

.rating-label-modern {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.rating-btn-modern.selected .rating-label-modern {
    color: white;
}

.modal-footer-modern {
    padding: 20px 32px;
    background: var(--bg-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-footer-modern button {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ========================================
   LOADING & EMPTY STATES
   ======================================== */
.loading-state-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.spinner-modern {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state-modern {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state-modern i {
    font-size: 64px;
    color: var(--border-medium);
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ========================================
   LEAFLET CUSTOMIZZAZIONI
   ======================================== */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
    margin: 16px;
    font-size: 14px;
}

.popup-action-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-right: 6px;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.popup-action-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 168, 148, 0.4);
}

/* Marker custom */
.custom-marker {
    background: transparent;
    border: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .mappe-sidebar-drawer {
        width: 360px;
    }

    .mappe-controls-floating {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .mappe-sidebar-drawer {
        width: 100%;
        max-width: 100%;
    }

    .mappe-controls-floating {
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .mini-card-floating {
        left: 10px;
        right: 10px;
        min-width: auto;
        transform: translateX(0) translateY(100px);
    }

    .mini-card-floating.show {
        transform: translateX(0) translateY(0);
    }

    .rating-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-container-modern {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }
}

/* ========================================
   ANIMAZIONI EXTRA
   ======================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

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

.bounce-animation {
    animation: bounce 1s ease-in-out infinite;
}

/* ========================================
   RECAP RIDER - Brand Style
   ======================================== */
.rider-recap-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding: 4px;
}

.rider-recap-item {
    background: linear-gradient(135deg, rgba(113, 168, 148, 0.1), rgba(113, 168, 148, 0.05));
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(113, 168, 148, 0.2);
    position: relative;
    overflow: hidden;
}

.rider-recap-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.rider-recap-item:hover {
    background: linear-gradient(135deg, rgba(113, 168, 148, 0.2), rgba(113, 168, 148, 0.1));
    transform: translateX(6px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(113, 168, 148, 0.3);
}

.rider-recap-item:hover::before {
    transform: scaleY(1);
}

.rider-recap-item.active {
    background: linear-gradient(135deg, rgba(113, 168, 148, 0.3), rgba(113, 168, 148, 0.15));
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(113, 168, 148, 0.4);
}

.rider-recap-item.active::before {
    transform: scaleY(1);
}

.rider-recap-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rider-emoji {
    font-size: 24px;
    line-height: 1;
}

.rider-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 15px;
    letter-spacing: 0.3px;
}

.rider-recap-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
}

.rider-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    font-weight: 600;
}

.rider-stat-emoji {
    font-size: 14px;
}

.rider-stat-value {
    color: var(--text-primary);
}
