/* Oxente Express - Custom Style (99 Layout Style) */

:root {
    --brand-yellow: #ffcf00;
    --brand-dark: #333333;
    --brand-grey: #f4f4f4;
    --brand-white: #ffffff;
    --brand-blue: #007bff;
}

body {
    background-color: var(--brand-grey);
    color: var(--brand-dark);
}

.bg-99 {
    background-color: var(--brand-yellow) !important;
}

.btn-99 {
    background-color: var(--brand-yellow);
    color: var(--brand-dark);
    border: none;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-99:hover {
    background-color: #e6bb00;
    transform: translateY(-1px);
}

.card-shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 16px !important;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.form-control:focus {
    box-shadow: none;
    border: 1px solid var(--brand-yellow);
}

.rounded-pill {
    border-radius: 50px !important;
}

.service-option {
    border: 1.5px solid #eee !important;
    border-radius: 12px !important;
    transition: all 0.3s;
}

.service-option:hover {
    border-color: var(--brand-yellow) !important;
}

.service-option.selected {
    border-color: var(--brand-yellow) !important;
    background-color: #fffdf2;
}

/* Admin/Driver Sidebar - Melhora visibilidade no celular */
.sidebar {
    background-color: var(--brand-dark);
    min-height: 100vh;
    padding: 20px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: var(--brand-yellow);
    color: var(--brand-dark) !important;
    font-weight: 700;
}

/* Estilo para o menu no mobile */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    /* Garante que os nomes no menu lateral fiquem visíveis mesmo em telas escuras */
    .sidebar .nav-link {
        color: #ffffff !important;
        background-color: rgba(255, 255, 255, 0.1);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .sidebar .nav-link.active {
        background-color: var(--brand-yellow);
        color: var(--brand-dark) !important;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* Menu Lateral Admin */
.sidebar .nav-link i {
    width: 25px;
    text-align: center;
}

#map { 
    height: 500px; 
    width: 100%; 
    border-radius: 20px; 
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.spinner-grow {
    animation: pulse 1s infinite ease-in-out;
}
