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

:root {
    --azul-profundo: #061d33;
    --azul-base: #0b2f4f;
    --azul-claro: #155b92;
    --dorado: #f0bd65;
    --texto: #f5f8fc;
    --texto-suave: #bac8d6;
    --texto-oscuro: #0b2f4f;
    --texto-gris: #667789;
    --borde-claro: #c8d6e2;
    --borde: rgba(150, 190, 225, .38);
}

body {
    min-height: 100vh;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--texto);
    background:
        radial-gradient(circle at 50% 0%, rgba(32, 100, 154, .34), transparent 38%),
        radial-gradient(circle at 12% 92%, rgba(44, 112, 166, .26), transparent 34%),
        linear-gradient(135deg, #06192b 0%, #082744 45%, #06172a 100%);
}

.empleados-login {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
}

.empleados-login::before,
.empleados-login::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.empleados-login::before {
    left: 50%;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.empleados-login::after {
    left: 50%;
    background: radial-gradient(circle at 50% 50%, transparent 0 36%, rgba(0, 0, 0, .2) 100%);
}

.marca-agua {
    position: absolute;
    left: auto;
    right: 5vw;
    bottom: -58px;
    width: min(38vw, 520px);
    min-width: 320px;
    opacity: .1;
    filter: grayscale(1) brightness(2);
    pointer-events: none;
    z-index: 1;
}

.marca-agua img {
    width: 100%;
    height: auto;
    display: block;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 50%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px clamp(34px, 6vw, 88px);
    border-right: 1px solid rgba(9, 43, 73, .08);
    background: #ffffff;
    color: var(--texto-oscuro);
    box-shadow: 20px 0 60px rgba(0, 0, 0, .2);
}

.login-card > * {
    width: min(100%, 470px);
    margin-left: auto;
    margin-right: auto;
}

.login-brand {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 126px;
    height: auto;
    margin-bottom: 8px;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .26));
}

.login-brand h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 6vw, 3rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--texto-oscuro);
}

.login-brand p {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    padding-bottom: 18px;
    color: #b47a20;
    font-size: .98rem;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.login-brand p::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 44px;
    height: 1px;
    background: var(--dorado);
    transform: translateX(-50%);
}

.login-form {
    display: grid;
    gap: 22px;
}

.form-group {
    display: grid;
    gap: 10px;
}

.form-group label {
    font-size: 1rem;
    font-weight: 650;
    color: #173d5f;
}

.form-group label span {
    font-weight: 400;
    color: var(--texto-gris);
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--borde-claro);
    border-radius: 9px;
    background: #f7fbff;
    color: var(--texto-oscuro);
    font: inherit;
    font-size: 1rem;
    outline: none;
    padding: 0 18px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group input::placeholder {
    color: #8798a8;
}

.form-group select {
    appearance: none;
    color: var(--texto-gris);
    background-image:
        linear-gradient(45deg, transparent 50%, var(--texto-oscuro) 50%),
        linear-gradient(135deg, var(--texto-oscuro) 50%, transparent 50%);
    background-position:
        calc(100% - 24px) 24px,
        calc(100% - 16px) 24px;
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
}

.form-group select option {
    color: #0b2f4f;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #1b669c;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(27, 102, 156, .12);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 58px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.eye-icon,
.eye-icon::before {
    position: absolute;
    display: block;
}

.eye-icon {
    top: 50%;
    left: 50%;
    width: 24px;
    height: 16px;
    border: 2px solid #51708c;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.eye-icon::before {
    content: "";
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #51708c;
    transform: translate(-50%, -50%);
}

.remember-option {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 10px;
    color: var(--texto-gris);
    font-size: .95rem;
    cursor: pointer;
}

.remember-option input {
    width: 18px;
    height: 18px;
    accent-color: #1d679f;
}

.submit-button {
    min-height: 58px;
    margin-top: 2px;
    border: 1px solid rgba(52, 139, 206, .54);
    border-radius: 9px;
    background: linear-gradient(180deg, #1d6ca7 0%, #0b4d80 100%);
    color: white;
    font: inherit;
    font-size: 1.12rem;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.submit-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .26);
}

.support-box {
    margin-top: 34px;
    text-align: center;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b47a20;
    font-size: 1rem;
    font-weight: 650;
    text-decoration: none;
}

.support-icon {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    border-radius: 50%;
}

.support-icon::before,
.support-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
}

.support-icon::before {
    left: -4px;
    bottom: -3px;
    width: 6px;
    height: 10px;
    border-radius: 3px;
}

.support-icon::after {
    right: -6px;
    bottom: -6px;
    width: 11px;
    height: 2px;
    border-radius: 99px;
}

.support-box p {
    margin-top: 8px;
    color: var(--texto-gris);
    font-size: .92rem;
}

.employee-link  {
    color:var(--texto-gris);
    text-decoration:none;
    cursor:default;
}

.employee-link:hover{
    color:#1d6ca7;
    cursor:pointer;
}


@media (max-width: 900px) {
    .empleados-login {
        min-height: 100vh;
        display: block;
        background:
            radial-gradient(circle at 50% 0%, rgba(32, 100, 154, .34), transparent 38%),
            linear-gradient(135deg, #06192b 0%, #082744 48%, #06172a 100%);
    }

    .empleados-login::before,
    .empleados-login::after,
    .marca-agua {
        display: none;
    }

    .login-card {
        width: 100%;
        min-height: 100vh;
        box-shadow: none;
        border-right: 0;
    }
}

@media (max-width: 640px) {
    .empleados-login {
        padding: 0;
    }

    .login-card {
        padding: 38px 22px 30px;
    }

    .login-logo {
        width: 106px;
    }

    .login-brand {
        margin-bottom: 26px;
    }

    .login-brand p {
        font-size: .78rem;
        letter-spacing: .2em;
    }

    .form-group input,
    .form-group select {
        min-height: 52px;
        font-size: .95rem;
    }
}
