
.illustration_container {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    background-color: #cbe8e3;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.illustration {
    min-width: 328px;
    width: 100%;
    object-fit: cover;
}

/* .header {
    text-align: center;
} */

.body-sm {
    color: var(--color-text-secondary);
}


/* ====== فرم مرحله ۱ (ورود شماره) ====== */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 0.8rem;
    width: 100%;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field-center {
    text-align: center;
    justify-content: center;
}

.form-field-label {
    font-size: 1.3rem;
    font-weight: 500;
    color: #394644;
}

.form-field-label-error {
    font-size: 1rem;
    font-weight: 500;
    color: #E64545;
    display: none;
}

.phone_number_input {
    flex: 1;
    border: none;
    outline: none;
    border-radius: 0;
}

.phone-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    border: 1px solid #c7d6d1;
    background-color: #fff;
    overflow: hidden;
}

.phone-prefix {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1rem;
    border-right: 1px solid #c7d6d1;
    background-color: #f5fbfa;
    font-size: 1.3rem;
}

.phone-prefix-flag {
    width: 20px;
    height: 20px;
}

.auth-actions {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.auth-footer-link {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-top: 2.5rem;
    text-align: justify;
}

.auth-footer-link a {
    color: var(--color-link);
    text-decoration: none;
}

.auth-footer-link a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}


/* گروه ورودی‌های کد تأیید */
.otp-input-group {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    /* در دسکتاپ می‌تونی کمتر/بیشتر کنی */
    margin-top: 1.6rem;
    direction: ltr;
}

/* هر باکس کد: از همون .input استفاده می‌کنیم ولی عرض ثابت */
.otp-input {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    /* استفاده دوباره از توکن‌ها */
    width: 8rem;
    height: var(--input-height-lg);
    padding: 0;
}


.form-field-helper {
    margin-top: 0.4rem;
    font-size: 1.3rem;
    color: var(--color-helper-text);
}

.auth-resend-code {
    margin-top: 1rem;
    border: none;
    background: transparent;
    color: var(--color-primary);
    font-size: 1.4rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.auth-resend-code:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .auth-page {
        padding: 0;
    }

    .auth-card {
        max-width: none;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-illustration {
        display: flex;
        justify-content: center;
    }

    .illustration {
        max-width: 328px;
    }

    .otp-input-group {
        gap: 0.6rem;
    }

    .otp-input {
        width: 3.2rem;
        font-size: 1.6rem;
    }

    .otp-input {
        width: 100%;
    }
}