/* 
   SISTEMA DE DISEÑO VIÁTICOS - GRUMEXSA 2026
   MODO: SLIM & HIGH CONTRAST (PRODUCCIÓN)
*/

:root {
    --navy-blue: #13266b;
    --navy-bright: #1e3a8a;
    --accent-blue: #3b82f6;
    --text-main: #0f172a;
    --text-muted: #334155;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --border-strong: #94a3b8;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* OVERRIDE ESTRICTO PARA ETIQUETAS "REBELDES" DEL NAVEGADOR */
input, select, textarea, button, table, th, td {
    font-family: 'Montserrat', sans-serif !important;
}

/* --- NAVBAR SLIM --- */
.top-navbar {
    background: #ffffff;
    border-bottom: 2px solid var(--navy-blue);
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo-img {
    height: 35px;
}

.pill-text {
    background: var(--navy-blue);
    padding: 6px 18px;
    border-radius: 6px;
    color: #ffffff;
}

.pill-text h1 {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- CONTENEDOR PRINCIPAL --- */
.container {
    max-width: 1250px;
    margin: 0 auto;
    width: 100%;
    padding: 20px 40px 0 40px;
    flex: 1;
}

/* --- CONTENEDOR SLIM (SPLIT PAGE) --- */
.split-page {
    display: flex;
    flex: 1;
    margin: 20px 40px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.branding-side {
    background: var(--navy-blue);
    color: var(--white);
    display: flex;
    flex-direction: column;
    padding: 80px;
    justify-content: center;
}

.login-side {
    background: var(--white);
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* --- BOTÓN PREMIUM CON GRADIENTE --- */
.btn-main-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #13266b 50%, #0f1f52 100%);
    color: var(--white);
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(19, 38, 107, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-main-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-main-cta:hover::before {
    left: 100%;
}

.btn-main-cta:hover {
    background: linear-gradient(135deg, #2545a0 0%, #1a3280 50%, #13266b 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(19, 38, 107, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-main-cta:active {
    transform: translateY(-1px);
}

/* --- BOTÓN SECUNDARIO (VARIANTES) --- */
.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #13266b 50%, #0f1f52 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(19, 38, 107, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2545a0 0%, #1a3280 50%, #13266b 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 38, 107, 0.35);
}

/* --- BOTONES PEQUEÑOS (TABLAS) --- */
.btn-primary[style*="padding: 5px"],
.btn-sm {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(19, 38, 107, 0.2) !important;
}

/* --- INPUTS CON CONTRASTE --- */
.input-premium {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    /* Borde más oscuro */
    padding-left: 45px;
    font-family: inherit;
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #ffffff;
}

.input-premium:focus {
    border-color: var(--navy-blue);
    outline: none;
}

/* --- FOOTER MODERN (AZUL MARINO - PEGADO AL FONDO) --- */
.footer-modern {
    background: var(--navy-blue);
    color: #ffffff;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 8px;
}