.login-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    color: #17354b;
    font-family: Vazir, Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(116, 173, 145, .19), transparent 29%),
        radial-gradient(circle at 89% 81%, rgba(61, 130, 165, .18), transparent 32%),
        #edf3f5;
}

.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    padding: 28px;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(390px, 47%) minmax(0, 53%);
    width: min(100%, 980px);
    min-height: 620px;
    overflow: hidden;
    border: 1px solid #d9e6e9;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(19, 57, 75, .15);
}

.login-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 38px clamp(30px, 5vw, 56px) 24px;
    background: #fff;
}

.login-card-content {
    width: 100%;
    max-width: 390px;
    margin-inline: auto;
}

.login-brand {
    text-align: center;
    margin-bottom: 11px;
}

.login-brand img {
    display: block;
    width: min(100%, 232px);
    height: 95px;
    margin-inline: auto;
    object-fit: contain;
}

.login-heading {
    margin-bottom: 29px;
    text-align: center;
}

.login-heading h1 {
    margin: 0 0 7px;
    color: #12364b;
    font-size: 23px;
    line-height: 1.5;
    font-weight: 800;
}

.login-heading p {
    margin: 0;
    color: #647c8b;
    font-size: 13px;
    line-height: 1.8;
}

.login-field {
    margin-bottom: 19px;
}

.login-field > label {
    display: block;
    margin-bottom: 8px;
    color: #274559;
    font-size: 13px;
    font-weight: 700;
}

.login-field input {
    width: 100%;
    height: 51px;
    box-sizing: border-box;
    border: 1px solid #cfdee4;
    border-radius: 11px;
    outline: none;
    padding: 0 14px;
    background: #f9fcfc;
    color: #18394b;
    font: 500 14px Vazir, Tahoma, Arial, sans-serif;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.login-field input::placeholder {
    color: #8fa3af;
}

.login-field input:focus {
    border-color: #26879a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(38, 135, 154, .13);
}

.login-password-field {
    position: relative;
}

.login-password-field input {
    padding-left: 55px;
}

.login-password-toggle {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 37px;
    height: 37px;
    border: 0;
    border-radius: 8px;
    background: #eaf3f5;
    color: #286278;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-password-toggle svg {
    width: 20px;
    height: 20px;
}

.login-password-toggle .eye-closed,
.login-password-toggle.is-visible .eye-open {
    display: none;
}

.login-password-toggle.is-visible .eye-closed {
    display: block;
}

.login-password-toggle:hover,
.login-password-toggle:focus-visible {
    background: #dcecf0;
    outline: 2px solid #7bafbb;
    outline-offset: 1px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 1px 0 24px;
    color: #59717e;
    font-size: 12px;
    cursor: pointer;
}

.login-remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #247f83;
}

.login-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(100deg, #176d85, #1b866f);
    color: #fff;
    font: 800 15px Vazir, Tahoma, Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 9px 19px rgba(27, 112, 117, .18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 12px 23px rgba(27, 112, 117, .23);
}

.login-submit:focus-visible {
    outline: 3px solid #9bc9cc;
    outline-offset: 3px;
}

.login-error {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid #edc2c2;
    border-radius: 10px;
    background: #fff4f3;
    color: #ae2929;
    font-size: 13px;
    line-height: 1.8;
    text-align: center;
}

.login-footer {
    margin: 23px 0 0;
    color: #8b9eaa;
    font-size: 11px;
    text-align: center;
}

.login-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 7%, rgba(159, 218, 181, .16), transparent 34%),
        linear-gradient(145deg, #12354d 0%, #155a63 62%, #267963 100%);
    color: #fff;
}

.login-visual-content {
    position: relative;
    z-index: 1;
    padding: 57px 55px 0;
}

.login-visual-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(225, 247, 230, .34);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #d8f0de;
    font-size: 12px;
    font-weight: 700;
}

.login-visual h2 {
    margin: 31px 0 12px;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.75;
    font-weight: 800;
}

.login-visual p {
    max-width: 340px;
    margin: 0;
    color: #d2e4e6;
    font-size: 13px;
    line-height: 2;
}

.login-landscape {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    height: 57%;
    object-fit: cover;
    object-position: center bottom;
}

@media (max-width: 800px) {
    .login-shell {
        display: block;
        max-width: 470px;
        min-height: 0;
    }

    .login-visual {
        display: none;
    }

    .login-card {
        min-height: 570px;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 15px;
    }

    .login-shell {
        border-radius: 18px;
    }

    .login-card {
        min-height: 0;
        padding: 23px 22px 21px;
    }

    .login-brand img {
        width: 205px;
        height: 81px;
    }

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

@media (max-height: 680px) {
    .login-page {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .login-shell {
        min-height: 0;
    }

    .login-card {
        min-height: 0;
        padding-top: 13px;
        padding-bottom: 12px;
    }

    .login-brand img {
        height: 68px;
    }

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

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

    .login-field {
        margin-bottom: 10px;
    }

    .login-field input {
        height: 44px;
    }

    .login-password-toggle {
        top: 4px;
    }

    .login-remember {
        margin-bottom: 12px;
    }

    .login-submit {
        min-height: 44px;
    }

    .login-visual-content {
        padding-top: 26px;
    }

    .login-visual h2 {
        margin-top: 12px;
    }
}
