/* Estilos personalizados para cambiar el color principal a #022b68 */

/* Navbar principal */
.navbar-dark.bg-primary {
    background-color: #022b68 !important;
}

/* Botones primarios */
.btn-primary {
    background-color: #022b68 !important;
    border-color: #022b68 !important;
}

.btn-primary:hover {
    background-color: #021f4d !important;
    border-color: #021f4d !important;
}

.btn-primary:focus {
    background-color: #021f4d !important;
    border-color: #021f4d !important;
    box-shadow: 0 0 0 0.25rem rgba(2, 43, 104, 0.25) !important;
}

.btn-primary:active {
    background-color: #021a42 !important;
    border-color: #021a42 !important;
}

/* Botones outline primarios */
.btn-outline-primary {
    color: #022b68 !important;
    border-color: #022b68 !important;
}

.btn-outline-primary:hover {
    background-color: #022b68 !important;
    border-color: #022b68 !important;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 43, 104, 0.25) !important;
}

/* Badges primarios */
.badge.bg-primary {
    background-color: #022b68 !important;
}

/* Enlaces de paginación */
.pagination .page-link {
    color: #022b68 !important;
}

.pagination .page-item.active .page-link {
    background-color: #022b68 !important;
    border-color: #022b68 !important;
}

.pagination .page-link:hover {
    color: #021f4d !important;
}

/* Formularios */
.form-control:focus {
    border-color: #022b68 !important;
    box-shadow: 0 0 0 0.25rem rgba(2, 43, 104, 0.25) !important;
}

.form-select:focus {
    border-color: #022b68 !important;
    box-shadow: 0 0 0 0.25rem rgba(2, 43, 104, 0.25) !important;
}

/* Dropdown */
.dropdown-item:active {
    background-color: #022b68 !important;
}

/* Alertas primarias */
.alert-primary {
    color: #022b68 !important;
    background-color: #e6e9f0 !important;
    border-color: #b3bdd9 !important;
}

/* Estilos para hacer la interfaz más compacta */

/* Reducir tamaño de fuente general */
body {
    font-size: 0.875rem; /* 14px en lugar de 16px */
}

/* Navbar más compacto */
.navbar {
    padding: 0.5rem 1rem; /* Reducir padding */
    min-height: 3rem; /* Altura mínima más pequeña */
}

.navbar-brand {
    font-size: 1.1rem; /* Reducir tamaño del logo */
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 0.875rem; /* Reducir tamaño de enlaces */
    padding: 0.5rem 0.75rem; /* Reducir padding */
}

/* Títulos más pequeños */
h1 {
    font-size: 1.75rem; /* Reducir de 2.5rem */
    margin-bottom: 1rem; /* Reducir margen */
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Cards más compactas */
.card {
    margin-bottom: 1rem; /* Reducir margen */
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1rem; /* Reducir padding */
    font-size: 0.875rem;
}

.card-body {
    padding: 1rem; /* Reducir padding */
}

/* Tablas más compactas */
.table {
    font-size: 0.875rem; /* Reducir tamaño de fuente */
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
    padding: 0.5rem 0.75rem; /* Reducir padding */
    font-size: 0.8rem; /* Títulos de tabla más pequeños */
    font-weight: 600;
}

.table td {
    padding: 0.5rem 0.75rem; /* Reducir padding */
    vertical-align: middle;
}

/* Botones más pequeños */
.btn {
    font-size: 0.875rem; /* Reducir tamaño de fuente */
    padding: 0.375rem 0.75rem; /* Reducir padding */
}

.btn-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

/* Formularios más compactos */
.form-label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem; /* Reducir margen */
}

.form-control, .form-select {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem; /* Reducir padding */
}

.form-control-sm, .form-select-sm {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

/* Espaciado general más compacto */
.container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.col, [class*="col-"] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Márgenes y padding más pequeños */
.mb-4 {
    margin-bottom: 1.5rem !important; /* Reducir de 2rem */
}

.mb-3 {
    margin-bottom: 1rem !important; /* Reducir de 1.5rem */
}

.mb-2 {
    margin-bottom: 0.5rem !important; /* Reducir de 1rem */
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

/* Paginación más compacta */
.pagination {
    font-size: 0.875rem;
}

.pagination .page-link {
    padding: 0.375rem 0.75rem;
}

/* Badges más pequeños */
.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Dropdown más compacto */
.dropdown-menu {
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.375rem 1rem;
}

/* Alertas más compactas */
.alert {
    border-radius: 0.375rem;
    padding: 0.75rem 1rem; /* Reducir padding */
    font-size: 0.875rem;
}

/* Display classes más pequeños */
.display-6 {
    font-size: 2rem; /* Reducir de 2.5rem */
    font-weight: 300;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        font-size: 0.8rem;
    }
    
    .table {
        font-size: 0.8rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
} 