/* variables de colores institucionales de FUSALMO */
:root {
    --on-tertiary-fixed: #000f5c;
    --surface-bright: #f7f9fb;
    --surface-dim: #d8dadc;
    --secondary-container: #ffd64f;
    --surface-container-high: #e6e8ea;
    --surface-container-lowest: #ffffff;
    --error-container: #ffdad6;
    --on-error: #ffffff;
    --error: #ba1a1a;
    --on-surface: #191c1e;
    --surface-variant: #e0e3e5;
    --on-secondary-fixed-variant: #564500;
    --outline-variant: #c4c6d1;
    --tertiary: #001369;
    --background: #f7f9fb;
    --inverse-surface: #2d3133;
    --primary: #001e4f;
    --warning-orange: #F59E0B;
    --on-background: #191c1e;
    --on-error-container: #93000a;
    --primary-fixed: #d9e2ff;
    --on-surface-variant: #444650;
    --primary-fixed-dim: #afc6ff;
    --success-green: #10B981;
    --inverse-primary: #afc6ff;
    --secondary-fixed-dim: #eac33d;
    --surface-tint: #425d98;
    --on-primary-fixed: #001944;
    --on-primary-container: #839ede;
    --surface: #f7f9fb;
    --on-primary-fixed-variant: #28457f;
    --error-red: #EF4444;
    --deep-navy: #00008B;
    --tertiary-container: #0022a0;
    --on-tertiary: #ffffff;
    --on-secondary-fixed: #231b00;
    --tertiary-fixed-dim: #bac3ff;
    --on-primary: #ffffff;
    --primary-container: #14346d;
    --outline: #747781;
    --on-tertiary-container: #8697ff;
    --inverse-on-surface: #eff1f3;
    --on-secondary-container: #735d00;
    --secondary: #735c00;
    --secondary-fixed: #ffe083;
    --surface-container-highest: #e0e3e5;
    --on-secondary: #ffffff;
    --on-tertiary-fixed-variant: #002ecb;
    --surface-container-low: #f2f4f6;
    --surface-container: #eceef0;
    --tertiary-fixed: #dee0ff;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
}

/* Tipografía de títulos */
.font-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.auth-bg {
    background-image: linear-gradient(rgba(0, 30, 79, 0.8), rgba(0, 30, 79, 0.6)), url('https://lh3.googleusercontent.com/aida/AP1WRLsTcx6sLX5kIrEzjj4hG8TX_IIfBoscPix3lfBwQ0Q5372-8qohwBi7pAWuvUklkcXyxhaYH5zQE9oBB3cXSuS1EADNcQ9ppAwNMMeLY6etWVxHWt5Ulcf44H3AVtjpCr57ttIamApbRQ2y5Y4C_nIBlEZkXzphixdyng8H5O8z92q2fyJRfAouriiA9vKaJ0A9NicSXXQYJp-T9LAIqv6m4js4NXUibfyjQx-b8oqHx4ZDKkpijPqaTPJg');
    background-size: cover;
    background-position: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Estilos de inputs enfocados */
.form-control-custom {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--outline-variant);
    background-color: var(--surface-container-lowest);
    color: var(--on-surface);
    transition: all 0.2s ease-in-out;
}

.form-control-custom:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 30, 79, 0.15) !important;
    background-color: var(--surface-container-lowest);
    outline: none;
}

/* Estilos de botones personalizados */
.btn-primary-custom {
    background-color: var(--primary);
    color: var(--on-primary);
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 600;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-in-out;
}

.btn-primary-custom:hover {
    background-color: var(--primary-container);
    color: var(--on-primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary-custom:active {
    transform: scale(0.98);
}

/* Colores de soporte */
.text-primary-custom {
    color: var(--primary);
}

.text-primary-custom:hover {
    color: var(--primary-container);
    text-decoration: underline;
}

.text-muted-custom {
    color: var(--on-surface-variant);
}

.bg-primary-container-custom {
    background-color: var(--primary-container);
}

/* Textura sutil en branding */
.branding-texture {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33.33%;
    opacity: 0.15;
    background-image: repeating-linear-gradient(45deg, #fff, #fff 1px, transparent 1px, transparent 10px);
}

.radial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: radial-gradient(circle at center, #ffffff to transparent);
}
