/* =========================================================================
   MsOTP — فرم ویرایش اطلاعات پروفایل (نام، استان، شهر، مقطع، رشته)
   هم‌راستا با استایل کارت‌های موجود در account.css
   ========================================================================= */

.msotp-profile__edit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 640px) {
    .msotp-profile__edit-grid {
        grid-template-columns: 1fr;
    }
}

.msotp-profile__edit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.msotp-profile__edit-field label {
    font-size: 13px;
    color: var(--msotp-muted, #777);
}

.msotp-profile__edit-field input[type="text"],
.msotp-profile__edit-field select {
    height: 48px;
    padding: 0 14px;
    font-size: 14px;
    color: var(--msotp-text, #222);
    background: #fafafa;
    border: 1px solid var(--msotp-border, #e2e2e2);
    border-radius: var(--msotp-radius, 10px);
    outline: none;
    font-family: inherit;
    transition: border-color .15s ease;
    width: 100%;
}

.msotp-profile__edit-field input[type="text"]:focus,
.msotp-profile__edit-field select:focus {
    border-color: var(--msotp-action, #5caf21);
    background: #fff;
}

.msotp-profile__edit-field--readonly input {
    background: #f1f1f1;
    color: #999;
    cursor: not-allowed;
}

.msotp-profile__edit-field--wide {
    grid-column: 1 / -1;
}

/* ستاره فیلد الزامی */
.msotp-required {
    color: #d63638;
}

/* دکمه ذخیره اطلاعات با فاصله از گرید */
.msotp-profile__btn--spaced {
    margin-top: 16px;
}

/* پیام نتیجه ذخیره فرم پروفایل */
.msotp-profile__notice {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: var(--msotp-radius, 10px);
    font-size: 13px;
}

.msotp-profile__notice.is-ok {
    background: #e6f7ee;
    color: #099268;
}

.msotp-profile__notice.is-error {
    background: #fdecec;
    color: #d63638;
}
