/* CSS COMÚN - Estilos compartidos entre páginas */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    height: 100vh;
    overflow: hidden;
    font-size: 18px; /* Aumentado el tamaño base de fuente */
}

/* HEADER COMÚN */
.main-header {
    background: linear-gradient(135deg, rgba(0, 64, 113, 0.85) 0%, rgba(0, 90, 158, 0.9) 50%, rgba(0, 64, 113, 0.85) 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    border-bottom: 3px solid transparent;
    background-clip: padding-box;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 80%, 
        transparent 100%);
    animation: headerShine 4s ease-in-out infinite;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

@keyframes headerShine {
    0%, 100% {
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.1) 20%, 
            rgba(255, 255, 255, 0.3) 50%, 
            rgba(255, 255, 255, 0.1) 80%, 
            transparent 100%);
        box-shadow: 
            0 0 10px rgba(255, 255, 255, 0.3),
            0 0 20px rgba(255, 255, 255, 0.2),
            0 0 30px rgba(255, 255, 255, 0.1);
    }
    50% {
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 255, 255, 0.2) 20%, 
            rgba(255, 255, 255, 0.5) 50%, 
            rgba(255, 255, 255, 0.2) 80%, 
            transparent 100%);
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.5),
            0 0 30px rgba(255, 255, 255, 0.3),
            0 0 45px rgba(255, 255, 255, 0.2);
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.logo-header {
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.header-title {
    font-size: 32px; /* Aumentado de 24px a 32px */
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.header-title::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.1));
    border-radius: 4px;
    z-index: -1;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px; /* Aumentado de 18px a 24px */
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* FOOTER COMÚN */
.main-footer {
    background: linear-gradient(135deg, rgba(0, 64, 113, 0.9) 0%, rgba(0, 90, 158, 0.95) 50%, rgba(0, 64, 113, 0.9) 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
}

.footer-left,
.footer-center,
.footer-right {
    text-align: center;
    font-size: 18px; /* Aumentado de 14px a 18px */
    line-height: 1.4;
}

/* UTILIDADES COMUNES */
.section-title {
    font-size: 24px; /* Aumentado de 18px a 24px */
    font-weight: 600;
    color: #004071;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #004071, #005a9e);
    border-radius: 2px;
}

/* RESPONSIVE COMÚN */
@media (max-width: 768px) {
    .header-title {
        font-size: 24px;
    }
    
    .header-right {
        font-size: 18px;
    }
    
    .main-footer {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        font-size: 16px;
    }
} 