/* Estilos personalizados del Sistema de Gestión de Flotas */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.3rem;
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.table {
    background-color: white;
}

.alert {
    border: none;
    border-radius: 0.5rem;
}

.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}

/* Dashboard cards */
.dashboard-card {
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

/* Forms */
.form-label {
    font-weight: 600;
    color: #495057;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Tables */
.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Ajustes de Responsividad para la Barra de Navegación */
@media (min-width: 992px) {
    .navbar-nav {
        flex-wrap: wrap !important;
        align-items: center;
    }
    .navbar-nav .nav-link {
        font-size: 0.85rem !important;
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
    }
}
