:root {
    --jp-red: #e51b23;
    --jp-red-dark: #a40f16;
    --jp-black: #0b0b0d;
    --jp-ink: #17171b;
    --jp-gray: #71717a;
    --jp-line: #e8e8ec;
    --jp-surface: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--jp-ink);
    background: #f4f4f6;
    font-family: "Inter", sans-serif;
}

.login-page {
    display: grid;
    grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr);
    min-height: 100vh;
}

.login-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 48px clamp(42px, 6vw, 92px);
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(6,6,8,.8) 0%, rgba(6,6,8,.52) 48%, rgba(6,6,8,.18) 100%),
        linear-gradient(0deg, rgba(10,10,12,.42), transparent 55%),
        url('../img/banner.jpg') 58% center / cover no-repeat;
}

.login-showcase::after {
    position: absolute;
    right: -170px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    content: "";
    border: 1px solid rgba(229, 27, 35, .24);
    border-radius: 50%;
    box-shadow: 0 0 0 75px rgba(229, 27, 35, .035), 0 0 0 150px rgba(229, 27, 35, .025);
}

.showcase-pattern {
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom right, #000, transparent 72%);
}

.brand-mark,
.mobile-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    display: grid;
    width: 48px;
    height: 48px;
    color: #fff;
    background: var(--jp-red);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(229, 27, 35, .28);
    place-items: center;
}

.brand-mark strong,
.mobile-brand strong {
    display: block;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: .85;
    letter-spacing: 1.5px;
}

.brand-wordmark {
    display: block;
    width: 66px;
    height: auto;
    margin-top: 6px;
    object-fit: contain;
}

.page-preloader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    transition: opacity .3s, visibility .3s;
}

.page-preloader.is-hidden {
    visibility: hidden;
    opacity: 0;
}

.preloader-brand {
    width: 150px;
    height: auto;
}

.preloader-animation {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.page-preloader span {
    color: #8d8d95;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.showcase-copy {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: auto 0;
    animation: loginRise .8s .12s both cubic-bezier(.2,.8,.2,1);
}

.showcase-copy h1 {
    margin: 0;
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(55px, 6vw, 86px);
    font-weight: 800;
    line-height: .93;
    letter-spacing: -.5px;
    text-transform: uppercase;
}

.showcase-copy h1 em {
    color: var(--jp-red);
    font-style: normal;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.showcase-features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dedee3;
    font-size: 13px;
    font-weight: 600;
}

.showcase-features i {
    display: grid;
    width: 21px;
    height: 21px;
    color: #fff;
    background: var(--jp-red);
    border-radius: 50%;
    font-size: 9px;
    place-items: center;
}

.showcase-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #696970;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.showcase-footer i {
    width: 4px;
    height: 4px;
    background: var(--jp-red);
    border-radius: 50%;
}

.login-access {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 42px clamp(28px, 7vw, 100px);
    background: #f7f7f8;
}

.mobile-brand {
    display: none;
}

.login-card {
    width: min(100%, 440px);
    animation: loginRise .7s .2s both cubic-bezier(.2,.8,.2,1);
}

.login-heading {
    margin-bottom: 34px;
}

.login-badge {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    color: var(--jp-red);
    background: rgba(229, 27, 35, .09);
    border-radius: 12px;
    place-items: center;
}

.login-heading h2 {
    margin: 0 0 8px;
    color: var(--jp-black);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 43px;
    font-weight: 800;
    text-transform: uppercase;
}

.login-heading p {
    margin: 0;
    color: var(--jp-gray);
    font-size: 14px;
}

.login-message {
    display: none;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 14px;
    color: #8d0c12;
    background: #fff0f0;
    border: 1px solid #ffd2d4;
    border-radius: 10px;
    font-size: 13px;
}

.login-message.show {
    display: flex;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label,
.label-row {
    margin-bottom: 9px;
    color: #303036;
    font-size: 12px;
    font-weight: 700;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.label-row label {
    margin: 0;
}

.label-row span {
    color: #9a9aa2;
    font-size: 10px;
    font-weight: 500;
}

.field-control {
    position: relative;
}

.field-control > i {
    position: absolute;
    top: 50%;
    left: 17px;
    color: #9a9aa3;
    transform: translateY(-50%);
}

.field-control input {
    width: 100%;
    height: 54px;
    padding: 0 50px 0 47px;
    color: var(--jp-ink);
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 12px;
    outline: 0;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}

.field-control select {
    width: 100%;
    height: 54px;
    padding: 0 42px 0 47px;
    color: var(--jp-ink);
    background: var(--jp-surface);
    border: 1px solid var(--jp-line);
    border-radius: 12px;
    outline: 0;
    font-size: 14px;
}

.field-control select:focus { border-color: var(--jp-red); box-shadow: 0 0 0 4px rgba(229,27,35,.09); }

.field-control input:focus {
    border-color: var(--jp-red);
    box-shadow: 0 0 0 4px rgba(229, 27, 35, .09);
}

.field-control input::placeholder {
    color: #b4b4bb;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 36px;
    height: 36px;
    color: #8c8c94;
    background: transparent;
    border: 0;
    border-radius: 8px;
    transform: translateY(-50%);
}

.toggle-password:hover {
    color: var(--jp-red);
    background: #fff2f2;
}

.login-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 56px;
    margin-top: 8px;
    padding: 0 20px 0 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--jp-red), #c81018);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 13px 26px rgba(229, 27, 35, .2);
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 30px rgba(229, 27, 35, .28);
}

.login-button:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.login-help {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    color: #8c8c94;
    border-top: 1px solid var(--jp-line);
    font-size: 11px;
    line-height: 1.55;
}

.login-help i {
    margin-top: 2px;
    color: var(--jp-red);
}

.access-footer {
    margin: 56px 0 0;
    color: #a0a0a7;
    font-size: 10px;
}

.showcase-motion { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.motion-word { position: absolute; right: -18px; bottom: -62px; color: rgba(255,255,255,.025); font-family: "Barlow Condensed",sans-serif; font-size: 360px; font-weight: 800; line-height: 1; animation: wordFloat 7s ease-in-out infinite; }
.brand-icon { animation: brandBeat 3.2s ease-in-out infinite; }

.login-account-actions { display: grid; gap: 9px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--jp-line); }
.login-account-actions button { display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; color: #5f5f68; background: transparent; border: 1px solid transparent; border-radius: 11px; text-align: left; transition: .2s ease; }
.login-account-actions button > i:first-child { display: grid; width: 34px; height: 34px; color: var(--jp-red); background: #fff0f0; border-radius: 9px; place-items: center; }
.login-account-actions button > i:last-child { color: #aaaab1; font-size: 10px; }
.login-account-actions strong,.login-account-actions small { display: block; }
.login-account-actions strong { color: #34343a; font-size: 11px; }
.login-account-actions small { margin-top: 3px; color: #96969e; font-size: 10px; }
.login-account-actions button:hover { background: #fff; border-color: #eeeeef; transform: translateX(3px); box-shadow: 0 8px 22px rgba(22,22,26,.06); }

body.auth-modal-open { overflow: hidden; }
.auth-modal { position: fixed; z-index: 10000; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; }
.auth-modal.show { display: flex; }
.auth-modal-backdrop { position: absolute; inset: 0; background: rgba(8,8,10,.72); border: 0; backdrop-filter: blur(5px); animation: fadeIn .2s both; }
.auth-dialog { position: relative; z-index: 1; width: min(100%,480px); max-height: calc(100vh - 32px); padding: 30px; overflow-y: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,.34); animation: dialogIn .32s both cubic-bezier(.2,.8,.2,1); }
.auth-dialog-large { width: min(100%,760px); }
.auth-dialog-close { position: absolute; top: 16px; right: 16px; display: grid; width: 36px; height: 36px; color: #777780; background: #f4f4f6; border: 0; border-radius: 9px; place-items: center; }
.auth-dialog-icon { display: grid; width: 44px; height: 44px; margin-bottom: 16px; color: var(--jp-red); background: #fff0f0; border-radius: 12px; place-items: center; }
.auth-dialog h3,.reset-card h1 { margin: 0 42px 8px 0; color: #111116; font-family: "Barlow Condensed",sans-serif; font-size: 32px; font-weight: 800; text-transform: uppercase; }
.auth-dialog > p,.reset-card > p { margin: 0 0 22px; color: #76767f; font-size: 12px; line-height: 1.65; }
.auth-message { margin-top: 0; }
.login-message.success { color: #16733a; background: #eaf8ef; border-color: #cdeed8; }
.auth-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.auth-dialog .form-group { margin-bottom: 17px; }
.auth-dialog .login-button { margin-top: 3px; }

.reset-body { min-height: 100vh; background: #0c0c0f; }
.reset-page { position: relative; display: grid; min-height: 100vh; padding: 24px; overflow: hidden; place-items: center; background: radial-gradient(circle at 15% 15%,rgba(229,27,35,.2),transparent 28%),radial-gradient(circle at 88% 82%,rgba(229,27,35,.13),transparent 25%); }
.reset-card { position: relative; z-index: 2; width: min(100%,500px); padding: 36px; background: #fff; border-radius: 20px; box-shadow: 0 32px 100px rgba(0,0,0,.45); animation: dialogIn .45s both; }
.reset-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 42px; color: #111116; text-decoration: none; }
.reset-brand strong { display: block; font-family: "Barlow Condensed",sans-serif; font-size: 21px; line-height: .9; }
.reset-card .login-badge { margin-bottom: 18px; }
.reset-login-link { text-decoration: none; }
.reset-orb { position: absolute; border: 1px solid rgba(229,27,35,.3); border-radius: 50%; animation: ringPulse 5s infinite; }
.orb-one { top: -100px; right: -80px; width: 360px; height: 360px; }
.orb-two { bottom: -130px; left: -90px; width: 300px; height: 300px; animation-delay: -2s; }

/* Login cinematográfico */
.login-page {
    grid-template-columns: minmax(500px, 1.18fr) minmax(430px, .82fr);
    background: #070709;
}

.login-showcase {
    isolation: isolate;
    padding: 44px clamp(42px, 5vw, 78px);
    background: #08080a;
}

.login-showcase::before {
    position: absolute;
    z-index: -2;
    inset: -3%;
    content: "";
    background:
        linear-gradient(90deg, rgba(4,4,6,.84) 0%, rgba(4,4,6,.44) 48%, rgba(4,4,6,.14) 100%),
        linear-gradient(0deg, rgba(5,5,7,.76) 0%, transparent 58%),
        url('../img/banner.jpg') 58% center / cover no-repeat;
    animation: cinematicZoom 16s ease-in-out infinite alternate;
}

.login-showcase::after {
    z-index: 3;
    top: 0;
    right: 0;
    bottom: auto;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, transparent 5%, var(--jp-red) 38%, #ff3038 62%, transparent 95%);
    border: 0;
    border-radius: 0;
    box-shadow: -10px 0 32px rgba(229,27,35,.34);
}

.showcase-pattern {
    z-index: -1;
    opacity: .22;
    background-size: 64px 64px;
    mask-image: linear-gradient(to right bottom, #000, transparent 72%);
}

.brand-mark,
.showcase-copy { z-index: 2; }

.brand-mark { padding: 8px 12px 8px 8px; background: rgba(8,8,10,.28); border: 1px solid rgba(255,255,255,.1); border-radius: 17px; backdrop-filter: blur(10px); align-self: flex-start; }
.brand-icon { box-shadow: 0 0 0 5px rgba(229,27,35,.11), 0 14px 35px rgba(229,27,35,.38); }

.showcase-copy { max-width: 720px; }
.showcase-copy::before { display: block; width: 72px; height: 5px; margin-bottom: 24px; content: ""; background: var(--jp-red); border-radius: 10px; box-shadow: 0 0 24px rgba(229,27,35,.75); }
.showcase-copy h1 { font-size: clamp(72px, 7.4vw, 112px); line-height: .82; letter-spacing: -1.5px; text-shadow: 0 12px 35px rgba(0,0,0,.38); }
.showcase-copy h1 em { text-shadow: 0 0 32px rgba(229,27,35,.3); }
.showcase-copy h1::after { display: block; width: min(360px, 72%); height: 1px; margin-top: 30px; content: ""; background: linear-gradient(90deg, rgba(255,255,255,.8), transparent); }

.motion-word { color: rgba(255,255,255,.045); font-size: 410px; }

.login-access {
    position: relative;
    isolation: isolate;
    padding: 25px clamp(28px, 4.5vw, 72px);
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(229,27,35,.28), transparent 31%),
        radial-gradient(circle at 3% 96%, rgba(229,27,35,.14), transparent 26%),
        #0a0a0d;
}

.login-access::before,
.login-access::after { position: absolute; z-index: -1; content: ""; border: 1px solid rgba(229,27,35,.18); border-radius: 50%; }
.login-access::before { top: -210px; right: -170px; width: 470px; height: 470px; box-shadow: 0 0 0 55px rgba(229,27,35,.025), 0 0 0 110px rgba(229,27,35,.018); }
.login-access::after { bottom: -120px; left: -100px; width: 260px; height: 260px; }

.login-card {
    position: relative;
    z-index: 1;
    width: min(100%, 470px);
    padding: clamp(28px, 3.2vw, 42px);
    overflow: hidden;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 26px;
    box-shadow: 0 34px 90px rgba(0,0,0,.46), 0 0 0 1px rgba(229,27,35,.08);
    backdrop-filter: blur(18px);
}

.login-card::before { position: absolute; top: 0; left: 10%; width: 80%; height: 4px; content: ""; background: linear-gradient(90deg, transparent, var(--jp-red), transparent); box-shadow: 0 5px 22px rgba(229,27,35,.5); }
.login-heading { margin-bottom: 25px; }
.login-badge { width: 46px; height: 46px; margin-bottom: 17px; color: #fff; background: linear-gradient(135deg, var(--jp-red), #a90e15); box-shadow: 0 12px 25px rgba(229,27,35,.25); transform: rotate(-4deg); }
.login-heading h2 { font-size: 42px; }
.form-group { margin-bottom: 17px; }
.field-control input { background: #f5f5f7; border-color: #e4e4e8; }
.field-control input:focus { background: #fff; }
.login-button { position: relative; overflow: hidden; box-shadow: 0 15px 30px rgba(229,27,35,.3); }
.login-button::before { position: absolute; top: -50%; left: -40%; width: 32%; height: 200%; content: ""; background: rgba(255,255,255,.2); transform: rotate(22deg); transition: left .55s ease; }
.login-button:hover::before { left: 115%; }
.login-account-actions { margin-top: 20px; padding-top: 16px; }
.login-account-actions button:hover { background: #f6f6f8; }
.access-footer { position: relative; z-index: 1; margin: 20px 0 0; color: #66666f; }

@keyframes loginRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cinematicZoom { from { transform: scale(1); } to { transform: scale(1.055) translate3d(-.6%, -.3%, 0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes ringPulse { 0%,100% { opacity: .45; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes wordFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes brandBeat { 0%,86%,100% { transform: scale(1); } 91% { transform: scale(1.08) rotate(-3deg); } 96% { transform: scale(1.02); } }

@media (min-width: 901px) and (max-height: 760px) {
    .login-access { padding-top: 16px; padding-bottom: 16px; }
    .login-card { padding: 24px 32px; border-radius: 22px; }
    .login-heading { margin-bottom: 18px; }
    .login-badge { width: 39px; height: 39px; margin-bottom: 12px; }
    .login-heading h2 { margin-bottom: 4px; font-size: 36px; }
    .login-heading p { font-size: 12px; }
    .form-group { margin-bottom: 13px; }
    .field-control input { height: 49px; }
    .login-button { height: 51px; }
    .login-account-actions { gap: 4px; margin-top: 14px; padding-top: 11px; }
    .login-account-actions button { padding-top: 8px; padding-bottom: 8px; }
    .access-footer { display: none; }
}

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-showcase {
        display: none;
    }

    .login-access {
        justify-content: flex-start;
        padding: 32px 24px;
        background:
            radial-gradient(circle at 100% 0, rgba(229, 27, 35, .28), transparent 34%),
            #0a0a0d;
    }

    .mobile-brand {
        display: inline-flex;
        align-self: flex-start;
        margin-bottom: clamp(54px, 11vh, 100px);
    }

    .mobile-brand strong {
        color: #fff;
    }

    .login-card {
        max-width: 480px;
    }

    .access-footer {
        margin-top: auto;
        padding-top: 48px;
    }
}

@media (max-width: 480px) {
    .login-access {
        padding: 24px 20px;
    }

    .login-card { padding: 27px 20px; border-radius: 20px; }

    .mobile-brand {
        margin-bottom: 52px;
    }

    .brand-icon {
        width: 43px;
        height: 43px;
    }

    .login-heading h2 {
        font-size: 38px;
    }

    .auth-modal { padding: 8px; }
    .auth-dialog { max-height: calc(100vh - 16px); padding: 23px 18px; border-radius: 15px; }
    .auth-form-grid { grid-template-columns: 1fr; }
    .reset-page { padding: 12px; }
    .reset-card { padding: 27px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =============================================================
   LOGIN MODERNO - COMPOSICIÓN FITNESS A PANTALLA COMPLETA
   ============================================================= */
.login-page {
    position: relative;
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    background: #050507;
    grid-template-columns: 1fr;
    place-items: center;
}

.login-showcase {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: flex;
    width: 100%;
    min-height: 100%;
    padding: 34px 44px;
    isolation: isolate;
    background: #070709;
}

.login-showcase::before {
    position: absolute;
    z-index: -3;
    inset: -3%;
    content: "";
    background:
        linear-gradient(90deg, rgba(4,4,6,.8) 0%, rgba(4,4,6,.48) 40%, rgba(4,4,6,.62) 100%),
        linear-gradient(0deg, rgba(4,4,6,.7), transparent 58%),
        url('../img/banner.jpg') center 57% / cover no-repeat;
    filter: saturate(.82) contrast(1.08);
    animation: modernBackground 18s ease-in-out infinite alternate;
}

.login-showcase::after {
    position: absolute;
    z-index: -1;
    inset: -28% -12%;
    width: auto;
    height: auto;
    content: "";
    background:
        linear-gradient(128deg,
            transparent 0 19%,
            rgba(229,27,35,.84) 19% 22%,
            rgba(20,20,24,.65) 22% 25%,
            transparent 25% 66%,
            rgba(229,27,35,.72) 66% 71%,
            rgba(20,20,24,.7) 71% 75%,
            transparent 75% 100%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate3d(-2%,0,0);
    animation: modernSlashes 13s ease-in-out infinite alternate;
    pointer-events: none;
}

.showcase-pattern {
    z-index: -2;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(135deg, #000, transparent 68%);
}

.brand-mark {
    z-index: 4;
    align-self: flex-start;
    padding: 7px 13px 7px 7px;
    background: rgba(4,4,6,.48);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    box-shadow: 0 16px 42px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
}

.brand-mark .brand-icon { width: 43px; height: 43px; border-radius: 11px; }
.brand-mark strong { font-size: 21px; }

.showcase-copy {
    position: absolute;
    z-index: 2;
    bottom: 48px;
    left: 48px;
    max-width: none;
    margin: 0;
}

.showcase-copy::before { width: 54px; height: 4px; margin-bottom: 14px; }
.showcase-copy h1 { font-size: clamp(52px,5.2vw,78px); line-height: .84; letter-spacing: -1px; }
.showcase-copy h1::after { width: 250px; margin-top: 20px; }
.motion-word { right: 1vw; bottom: -105px; color: rgba(255,255,255,.025); font-size: 330px; }

.login-access {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    overflow: visible;
    background: transparent;
    place-items: center;
}

.login-access::before,
.login-access::after { display: none; }

.login-card {
    position: relative;
    width: min(100%, 410px);
    padding: 32px 34px 29px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, rgba(12,12,15,.88), rgba(7,7,9,.72));
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    box-shadow: 0 38px 100px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.09);
    backdrop-filter: blur(18px) saturate(1.18);
}

.login-card::before {
    top: 0;
    left: 16%;
    width: 68%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff2d35, transparent);
    box-shadow: 0 5px 30px rgba(229,27,35,.7);
}

.login-heading { margin-bottom: 25px; text-align: center; }
.login-badge { width: 48px; height: 48px; margin: 0 auto 15px; color: #fff; background: linear-gradient(135deg,#f0252d,#a40f16); border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 7px rgba(229,27,35,.1), 0 15px 32px rgba(229,27,35,.3); transform: none; }
.login-heading h2 { margin-bottom: 6px; color: #fff; font-size: 36px; letter-spacing: .7px; }
.login-heading p { color: #9d9da6; font-size: 11px; }
.login-card .form-group { margin-bottom: 16px; }
.login-card .form-group label,
.login-card .label-row { color: #e8e8eb; font-size: 10px; letter-spacing: .35px; }
.login-card .label-row span { color: #73737d; }
.login-card .field-control > i { color: #7f7f89; }
.login-card .field-control input {
    height: 50px;
    color: #fff;
    background: rgba(255,255,255,.065);
    border-color: rgba(255,255,255,.12);
    border-radius: 9px;
}
.login-card .field-control input::placeholder { color: #696973; }
.login-card .field-control input:focus { color: #fff; background: rgba(255,255,255,.1); border-color: var(--jp-red); box-shadow: 0 0 0 3px rgba(229,27,35,.15), 0 0 28px rgba(229,27,35,.08); }
.login-card .toggle-password { color: #797983; }
.login-card .toggle-password:hover { color: #fff; background: rgba(255,255,255,.07); }
.login-card .login-button { height: 51px; margin-top: 5px; border-radius: 9px; box-shadow: 0 16px 34px rgba(229,27,35,.32); }
.login-account-actions { gap: 7px; margin-top: 18px; padding-top: 15px; border-top-color: rgba(255,255,255,.1); }
.login-account-actions button { padding: 8px 9px; color: #b3b3bb; border-radius: 9px; }
.login-account-actions button > i:first-child { color: #ff343c; background: rgba(229,27,35,.11); }
.login-account-actions button > i:last-child { color: #65656e; }
.login-account-actions strong { color: #e9e9ec; }
.login-account-actions small { color: #777781; }
.login-account-actions button:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); box-shadow: none; }
.login-message { font-size: 11px; }
.access-footer { position: absolute; right: 30px; bottom: 18px; margin: 0; color: rgba(255,255,255,.42); }

@keyframes modernBackground {
    from { transform: scale(1.01); }
    to { transform: scale(1.055) translate3d(-.5%,-.35%,0); }
}

@keyframes modernSlashes {
    from { transform: translate3d(-2%,0,0); opacity: .8; }
    to { transform: translate3d(1.2%,0,0); opacity: 1; }
}

@media (min-width: 901px) and (max-height: 720px) {
    .login-card { padding: 24px 31px 22px; }
    .login-heading { margin-bottom: 17px; }
    .login-badge { width: 40px; height: 40px; margin-bottom: 10px; }
    .login-heading h2 { font-size: 31px; }
    .login-card .form-group { margin-bottom: 12px; }
    .login-card .field-control input { height: 46px; }
    .login-card .login-button { height: 47px; }
    .login-account-actions { margin-top: 13px; padding-top: 10px; }
    .login-account-actions button { padding-top: 6px; padding-bottom: 6px; }
}

@media (max-width: 900px) {
    .login-page { display: grid; }
    .login-showcase { position: absolute; display: flex; padding: 24px; }
    .login-showcase::before { background-position: 60% center; }
    .brand-mark,
    .showcase-copy { display: none; }
    .motion-word { opacity: .45; }
    .login-access { justify-content: center; min-height: 100vh; padding: 25px 18px; background: transparent; }
    .mobile-brand { position: absolute; z-index: 2; top: 20px; left: 20px; display: inline-flex; margin: 0; }
    .mobile-brand strong { color: #fff; }
    .mobile-brand .brand-icon { width: 39px; height: 39px; }
    .login-card { max-width: 410px; margin-top: 60px; }
    .access-footer { display: none; }
}

@media (max-width: 480px) {
    .login-access { padding: 18px 13px; }
    .login-card { padding: 25px 19px 22px; border-radius: 16px; }
    .login-heading h2 { font-size: 31px; }
    .login-account-actions small { font-size: 10px; }
}
