/* Фирменные стили для Ultimate Member */

/* Обёртка формы */
.um.um-login, .um.um-register, .um.um-password, .um.um-profile {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 40px 32px;
    max-width: 420px;
    margin: 48px auto;
}

.um-form-header, .um-form-title {
    color: #7A42F4;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
}

.um-field-label {
    color: #22223b;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.um-field-area input,
.um-field-area textarea,
.um-field-area select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f7f8fa;
    font-size: 16px;
    color: #22223b;
    margin-bottom: 18px;
    transition: border-color 0.2s;
}

.um-field-area input:focus,
.um-field-area textarea:focus,
.um-field-area select:focus {
    border-color: #7A42F4;
    outline: none;
}

.um-button, .um-btn, .um input[type=submit] {
    background: linear-gradient(135deg, #7A42F4 0%, #5636B5 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(122, 66, 244, 0.10);
    margin-top: 10px;
}

.um-button:hover, .um-btn:hover, .um input[type=submit]:hover {
    background: linear-gradient(135deg, #5636B5 0%, #7A42F4 100%);
}

.um-field-checkbox input[type=checkbox] {
    accent-color: #7A42F4;
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.um a, .um a:visited {
    color: #7A42F4;
    text-decoration: underline;
    transition: color 0.2s;
}

.um a:hover {
    color: #5636B5;
}

.um-notice, .um-field-error {
    background: #f3f0ff;
    color: #7A42F4;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 18px;
    font-size: 15px;
}

.um-success {
    background: #e6ffed;
    color: #1a7f37;
    border-radius: 8px;
    padding: 12px 18px;
    margin-bottom: 18px;
    font-size: 15px;
}

.um-already-registered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #290d49;
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
}

.um-already-registered p {
    color: #290d49;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.um-already-registered-sub {
    color: #22223b;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 18px;
}
.um-already-registered .btn-hero-cta,
.um-already-registered .btn-back-home {
    display: inline-block;
    background: radial-gradient(circle at 60% 40%, #a777ff 0%, #5636B5 80%);
    color: #fff !important;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    padding: 16px 32px;
    margin: 12px 8px 0 8px;
    box-shadow: 0 4px 16px rgba(122,66,244,0.13);
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.um-already-registered .btn-hero-cta:hover,
.um-already-registered .btn-back-home:hover {
    background: radial-gradient(circle at 60% 40%, #5636B5 0%, #a777ff 80%);
    box-shadow: 0 8px 24px rgba(122,66,244,0.18);
    color: #fff !important;
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 600px) {
    .um.um-login, .um.um-register, .um.um-password, .um.um-profile {
        padding: 20px 6px;
        max-width: 100%;
    }
    .um-form-header, .um-form-title {
        font-size: 1.3rem;
    }
}

/* =====================
   ВКЛАДКИ ПРОФИЛЯ UM
   ===================== */
.um-profile-nav, .um-account-nav, .um-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    background: #f7f8fa;
    border-radius: 16px;
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(122,66,244,0.04);
}
.um-profile-nav-item, .um-account-nav-item, .um-tabs li {
    list-style: none;
}
.um-profile-nav-item a, .um-account-nav-item a, .um-tabs a {
    display: block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    color: #7A42F4;
    background: none;
    transition: background 0.2s, color 0.2s;
    font-size: 1.08rem;
    text-decoration: none;
}
.um-profile-nav-item.active a, .um-account-nav-item.active a, .um-tabs .active a {
    background: linear-gradient(135deg, #a777ff 0%, #5636B5 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(122,66,244,0.10);
}
.um-profile-nav-item a:hover, .um-account-nav-item a:hover, .um-tabs a:hover {
    background: #ede7f6;
    color: #5636B5;
}

/* =====================
   РАДИОКНОПКИ UM
   ===================== */
.um-field-radio input[type=radio] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #a777ff;
    border-radius: 50%;
    background: #fff;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    transition: border-color 0.2s;
    vertical-align: middle;
}
.um-field-radio input[type=radio]:checked {
    border-color: #7A42F4;
    background: radial-gradient(circle at 60% 40%, #a777ff 0%, #5636B5 80%);
}
.um-field-radio input[type=radio]:checked::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    box-shadow: 0 0 0 4px #7A42F4;
}
.um-field-radio label {
    font-weight: 500;
    color: #22223b;
    margin-right: 18px;
    cursor: pointer;
}

/* =====================
   ЧЕКБОКСЫ UM (доработка)
   ===================== */
.um-field-checkbox input[type=checkbox] {
    accent-color: #7A42F4;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #a777ff;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.um-field-checkbox input[type=checkbox]:hover,
.um-field-checkbox input[type=checkbox]:focus {
    border-color: #7A42F4;
    box-shadow: 0 0 0 2px #a777ff33;
}
.um-field-checkbox label {
    font-weight: 500;
    color: #22223b;
    margin-left: 8px;
    cursor: pointer;
}

/* =====================
   ПРОФИЛЬ UM: ОТСТУПЫ, ШРИФТЫ
   ===================== */
.um.um-profile {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 1.08rem;
    color: #22223b;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 40px 32px;
    max-width: 700px;
    margin: 48px auto;
}
.um-profile-header, .um-profile-meta, .um-profile-name {
    text-align: center;
    margin-bottom: 24px;
}
.um-profile-photo img {
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(122,66,244,0.10);
    border: 3px solid #a777ff;
    width: 96px;
    height: 96px;
    object-fit: cover;
    margin-bottom: 12px;
}
.um-profile-body, .um-profile-content, .um-profile-main {
    margin-top: 24px;
}

@media (max-width: 600px) {
    .um.um-profile {
        padding: 18px 2px;
        max-width: 100%;
    }
    .um-profile-nav, .um-account-nav, .um-tabs {
        flex-direction: column;
        gap: 0;
        border-radius: 10px;
    }
    .um-profile-nav-item a, .um-account-nav-item a, .um-tabs a {
        padding: 12px 0;
        border-radius: 10px;
        font-size: 1rem;
    }
}

/* =====================
   ВЕРТИКАЛЬНОЕ МЕНЮ АККАУНТА (Account Tabs)
   ===================== */
.um-account-nav, .um-account-side, .um-account-menu, .um-account-tabs, .um-side-nav, .um-tabs-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f7f8fa;
    border-radius: 18px;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(122,66,244,0.04);
    min-width: 220px;
}
.um-account-nav li, .um-account-side li, .um-account-menu li, .um-account-tabs li, .um-side-nav li, .um-tabs-vertical li {
    list-style: none;
}
.um-account-nav a, .um-account-side a, .um-account-menu a, .um-account-tabs a, .um-side-nav a, .um-tabs-vertical a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 700;
    color: #7A42F4;
    background: none;
    transition: background 0.2s, color 0.2s;
    font-size: 1.08rem;
    text-decoration: none;
    border: none;
}
.um-account-nav .active > a, .um-account-side .active > a, .um-account-menu .active > a, .um-account-tabs .active > a, .um-side-nav .active > a, .um-tabs-vertical .active > a {
    background: linear-gradient(135deg, #a777ff 0%, #5636B5 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(122,66,244,0.10);
}
.um-account-nav a:hover, .um-account-side a:hover, .um-account-menu a:hover, .um-account-tabs a:hover, .um-side-nav a:hover, .um-tabs-vertical a:hover {
    background: #ede7f6;
    color: #5636B5;
}
.um-account-nav i, .um-account-side i, .um-account-menu i, .um-account-tabs i, .um-side-nav i, .um-tabs-vertical i {
    color: #a777ff;
    font-size: 1.2em;
    min-width: 20px;
    transition: color 0.2s;
}
.um-account-nav .active i, .um-account-side .active i, .um-account-menu .active i, .um-account-tabs .active i, .um-side-nav .active i, .um-tabs-vertical .active i {
    color: #fff;
}

/* =====================
   КНОПКИ (универсально для аккаунта)
   ===================== */
.um-account-btn, .um-btn, button[type=submit], input[type=submit] {
    background: linear-gradient(135deg, #7A42F4 0%, #5636B5 100%) !important;
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(122, 66, 244, 0.10);
    margin-top: 10px;
    outline: none;
}
.um-account-btn:hover, .um-btn:hover, button[type=submit]:hover, input[type=submit]:hover {
    background: linear-gradient(135deg, #5636B5 0%, #7A42F4 100%) !important;
    color: #fff !important;
}

/* =====================
   ЖЁСТКОЕ ПЕРЕКРЫТИЕ ДЛЯ UM PROFILE
   ===================== */
.um-profile .um-profile-nav,
.um-profile .um-account-nav,
.um-profile .um-account-side,
.um-profile .um-account-menu,
.um-profile .um-account-tabs,
.um-profile .um-side-nav,
.um-profile .um-tabs-vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: #f7f8fa !important;
    border-radius: 18px !important;
    padding: 18px 0 !important;
    box-shadow: 0 2px 8px rgba(122,66,244,0.04) !important;
    min-width: 220px !important;
}
.um-profile .um-profile-nav li,
.um-profile .um-account-nav li,
.um-profile .um-account-side li,
.um-profile .um-account-menu li,
.um-profile .um-account-tabs li,
.um-profile .um-side-nav li,
.um-profile .um-tabs-vertical li {
    list-style: none !important;
}
.um-profile .um-profile-nav a,
.um-profile .um-account-nav a,
.um-profile .um-account-side a,
.um-profile .um-account-menu a,
.um-profile .um-account-tabs a,
.um-profile .um-side-nav a,
.um-profile .um-tabs-vertical a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 22px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    color: #7A42F4 !important;
    background: none !important;
    transition: background 0.2s, color 0.2s !important;
    font-size: 1.08rem !important;
    text-decoration: none !important;
    border: none !important;
}
.um-profile .um-profile-nav .active > a,
.um-profile .um-account-nav .active > a,
.um-profile .um-account-side .active > a,
.um-profile .um-account-menu .active > a,
.um-profile .um-account-tabs .active > a,
.um-profile .um-side-nav .active > a,
.um-profile .um-tabs-vertical .active > a {
    background: linear-gradient(135deg, #a777ff 0%, #5636B5 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(122,66,244,0.10) !important;
}
.um-profile .um-profile-nav a:hover,
.um-profile .um-account-nav a:hover,
.um-profile .um-account-side a:hover,
.um-profile .um-account-menu a:hover,
.um-profile .um-account-tabs a:hover,
.um-profile .um-side-nav a:hover,
.um-profile .um-tabs-vertical a:hover {
    background: #ede7f6 !important;
    color: #5636B5 !important;
}
.um-profile .um-profile-nav i,
.um-profile .um-account-nav i,
.um-profile .um-account-side i,
.um-profile .um-account-menu i,
.um-profile .um-account-tabs i,
.um-profile .um-side-nav i,
.um-profile .um-tabs-vertical i {
    color: #a777ff !important;
    font-size: 1.2em !important;
    min-width: 20px !important;
    transition: color 0.2s !important;
}
.um-profile .um-profile-nav .active i,
.um-profile .um-account-nav .active i,
.um-profile .um-account-side .active i,
.um-profile .um-account-menu .active i,
.um-profile .um-account-tabs .active i,
.um-profile .um-side-nav .active i,
.um-profile .um-tabs-vertical .active i {
    color: #fff !important;
}

.um-profile .um-btn,
.um-profile button[type=submit],
.um-profile input[type=submit],
.um-profile .um-account-btn {
    background: linear-gradient(135deg, #7A42F4 0%, #5636B5 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 20px rgba(122, 66, 244, 0.10) !important;
    margin-top: 10px !important;
    outline: none !important;
}
.um-profile .um-btn:hover,
.um-profile button[type=submit]:hover,
.um-profile input[type=submit]:hover,
.um-profile .um-account-btn:hover {
    background: linear-gradient(135deg, #5636B5 0%, #7A42F4 100%) !important;
    color: #fff !important;
}

.um-profile .um-field-radio input[type=radio] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #a777ff !important;
    border-radius: 50% !important;
    background: #fff !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    margin-right: 10px !important;
    transition: border-color 0.2s !important;
    vertical-align: middle !important;
}
.um-profile .um-field-radio input[type=radio]:checked {
    border-color: #7A42F4 !important;
    background: radial-gradient(circle at 60% 40%, #a777ff 0%, #5636B5 80%) !important;
}
.um-profile .um-field-radio input[type=radio]:checked::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    box-shadow: 0 0 0 4px #7A42F4;
}
.um-profile .um-field-radio label {
    font-weight: 500 !important;
    color: #22223b !important;
    margin-right: 18px !important;
    cursor: pointer !important;
}

.um-profile .um-field-checkbox input[type=checkbox] {
    accent-color: #7A42F4 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    border: 2px solid #a777ff !important;
    background: #fff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.um-profile .um-field-checkbox input[type=checkbox]:hover,
.um-profile .um-field-checkbox input[type=checkbox]:focus {
    border-color: #7A42F4 !important;
    box-shadow: 0 0 0 2px #a777ff33 !important;
}
.um-profile .um-field-checkbox label {
    font-weight: 500 !important;
    color: #22223b !important;
    margin-left: 8px !important;
    cursor: pointer !important;
}

/* =====================
   UM PRIVACY TAB (раздел Приватность)
   ===================== */
.um-profile .um-account-nav .um-account-tab-privacy > a,
.um-profile .um-profile-nav .um-account-tab-privacy > a,
.um-profile .um-account-nav .um-account-tab[data-tab="privacy"] > a,
.um-profile .um-profile-nav .um-account-tab[data-tab="privacy"] > a {
    background: linear-gradient(135deg, #a777ff 0%, #5636B5 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(122,66,244,0.10) !important;
}
.um-profile .um-account-tab-privacy a:hover,
.um-profile .um-profile-nav .um-account-tab-privacy a:hover {
    background: #ede7f6 !important;
    color: #5636B5 !important;
}

.um-profile .um-account-tab-privacy,
.um-profile .um-account-tab[data-tab="privacy"] {
    font-weight: 700 !important;
}

.um-profile .um-account-tab-content.privacy,
.um-profile .um-account-tab-content[data-tab="privacy"],
.um-profile .um-account-tab-panel.privacy {
    background: #f7f8fa !important;
    border-radius: 18px !important;
    padding: 32px 24px !important;
    margin-top: 18px !important;
    box-shadow: 0 2px 8px rgba(122,66,244,0.04) !important;
}

.um-profile .um-account-tab-content.privacy label,
.um-profile .um-account-tab-content[data-tab="privacy"] label {
    font-weight: 600 !important;
    color: #22223b !important;
    margin-bottom: 10px !important;
    display: block !important;
}

.um-profile .um-account-tab-content.privacy input[type=checkbox],
.um-profile .um-account-tab-content[data-tab="privacy"] input[type=checkbox] {
    accent-color: #7A42F4 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 4px !important;
    border: 2px solid #a777ff !important;
    background: #fff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    margin-right: 10px !important;
}

.um-profile .um-account-tab-content.privacy input[type=radio],
.um-profile .um-account-tab-content[data-tab="privacy"] input[type=radio] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #a777ff !important;
    border-radius: 50% !important;
    background: #fff !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    margin-right: 10px !important;
    transition: border-color 0.2s !important;
    vertical-align: middle !important;
}
.um-profile .um-account-tab-content.privacy input[type=radio]:checked,
.um-profile .um-account-tab-content[data-tab="privacy"] input[type=radio]:checked {
    border-color: #7A42F4 !important;
    background: radial-gradient(circle at 60% 40%, #a777ff 0%, #5636B5 80%) !important;
}
.um-profile .um-account-tab-content.privacy input[type=radio]:checked::after,
.um-profile .um-account-tab-content[data-tab="privacy"] input[type=radio]:checked::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    box-shadow: 0 0 0 4px #7A42F4;
}

.um-profile .um-account-tab-content.privacy .um-btn,
.um-profile .um-account-tab-content[data-tab="privacy"] .um-btn,
.um-profile .um-account-tab-content.privacy button[type=submit],
.um-profile .um-account-tab-content[data-tab="privacy"] button[type=submit] {
    background: linear-gradient(135deg, #7A42F4 0%, #5636B5 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 20px rgba(122, 66, 244, 0.10) !important;
    margin-top: 10px !important;
    outline: none !important;
}
.um-profile .um-account-tab-content.privacy .um-btn:hover,
.um-profile .um-account-tab-content[data-tab="privacy"] .um-btn:hover,
.um-profile .um-account-tab-content.privacy button[type=submit]:hover,
.um-profile .um-account-tab-content[data-tab="privacy"] button[type=submit]:hover {
    background: linear-gradient(135deg, #5636B5 0%, #7A42F4 100%) !important;
    color: #fff !important;
} 