/* --- APARIENCIA GENERAL DEL MODAL --- */
.driver-popover {
    border-radius: 0.75rem !important; /* Bordes redondeados de Filament */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important; /* Sombra moderna */
    border: 1px solid rgba(156, 163, 175, 0.2) !important;
    background-color: #ffffff !important;
    padding: 1.5rem !important;
}

/* --- TÍTULOS Y TEXTOS --- */
.driver-popover-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #111827 !important; /* Gris oscuro */
    margin-bottom: 0.5rem !important;
}
.driver-popover-description {
    font-size: 0.875rem !important;
    color: #4b5563 !important; /* Gris medio */
    line-height: 1.5 !important;
}

/* --- FIX DEL BOTÓN FANTASMA (Previous/Cancel) --- */
.driver-popover-prev-btn {
    background-color: #f3f4f6 !important; /* Fondo gris clarito */
    color: #374151 !important; /* Texto oscuro visible */
    border: 1px solid #d1d5db !important; /* Borde gris */
    border-radius: 0.5rem !important;
    padding: 0.375rem 0.75rem !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}
.driver-popover-prev-btn:hover {
    background-color: #e5e7eb !important;
}

/* --- BOTÓN NEXT (Mantenemos tu ámbar pero mejoramos la forma) --- */
.driver-popover-next-btn {
    border-radius: 0.5rem !important;
    padding: 0.375rem 0.75rem !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* --- MODO OSCURO (Por si algún día lo activás) --- */
.dark .driver-popover {
    background-color: #18181b !important; /* zinc-900 */
    border-color: #27272a !important; /* zinc-800 */
}
.dark .driver-popover-title { color: #f4f4f5 !important; }
.dark .driver-popover-description { color: #a1a1aa !important; }
.dark .driver-popover-prev-btn {
    background-color: #27272a !important;
    color: #e4e4e7 !important;
    border-color: #3f3f46 !important;
}
.dark .driver-popover-prev-btn:hover {
    background-color: #3f3f46 !important;
}