/* =========================================================
   Acceso al panel — FSG UI Kit 2.4
   Tokens tomados de fsg-core.css (:root). El login.css del blueprint
   (paleta #4a6fa5) se conserva sin cambios y no se usa aquí.
   ========================================================= */

:root {
    --navy: #060821;
    --blue: #0D5CA7;
    --blue-hover: #0A4A86;
    --red: #DD2928;
    --white: #FFFFFF;
    --n-50: #F7F8FB;
    --n-100: #EDEFF4;
    --n-200: #DDE1EA;
    --n-300: #C2C8D6;
    --n-500: #6B7385;
    --n-700: #363D4F;
    --r-md: 12px;
    --r-lg: 16px;
    --shadow-lg: 0 18px 50px rgba(6, 8, 33, .18);
    --font-head: 'Raleway', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.fsg-acceso {
    margin: 0;
    min-height: 100vh;
    background: var(--n-50);
    font-family: var(--font-body);
    color: var(--n-700);
}

.fsg-acceso__contenedor {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.fsg-acceso__tarjeta {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--blue);
    padding: 40px 32px 28px;
}

/* -------- Encabezado -------- */
.fsg-acceso__encabezado {
    text-align: center;
    margin-bottom: 28px;
}

.fsg-acceso__logo {
    max-width: 170px;
    height: auto;
    margin-bottom: 18px;
}

.fsg-acceso__titulo {
    margin: 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy);
}

.fsg-acceso__subtitulo {
    margin: 4px 0 0;
    font-size: .9rem;
    color: var(--n-500);
}

/* -------- Alerta -------- */
.fsg-acceso__alerta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: #FCE9E9;
    color: var(--red);
    font-size: .88rem;
    font-weight: 600;
}

/* -------- Campos -------- */
.fsg-acceso__campo {
    margin-bottom: 18px;
}

.fsg-acceso__etiqueta {
    display: block;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--n-700);
}

.fsg-acceso__control {
    position: relative;
}

.fsg-acceso__icono {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--n-300);
    font-size: .9rem;
    pointer-events: none;
}

.fsg-acceso__input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--n-200);
    border-radius: var(--r-md);
    background: var(--white);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--navy);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.fsg-acceso__input--con-boton {
    padding-right: 44px;
}

.fsg-acceso__input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(13, 92, 167, .18);
}

.fsg-acceso__ver {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: var(--n-500);
    cursor: pointer;
}

.fsg-acceso__ver:hover,
.fsg-acceso__ver:focus-visible {
    color: var(--blue);
}

/* -------- Botón -------- */
.fsg-acceso__boton {
    width: 100%;
    margin-top: 6px;
    padding: 12px 16px;
    border: 0;
    border-radius: var(--r-md);
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .2px;
    cursor: pointer;
    transition: background-color .2s ease, transform .1s ease;
}

.fsg-acceso__boton:hover {
    background: var(--blue-hover);
}

.fsg-acceso__boton:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 92, 167, .3);
}

.fsg-acceso__boton:active {
    transform: translateY(1px);
}

/* -------- Pie -------- */
.fsg-acceso__pie {
    margin: 24px 0 0;
    text-align: center;
    font-size: .78rem;
    color: var(--n-500);
}
