/* =============================================
   NEW HEADER - AGGRESSIVE VERSION
   Перекрывает ВСЕ старые стили! (ОБНОВЛЕНО ПОД FIGMA)
   ============================================= */

/* Скрываем старую навигацию */
.new-header-main ~ .container .navbar,
.new-header-main + .container .navbar {
    display: none !important;
}

/* ===== ОСНОВНАЯ СТРУКТУРА ===== */
.new-header-main {
    width: 100% !important;
    padding: 10px 16px !important;
    position: relative !important;
    z-index: 10000 !important; /* ← Всегда поверх меню (9998) */
    background: transparent !important;
    display: block !important;
}

.new-header-container {
    max-width: 1500px !important;
    margin: 0 auto !important;
    height: 72px !important;
    background: rgba(35, 0, 101, 0.70) !important; /* Фиолетовый полупрозрачный из Figma */
    border-radius: 17px !important; /* Скругление из Figma */
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0px 0.21875px 1.0984px rgba(39, 0, 50, 0.08), 0px 1px 3.0875px rgba(39, 0, 50, 0.12), 0px 2.53125px 8.2828px rgba(39, 0, 50, 0.16), 0px 5px 19px rgba(39, 0, 50, 0.24) !important; /* Тень из Figma */
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    overflow: visible !important; /* Чтобы выпадающее меню не обрезалось */
}

/* ===== ЛОГОТИП ===== */
.new-header-logo {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.new-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
}

.new-logo-link:hover {
    opacity: 0.85 !important;
    text-decoration: none !important;
}

.new-logo-img {
    width: 140px !important; /* Размер под новый SVG */
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    filter: drop-shadow(0px 0px 20px #E7C7FF) !important; /* Свечение из Figma */
}

.new-logo-text {
    display: none !important; /* Скрываем, так как текст теперь вшит в SVG */
}

/* ===== НАВИГАЦИЯ (Стеклянная плашка по центру) ===== */
.new-header-nav {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(255, 255, 255, 0.10) !important; /* Стекло из Figma */
    border-radius: 12px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important; /* Отступы из Figma */
    padding: 0 28px !important;
    flex-grow: unset !important;
    backdrop-filter: blur(5px) !important;
}

.new-nav-item {
    padding: 0 !important; /* Убрали старые паддинги-пилюли */
    background: transparent !important; /* Убрали старый серый фон */
    border-radius: 0 !important;
    color: white !important; /* Белый текст из Figma */
    font-family: 'Manrope', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    text-align: center !important;
    transition: opacity 0.3s ease !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
}

.new-nav-item:hover {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    transform: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.new-nav-item.active,
.new-nav-item:focus {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* ===== ПРАВАЯ ЧАСТЬ ===== */
.new-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

/* Соцсети */
.new-social-icons {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.new-social-link {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    padding: 4px !important;
    transition: transform 0.3s ease !important;
    color: transparent !important; /* Убираем цвет, чтобы не мешал SVG */
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}

.new-social-link:hover {
    transform: scale(1.1) !important;
    color: transparent !important;
    text-decoration: none !important;
    background: transparent !important;
}

/* Магия смены иконок (Белый полупрозрачный -> Белый 100%) */
.social-icon-default,
.social-icon-hover {
    display: block;
    transition: opacity 0.3s ease;
}

.social-icon-default {
    opacity: 1;
}

.social-icon-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.new-social-link:hover .social-icon-default {
    opacity: 0;
}

.new-social-link:hover .social-icon-hover {
    opacity: 1;
}

.social-link-tg svg { width: 24px; height: 19px; }
.social-link-vk svg { width: 24px; height: 14px; }
.social-link-maks svg { width: 19px; height: 19px; }

/* Кнопка входа (Стеклянная из Figma) */
.new-login-btn {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 24px !important;
    background: rgba(255, 255, 255, 0.10) !important; /* Стекло из Figma */
    backdrop-filter: blur(10px) !important;
    border-radius: 12px !important; /* Скругление из Figma */
    color: white !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important; /* Заглавные из Figma */
    text-decoration: none !important;
    white-space: nowrap !important;
    border: none !important;
    box-shadow: none !important;
}

.new-login-btn:hover {
    background: rgba(255, 255, 255, 0.20) !important; /* Эффект наведения из Figma */
    transform: none !important;
    box-shadow: none !important;
    color: white !important;
    text-decoration: none !important;
}

.new-login-btn i, .new-login-btn svg {
    font-size: 16px !important;
    color: white !important;
}

/* ===== БУРГЕР МЕНЮ ===== */
.new-mobile-toggle {
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    z-index: 10001 !important;
}

.new-mobile-toggle svg {
    display: block;
    width: 31px;
    height: 15px;
}

/* Логика смены бургера на крестик (без JS, чистый CSS) */
.burger-icon-default { display: block !important; }
.burger-icon-close { display: none !important; }

.new-header-main:has(#newMobileMenu.show) .burger-icon-default { display: none !important; }
.new-header-main:has(#newMobileMenu.show) .burger-icon-close { display: block !important; }

/* ===== МОБИЛЬНОЕ МЕНЮ (ОБНОВЛЕНО ПОД FIGMA) ===== */
.new-mobile-menu-collapse {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 9998 !important;
    background: #FFFFFF !important; /* Белый фон из Figma */
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.new-mobile-menu-collapse.show {
    display: flex !important;
    flex-direction: column !important;
}

.new-mobile-menu-content {
    background: #FFFFFF !important; /* Белый фон из Figma */
    padding: 112px 20px 100px 20px !important; /* Отступ сверху 112px из Figma */
    min-height: 100vh !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.new-mobile-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important; /* gap из Figma */
    flex: 1 !important; /* Растягиваем на всю высоту */
}

.new-mobile-nav-item {
    display: block !important;
    padding: 0 !important;
    color: rgba(87, 87, 87, 0.75) !important; /* Цвет из Figma */
    font-family: 'Manrope', sans-serif !important;
    font-size: 20px !important; /* Размер из Figma */
    font-weight: 400 !important;
    text-decoration: none !important;
    border-bottom: none !important; /* Убрали разделители */
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    line-height: 1.3 !important;
}

.new-mobile-nav-item:last-child {
    border-bottom: none !important;
}

.new-mobile-nav-item:hover,
.new-mobile-nav-item.active {
    background: transparent !important;
    color: rgba(87, 87, 87, 0.70) !important;
    padding-left: 0 !important;
    text-decoration: none !important;
}

/* ===== МОБИЛЬНЫЕ КНОПКИ (Войти / ЛК / Выйти) ===== */
.new-mobile-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important; /* gap из Figma */
    margin-top: auto !important; /* Прижимаем книзу */
    padding-top: 0 !important; /* Убрали лишний отступ */
    padding-bottom: 16px !important; /* Небольшой отступ от низа */
}

.new-mobile-btn {
    width: 100% !important;
    height: 48px !important;
    padding: 10px 24px !important;
    background: linear-gradient(45deg, #9378FB 0%, #C0DDFA 100%) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(10px) !important;
    color: #FFFFFF !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.new-mobile-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0px 4px 16px rgba(147, 120, 251, 0.4) !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
}

.new-mobile-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

.new-mobile-btn svg path {
    fill: #FFFFFF !important;
}

.new-mobile-social {
    display: none !important; /* Убрали старые иконки соцсетей из моб меню */
}

/* ===== ГРАДИЕНТНЫЕ СТРАНИЦЫ ===== */
.new-gradient-wrapper { }

/* ===== ADAPTIVE (максимум 992px) ===== */
@media screen and (max-width: 1300px) {
    .desktop-only {
        /*display: none !important;*/
    }
    .new-login-btn:not(.mobile-full-width) {
        display: none !important;
    }

    body.home-page .new-header-main {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
        background: transparent !important;
    }
    body.home-page .new-header-container {
        background: rgba(35, 0, 101, 0.70) !important; /* Обновлено под моб. версию из Figma */
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-radius: 17px !important;
		z-index:10000;
		position:fixed;
    }
    body.home-page #mform {
        padding-top: 80px;
    }

    .new-mobile-toggle {
        display: flex !important;
    }
    .new-header-nav {
        display: none !important;
    }

    .new-header-container {
        flex-wrap: wrap !important;
        height: 56px !important; /* Высота из моб. макета Figma */
        padding: 0 15px !important;
        border-radius: 17px !important;
    }
    .new-logo-img {
        width: 99px !important; /* Ширина из моб. макета Figma */
        height: auto !important;
    }
    .new-mobile-toggle svg {
        width: 24px;
        height: auto;
    }
}

@media screen and (max-width: 576px) {
    .new-header-main {
        padding: 6px 10px !important;
    }
    .new-header-container {
        padding: 0 11px !important; /* Точные отступы из моб. Figma */
        border-radius: 17px !important;
    }
    .new-logo-img {
        width: 99px !important; /* Оставляем логотип крупным */
        height: auto !important;
    }
}


/* =============================================
   HERO SECTION – FINAL (Мобильное фото + порядок)
   ============================================= */

/* ===== ОСНОВНАЯ СЕКЦИЯ ===== */
.new-hero-slide {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: -92px;
    padding-top: 92px;
}

/* ===== ФОНОВЫЙ КОНТЕЙНЕР ===== */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00021A;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    z-index: 2;
    object-fit: cover;
}

.hero-bg-main {
    width: 120%;
    height: 115%;
    left: -10%;
    top: -15%;
    opacity: 0.8;
}

.hero-bg-secondary {
    width: 100%;
    height: 130%;
    left: 0;
    top: -18%;
    opacity: 0.6;
    z-index: 3;
}

.hero-bg-mobile {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 4;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(35.77, 15, 35.77, 0.75) 0%, rgba(62, 26, 62, 0) 53%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 5;
}

/* ===== КОНТЕНТ ===== */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 92px);
    padding-bottom: 40px;
}

/* ===== ЗАГОЛОВОК И КНОПКИ (сверху) ===== */
.hero-top-section {
    margin-bottom: 40px;
}

.hero-title {
    font-family: 'Manrope', sans-serif;
    font-size: 80px;
    font-weight: 200;
    text-transform: uppercase;
    line-height: 92.8px;
    margin-bottom: 20px;
    color: white;
    display: block;
}

.hero-title-solid {
    color: white;
    display: inline;
}

.hero-title-transparent {
    color: rgba(255, 255, 255, 0.75);
    display: inline;
}

.hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: white;
    margin-bottom: 32px;
    max-width: 503px;
    line-height: 1.4;
}

/* КНОПКИ */
.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 10px 32px;
    border-radius: 900px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-btn-primary {
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    color: white;
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(194, 0, 194, 0.4);
    color: white;
    text-decoration: none;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

/* ===== КАРТОЧКИ (снизу) ===== */
.hero-bottom-section {
    /* Идет после заголовка */
}

.hero-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1240px;
}

.hero-card {
    min-height: 115px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-3px);
}

.hero-card-text {
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.3;
    word-wrap: break-word;
}

/* ===== АДАПТИВ HERO ===== */
@media screen and (max-width: 1200px) {
    .hero-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hero-title {
        font-size: 64px;
        line-height: 74px;
    }
}

@media screen and (max-width: 992px) {
    .new-hero-slide {
        min-height: auto;
        margin-top: 0;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-content {
        min-height: auto;
        padding-bottom: 14px;
    }

    .hero-bg-mobile {
        display: block;
    }
    .hero-bg-main,
    .hero-bg-secondary {
        display: none;
    }

    .hero-title {
        font-size: 48px;
        line-height: 56px;
    }
    .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-top-section {
        margin-bottom: 20px;
    }

    .hero-cards-grid {
        grid-template-columns: 1fr;
    }
    .hero-card {
        min-height: 60px;
        padding: 14px 18px;
    }
    .hero-card-text {
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .new-hero-slide {
        padding: 100px 0 0 0;
    }
    .hero-title {
        font-size: 36px;
        line-height: 42px;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        height: 44px;
        font-size: 14px;
        padding: 10px 24px;
    }
}

/* =============================================
   ЛЕВОЕ МЕНЮ ЛИЧНОГО КАБИНЕТА (ОБНОВЛЕНО ПОД FIGMA)
   ============================================= */
.lk-sidebar-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
}

.lk-sidebar {
    width: 295px;
    flex-shrink: 0;
    background: #FDFDFD;
    box-shadow: 0px 0px 17px rgba(96.12, 96.12, 96.12, 0.08);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lk-sidebar-title {
    text-align: center;
    color: #575757;
    font-size: 18px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin: 0;
    word-wrap: break-word;
}

.lk-sidebar-menu {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lk-menu-item {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 10px 24px;
    background: #F3F2F4;
    border-radius: 12px;
    text-align: center;
    color: rgba(87, 87, 87, 0.75);
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    gap: 10px;
}

.lk-menu-item:hover {
    background: #EBEAEC;
    text-decoration: none;
    color: rgba(87, 87, 87, 0.70);
}

.lk-menu-item.selected {
    background: linear-gradient(45deg, #9378FB 0%, #C0DDFA 100%);
    color: white;
    border: none;
    outline: none;
}

.lk-menu-item.logout {
    margin-top: 8px;
    background: linear-gradient(45deg, #9378FB 0%, #C0DDFA 100%);
    color: white;
}

.lk-menu-item.admin {
    margin-top: 16px;
    background: linear-gradient(45deg, #9378FB 0%, #C0DDFA 100%) !important;
    color: white;
}

.lk-menu-item.admin:hover {
    opacity: 0.9;
    color: white;
}

.lk-content {
    flex: 1;
    background: #FDFDFD;
    box-shadow: 0px 0px 17px rgba(96.12, 96.12, 96.12, 0.08);
    border-radius: 12px;
    padding: 40px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 582px;
}

/* =============================================
   СТИЛИ ПРОФИЛЯ (ОБНОВЛЕНО ПОД FIGMA)
   ============================================= */
.profile-container {
    align-self: stretch;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 32px;
}

.profile-header {
    align-self: stretch;
    margin: 0;
}

.profile-title {
    align-self: stretch;
    color: #575757;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
    word-wrap: break-word;
}

.profile-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-family: 'Manrope', sans-serif;
}

.profile-form {
    align-self: stretch;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
}

.profile-row {
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
}

.profile-field {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0px;
    min-width: 0;
}

.profile-label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    color: #575757;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.profile-label .required {
    color: #ff0000;
}

.profile-input {
    align-self: stretch;
    height: 56px;
    padding: 10px 16px;
    background: #F3F2F4;
    border: none;
    border-radius: 12px;
    color: #575757;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.profile-input:focus {
    background: #EBEAEC;
    outline: none;
}

.profile-input::placeholder {
    color: rgba(87, 87, 87, 0.75);
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

.profile-submit {
    margin-top: auto;
    padding-top: 16px;
}

.profile-btn {
    width: 404px;
    max-width: 100%;
    height: 56px;
    padding: 10px 32px;
    background: linear-gradient(45deg, #9378FB 0%, #C0DDFA 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
}

.profile-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0px 4px 16px rgba(147, 120, 251, 0.4);
}

/* =============================================
   МОБИЛЬНАЯ АДАПТАЦИЯ ЛК (ОБНОВЛЕНО ПОД FIGMA)
   ============================================= */
@media (max-width: 992px) {
    .lk-sidebar-wrapper {
        flex-direction: column;
        margin: 20px auto;
        padding: 0 16px;
    }

    .lk-sidebar {
        width: 100%;
        padding: 24px;
    }

    .lk-sidebar-title {
        font-size: 16px;
    }

    .lk-menu-item {
        height: 44px;
        font-size: 16px;
        white-space: normal;
    }

    .lk-content {
        padding: 24px 14px;
        min-height: auto;
    }

    .profile-title {
        font-size: 22px;
        text-align: center;
    }

    .profile-header {
        margin-bottom: 24px;
    }

    .profile-row {
        flex-direction: column;
        gap: 12px;
    }

    .profile-field {
        min-width: 100%;
    }

    .profile-label {
        font-size: 16px;
    }

    .profile-input {
        height: 48px;
        font-size: 13px;
    }

    .profile-input::placeholder {
        font-size: 13px;
    }

    .profile-btn {
        height: 48px;
        font-size: 18px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .lk-sidebar {
        padding: 20px;
    }

    .lk-content {
        padding: 8px;
    }

    .profile-title {
        font-size: 20px;
    }
}

/* =============================================
   ОБУЧЕНИЕ (КУРСЫ)
   ============================================= */
.course-empty-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 524px;
    background: #FDFDFD;
    box-shadow: 0px 0px 17px rgba(96.12, 96.12, 96.12, 0.08);
    border-radius: 12px;
}

.course-empty-content {
    text-align: center;
    padding: 20px;
    max-width: 594px;
}

.course-empty-title {
    color: #575757;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin-bottom: 32px;
    line-height: 1.3;
    text-transform: uppercase;
}

.course-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 10px 32px;
    background: linear-gradient(45deg, #9378FB 0%, #C0DDFA 100%);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 10px;
}

.course-empty-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0px 4px 16px rgba(147, 120, 251, 0.4);
    text-decoration: none;
    color: white;
}

/* Мобильная адаптация для страницы обучения */
@media (max-width: 992px) {
    .course-empty-container {
        min-height: 404px;
        padding: 20px;
    }

    .course-empty-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .course-empty-btn {
        height: 48px;
        font-size: 13px;
        padding: 10px 32px;
        width: 100%;
        max-width: 305px;
    }

    .course-empty-content {
        width: 100%;
        padding: 0 20px;
    }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .course-empty-title {
        font-size: 24px;
    }
}

/* =============================================
   ЗАГОЛОВКИ СТРАНИЦ ЛИЧНОГО КАБИНЕТА
   ============================================= */
.page-header {
    margin-bottom: 32px;
}

.page-title {
    color: #575757;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
}

/* Мобильная адаптация заголовков */
@media (max-width: 992px) {
    .page-header {
        margin-bottom: 24px;
    }

    .page-title {
        font-size: 22px;
        text-align: center;
    }
	
}

@media (min-width: 769px) and (max-width: 1280px) {

	.col-12.forma {padding-left:0px !important; padding-right:0px !important;}
}

/* =============================================
   ОТМЕНА ЖЕЛТОГО ФОНА ДЛЯ AUTOFILL
   ============================================= */
/* Для Chrome, Safari, Edge, Opera */
.profile-input:-webkit-autofill,
.profile-input:-webkit-autofill:hover,
.profile-input:-webkit-autofill:focus,
.profile-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #F3F2F4 inset !important;
    -webkit-text-fill-color: #575757 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Для Firefox */
.profile-input:autofill,
.profile-input:autofill:hover,
.profile-input:autofill:focus {
    background-color: #F3F2F4 !important;
    color: #575757 !important;
}

/* Дополнительно для полей ввода пароля */
.profile-input:-webkit-autofill:focus {
    outline: none !important;
}

/* Глобально для всех полей на сайте */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #F3F2F4 inset !important;
    -webkit-text-fill-color: #575757 !important;
}

input:autofill,
textarea:autofill,
select:autofill {
    background-color: #F3F2F4 !important;
    color: #575757 !important;
}


