/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* css/style.css */
.logo-login {
    max-width: 120px;
    margin-bottom: 1.5rem;
}

/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f6fa;
    color: #333;
    line-height: 1.6;
}

/* Navbar superior */
.navbar {
    background: linear-gradient(90deg, #2c3e50 0%, #1a252f 100%); /* Corrigido */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0.75rem 1rem;
}
.navbar-brand .logo {
    max-height: 40px;
    width: auto;
}
.navbar-nav .nav-link {
    color: #b0b7c3 !important;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1);
}
.navbar-nav .nav-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}
.dropdown-menu {
    background-color: #2c3e50;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.dropdown-item {
    color: #b0b7c3;
    transition: all 0.3s ease;
}
.dropdown-item:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}
.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.75rem;
    background-color: #dc3545;
    color: #fff;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid #fff;
}

/* Conteúdo principal */
.content {
    padding: 20px;
    margin-top: 70px;
}

/* Cards */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.card:hover {
    transform: translateY(-5px);
}

/* Botões personalizados */
.btn-primary {
    background-color: #3498db;
    border-color: #3498db;
}
.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}
.btn-primary:active {
    background-color: #003f7f !important;
    transform: scale(0.95);
}

/* Links de placa */
.placa-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}
.placa-link:hover {
    text-decoration: underline;
}

/* Modal */
.modal-header {
    background-color: #2c3e50;
    color: white;
    border-bottom: none;
}
.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Tabelas */
.table {
    font-size: 0.95rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    table-layout: auto;
}
.table th, .table td {
    vertical-align: middle;
    padding: 0.85rem;
    white-space: nowrap;
}
.table thead th {
    background-color: #2c3e50;
    color: white;
    border-bottom: none;
    font-weight: 500;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03);
}
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

/* Outros estilos */
.transition {
    transition: background-color 0.3s ease-in-out, transform 0.2s;
}
.status-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
}
.dashboard-card {
    cursor: pointer;
}
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
}
#notificationModalBody {
    max-height: 400px;
    overflow-y: auto;
}
#notificationModalBody::-webkit-scrollbar {
    width: 8px;
}
#notificationModalBody::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
#notificationModalBody::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.custom-file-upload {
    display: inline-block;
    cursor: pointer;
}
.custom-file-upload input[type="file"] {
    display: none;
}
.custom-file-label {
    margin-left: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}
.image-preview {
    max-width: 150px;
    max-height: 150px;
    object-fit: cover; /* Opcional: ajusta a imagem sem distorção */
}


.login-card {
    animation: fadeIn 0.5s ease-in-out;
}
_parser_token_continuation_        /* Ajustes para o scroll */
        body {
            margin: 0;
            padding: 0;
            height: 100vh;
            overflow: hidden;
        }
        #topNavbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
        }
        .content {
            margin-top: 70px;
            height: calc(100vh - 70px);
            overflow-y: auto;
            overflow-x: hidden;
            padding: 20px;
        }
        .container {
            width: 100%;
            padding: 0 15px;
        }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Responsividade */
@media (max-width: 768px) {
    .content {
        padding: 15px;
        margin-top: 60px;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
    .navbar-brand .logo {
        max-height: 35px;
    }
    .table {
        font-size: 0.85rem;
        width: 100%;
    }
    .table th, .table td {
        padding: 0.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .row > .col-lg-6 {
        width: 100%;
    }
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 576px) {
    .content {
        padding: 10px;
    }
    h2.mb-4 {
        font-size: 1.5rem;
    }
    .card-body {
        padding: 10px;
    }
    .table {
        font-size: 0.75rem;
    }
    .table th, .table td {
        padding: 0.5rem;
    }
    .table-responsive {
        border: none;
    }
}