
html, body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: #f4f6f9;
    color: #2c2c2c;
    margin: 0;
    padding: 0;
}

a, .btn-link {
    color: #1f6feb;
    text-decoration: none;
}

    a:hover, .btn-link:hover {
        color: #0a58ca;
        text-decoration: underline;
    }

.btn-primary {
    background-color: #0c4899;
    border-color: #3B87DD;
    border: 2px solid rgba(0, 0, 0, 0);
    color: white;
}

    .btn-primary:hover {
        background-color: #4886d9;
        color: #fff;
        border-color: rgba(0,0,0,0)
    }

input.form-control, .form-control {
    border-radius: 0.375rem;
    border: 1px solid #ccc;
    padding: 0.5rem;
}

    input.form-control:focus, .form-control:focus {
        border-color: #1f6feb;
        box-shadow: 0 0 0 0.15rem rgba(31, 111, 235, 0.25);
        outline: none;
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.container {
    padding-top: 2rem;
}

.validation-message {
    color: #dc3545;
    font-size: 0.875rem;
}

.valid.modified:not([type=checkbox]) {
    border: 1px solid #198754;
}

.invalid {
    border: 1px solid #dc3545;
}

.modal-content {
    border-radius: 0.5rem;
  
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}
.nav-link .bi {
    font-size: 1.2rem;      
    vertical-align: middle; 
    margin-right: 0.5rem;   
}
body {
    background: linear-gradient( rgba(230, 242, 255, 0.3), rgba(230, 242, 255, 0.3) ), url('/temp_wallpaper.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.page-section {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #dee2e6;
}

/* Tabla general */
/* Reset estilo de Bootstrap para filas striped si quedara algo residual */
table.table-striped tbody tr:nth-of-type(odd),
table.table-striped tbody tr:nth-of-type(even) {
    --bs-table-accent-bg: transparent;
}

/* Alternancia de filas personalizada */
table tbody tr:nth-child(odd) td {
    background-color: #f8fbfd;
}
table tbody tr:hover td {
    background-color: #d6efff;
}

table tbody tr:nth-child(even) td {
    background-color: #eaf5fb;
}

table {
    background-color: #f8fbfd;
    color: #1a2c3b;
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}

/* Encabezados */
th {
    background-color: #d0e7f9;
    color: #0d1a26;
    padding: 14px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #b0d3ea;
}

/* Celdas */
td {
    background-color: #f8fbfd;
    padding: 12px;
    border-bottom: 1px solid #e2f0f7;
}

/* Filas alternas para mejorar legibilidad */
tr:nth-child(even) td {
    background-color: #eaf5fb;
}

/* Opcional: sombreado al pasar el ratón */
tr:hover td {
    background-color: #d6efff;
}


.card-metric {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

    .card-metric:hover {
        transform: translateY(-5px);
    }

.metric-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.metric-value {
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
}

.metric-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}