﻿@font-face {
    font-family: Vazirmatn;
    src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body.account-page {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    padding: 24px;
    display: grid;
    place-items: center;
    font-family: Vazirmatn, Tahoma, sans-serif;
    color: #15394f;
    background:
            radial-gradient(circle at 10% 15%, #009e9114, transparent 35%),
            radial-gradient(circle at 90% 85%, #087f9c12, transparent 35%),
            #f3f7fa;
}

.account-shell {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid #e3edf2;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 80px #07345412;
}

.account-story {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    color: #fff;
    background:
            radial-gradient(circle at 15% 80%, #009e9145, transparent 48%),
            linear-gradient(145deg, #073454, #05283f);
}

.brand-pill {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 18px;
    background: #fff;
}

.brand-pill img {
    display: block;
    width: 160px;
    height: 48px;
    object-fit: contain;
}

.story-content {
    position: relative;
    width: 100%;
    flex: 1;
    margin-top: 46px;
}

.story-eyebrow,
.form-eyebrow {
    font-size: 13px;
    font-weight: 600;
}

.story-eyebrow {
    color: #8de3d8;
}

.account-story h1 {
    position: relative;
    z-index: 1;
    margin: 20px 0;
    font-size: clamp(30px, 3.4vw, 43px);
    line-height: 1.65;
    font-weight: 800;
    letter-spacing: -1px;
}

.account-story p {
    position: relative;
    z-index: 1;
    max-width: 310px;
    font-size: 14px;
    line-height: 2.2;
    color: #c8dce7;
}

.story-footer {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: #abc8d8;
}

.growth-art {
    position: absolute;
    width: 220px;
    height: 220px;
    bottom: -15px;
    left: -45px;
    opacity: .65;
    pointer-events: none;
}

.growth-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid #ffffff20;
    border-radius: 50%;
}

.growth-orbit::after {
    content: "";
    position: absolute;
    inset: 25px;
    border: 1px solid #ffffff12;
    border-radius: 50%;
}

.growth-stem {
    position: absolute;
    width: 5px;
    height: 90px;
    bottom: 35px;
    left: 107px;
    border-radius: 10px;
    background: #67d3bf;
}

.growth-leaf {
    position: absolute;
    width: 72px;
    height: 42px;
    background: linear-gradient(120deg, #80ead0, #009e91);
    border-radius: 55px 0 55px 0;
}

.leaf-one {
    top: 58px;
    left: 107px;
    transform: rotate(-28deg);
}

.leaf-two {
    top: 88px;
    left: 41px;
    transform: rotate(68deg);
}

.growth-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8de3d8;
}

.dot-one {
    top: 25px;
    left: 50px;
}

.dot-two {
    bottom: 30px;
    right: 30px;
}

.account-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.school-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid #d8eeea;
    border-radius: 100px;
    background: #f0faf7;
    color: #087e73;
    font-size: 13px;
    font-weight: 600;
}

.school-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #009e91;
}

.form-heading {
    margin: 32px 0;
}

.form-eyebrow {
    color: #009e91;
}

.form-heading h2 {
    margin: 10px 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.6px;
}

.form-heading p {
    margin: 0;
    color: #708794;
    font-size: 13px;
    line-height: 2;
}

.field-group {
    margin-bottom: 22px;
}

.field-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
}

.field-group input {
    width: 100%;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid #dce6ec;
    border-radius: 13px;
    outline: none;
    background: #f9fbfc;
    color: #15394f;
    font: inherit;
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.field-group input:focus {
    background: #fff;
    border-color: #009e91;
    box-shadow: 0 0 0 4px #009e9112;
}

.field-group input::placeholder {
    color: #9aadb7;
}

.field-group input.input-validation-error {
    border-color: #bc4141;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #ad3434;
    font-size: 12px;
}

.validation-summary-errors {
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #fff2f2;
    color: #ad3434;
    font-size: 13px;
    line-height: 1.9;
}

.validation-summary ul {
    margin: 0;
    padding-inline-start: 18px;
}

.validation-summary-valid {
    display: none;
}

.login-button {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(110deg, #009e91, #087f9c);
    box-shadow: 0 8px 22px #009e9124;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px #009e9133;
}

.login-button span {
    font-size: 23px;
}

.login-button:focus-visible,
.brand-pill:focus-visible {
    outline: 3px solid #087f9c;
    outline-offset: 4px;
}

.login-help {
    margin: 20px 0 0;
    text-align: center;
    color: #708794;
    font-size: 12px;
    line-height: 2;
}

.account-footer {
    margin-top: 38px;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #edf2f5;
    color: #8ba0ac;
    font-size: 11px;
}

@media (max-width: 760px) {
    body.account-page {
        padding: 16px;
    }

    .account-shell {
        max-width: 480px;
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .account-story {
        min-height: auto;
        padding: 24px;
    }

    .brand-pill {
        padding: 8px 12px;
        border-radius: 12px;
    }

    .brand-pill img {
        width: 130px;
        height: 36px;
    }

    .story-content {
        margin-top: 20px;
    }

    .account-story h1 {
        margin: 10px 0;
        font-size: 27px;
        line-height: 1.6;
    }

    .account-story h1 br {
        display: none;
    }

    .account-story p,
    .story-footer,
    .growth-art {
        display: none;
    }

    .account-form-panel {
        padding: 28px 24px;
    }

    .form-heading {
        margin: 24px 0;
    }

    .form-heading h2 {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
    }
}