/* Шаблон страницы "UM"
 * Класс body на таких страницах: .page-template-page-um
 * Здесь настраиваем общий вид форм Ultimate Member.
 */

/* Сужаем контент и центрируем блок с формой */
.page-template-page-um .wd-content-area {
    max-width: 100%;
}

/* Добавляем «карточку» вокруг контента */
.page-template-page-um .um-page-template {
    background-color: rgb(250, 248, 245);
    border-radius: 12px;
    padding: 32px 28px;
}

/* Базовое выравнивание заголовков/текста внутри UM */
.page-template-page-um .um-page-template h1,
.page-template-page-um .um-page-template h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 18px;
}

/* Поля форм UM внутри шаблона */
.page-template-page-um .um .um-field {
    margin-bottom: 16px;
}

.page-template-page-um .um .um-field-label label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.page-template-page-um .um input[type="text"],
.page-template-page-um .um input[type="email"],
.page-template-page-um .um input[type="password"] {
    border-radius: 20px;
    border: 1px solid #d1d5db;
    padding: 11px 13px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-template-page-um .um input[type="text"]:focus,
.page-template-page-um .um input[type="email"]:focus,
.page-template-page-um .um input[type="password"]:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.25);
    outline: none;
}

.page-template-page-um .um .um-button,
.page-template-page-um .um input[type="submit"].um-button {
    border-radius: 999px !important;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.um-22482.um {
    max-width: 600px !important;
}

.page-template-page-um .um-left .um-button,
.um input[type=submit].um-button {
    background-color: var(--wd-primary-color) !important;
}

.page-template-page-um .um-right .um-button {
    color: #000000;
}

a.um-button {
    box-shadow: none !important;
}

/* Адаптив под мобильные */
@media (max-width: 767px) {
    .page-template-page-um .wd-content-area {
        margin: 24px 12px 40px;
    }

    .page-template-page-um .um-page-template {
        padding: 24px 18px;
    }
}


