/* صفحه‌های ورود و ثبت‌نام - تنظیمات پایه در base.css است */
body {
    min-height: 100vh;
    background: #f6fafb;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px max(30px, 8%);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 800;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 14px;
    color: white;
    background: linear-gradient(140deg, #11a69c, #087f8c);
    font-size: 25px;
}

.brand small {
    display: block;
    margin-top: -5px;
    color: #84949c;
    font-size: 10px;
    font-weight: 500;
}

.form-wrap { width: 100%; max-width: 440px; margin: auto; }

.eyebrow {
    color: #087f8c;
    font-size: 12px;
    font-weight: 800;
}

h1 {
    margin: 7px 0;
    font-size: 28px;
    font-weight: 800;
}

.description {
    margin: 0 0 22px;
    color: #819099;
    line-height: 2.2;
    font-size: 12px;
}

.field { margin-bottom: 14px; }

label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
}

.input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #e1e9ec;
    border-radius: 11px;
    outline: none;
    background: white;
    color: #203541;
    font: inherit;
    font-size: 12px;
    transition: .2s;
}

.input:focus {
    border-color: #087f8c;
    box-shadow: 0 0 0 3px #087f8c12;
}

.input::placeholder { color: #a6b1b7; }

.input-phone {
    direction: ltr;
    text-align: left;
    letter-spacing: 1px;
}

.role-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.role-option {
    position: relative;
    margin: 0;
}

.role-option input {
    position: absolute;
    opacity: 0;
}

.role-option span {
    display: block;
    padding: 13px;
    border: 1px solid #e1e9ec;
    border-radius: 11px;
    background: white;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.role-option input:checked + span {
    border-color: #087f8c;
    background: #087f8c12;
    color: #087f8c;
}

.role-option input:focus-visible + span {
    box-shadow: 0 0 0 3px #087f8c25;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    border: 0;
    border-radius: 11px;
    color: white;
    background: #087f8c;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s;
}

.btn:hover {
    background: #07636e;
    transform: translateY(-1px);
}

.error {
    margin-top: 6px;
    color: #c2414d;
    font-size: 11px;
}

.message {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 10px;
    background: #fff0f1;
    color: #a52d3a;
    font-size: 12px;
}

.form-footer {
    margin-top: 21px;
    text-align: center;
    color: #819099;
    font-size: 12px;
}

.form-footer a {
    color: #087f8c;
    font-weight: 800;
}

.terms {
    margin-top: 13px;
    color: #87959d;
    font-size: 10px;
    line-height: 2;
}

.auth-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 55px 11%;
    color: white;
    background:
        radial-gradient(ellipse at 90% 10%, #23b9ad70, transparent 40%),
        linear-gradient(145deg, #075b69, #087f8c 65%, #0b9692);
}

.auth-aside::before,
.auth-aside::after {
    position: absolute;
    content: "";
    width: 350px;
    height: 350px;
    border: 1px solid #ffffff20;
    border-radius: 50%;
}

.auth-aside::before { top: -170px; right: -100px; }
.auth-aside::after { bottom: -190px; left: -100px; }

.aside-content { position: relative; z-index: 1; }

.aside-label {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid #ffffff38;
    border-radius: 30px;
    background: #ffffff10;
    font-size: 11px;
}

.auth-aside h2 {
    margin: 24px 0 12px;
    font-size: 34px;
    line-height: 1.8;
}

.auth-aside p {
    color: #d4f0ef;
    font-size: 13px;
    line-height: 2.4;
}

.benefits {
    display: grid;
    gap: 13px;
    margin-top: 30px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid #ffffff26;
    border-radius: 12px;
    background: #ffffff0b;
    font-size: 12px;
}

.benefit span {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    background: #ffffff1c;
}

@media (max-width: 800px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-aside { display: none; }
    .auth-main { min-height: 100vh; padding: 25px 22px; }
}

/* مخصوص صفحه ورود */
.password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.password-row a {
    color: #087f8c;
    font-size: 11px;
    font-weight: 600;
}
.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71818b;
    font-size: 11px;
    cursor: pointer;
}
.remember input {
    accent-color: #087f8c;
    cursor: pointer;
}

.message-error {
    background: #fff0f1;
    color: #a52d3a;
}

/* کارت توضیحات در بخش کناری صفحه ورود */
.aside-card {
    margin-top: 35px;
    padding: 20px;
    border: 1px solid #ffffff2c;
    border-radius: 17px;
    background: #ffffff10;
    backdrop-filter: blur(10px);
}

.aside-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
}

.aside-card span {
    color: #d4f0ef;
    font-size: 11px;
    line-height: 2.2;
}
