/* Задайте своё человеческое название файла между '' */
/* --human-name-css: 'Настройки стиля Мой профиль'; */

/* Укажите имя автора между '' */
/* --human-author-css: 'sms'; */

/* Задайте путь до аватара автора между "" */
/* --human-author-image-css: ""; */

/* =======================================================
   СТИЛИ ТОЛЬКО ДЛЯ СТРАНИЦЫ "МОЙ ПРОФИЛЬ" (ID 1109)
   ======================================================= */

/* ---------- ЗАГОЛОВОК И КНОПКИ В ОДНОЙ СТРОКЕ ---------- */
.postid-1109 .profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.postid-1109 .profile-title {
    font-size: 16pt;
    font-weight: bold;
}
.postid-1109 .profile-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
}
.postid-1109 .profile-buttons a {
    display: inline-flex;
    align-items: center;
    background: #7C916D;
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.19);
    white-space: nowrap;
}
.postid-1109 .profile-buttons a:hover {
    background: #647557;
}
.postid-1109 .profile-buttons a .fa {
    margin-right: 6px;
}

/* ---------- СЕТКА ПОЛЕЙ (ДВЕ КОЛОНКИ) ---------- */
.postid-1109 .mblpr_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 15px;
}

/* Аватар и поля паролей — на всю ширину */
.postid-1109 .mblpr_field_group[data-avatar],
.postid-1109 .mblpr_field_group:has(#mblpr_field_user_pass_1),
.postid-1109 .mblpr_field_group:has(#mblpr_field_user_pass_repeat_1) {
    grid-column: span 2;
}

/* ---------- ПОЛЯ ВВОДА ---------- */
.postid-1109 .mblpr-field {
    width: 100%;
    padding: 10px 16px 10px 42px;
    font-size: 15px;
    border: 1px solid #e0e3e9;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.2s ease;
}
.postid-1109 .mblpr-field:focus {
    outline: none;
    border-color: #7C916D;
    box-shadow: 0 0 0 3px rgba(124, 145, 109, 0.2);
}

/* Иконки внутри полей */
.postid-1109 .mblpr-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa3af;
    font-size: 18px;
    pointer-events: none;
}
.postid-1109 .mblpr-field--with-icon {
    padding-left: 42px;
}

/* ---------- РАЗДЕЛИТЕЛЬ "СМЕНА ПАРОЛЯ" (сплошная линия) ---------- */
.postid-1109 .mblpr_field_group:has(#mblpr_field_user_pass_1) {
    border-top: 1px solid #ccc;
    padding-top: 20px;
    margin-top: 10px;
}
.postid-1109 .mblpr_field_group:has(#mblpr_field_user_pass_1)::before {
    content: "Смена пароля";
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

/* ---------- РАЗДЕЛИТЕЛЬ ПЕРЕД КНОПКОЙ "СОХРАНИТЬ" (УБРАН) ---------- */
.postid-1109 .memberlux_profile_form > p:last-of-type {
    /* border-top: 1px solid #ccc; — удалено */
    margin-top: -25px;
    padding-top: 25px;
}

/* Кнопка "Сохранить" — на всю ширину, с иконкой */
.postid-1109 .mblpr-submit {
    display: block;
    width: 100%;
    background: #7C916D;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0px 0px 8px rgba(0,0,0,0.19);
    text-align: center;
}
.postid-1109 .mblpr-submit:hover {
    background: #647557;
}
/* Иконка сохранения (дискета) перед текстом */
.postid-1109 .mblpr-submit::before {
    font-family: "FontAwesome";
    content: "\f0c7";
    margin-right: 8px;
    display: inline-block;
}

/* Сообщения об успехе/ошибке */
.postid-1109 .mblpr-success,
.postid-1109 .mblpr-error {
    text-align: center;
    margin: 8px 0;
}

/* Скрываем пустые абзацы и лишние &nbsp; */
.postid-1109 .content-wrap > p:empty,
.postid-1109 .content-wrap > p:has(> br:only-child) {
    display: none;
}

/* ---------- АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ ---------- */
@media (max-width: 768px) {
    .postid-1109 .mblpr_fields {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .postid-1109 .mblpr_field_group[data-avatar],
    .postid-1109 .mblpr_field_group:has(#mblpr_field_user_pass_1),
    .postid-1109 .mblpr_field_group:has(#mblpr_field_user_pass_repeat_1) {
        grid-column: span 1;
    }
    .postid-1109 .profile-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .postid-1109 .profile-buttons {
        justify-content: center;
        margin-top: 10px;
    }
    .postid-1109 .profile-buttons a {
        white-space: normal;
    }
}