.layout-auth {
    overflow: hidden;
}

.auth-main {
    min-height: 100vh;
}

.login-screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: #030712;
    overflow: hidden;
}

.login-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: .75;
    animation: floatOrb 9s ease-in-out infinite;
}

.orb-one {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -90px;
    background: radial-gradient(circle, rgba(37,99,235,.85), transparent 65%);
}

.orb-two {
    width: 520px;
    height: 520px;
    right: -160px;
    bottom: -180px;
    background: radial-gradient(circle, rgba(147,51,234,.75), transparent 65%);
    animation-delay: -3s;
}

.orb-three {
    width: 320px;
    height: 320px;
    left: 45%;
    top: 12%;
    background: radial-gradient(circle, rgba(14,165,233,.45), transparent 68%);
    animation-delay: -6s;
}

.grid-glow {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black, transparent 70%);
}

.login-wrapper {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: 1.15fr 440px;
    gap: 42px;
    align-items: center;
}

.login-showcase {
    color: white;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(37,99,235,.16);
    border: 1px solid rgba(96,165,250,.38);
    color: #93c5fd;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 800;
}

.login-showcase h1 {
    max-width: 720px;
    margin: 24px 0 18px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -3px;
}

.login-showcase p {
    max-width: 610px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.75;
}

.showcase-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 680px;
    margin-top: 34px;
}

.showcase-cards div {
    background: rgba(15,23,42,.62);
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 22px;
    padding: 18px;
    backdrop-filter: blur(18px);
}

.showcase-cards strong {
    display: block;
    font-size: 18px;
    margin-bottom: 6px;
}

.showcase-cards span {
    color: #94a3b8;
    font-size: 13px;
}

.login-panel {
    background:
        linear-gradient(180deg, rgba(15,23,42,.96), rgba(2,6,23,.96));
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 32px;
    padding: 34px;
    box-shadow:
        0 40px 120px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(22px);
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
}

.login-logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, #2563eb, #9333ea);
    color: white;
    font-weight: 900;
    box-shadow: 0 16px 40px rgba(37,99,235,.35);
}

.login-logo strong {
    display: block;
    font-size: 20px;
}

.login-logo span {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    margin-top: 3px;
}

.login-heading h2 {
    margin: 0;
    font-size: 32px;
    letter-spacing: -1px;
}

.login-heading p {
    margin: 10px 0 26px;
    color: #94a3b8;
    line-height: 1.6;
}

.login-alert {
    background: rgba(127,29,29,.75);
    border: 1px solid rgba(248,113,113,.35);
    color: #fecaca;
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 18px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group label {
    display: block;
    color: #cbd5e1;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 700;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(2,6,23,.92);
    border: 1px solid rgba(148,163,184,.2);
    border-radius: 18px;
    padding: 0 16px;
    transition: .2s ease;
}

.input-wrap:focus-within {
    border-color: rgba(96,165,250,.9);
    box-shadow: 0 0 0 4px rgba(37,99,235,.16);
}

.input-wrap span {
    color: #60a5fa;
    font-weight: 900;
}

.input-wrap input {
    width: 100%;
    height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 15px;
}

.input-wrap input::placeholder {
    color: #64748b;
}

.login-button {
    height: 58px;
    margin-top: 4px;
    border: 0;
    border-radius: 18px;
    color: white;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    background:
        linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 18px 45px rgba(37,99,235,.35);
    transition: .2s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(37,99,235,.48);
}

.login-footer-note {
    margin-top: 24px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate3d(0,0,0) scale(1);
    }

    50% {
        transform: translate3d(24px,-18px,0) scale(1.06);
    }
}

@media (max-width: 980px) {
    .login-screen {
        padding: 22px;
        overflow-y: auto;
    }

    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-showcase {
        display: none;
    }

    .login-panel {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
}

.login-next-box {
    background: rgba(37, 99, 235, .14);
    border: 1px solid rgba(96, 165, 250, .35);
    color: #bfdbfe;
    padding: 13px 14px;
    border-radius: 16px;
    margin-bottom: 18px;
    line-height: 1.5;
    font-size: 14px;
}