/* ===== Login Sánchez Park ===== */
.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: #05091f;
}

.login-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #05091f;
}

.login-stage .bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px) saturate(1.15) brightness(0.92);
    transform: scale(1.04);
}

.login-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 15%, rgba(0, 234, 255, 0.10), transparent 45%),
        radial-gradient(ellipse at 78% 22%, rgba(255, 47, 214, 0.10), transparent 45%),
        linear-gradient(180deg, rgba(4, 8, 24, 0.55) 0%, rgba(4, 8, 24, 0.25) 50%, rgba(2, 2, 10, 0.78) 100%);
}

.login-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.login-panel {
    position: relative;
    border-radius: 22px;
    padding: 2.75rem 2.4rem 2.2rem;
    background: linear-gradient(175deg, rgba(13, 22, 58, 0.86), rgba(7, 10, 34, 0.92));
    border: 1px solid rgba(120, 160, 255, 0.14);
    box-shadow:
        0 0 28px rgba(0, 234, 255, 0.22),
        0 0 70px rgba(123, 47, 247, 0.22),
        0 30px 70px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: panelIn .65s cubic-bezier(.2, .8, .25, 1) both;
}

/* Borde degradado neón */
.login-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.6px;
    background: linear-gradient(140deg, #00eaff 0%, #7b2ff7 40%, #ff2fd6 75%, #ffb703 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: .9;
}

@keyframes panelIn {
    from { opacity: 0; transform: translateY(22px) scale(.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Marca */
.login-brand { text-align: center; margin-bottom: 1.4rem; }

.login-name {
    margin: 0;
    font-size: clamp(2.1rem, 6vw, 2.8rem);
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
    color: #f4fbff;
    text-shadow:
        0 0 10px rgba(0, 234, 255, .85),
        0 0 26px rgba(0, 150, 255, .8),
        0 0 60px rgba(0, 119, 255, .55);
}

.login-name .accent {
    display: block;
    font-size: clamp(1.7rem, 5vw, 2.3rem);
    margin-top: .2rem;
    letter-spacing: .42em;
    background: linear-gradient(90deg, #ffe66d, #ffd700 45%, #ff9f1c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, .9)) drop-shadow(0 0 26px rgba(255, 47, 214, .65));
}

.login-welcome {
    margin: 1.15rem 0 .15rem;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-align: center;
    color: #d9ecff;
    text-shadow: 0 0 12px rgba(120, 200, 255, .75);
}

.login-subtitle {
    margin: 0 0 1.7rem;
    font-size: .8rem;
    letter-spacing: .08em;
    text-align: center;
    color: #9fb3d9;
    text-transform: uppercase;
}

/* Campos */
.login-field {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1rem;
    padding: .78rem .95rem;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(9, 14, 44, .78);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.login-field.user-field {
    border-color: rgba(255, 200, 40, .4);
    box-shadow: 0 0 14px rgba(255, 183, 3, .22), inset 0 0 12px rgba(255, 183, 3, .06);
}

.login-field.pass-field {
    border-color: rgba(255, 47, 214, .4);
    box-shadow: 0 0 14px rgba(255, 47, 214, .22), inset 0 0 12px rgba(255, 47, 214, .06);
}

.login-field:focus-within { transform: translateY(-1px); }

.login-field.user-field:focus-within {
    border-color: #ffd700;
    box-shadow: 0 0 22px rgba(255, 215, 0, .4), inset 0 0 14px rgba(255, 215, 0, .1);
}

.login-field.pass-field:focus-within {
    border-color: #ff2fd6;
    box-shadow: 0 0 22px rgba(255, 47, 214, .4), inset 0 0 14px rgba(255, 47, 214, .1);
}

.login-field .icon { flex: none; display: flex; color: rgba(255, 255, 255, .65); }
.login-field.user-field .icon { color: #ffd700; }
.login-field.pass-field .icon { color: #ff5fd9; }

.login-field input {
    flex: 1;
    min-width: 0;
    width: auto;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: .98rem;
    box-shadow: none;
}

.login-field input::placeholder { color: rgba(180, 200, 235, .55); }
.login-field input:focus { outline: none; box-shadow: none; }

.eye-btn {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: color .2s, background .2s;
}

.eye-btn:hover { color: #ff9de7; background: rgba(255, 47, 214, .12); }

.eye-btn svg { width: 19px; height: 19px; }

.login-forgot {
    display: block;
    text-align: right;
    margin: -.35rem 0 1.35rem;
    font-size: .8rem;
    color: #54e6ff;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 234, 255, .5);
}

.login-forgot:hover { text-decoration: underline; color: #8cf0ff; }

/* Botón */
.login-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    padding: .95rem 1rem;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: #fff;
    border-radius: 999px;
    border: 1px solid rgba(0, 234, 255, .9);
    background: linear-gradient(90deg, #015cff, #0090ff 45%, #00c6ff);
    box-shadow:
        0 0 18px rgba(0, 234, 255, .55),
        0 0 50px rgba(0, 119, 255, .4),
        inset 0 0 14px rgba(255, 255, 255, .22);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
    text-shadow: 0 1px 4px rgba(0, 30, 90, .5);
}

.login-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow:
        0 0 26px rgba(0, 234, 255, .8),
        0 0 70px rgba(0, 119, 255, .55),
        inset 0 0 16px rgba(255, 255, 255, .28);
}

.login-submit:active { transform: translateY(0); }

.login-submit .gold {
    color: #ffe66d;
    font-size: .96em;
    text-shadow: 0 0 12px rgba(255, 215, 0, .9), 0 0 26px rgba(255, 215, 0, .5);
}

.login-submit .go {
    font-size: 1.1em;
    line-height: 1;
}

/* Error */
.login-alert {
    margin: 0 0 1.2rem;
    padding: .7rem .9rem;
    border-radius: 12px;
    background: rgba(255, 47, 90, .14);
    border: 1px solid rgba(255, 60, 100, .5);
    color: #ffc2ce;
    font-size: .88rem;
    text-align: center;
    box-shadow: 0 0 18px rgba(255, 47, 90, .18);
}

/* Pie */
.login-footer {
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: .78rem;
    letter-spacing: .04em;
    color: #8fa3cc;
    text-shadow: 0 0 12px rgba(0, 200, 255, .35);
}

@media (max-width: 480px) {
    .login-panel { padding: 2rem 1.4rem 1.7rem; }
    .login-name { letter-spacing: .1em; }
    .login-name .accent { letter-spacing: .3em; }
}