body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(234, 106, 42, 0.22), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(36, 182, 137, 0.18), transparent 22%),
        linear-gradient(135deg, #0f1722 0%, #182330 48%, #213244 100%);
}

.login-bg-gradient {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black, transparent 82%);
    pointer-events: none;
}

.login-container {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
}

.login-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, 0.82fr) minmax(440px, 1.18fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 32px;
    background: rgba(255, 252, 247, 0.08);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.30);
    backdrop-filter: blur(18px);
}

.login-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 38%);
}

.login-brand-panel,
.login-auth-panel {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.login-brand-panel {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 42px 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(234, 106, 42, 0.20) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.login-brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.login-brand-mark img {
    width: min(100%, 156px);
    max-height: 156px;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 28px rgba(8, 15, 25, 0.26));
    transform: translateX(8px);
}

.login-title-kicker {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 40px 34px;
}

.login-auth-content {
    width: min(100%, 420px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.login-tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 16px 30px rgba(234, 106, 42, 0.30);
}

.login-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3fd28f;
    box-shadow: 0 0 0 8px rgba(63, 210, 143, 0.12);
}

.login-title {
    display: grid;
    gap: 10px;
}

.login-title h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.4vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.login-highlight {
    color: #ffb57d;
}

.login-title p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.login-alert {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.login-alert-danger {
    background: rgba(220, 53, 69, 0.14);
    color: #ffd5dc;
}

.login-alert-success {
    background: rgba(25, 135, 84, 0.14);
    color: #d8f9e4;
}

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

.login-form-group {
    position: relative;
}

.login-form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.login-form-group input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 15px 18px 15px 52px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 0.98rem;
    line-height: 1.3;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.login-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.login-form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 181, 125, 0.78);
    box-shadow: 0 0 0 4px rgba(234, 106, 42, 0.16);
    transform: translateY(-1px);
}

.login-input-icon {
    position: absolute;
    left: 17px;
    top: 42px;
    width: 22px;
    height: 22px;
    opacity: 0.72;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

.login-icon-user {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.72)"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

.login-icon-lock {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="rgba(255,255,255,0.72)"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"/></svg>');
}

.login-btn {
    width: 100%;
    padding: 16px 18px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-strong) 100%);
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 18px 34px rgba(234, 106, 42, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(234, 106, 42, 0.34);
}

.login-footer {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.82rem;
}

.login-footer p {
    margin: 0;
}

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

    .login-brand-panel {
        padding: 30px 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .login-brand-copy p {
        max-width: none;
    }

    .login-auth-panel {
        padding: 28px 24px 26px;
    }

    .login-auth-content {
        width: min(100%, 460px);
    }
}

@media (max-width: 560px) {
    body.login-page {
        padding: 16px 12px;
    }

    .login-card {
        border-radius: 24px;
    }

    .login-brand-panel,
    .login-auth-panel {
        padding-left: 16px;
        padding-right: 16px;
    }

    .login-brand-mark img {
        width: min(100%, 128px);
        max-height: 128px;
        transform: translateX(6px);
    }

    .login-auth-content {
        width: 100%;
    }

    .login-title h2 {
        font-size: 1.9rem;
    }

    .login-form-group input {
        padding-right: 16px;
        padding-left: 48px;
    }
}
