/* Custom Styles for Garage Car */

:root {
    --primary-color: #007bff;
    /* Azul vibrante para botões */
    --navy-dark: #000c1d;
    /* Azul marinho profundo */
    --navy-medium: #001f3f;
    /* Azul marinho médio */
    --bg-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(0, 12, 29, 0.45));
    --card-bg: rgba(0, 0, 0, 0.15);
    /* Transparência suave */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    font-family: 'Inter', sans-serif;
}

body.login-body {
    background: url('../img/parking-bg.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
    background-color: var(--navy-dark);
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1;
    pointer-events: none;
    /* ← Garante que o blur não roube o clique real da tela */
}

.container,
.d-flex {
    position: relative;
    z-index: 10;
}

.login-card {
    background: var(--card-bg);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 3rem !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.login-card label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-card h2 {
    color: #ffffff;
    letter-spacing: -1px;
}

.login-card .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.login-card .form-control {
    background: rgba(255, 255, 255, 0.7);
    /* Fundo sutilmente branco para destacar o preto */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #000000 !important;
    /* ← Correção solicitada: Cor do texto ao digitar (Preto) */
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-radius: 12px;
}

.login-card .form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
    /* Placeholder cinza escuro para manter harmonia */
}

.login-card .input-group-text {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #000000;
    border-radius: 12px;
}

.login-card .form-control:focus {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.25);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.95);
    /* Fundo claro quando o usuário estiver digitando */
    color: #000000 !important;
    /* Letras pretas em foco */
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    transition: var(--transition-smooth);
    font-weight: 600;
    border-radius: 12px;
    padding: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 123, 255, 0.5);
    background: linear-gradient(135deg, #008cff, #0066d6);
}

.login-card a {
    color: #00a2ff;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.login-card a:hover {
    color: #ffffff;
}

/* Animação Suave */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos de Dashboard mantidos e ajustados */
#wrapper {
    overflow-x: hidden;
    background-color: #f0f2f5;
}

#sidebar-wrapper {
    min-height: 100vh;
    width: 280px;
    margin-left: -280px;
    transition: margin 0.25s ease-out;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #page-content-wrapper {
    margin-left: 280px;
}

@media (min-width: 992px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -280px;
    }
}

.list-group-item {
    border: none;
    padding: 20px 30px;
}

.list-group-item.active {
    background-color: var(--primary-color) !important;
    border-radius: 10px;
    margin: 0 15px;
    padding: 15px 20px;
}

.second-text {
    color: #aebbc9;
}

.primary-text {
    color: var(--primary-color);
}

.border-5 {
    border-left-width: 5px !important;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

/* Tabelas e Botões */
.table {
    vertical-align: middle;
}

.badge {
    letter-spacing: 1px;
    font-weight: 600;
}