.msotp-profile {
    --msotp-action: #704C37;
    --msotp-action-dark: #5C3E2B;
    --msotp-text: #2A1B14;
    --msotp-muted: #6F6358;
    --msotp-border: #E0D9C8;
    --msotp-soft: #F6F2EB;
    --msotp-page: #FBF8F3;
    --msotp-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    direction: rtl;
    color: var(--msotp-text);
    font-family: 'DanaFaNum', Tahoma, sans-serif;
}

.msotp-profile *,
.msotp-profile *::before,
.msotp-profile *::after {
    box-sizing: border-box;
}

.msotp-profile__card {
    padding: 24px;
    border: 1px solid var(--msotp-border);
    border-radius: var(--msotp-radius);
    background: #FFFFFF;
    box-shadow: none;
}

.msotp-profile__heading {
    margin: 0 0 17px;
    color: var(--msotp-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.msotp-profile__grid {
    display: flex;
    flex-direction: column;
}

.msotp-profile__row {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 18px;
    min-height: 52px;
    padding: 10px 0;
    border-bottom: 1px solid #EEE7DD;
}

.msotp-profile__row:last-child {
    border-bottom: 0;
}

.msotp-profile__label {
    color: var(--msotp-muted);
    font-size: 12px;
    line-height: 1.7;
}

.msotp-profile__value {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--msotp-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    text-align: left;
}

.msotp-profile__hint,
.msotp-profile__desc {
    color: var(--msotp-muted);
    font-size: 12px;
    line-height: 1.9;
}

.msotp-profile__hint {
    margin: 15px 0 0;
    padding: 11px 13px;
    border-radius: 12px;
    background: var(--msotp-soft);
}

.msotp-profile__desc {
    margin: 0 0 17px;
}

.msotp-profile__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 13px;
}

.msotp-profile__field label {
    color: var(--msotp-text);
    font-size: 12px;
    font-weight: 600;
}

.msotp-profile__field input {
    width: 100% !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 1px solid var(--msotp-border) !important;
    border-radius: 14px !important;
    outline: none !important;
    background: #FFFEFC !important;
    box-shadow: none !important;
    color: var(--msotp-text) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.msotp-profile__field input:hover {
    border-color: #CFBEAA !important;
}

.msotp-profile__field input:focus {
    border-color: var(--msotp-action) !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(112, 76, 55, .08) !important;
}

.msotp-profile__btn {
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--msotp-action) !important;
    border-radius: 14px !important;
    background: var(--msotp-action) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition:
        background .18s ease,
        border-color .18s ease;
}

.msotp-profile__btn:hover {
    border-color: var(--msotp-action-dark) !important;
    background: var(--msotp-action-dark) !important;
    color: #FFFFFF !important;
}

@media (max-width: 600px) {
    .msotp-profile {
        gap: 12px;
    }

    .msotp-profile__card {
        padding: 18px 15px;
        border-radius: 18px;
    }

    .msotp-profile__heading {
        margin-bottom: 13px;
        font-size: 15px;
    }

    .msotp-profile__row {
        grid-template-columns: 1fr;
        gap: 3px;
        min-height: 0;
        padding: 11px 0;
    }

    .msotp-profile__value {
        font-size: 13px;
        text-align: right;
    }

    .msotp-profile__field input {
        height: 50px !important;
        font-size: 16px !important;
    }

    .msotp-profile__btn {
        width: 100%;
    }
}
