/** Antecit derechos reservados
 * Descripción del desarrollo: Estilos de Sesion sobre el tema Able Pro (Tema.css, TemaPreset.css) con preset-8, auth-wrapper v3 */

:root {
    --bs-font-sans-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--bs-font-sans-serif);
    background: var(--bs-body-bg);
}

.auth-main .auth-wrapper.v3 {
    background: var(--bs-card-bg, #fff);
}

[data-pc-theme=dark] .auth-main .auth-wrapper.v3 {
    background: var(--bs-body-bg);
}

[data-pc-theme=dark] .auth-main .auth-wrapper.v3 .auth-form .card {
    background: transparent;
}

.auth-main .auth-wrapper.v3 .auth-form .card {
    max-width: 440px;
}

.esv-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 3px;
}

.esv-btn-tema {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Ver contraseña */
.esv-password {
    position: relative;
}

.esv-password .form-control {
    padding-right: 3rem;
}

.esv-ver-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--bs-secondary-color, #5b6b79);
    z-index: 5;
}

.esv-ver-password:hover {
    color: var(--bs-primary);
    background: rgba(44, 168, 127, .08);
}

.esv-codigo-input {
    letter-spacing: .5em;
    font-weight: 600;
}

/* Vistas */
.esv-vista {
    animation: esv-vista .35s ease;
}

@keyframes esv-vista {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* Panel lateral */
.esv-lado {
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255, 255, 255, .18), transparent 70%),
        linear-gradient(150deg, #075e54 0%, #128c7e 50%, #2ca87f 100%) !important;
}

.esv-lado::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    z-index: 1;
}

.esv-lado-icono {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .25);
}

.esv-lado h2 {
    font-size: 2rem;
    line-height: 1.2;
}

.esv-lado-texto {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
}

.esv-lado-chip {
    font-weight: 500;
    padding: 8px 12px;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
}

.esv-lado .carousel-indicators [data-bs-target] {
    background-color: #fff;
}

/* Notificaciones (Plataforma.js) */
.esv-toasts {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 2000;
}

@media (prefers-reduced-motion: reduce) {
    .esv-vista {
        animation: none;
    }
}
