/* DIAGNÓSTICO - Forzar colores sólidos */
.navbar {
    background-color: #1e3a8a !important;
    background-image: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

footer {
    background-color: #0f2b5c !important;
    background-image: none !important;
}

/* El resto de estilos se mantienen igual */
:root {
    --primary: #1e3a8a;
    --primary-dark: #0f2b5c;
    --primary-light: #3b82f6;
    --light-bg: #f0f9ff;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius-card: 1.25rem;
    --border-radius-button: 2rem;
}

* {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.5;
}

.navbar .navbar-brand .escudo {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
    transition: transform 0.2s;
}

.navbar .navbar-brand .escudo:hover {
    transform: scale(1.03);
}

.navbar .brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    border-radius: var(--border-radius-button);
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}

.navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

.navbar .nav-link i {
    margin-right: 0.4rem;
}

.btn-outline-light {
    border-radius: var(--border-radius-button);
    border-width: 2px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary-light);
    border: none;
    border-radius: var(--border-radius-button);
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-sm);
}

.card {
    background: var(--card-bg);
    border: none;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card .card-header {
    background: rgba(59, 130, 246, 0.05);
    border-bottom: 1px solid #e2e8f0;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.card .card-body {
    padding: 1.5rem;
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1;
    padding: 0.7rem 1rem;
    transition: 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.hero-section {
    background: linear-gradient(120deg, var(--primary), var(--primary-light));
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn-outline-primary {
    border-radius: var(--border-radius-button);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.btn-outline-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: #f1f5f9;
    color: var(--primary-dark);
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}

.table tbody tr:hover {
    background: #f8fafc;
}

footer {
    background-color: #0f2b5c !important;
    color: #cbd5e1;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

footer a {
    color: #bae6fd;
    text-decoration: none;
    transition: 0.2s;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .navbar .nav-link {
        padding: 0.4rem 0.8rem;
    }
}