﻿/* fallback */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v315/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2');
}


/* Contenedor del selector */
.navbar-nav {
    position: relative; /* IMPORTANTE */
}

    /* Dropdown de idiomas */
    .navbar-nav .dropdown-menu {
        position: absolute;
        top: 100%; /* justo debajo del botón */
        right: 0; /* alineado a la derecha */
        z-index: 1050; /* más alto que el resto del login */
    }

/* La columna derecha ocupa toda la altura */

#login-right {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.form-content {
    flex-grow: 1;
}

.login-footer {
    flex-shrink: 0;
}


/* La columna izquierda sigue fija */
.left-col {
    overflow: hidden;
}
/* Aplicar estilo del navbar al dropdown en login */
#login-right .language-switcher .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2000;
    border: 0;
    border-radius: 16px;
    box-shadow: 0px 13px 30px 10px rgba(46, 45, 116, 0.05);
    padding: 16px;
    max-height: 180px;
    overflow-y: hidden;
    overflow-x: hidden;
}

#login-right .language-switcher .dropdown-item {
    width: 100%;
    box-sizing: border-box;
}

#login-right .navbar-nav {
    overflow: visible;
}


#login-right .language-switcher {
    position: relative;
}



.login-culture-container .dropdown-menu > li > .dropdown-item {
    width: 100% !important;
    display: block !important;
    padding: 8px 12px;
    box-sizing: border-box;
}



.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-primary {
    color: #00338D !important;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mt-2 {
    margin-top: 10px;
}

.mt-8 {
    margin-top: 2rem;
}

.border-gray-300 {
    --tw-border-opacity: 1;
    border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
/* Text blue-100 de Tailwind (#DBEAFE) */
.hero-text-description {
    color: #DBEAFE !important;
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 480px;
}
/* Text blue-200/80 de Tailwind */
.hero-icon-text {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(191, 219, 254, 0.8); /* blue-200 con 80% */
    font-size: .9rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
/* === Fondo === */
.login-footer {
    background-color: #F9FAFB; /* bg-gray-50 */
    border-top: 1px solid #E5E7EB; /* border-gray-100 */
}
/* === Texto === */
.footer-content {
    color: #6B7280; /* text-gray-500 */
    font-size: 0.75rem; /* text-xs */
}
/* === Links === */
.footer-link {
    color: #6B7280; /* gray-500 */
    text-decoration: none;
    font-size: 0.75rem;
    transition: color .2s ease;
}

    .footer-link:hover {
        color: var(--primary); /* azul KPMG */
    }
/* === Spacing entre links (space-x-6 → 1.5rem) === */
.footer-links > *:not(:last-child) {
    margin-right: 1.5rem; /* 24px = Tailwind space-x-6 */
}
/* === DARK MODE === */
body.dark-mode .login-footer {
    background: rgba(30, 41, 59, 0.5); /* slate-800/50 */
    border-color: #475569; /* gray-700 */
}

body.dark-mode .footer-content {
    color: #94A3B8; /* gray-400 */
}

body.dark-mode .footer-link {
    color: #94A3B8;
}

    body.dark-mode .footer-link:hover {
        color: var(--primary);
    }
/* Paddings del formulario (idénticos a Tailwind px-8 sm:px-16 md:px-24 xl:px-32) */
.login-form-wrapper {
    max-width: 400px;
    margin: 0 !important;
    padding: 0 !important;
}

.form-padding-wrapper {
    padding-left: 32px;
    padding-right: 32px;
}
/* Default (mobile) = px-8 = 32px */
.form-padding-wrapper {
    padding-left: 32px;
    padding-right: 32px;
}
/* sm:px-16 (≥ 640px) → 64px */
@media (min-width: 640px) {
    .form-padding-wrapper {
        padding-left: 64px;
        padding-right: 64px;
    }
}
/* md:px-24 (≥ 768px) → 96px */
@media (min-width: 768px) {
    .form-padding-wrapper {
        padding-left: 96px;
        padding-right: 96px;
    }
}
/* lg:px-24 (≥ 1024px) → 96px (igual que md) */
@media (min-width: 1024px) {
    .form-padding-wrapper {
        padding-left: 96px;
        padding-right: 96px;
    }
}

.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.title-portal {
    font-size: 1.5rem; /* Tailwind text-2xl */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    transition: color .3s; /* suave para dark mode */
}

body.dark-mode .title-portal {
    color: #ffffff; /* dark:text-white */
}

.login-subtext {
    color: #6B7280; /* Tailwind text-gray-500 */
    font-size: 0.875rem; /* Tailwind text-sm */
    margin-bottom: 0.5rem; /* mb-2 equivalent (template uses mb-2, not mb-4) */
    transition: color .3s ease;
}

body.dark-mode .login-subtext {
    color: #9CA3AF; /* Tailwind dark:text-gray-400 */
}
/* -------------------------------
   PALETA KPMG
--------------------------------*/
:root {
    --primary: #00338D;
    --primary-dark: #002A73;
    --secondary: #FF4301;
    --background-dark: #0F172A;
    --card-dark: #1E293B;
    --text-light: #334155;
    --text-dark: #E2E8F0;
}

body {
    font-family: 'Inter', sans-serif;
    background: white;
    color: var(--text-light);
}

    body.dark-mode {
        background: var(--background-dark);
        color: var(--text-dark);
    }
/* -------------------------------
   COLUMNA IZQUIERDA
--------------------------------*/
.left-col {
    position: relative;
    background-color: #111827;
}

.left-col-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(0, 51, 141, 0.92), rgba(71, 10, 104, 0.85) 60%, rgba(0, 51, 141, 0.40) );
    mix-blend-mode: multiply;
}

.hero-gradient-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 51, 141, 0.8), transparent);
    opacity: .6;
}

.hero-content {
    position: absolute;
    bottom: 7rem;
    left: 4rem;
    right: 4rem;
    color: white;
}
/* Badge */
.badge-forensic {
    display: inline-block;
    padding: .3rem .9rem;
    background: rgba(99, 102, 241, 0.3);
    color: #E0E7FF;
    font-size: .7rem;
    font-weight: 600;
    border-radius: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.4);
    letter-spacing: .05em;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
}
/* -------------------------------
   COLUMNA DERECHA
--------------------------------*/
.right-col {
    background: white;
    transition: background-color .3s, color .3s;
}

body.dark-mode .right-col {
    background: var(--card-dark);
}
/* Dark toggle button */
.dark-toggle {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: .6rem;
    border-radius: 50%;
    background: white;
    color: #555;
    border: none;
    box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

body.dark-mode .dark-toggle {
    background: #1E293B;
    color: var(--text-dark);
}
/* -------------------------------
   FORMULARIO (inputs modernos)
--------------------------------*/
.input-group-text {
    background: transparent;
    border-right: none;
}

.form-control {
    padding: .75rem 1rem;
    border-radius: .75rem;
    border-left: none;
    background: transparent;
}

body.dark-mode .form-control {
    color: white;
    border-color: #475569;
}

.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(0, 51, 141, 0.25);
}
/* -------------------------------
   BOTÓN
--------------------------------*/
.btn-primary {
    background: var(--primary);
    border: none;
    padding: .85rem;
    border-radius: .75rem;
    font-weight: 600;
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }
/* -------------------------------
   FOOTER
--------------------------------*/
footer {
    border-top: 1px solid #e5e7eb;
}

body.dark-mode footer {
    background: rgba(30,41,59,.5);
    border-color: #475569;
    color: #cbd5e1;
}
/*Copia tamaños*/
/* ===== Label: text-sm + colores Tailwind ===== */
.form-label-sm {
    font-size: 0.875rem; /* text-sm (14px) */
    font-weight: 500; /* medium */
    color: #374151; /* gray-700 */
    margin-bottom: .25rem; /* mb-1 */
}

body.dark-mode .form-label-sm {
    color: #D1D5DB; /* gray-300 */
}
/* ===== Input con look Tailwind (rounded-lg, ring al focus) ===== */
.input-with-icon .input-group-text {
    background: transparent;
    border-right: none;
    padding-left: .75rem;
    padding-right: .5rem;
}

.input-with-icon .form-control {
    border-left: none;
}

.input-modern {
    padding: 0.75rem 1rem; /* py-3 px-4 */
    border-radius: .75rem; /* rounded-lg */
    font-size: 0.95rem;
    color: #111827; /* gray-900 */
    background: transparent;
    border: 1px solid #d1d5db; /* gray-300 */
}

    .input-modern::placeholder {
        color: #9CA3AF; /* gray-400 */
    }

.input-with-icon:focus-within .input-group-text,
.input-with-icon:focus-within .input-modern {
    border-color: #00338D; /* primary */
    box-shadow: 0 0 0 0.2rem rgba(0, 51, 141, 0.25); /* focus:ring-primary */
}
/* Dark mode para el input */
body.dark-mode .input-modern {
    color: #FFFFFF;
    border-color: #475569; /* slate-600 */
    background: transparent;
}

    body.dark-mode .input-modern::placeholder {
        color: #94A3B8; /* gray-400 */
    }

body.dark-mode .input-with-icon .input-group-text {
    color: #CBD5E1; /* gray-300 */
    border-color: #475569;
}
/* ===== Ícono: color y tamaño ===== */
.icon-muted {
    color: #9CA3AF; /* gray-400 */
}

    .icon-muted .material-symbols-outlined {
        font-size: 20px; /* Tailwind text-xl ~20px */
        line-height: 1;
        vertical-align: middle;
    }
/* ===== Texto de ayuda y estados ===== */
.form-text-sm {
    font-size: 0.75rem; /* text-xs */
    color: #6B7280; /* gray-500 */
    margin-top: .25rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-medium {
    font-weight: 500;
}

body.dark-mode .form-text-sm {
    color: #9CA3AF; /* gray-400 */
}
/* Estados de validación (opcional) */
.input-modern.is-invalid {
    border-color: #DC2626; /* red-600 */
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.15);
}

.input-modern.is-valid {
    border-color: #16A34A; /* green-600 */
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.15);
}
/*textbox*/

.rounded-md {
    border-radius: 0.375rem;
}

.shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
/* Contenedor relativo que imita "relative rounded-md shadow-sm" */
.input-wrapper {
    position: relative;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
/* el ícono queda ABSOLUTO, igual a tailwind */
.input-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0.75rem; /* pl-3 */
    display: flex;
    align-items: center;
    color: #9CA3AF; /* text-gray-400 */
    pointer-events: none;
}

    .input-icon .material-symbols-outlined {
        font-size: 20px;
    }
/* El input ya no usa input-group */
.input-tailwind {
    width: 88%;
    padding: .75rem 1rem;
    padding-right: 0.75rem;
    padding-left: 9%;
    border-radius: 0.75rem;
    border: 1px solid #D1D5DB;
    background: transparent;
    color: #111827;
    transition: all .2s ease;
    font-size: 0.875rem;
}

    .input-tailwind::placeholder {
        color: #9CA3AF;
    }

    .input-tailwind:focus {
        border-color: #00338D;
        box-shadow: 0 0 0 3px rgba(0,51,141,0.25) !important;
    }
/* DARK MODE */
body.dark-mode .input-tailwind {
    color: white;
    border-color: #475569;
}

    body.dark-mode .input-tailwind::placeholder {
        color: #94A3B8;
    }

body.dark-mode .input-icon {
    color: #94A3B8;
}




.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.max-w-md {
    max-width: 32rem;
}

.w-full {
    width: 100%;
}

.flex-col {
    flex-direction: column;
}

.flex-grow {
    flex-grow: 1;
}

.flex {
    display: flex;
}


@media (min-width: 640px) {
    .sm\:px-16 {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 768px) {
    .md\:px-24 {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-24 {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.block {
    display: block;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-y-0 {
    top: 0px;
    bottom: 0px;
}

.left-0 {
    left: 0px;
}

.pl-3 {
    padding-left: 0.75rem;
}

.top-6 {
    top: 1.5rem;
}

.right-6 {
    right: 1.5rem;
}

.pointer-events-none {
    pointer-events: none;
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pr-3 {
    padding-right: 0.75rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .sm\:text-sm {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

.bg-transparent {
    background-color: transparent;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.ml-2 {
    margin-left: 0.5rem;
}

.h-4 {
    height: 1rem;
}

.w-4 {
    width: 1rem;
}

[type='checkbox'], [type='radio'] {
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    print-color-adjust: exact;
    display: inline-block;
    vertical-align: middle;
    background-origin: border-box;
    -webkit-user-select: none;
    user-select: none;
    flex-shrink: 0;
    height: 1rem;
    width: 1rem;
    color: #2563eb;
    background-color: #fff;
    border-color: #6b7280;
    border-width: 1px;
    --tw-shadow: 0 0 #0000;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

.font-bold {
    font-weight: 700;
}

.p-2 {
    padding: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none;
}

button, select {
    text-transform: none;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

.pt-6 {
    padding-top: 1.5rem;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-100 {
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.text-center {
    text-align: center;
}
/* COMPACT MODE INTERMEDIO → punto medio */
@media (max-height: 600px) {
    /* ----------- TITULOS ----------- */
    .text-4xl {
        font-size: 1.4rem !important;
        line-height: 1.5rem !important;
    }

    .text-2xl {
        font-size: 1.08rem !important;
        line-height: 1.35rem !important;
    }

    h1.text-4xl {
        margin-bottom: 0.6rem !important;
    }

    h1.text-2xl {
        margin-bottom: 0.4rem !important;
    }

    .text-gray-500,
    .login-subtext {
        font-size: 0.80rem !important;
    }
    /* ----------- FORM GENERAL ----------- */
    .form-padding-wrapper {
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .space-y-6 > *:not([hidden]) ~ *:not([hidden]) {
        margin-top: 0.85rem !important;
    }

    .mb-10,
    .mb-8,
    .mb-3 {
        margin-bottom: 0.6rem !important;
    }
    /* ----------- LABELS ----------- */
    .form-label-sm {
        font-size: 0.75rem !important;
        margin-bottom: 0.22rem !important;
    }
    /* ----------- INPUT + ICON ----------- */
    .input-tailwind {
        padding: 0.52rem 0.75rem !important;
        padding-left: 2.1rem !important;
        font-size: 0.78rem !important;
        padding-right: 30px !important;
    }

    .input-icon .material-symbols-outlined {
        font-size: 17px !important;
    }

    .input-icon {
        left: 0.50rem !important;
    }
    /* ----------- BOTÓN ----------- */
    .btn-primary {
        padding: 0.63rem !important;
        font-size: 0.80rem !important;
        border-radius: 0.55rem !important;
    }
    /* ----------- CHECKBOX + ENLACES ----------- */
    .text-sm {
        font-size: 0.78rem !important;
    }

    #remember {
        width: 0.85rem !important;
        height: 0.85rem !important;
    }
    /* ----------- REDUCE FORM VERTICALMENTE ----------- */
    .flex-grow {
        flex-grow: 0 !important;
    }
}


/* ----    COOKIES CSS START   ---- */

/* Paleta SOLO para el banner */
#cookie-consent-overlay {
    --kpmg-primary: #00338D;
    --kpmg-primary-dark: #002A73;
    --kpmg-text-light: #ffffff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
}

    /* Banner */
    #cookie-consent-overlay #cookie-consent-banner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
        background-color: color-mix( in srgb, var(--kpmg-primary) 60%, transparent );
        color: var(--kpmg-text-light);
    }

    /* Texto */
    #cookie-consent-overlay .cookie-text {
        max-width: 600px;
        font-size: 0.875rem;
        line-height: 1.4;
    }

    /* Acciones */
    #cookie-consent-overlay .cookie-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Botón light SOLO del banner */
    #cookie-consent-overlay .kpmg-btn-light {
        background: #f9fafb;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        font-weight: 600;
        padding: 8px 14px;
        font-size: 14px;
        color: #111827;
        text-decoration: none;
    }

        #cookie-consent-overlay .kpmg-btn-light:hover {
            background: #e0e1e3;
        }

    /* Botón primario SOLO del banner */
    #cookie-consent-overlay .btn-primary {
        background-color: var(--kpmg-primary);
        border: 1px solid var(--kpmg-primary);
        color: #ffffff;
        border-radius: 8px;
        padding: 8px 14px;
        font-weight: 700;
        font-size: 14px;
    }

        #cookie-consent-overlay .btn-primary:hover {
            background: #002a74;
            color: #e5e7eb;
        }


    /* Tamaño pequeño SOLO del banner */
    #cookie-consent-overlay .btn-sm {
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
    }

/* ----    COOKIES CSS END   ---- */

.text-danger.validation-summary-errors ul {
    margin-bottom: 3px !important;
    font-size:14px !important;
}

.text-danger.field-validation-error {
    font-size: 14px !important;
}

/* Botón light SOLO del banner */
.kpmg-btn-light {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 14px;
    font-size: 14px;
    color: #111827;
    text-decoration: none;
}

    .kpmg-btn-light:hover {
        background: #e0e1e3;
    }
