.login-page {
    min-height: 100vh;
    background: #e9edf9;
    color: #eef4ff;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(520px, 0.97fr);
}

.login-visual {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 26% 76%, rgba(255, 255, 255, 0.9), transparent 18%),
        linear-gradient(180deg, #eef2ff 0%, #f7f9ff 100%);
}

.visual-window {
    position: absolute;
    top: 96px;
    width: 376px;
    height: 520px;
    border: 1px solid rgba(64, 82, 120, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
}

.visual-window-left {
    left: 9%;
}

.visual-window-right {
    right: 9%;
}

.phone-card {
    position: absolute;
    top: 210px;
    right: 21%;
    width: 270px;
    height: 365px;
    border-radius: 14px;
    background: #cbd9fb;
    box-shadow: 0 24px 70px rgba(58, 87, 143, 0.14);
}

.phone-avatar {
    width: 72px;
    height: 72px;
    margin: 62px auto 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, #fff 0 16%, transparent 17%),
        radial-gradient(circle at 50% 80%, #fff 0 33%, transparent 34%),
        rgba(255, 255, 255, 0.27);
}

.phone-line {
    width: 176px;
    height: 30px;
    margin: 10px auto;
    border-radius: 999px;
    background: #fff;
}

.phone-line.short {
    width: 138px;
}

.phone-button {
    width: 176px;
    height: 30px;
    margin: 28px auto 0;
    border-radius: 999px;
    background: #477bff;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.check-badge {
    position: absolute;
    top: 262px;
    left: 28%;
    width: 74px;
    height: 78px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #477bff;
    color: #fff;
    font-size: 46px;
    box-shadow: 0 0 0 18px rgba(71, 123, 255, 0.13);
}

.lamp {
    position: absolute;
    left: 14%;
    bottom: 110px;
    width: 14px;
    height: 420px;
    background: #68727a;
}

.lamp::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    width: 74px;
    height: 78px;
    clip-path: polygon(50% 0, 100% 24%, 82% 100%, 18% 100%, 0 24%);
    background: linear-gradient(90deg, #71808a 0 22%, #9dbdff 22% 78%, #71808a 78%);
}

.bench {
    position: absolute;
    left: 18%;
    bottom: 118px;
    width: 430px;
    height: 22px;
    background: #9aa3a8;
    box-shadow:
        0 52px 0 #9aa3a8,
        0 104px 0 #9aa3a8,
        24px 150px 0 -4px #737c82,
        300px 150px 0 -4px #737c82;
}

.plant {
    position: absolute;
    right: 13%;
    bottom: 120px;
    width: 86px;
    height: 48px;
    background: #477bff;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 18% 100%);
}

.plant::before {
    content: "";
    position: absolute;
    left: 34px;
    bottom: 40px;
    width: 4px;
    height: 160px;
    background: #5d676d;
    box-shadow: 20px -44px 0 -1px #5d676d, -18px -20px 0 -1px #5d676d;
}

.person {
    position: absolute;
    left: 30%;
    bottom: 132px;
    width: 220px;
    height: 390px;
}

.person-head {
    position: absolute;
    left: 48px;
    top: 34px;
    width: 62px;
    height: 70px;
    border-radius: 44% 44% 48% 48%;
    background: #ffbd73;
}

.person-hair {
    position: absolute;
    left: 28px;
    top: 26px;
    width: 70px;
    height: 96px;
    border-radius: 42px 42px 26px 26px;
    background: #172033;
}

.person-body {
    position: absolute;
    left: 26px;
    top: 112px;
    width: 94px;
    height: 142px;
    border-radius: 28px 26px 18px 18px;
    background: linear-gradient(110deg, #2f76ff 0 44%, #8db2ff 45%);
}

.person-arm {
    position: absolute;
    left: 104px;
    top: 116px;
    width: 114px;
    height: 20px;
    border-radius: 999px;
    background: #ffbd73;
    transform: rotate(-17deg);
}

.person-leg {
    position: absolute;
    top: 240px;
    height: 150px;
    border-radius: 999px;
    background: #edb166;
}

.person-leg.one {
    left: 58px;
    width: 36px;
    transform: rotate(-8deg);
}

.person-leg.two {
    left: 112px;
    width: 36px;
    transform: rotate(-34deg);
}

.login-panel {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #253142;
    padding: 64px;
}

.login-card {
    width: min(100%, 464px);
}

.login-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    color: #0f1a2c;
    text-decoration: none;
}

.login-brand .brand-mark {
    width: 72px;
    height: 52px;
    font-size: 34px;
    background: #5747e8;
    color: #111827;
}

.login-brand strong {
    color: #111827;
    font-size: 56px;
    line-height: 1;
}

.login-heading h1 {
    margin: 0 0 12px;
    color: #f1f5ff;
    font-size: clamp(34px, 4vw, 42px);
    font-weight: 800;
}

.login-heading p {
    margin: 0 0 34px;
    color: #f1f5ff;
    font-size: 19px;
    font-weight: 600;
}

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

.login-input {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(226, 232, 240, 0.4);
    border-radius: 11px;
    padding: 0 12px;
    color: #dce5f2;
    background: #1d2734;
}

.login-input input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f8fbff;
    font-weight: 700;
}

.login-input input::placeholder {
    color: #e8eef8;
    opacity: 0.95;
}

.password-toggle {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: #e8eef8;
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 12px 0 22px;
    color: #e8eef8;
    font-weight: 700;
}

.login-row a,
.login-foot a {
    color: #5747ff;
    text-decoration: none;
    font-weight: 800;
}

.remember-control {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.remember-control input {
    width: 18px;
    height: 18px;
    accent-color: #1877f2;
}

.login-submit {
    height: 56px;
    border: 0;
    border-radius: 10px;
    background: #1877f2;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(24, 119, 242, 0.22);
}

.login-submit:disabled {
    opacity: 0.75;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    color: #f1f5ff;
    font-weight: 700;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(226, 232, 240, 0.18);
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.social-login button {
    height: 54px;
    border: 1px solid rgba(226, 232, 240, 0.22);
    border-radius: 11px;
    background: transparent;
    color: #fff;
    font-weight: 800;
}

.social-login i {
    margin-right: 12px;
    color: #5747ff;
}

.login-foot {
    margin: 36px 0 0;
    text-align: center;
    color: #f1f5ff;
}

.login-settings {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #5747e8;
    color: #fff;
    font-size: 22px;
}

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

    .login-visual {
        min-height: 360px;
    }

    .login-panel {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .login-visual {
        display: none;
    }

    .login-panel {
        min-height: 100vh;
        padding: 34px 18px;
    }

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

    .login-brand .brand-mark {
        width: 56px;
        height: 44px;
        font-size: 26px;
    }

    .login-brand strong {
        font-size: 42px;
    }

    .login-heading h1 {
        font-size: 31px;
    }

    .login-heading p {
        font-size: 16px;
    }

    .login-row,
    .social-login {
        grid-template-columns: 1fr;
    }

    .login-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
