/* Определяем CSS-переменные для тем */
:root {
    --bg-color: #1C1E24;
    --sidebar-bg: rgba(28, 30, 36, 0.1);
    --header-bg: rgba(28, 30, 36, 0.1); /* Полупрозрачный для тёмной темы */
    --card-bg: rgba(28, 30, 36, 0.3);
    --text-color: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #A0A0A0;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: #A0A0A0;
    --shadow-color: rgba(0, 0, 0, 0.0);
    --notification-bg: rgba(255, 85, 85, 0.9);
    --notification-shadow: rgba(255, 85, 85, 0.2);
}

/* Переменные для цветов */
:root {
    --gray-100: rgb(243 244 246);
    --gray-200: rgb(229 231 235);
    --gray-250: rgb(217 222 228);
    --gray-350: rgb(200 206 214);
    --gray-300: rgb(209 213 219);
    --gray-500: rgb(107 114 128);
    --gray-700: rgb(55 65 81);
    --brand-50: rgb(238 241 252);
    --brand-400: rgb(147 151 178);
    --brand-700: rgb(50 53 68);
    --brand-800: rgb(37 39 50);
    --brand-900: rgb(31 33 43);
}

.light-theme {
    --bg-color: #F5F7FA;
    --sidebar-bg: rgba(255, 255, 255, 0.1);
    --header-bg: rgba(255, 255, 255, 0.1); /* Полупрозрачный для светлой темы */
    --card-bg: rgba(255, 255, 255, 0.7);
    --text-color: #1C1E24;
    --text-primary: #1C1E24;
    --text-secondary: #6B7280;
    --text-muted: rgba(0, 0, 0, 0.6);
    --border-color: #D1D5DB;
    --shadow-color: rgba(0, 0, 0, 0.0);
    --notification-bg: rgba(239, 68, 68, 0.9);
    --notification-shadow: rgba(239, 68, 68, 0.2);
}

body {
    cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIhSURBVHgB7ZVNaxNRFIbfufmYpuCkGCoIKhZJRYtasyvYhQt12T8wuHHpJiQiJKusgklIoBEM0hCqFRViMT9A0I0UtAFtUi0ualo/SGoFW+LMZEhmPOOii7ahgZmsOg/czZnDfe/5HA5ENpsVZFm+rut6vVwuLxSLxQ76DGeIKoqyKkuSjx8YAGPsg9PpvBkKhSroI0xV1SmK1pfL5fBodhbb21vj7Xb7dSKRuEYZ4NAnWKfTOUMRo95o4PPKCvL5GXxarvrIXkqlUvfpAUfQB9huQ72+gRfz81hcfD+o69ptjuMexOPxUVgM28/YbP5F6WUJT+bmoMiy6HK53lD0E1amnnX7oOk6KtVlFAoF/NpoHNc07VU6nb5llTg7yKG2tobp6SyqlaVBEn+YTCanYAEHChu0VBVPnz0HzThNG7uXyWSOwiQ9CRtQl6Oy9BGU6rOtVkuASXoWNhAEL6jLNx0OhwKT9CzM8zwCgctGxO8kSdqESXoW9vv9OHHylELCM7FYrA2TMEpdk3YzPB5PVydKLcbOnwP5VSnyBViAIfxYEIQ/oihiZOQ0eLd7j9Ox4WFcvDRu1DcfDAYbsID/y4C2kkgzeocuHqM16aytfsX3nz/wbX2dGkrAlclJeL1DZersG9Fo9DcsYGcLUd3cJDJBl1+lOl4gU4DOEB2jnm8p3XfD4fAXWETX9UdLwkMPGKXf5lYkEqnBxsbGxubQ8Q/eluU5KDj1tQAAAABJRU5ErkJggg==), default !important;
    position: relative;
    margin: 0;
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--text-color);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg-color); /* Запасной цвет */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('foned-fpfi-ai.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transition: filter 0.3s ease;
}

.light-theme::before {
    filter: invert(100%) hue-rotate(180deg);
}

button, a, .custom-cursor {
    cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKOSURBVHgB7VVLiJJRFD4+xvfIzLRpFs4iHINUXGQrTWgRQZBtamHLCCUIFzFCIKSbAhEj3AzuR1q1FUFiTKJsxBMSyQQsUgqQxHzV/PZp4shRwf9ZaRFfnC597+Pc8733XPuT/SPwJk0abVaV7a3t293u927/X5fwOfzXzIM89DtdrfohMCfNAmnFxuNxuNwOLyBngwGg2pzc/MzlnbphMCdNAmWVzKZzEYoFKJYLEbRaJTX6/Wueb1eKS3SMbDabDYPP+r1+iAYiVAo5NGCHS8c/OMWwO7o1Bnc9y2Px/Me4y9ra2s/bTZbm+YEdxbHxWKR4vG4Ip/P7yK7YxwO51O1Wt33+Xw3kel8mgNj5eT3+4VgtpdKpW4Eg8GRNR6PRyKRiMCWtFot6fX6JsZPBQKB2263/yYWGIsWiXS+1WpdguOxzahrAuNhKxQKlMvlRBaL5Z5MJjvA8gtigRGpwVYOVjvJZPJUOp2eehiOKZFIyDC8DslZJerI5na7faFWq12ORCKEup16uNPpEO59UGpnpVKpmFjg0PEgYhi6CkOyUqk002Ek2fDO0Tchf5dY4Kg8q2BNswJvOKlUqj7U+ehyuVgl19+MB9ruKxSKvlg8m2qD7FYqlQwYv0brEwuMMIbUb9bX1w+MRiNxudNzRa1WE4LMQe63xBIj1p1O5w/I98BkMjE6nW54hxMPIaitrS3Cvh6q4AnbGh5grI6R1e+QoY/MZvMOjG5ks1lCXRPmCGoMG36RpNFofqF+9xDAM5oDEykFAgFJpVK5g6S5Xy6XT6NfkUgkDGQtQ5ESyucDWD+Xy+Wv5n2vOcctwDgH/18l5D6HF0sM9t/h/Ctetm8Oh4OhJZZYYon/Dn8AC5oMWFEc0/wAAAAASUVORK5CYII=), pointer !important;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Кнопка мобильного меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-color);
    z-index: 1001;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Оверлей для мобильного меню */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.header.scrolled {
    background: transparent;
    backdrop-filter: blur(12px);
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    margin-left: 48px;
}

.header .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-right: 72px;
    padding-right: 24px;
}

.balance {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    background-color: var(--card-bg);
    padding: 6px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.balance:hover {
    background-color: rgba(160, 160, 160, 0.2);
    transform: scale(1.05);
}

.balance-icon {
    background-color: rgba(160, 160, 160, 0.2);
    border-radius: 50%;
    padding: 4px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-plus {
    width: 16px;
    height: 16px;
}

.notifications-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.3s ease;
}

.notifications-btn:hover {
    color: var(--text-color);
}

.notifications-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.notifications-count {
    position: absolute;
    top: -5px;
    left: -9px;
    background-color: rgb(87, 87, 255);
    color: rgb(255, 255, 255);
    font-size: 10px;
    font-weight: 500;
    border-radius: 12px;
    padding: 3px 7px;
    z-index: 1;
}

.notifications-count::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--border-color);
    border-radius: 50%;
    opacity: 0.75;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.bell-icon {
    width: 24px;
    height: 24px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.user-info:hover {
    background-color: rgba(160, 160, 160, 0.1);
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.user-info {
    transition: opacity 0.3s ease;
}

.user-info.loading {
    opacity: 0.5;
}

.user-info.loaded {
    opacity: 1;
}

#username {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    transition: opacity 0.3s ease;
}

.sidebar {
    width: 200px; /* Увеличили с 160px */
    background: var(--sidebar-bg);
    padding: 20px; /* Увеличили с 15px */
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px; /* Скорректировали под новую высоту header */
    bottom: 0;
    left: 0;
    z-index: 999;
    backdrop-filter: blur(25px); /* Добавили для контраста с фоном */
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 25px; /* Увеличили с 20px */
}

.nav-item {
    padding: 10px 12px; /* Увеличили с 8px */
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px; /* Увеличили с 13px */
    border-radius: 10px; /* Увеличили с 8px */
    margin-bottom: 8px; /* Увеличили с 6px */
    transition: all 0.3s ease;
}

.nav-item:hover {
    background-color: rgba(160, 160, 160, 0.2);
    color: var(--text-color);
}

.nav-item.active {
    background-color: var(--border-color);
    color: var(--text-color);
}

.main-content {
    flex: 1;
    margin-top: 56px; /* Скорректировали под новую высоту header */
    margin-left: 220px; /* Увеличили с 180px под новую ширину sidebar */
    padding: 20px;
    opacity: 1; /* Исправлено: было 0 */
    transition: opacity 0.5s ease;
}

.user-menu {
    position: fixed;
    top: 64px;
    right: 60px;
    background: rgba(107, 108, 110, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 12px;
    width: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    transform: scale(0.95) translateY(-8px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.user-menu.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
}

.menu-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.menu-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: none;
}

.menu-avatar-img[style*="display: block"] {
    display: block !important;
}

.menu-avatar-img[src]:not([src=""]) {
    display: block;
}

.menu-avatar-initials {
    color: var(--text-color);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-avatar-img[src]:not([src=""]) ~ .menu-avatar-initials {
    display: none;
}

.menu-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#menu-username {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

#menu-email {
    font-size: 12px;
    color: var(--text-secondary);
}

.menu-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}

.menu-items {
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
}

.menu-item:hover {
    background-color: rgba(160, 160, 160, 0.2);
    color: var(--text-color);
}

.menu-item.theme-toggle {
    position: relative;
}

.menu-item.theme-toggle span {
    flex-grow: 1;
    text-align: left;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
    transition: stroke 0.2s ease, transform 0.2s ease;
}

.menu-item.theme-toggle:hover .arrow-icon {
    stroke: var(--text-color);
    transform: rotate(90deg);
}

.menu-item.logout {
    color: rgba(255, 85, 85, 0.8);
}

.menu-item.logout:hover {
    background-color: rgba(255, 85, 85, 0.3);
    color: var(--accent-color);
}

.menu-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.theme-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(107, 108, 110, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px;
    width: 120px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1200;
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.theme-menu.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.theme-item:hover {
    background-color: rgba(160, 160, 160, 0.2);
    color: var(--text-color);
}

.theme-check {
    width: 16px;
    height: 16px;
    stroke: var(--text-color);
    display: none;
}

/* Контейнер уведомлений */
.notifications-container {
    position: relative;
}

/* Кнопка уведомлений */
.notifications-btn {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.notifications-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.notifications-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-color);
    transition: all 0.2s ease;
}

.notifications-btn:hover svg {
    stroke: var(--text-color);
}

/* Бейдж с количеством */
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: rgba(34, 197, 94, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 
        0 4px 12px rgba(34, 197, 94, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.notification-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    animation: waveRipple 3s ease-out infinite;
}

.notification-badge:not(:empty) {
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: scale(0.95) translateY(0px);
    }
    50% { 
        transform: scale(1) translateY(-1px);
    }
}

@keyframes waveRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    70% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Выпадающее меню */
.notifications-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 380px;
    max-height: 500px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1001;
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.notifications-dropdown.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
}

/* Заголовок */
.notifications-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notifications-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Список уведомлений */
.notifications-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

/* Кастомный скроллбар */
.notifications-list::-webkit-scrollbar {
    width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Элемент уведомления */
.notification-item {
    position: relative;
    padding: 14px 16px;
    margin: 6px 0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.notification-item.unread {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
    border-left: 3px solid #3b82f6;
}

.notification-item.unread::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

.notification-item.read {
    opacity: 0.7;
}

.notification-item.read:hover {
    opacity: 0.9;
}

/* Контент уведомления */
.notification-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.notification-time {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-left: 12px;
}

/* Сообщение уведомления */
.notification-message {
    position: relative;
}

.message-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
    transition: all 0.3s ease;
}

.message-text.truncated {
    max-height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.message-text.expanded {
    max-height: none;
    overflow: visible;
    -webkit-line-clamp: unset;
}

/* Кнопка разворачивания */
.expand-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 12px;
    margin-top: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.expand-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
    border-color: rgba(59, 130, 246, 0.3);
    color: #2563eb;
    transform: translateY(-1px);
}

.expand-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.expand-btn:active {
    transform: translateY(0);
}

/* Модальное окно для уведомлений */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.notification-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-content {
    position: center;
    top: 0%;
    left: 0%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(40, 42, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    z-index: 99999999;
}

.notification-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    flex: 1;
    padding-right: 16px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
}

.modal-message {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}

.modal-message a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.modal-message a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.modal-time {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: right;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Кастомный скроллбар для модального окна */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-message {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.9;
}

.notification-time {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
    font-weight: 500;
}

/* Состояние загрузки */
.loading-notifications {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid var(--text-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Пустое состояние */
.empty-notifications {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-notifications svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-notifications h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.empty-notifications p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: rgba(160, 160, 160, 0.1);
}

.notification-item p {
    margin: 0;
    line-height: 1.3;
}

.notification-item p.text-xs.font-normal {
    opacity: 0.7;
}

.notification-item p.text-right {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 2px;
}

.notification-more {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.notification-more:hover {
    color: var(--text-color);
}

.no-notifications {
    padding: 8px 12px;
    margin: 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.releases {
    padding: 20px;
}

.releases-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.releases h2 {
    font-size: 22px;
    margin: 0;
    color: var(--text-color);
}

.view-all-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

@media (max-width: 1200px) {
    .releases-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .releases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 400px) {
    .releases-grid {
        grid-template-columns: 1fr;
    }
}

.no-releases {
    color: var(--text-secondary);
    font-size: 16px;
    text-align: center;
    margin: 20px 0;
    grid-column: 1 / -1;
}

.release-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px;
    border-radius: 10px;
}

.release-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.light-theme .release-card:hover {
    background: rgba(0, 0, 0, 0.03);
}

.release-cover-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.light-theme .release-cover-container {
    background: rgba(0, 0, 0, 0.03);
}

.release-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.cover-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.light-theme .cover-spinner {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: rgba(0, 0, 0, 0.4);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.release-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 2px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.release-card .artist {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.release-card .stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: left;
}

.release-card .likes,
.release-card .comments {
    display: flex;
    align-items: center;
    gap: 4px;
}

.release-card .icon {
    width: 14px;
    height: 14px;
    fill: var(--text-secondary);
}

.additional-content {
    padding: 20px;
}

.additional-content h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.placeholder {
    color: var(--text-secondary);
    font-size: 16px;
    text-align: center;
    margin: 20px 0;
}

.notification-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    z-index: 1000;
}

.custom-notification {
    padding: 10px 20px;
    background: var(--notification-bg);
    color: var(--text-color);
    border-radius: 10px;
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
    box-shadow: 0 0 10px var(--notification-shadow);
    transform: translateY(20px);
}

.custom-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.custom-notification.expanded {
    transform: scale(1.1);
    z-index: 1001;
}

.custom-notification.success {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    border-left: 4px solid #22c55e;
}

.custom-notification.error {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-left: 4px solid #ef4444;
}

.admin-section {
    padding: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.admin-table th {
    background: var(--header-bg);
    font-weight: 600;
}

.admin-table tr:hover {
    background: rgba(160, 160, 160, 0.1);
}

.admin-table button {
    padding: 6px 12px;
    margin-right: 8px;
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.admin-table button:hover {
    background: var(--border-color);
}

/* Стили для страницы настроек */
.settings {
    padding: 20px;
}

.settings h2 {
    font-size: 22px;
    margin: 0 0 20px;
    color: var(--text-color);
}

.settings-container {
    max-width: 1000px;
    margin-left: 20px;
}

.settings-group {
    margin-bottom: 32px;
    padding: 16px;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 12px;
}

.avatar-section,
.username-section,
.promocode-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1024px) {
    .avatar-section,
    .username-section,
    .promocode-section {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.avatar-upload {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 2px dashed var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.avatar-upload:hover {
    background: rgba(160, 160, 160, 0.1);
    border-color: var(--accent-color);
}

.avatar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: absolute;
    z-index: 1;
}

.avatar-icon {
    font-size: 24px;
    color: var(--text-secondary);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 2;
    display: none;
}

.avatar-img[style*="display: block"] {
    display: block !important;
}

.avatar-img[src]:not([src=""]) {
    display: block;
}

.avatar-img[src] ~ .avatar-placeholder {
    display: none; /* Скрываем плейсхолдер, если аватарка загружена */
}

.avatar-initials {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.avatar-img[src]:not([src=""]) ~ .avatar-initials {
    display: none; /* Скрываем инициалы, если есть аватар */
}
.avatar-info,
.section-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 800px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.section-description {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.section-action {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 1024px) {
    .section-action {
        flex-direction: row;
        align-items: center;
        width: auto;
    }
}

.username-display {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 0.5s ease;
}

.username-current {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.username-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.edit-btn,
.save-btn,
.cancel-btn,
.add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem; /* h-10 */
    padding: 0.5rem 1.2rem; /* py-2 px-4+ */
    border-radius: 1rem; /* чуть больше для красоты */
    font-size: 0.8rem; /* text-sm */
    font-weight: 1000; /* font-semibold */
    font-family: 'Raveon Sans', sans-serif !important;
    color: var(--gray-700);
    background-color: var(--gray-250);
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    cursor: pointer;
    border: none; /* Без обводки */
}

.edit-btn:hover,
.add-btn:hover {
    background-color: var(--gray-350);
}

.save-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.save-btn:hover {
    background-color: var(--border-color);
    transform: scale(1.02);
}

.cancel-btn {
    background-color: transparent;
    color: var(--text-secondary);
}

.cancel-btn:hover {
    background-color: rgba(160, 160, 160, 0.1);
    transform: scale(1.02);
}

.dark-theme .edit-btn,
.dark-theme .add-btn {
    background-color: var(--brand-800);
    color: var(--brand-50);
    font-weight: 500; /* dark:font-medium */
}

.dark-theme .edit-btn:hover,
.dark-theme .add-btn:hover {
    background-color: var(--brand-700);
    transform: scale(1.02);
}

.dark-theme .save-btn {
    background-color: var(--accent-color);
    color: var(--brand-50);
    font-weight: 500;
}

.dark-theme .save-btn:hover {
    background-color: var(--border-color);
    transform: scale(1.02);
}

.dark-theme .cancel-btn {
    background-color: transparent;
    color: var(--brand-400);
    border: 1px solid var(--brand-800);
    font-weight: 500;
}

.dark-theme .cancel-btn:hover {
    background-color: rgba(37, 39, 50, 0.2);
    transform: scale(1.02);
}

.edit-btn:focus,
.add-btn:focus,
.save-btn:focus,
.cancel-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.dark-theme .edit-btn:focus,
.dark-theme .add-btn:focus,
.dark-theme .save-btn:focus,
.dark-theme .cancel-btn:focus {
    box-shadow: 0 0 0 2px var(--brand-400);
}

.username-edit {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    opacity: 0;
    transform: translateY(0);
    transition: opacity 1s ease, transform 0.5s ease;
}

.username-edit.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .username-edit {
        flex-direction: row;
        align-items: center;
    }
}

.username-edit input,
.promocode-form input {
    height: 2.5rem; /* h-10 */
    padding: 0.5rem 1.2rem;
    border-radius: 1rem; /* чуть больше */
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Raveon Sans', sans-serif !important;
    color: var(--gray-700);
    background-color: var(--gray-100);
    border: none; /* Без обводки */
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.username-edit input:hover,
.promocode-form input:hover {
    background-color: var(--gray-200);
}

.username-edit input:focus,
.promocode-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.dark-theme .username-edit input,
.dark-theme .promocode-form input {
    background-color: var(--brand-900);
    color: var(--brand-50);
    font-weight: 500;
}

.dark-theme .username-edit input:hover,
.dark-theme .promocode-form input:hover {
    background-color: var(--brand-800);
}

.dark-theme .username-edit input:focus,
.dark-theme .promocode-form input:focus {
    box-shadow: 0 0 0 2px var(--brand-400);
}

.promocode-form input::placeholder {
    color: var(--gray-500);
    font-weight: 500;
}

.dark-theme .promocode-form input::placeholder {
    color: var(--brand-400);
}

.promocode-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

@media (min-width: 1024px) {
    .promocode-form {
        flex-direction: row;
        align-items: center;
    }
}

/* Стили для секции модератора */
.sidebar-bottom {
    margin-top: auto;
    padding-top: 20px;
}

.sidebar-divider {
    height: 1px;
    background: var(--border-color);
    margin: 15px 20px;
    opacity: 0.3;
}

.moderator-mode {
    color: #ff6b35 !important;
    font-weight: 500;
    position: relative;
    background: rgba(255, 107, 53, 0.08) !important;
    border-radius: 6px;
    margin: 0 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.2s ease;
    font-size: 13px !important;
    padding: 8px 12px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moderator-mode:hover {
    color: #e55a2b !important;
    background: rgba(255, 107, 53, 0.15) !important;
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
}

.moderator-mode .nav-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.moderator-mode::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: #ff6b35;
    transition: height 0.3s ease;
}

.moderator-mode:hover::before {
    height: 60%;
}

.exit-moderator-btn {
    color: #ff6b35 !important;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 6px;
    margin-bottom: 8px;
    background: rgba(255, 107, 53, 0.05);
}

.exit-moderator-btn:hover {
    color: #e55a2b !important;
    background: rgba(255, 107, 53, 0.15) !important;
    border-color: rgba(255, 107, 53, 0.5);
}

.exit-moderator-btn .exit-icon {
    width: 18px;
    height: 18px;
}

.moderator-btn {
    color: #ff6b35 !important;
    font-weight: 500;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 6px;
}

.moderator-btn:hover {
    color: #e55a2b !important;
    background: rgba(255, 107, 53, 0.2) !important;
}

.moderator-btn .moderator-icon {
    width: 18px;
    height: 18px;
}

/* Стили для страницы модератора */
.moderator-nav {
    margin-top: 10px;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.moderator-nav-item {
    padding: 10px 20px !important;
    font-size: 14px;
    color: var(--text-secondary) !important;
    border-left: 3px solid transparent;
    margin: 2px 0;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.moderator-nav-item:hover {
    color: var(--text-color) !important;
    background: rgba(255, 107, 53, 0.1);
    border-left-color: rgba(255, 107, 53, 0.5);
}

.moderator-nav-item.active {
    color: #ff6b35 !important;
    background: rgba(255, 107, 53, 0.15);
    border-left-color: #ff6b35;
    font-weight: 500;
}

.moderator-section {
    padding: 20px;
    min-height: 400px;
    background: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
}

.moderator-section h2 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

/* Стили для статистических карточек */
.moderation-stats,
.users-stats,
.tickets-stats,
.promocode-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-card h3 {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-card p {
    color: var(--text-color);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

/* Стили для таблиц */
.moderation-table-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.moderation-table {
    width: 100%;
    border-collapse: collapse;
}

.moderation-table th,
.moderation-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.moderation-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.moderation-table td {
    color: var(--text-color);
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 40px !important;
}

/* Стили для модального окна */
.modal-overlay {
    position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--hover-bg);
    color: var(--text-color);
}

.modal-body {
    padding: 20px 24px;
}

.modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--hover-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
}

/* Стили для кнопок действий в таблицах */
.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-right: 6px;
    transition: all 0.2s ease;
}

.action-btn.edit {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.action-btn.edit:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
}

.action-btn.notify {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.action-btn.notify:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
}

/* Стили для статистических карточек */
.users-stats,
.tickets-stats,
.moderation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-card p {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
}

/* Стили для кнопки создания уведомления */
.notification-controls {
    margin-bottom: 20px;
}

.create-notification-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.create-notification-btn:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

.create-notification-btn svg {
    width: 16px;
    height: 16px;
}

.moderation-stats,
.users-stats,
.tickets-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.stat-card p {
    margin: 0;
    color: var(--text-color);
    font-size: 28px;
    font-weight: 700;
}

.moderation-table-container {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.moderation-table {
    width: 100%;
    border-collapse: collapse;
}

.moderation-table th {
    background: rgba(255, 107, 53, 0.1);
    color: var(--text-color);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.moderation-table td {
    padding: 15px;
    color: var(--text-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.moderation-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-badge.approved {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-badge.rejected {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.3s ease;
}

.action-btn.edit {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
}

.action-btn.edit:hover {
    background: rgba(0, 123, 255, 0.3);
}

.action-btn.delete {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.action-btn.delete:hover {
    background: rgba(220, 53, 69, 0.3);
}

.action-btn.approve {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.action-btn.approve:hover {
    background: rgba(40, 167, 69, 0.3);
}

.action-btn.reject {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.action-btn.reject:hover {
    background: rgba(220, 53, 69, 0.3);
}

.filter-controls,
.notification-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.filter-controls select,
.filter-controls input {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 14px;
}

.create-notification-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.create-notification-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8841a);
    transform: translateY(-2px);
}

.create-notification-btn svg {
    width: 16px;
    height: 16px;
}

/* Стили для статус-бейджей */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.approved {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.read {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.unread {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Стили для таблиц модератора */
.moderation-table-container {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.moderation-table {
    width: 100%;
    border-collapse: collapse;
}

.moderation-table th {
    background: var(--hover-bg);
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.moderation-table td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    vertical-align: middle;
}

.moderation-table tr:last-child td {
    border-bottom: none;
}

.moderation-table tr:hover {
    background: var(--hover-bg);
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 40px !important;
}/* 
Стили для секции промокодов */
.promocode-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.promocode-controls {
    margin-bottom: 20px;
}

/* Дополнительные стили для форм */
.form-group input[type="datetime-local"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input[type="datetime-local"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
/* 
Модальные окна */
.modal-overlay {
    position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.btn-primary {
    background: #6366f1;
    color: white;
}

.btn-primary:hover {
    background: #5855eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

/* Стили для контролов */
.notification-controls,
.promocode-controls {
    margin-bottom: 20px;
}

/* Стили для кнопок создания */
.create-notification-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.create-notification-btn:hover {
    background: #5855eb;
    transform: translateY(-1px);
}

.create-notification-btn svg {
    width: 16px;
    height: 16px;
}

/* Стили для статус бейджей */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-badge.read {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280;
}

.status-badge.unread {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

/* Стили для кнопок действий */
.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s ease;
}

.action-btn.edit {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.action-btn.edit:hover {
    background: rgba(59, 130, 246, 0.3);
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.3);
}

.action-btn.notify {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.action-btn.notify:hover {
    background: rgba(168, 85, 247, 0.3);
}/* С
тили для управления пользователями */
.action-btn-small {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.action-btn-small:hover {
    background: var(--accent-hover);
}

.status-badge.blocked {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.action-btn.success {
    background: #22c55e;
    color: white;
}

.action-btn.success:hover {
    background: #16a34a;
}

/* Улучшенные модальные окна */
.modal-overlay {
    position: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(160, 160, 160, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: rgba(160, 160, 160, 0.1);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(160, 160, 160, 0.2);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(160, 160, 160, 0.3);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-color);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(160, 160, 160, 0.3);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(160, 160, 160, 0.1);
    border-color: rgba(160, 160, 160, 0.5);
}/* 
Стили для страницы аналитики */
.analytics-container {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.coming-soon {
    text-align: center;
    max-width: 600px;
    padding: 80px 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.coming-soon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.3);
}

/* Светлая тема - убираем круг, только темная иконка */
.light-theme .coming-soon-icon {
    background: transparent;
    box-shadow: none;
}

.coming-soon-icon svg {
    width: 50px;
    height: 50px;
    color: white;
}

/* Светлая тема - темная иконка */
.light-theme .coming-soon-icon svg {
    color: #1a1a1a;
}

.coming-soon h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* Темная тема - белый текст */
.dark-theme .coming-soon h1 {
    color: #ffffff;
}

/* Светлая тема - темный текст */
.light-theme .coming-soon h1 {
    color: #1a1a1a;
}

.coming-soon p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.coming-soon-description {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .analytics-container {
        padding: 20px;
        min-height: calc(100vh - 160px);
    }
    
    .coming-soon {
        padding: 60px 30px;
        margin: 20px;
        max-width: 90%;
    }
    
    .coming-soon h1 {
        font-size: 2.2rem;
    }
    
    .coming-soon p {
        font-size: 1.2rem;
    }
    
    .coming-soon-description {
        font-size: 1rem;
    }
    
    .coming-soon-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }
    
    .coming-soon-icon svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .coming-soon {
        padding: 40px 20px;
    }
    
    .coming-soon h1 {
        font-size: 1.8rem;
    }
    
    .coming-soon p {
        font-size: 1.1rem;
    }
}/*
 Стили для страницы создания релиза */
.create-release-container {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.create-release-header {
    margin-bottom: 40px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    color: var(--text-tertiary);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

.create-release-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Навигация по шагам */
.steps-navigation {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.step.active {
    color: var(--primary-color);
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.step.active .step-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step-icon svg {
    width: 16px;
    height: 16px;
}

/* Форма релиза */
.release-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.form-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-family: 'Montserrat', sans-serif;
}

.form-description {
    color: var(--text-secondary);
    margin: 0 0 24px 0;
    font-size: 14px;
}

/* Тип релиза */
.release-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.release-type-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.release-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.release-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
}

.release-type-card:hover::before {
    opacity: 1;
}

.release-type-card.active {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.15);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.release-type-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.release-type-icon svg {
    width: 24px;
    height: 24px;
}

.release-type-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.release-type-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Загрузка обложки */
.cover-upload-area {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.cover-preview {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cover-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cover-preview:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
}

.cover-preview:hover::before {
    opacity: 1;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.cover-preview p {
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.upload-requirements {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

.upload-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.upload-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.upload-btn:hover::before {
    left: 100%;
}

/* Сетка формы */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

/* Кастомные селекты */
.custom-select {
    position: relative;
}

.custom-select select {
    width: 100%;
    padding: 14px 50px 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.custom-select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.custom-select select option {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 12px;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.select-arrow svg {
    width: 20px;
    height: 20px;
}

.custom-select:hover .select-arrow {
    color: var(--primary-color);
}

.custom-select select:focus + .select-arrow {
    color: var(--primary-color);
    transform: translateY(-50%) rotate(180deg);
}

/* Артисты */
.artists-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.add-artist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.add-artist-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.add-artist-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
}

.add-artist-btn:hover::before {
    opacity: 1;
}

.add-artist-btn svg {
    width: 20px;
    height: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .create-release-container {
        padding: 20px;
    }
    
    .create-release-header h1 {
        font-size: 2rem;
    }
    
    .steps-navigation {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .form-section {
        padding: 24px 20px;
    }
    
    .cover-upload-area {
        flex-direction: column;
        align-items: center;
    }
    
    .cover-preview {
        width: 100%;
        max-width: 200px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .release-type-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .steps-navigation {
        flex-direction: column;
        gap: 16px;
    }
    
    .step {
        justify-content: center;
    }
}/* С
тили для загрузки обложки */
.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Стили для артистов */
.artist-item-form {
    margin-bottom: 16px;
}

.artist-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.artist-form:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.artist-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.artist-input-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.artist-input {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.artist-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.suggest-username-btn {
    padding: 8px 12px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.suggest-username-btn:hover {
    background: rgba(var(--primary-rgb), 0.2);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.remove-artist-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 10px;
    color: #ff3b30;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.remove-artist-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: #ff3b30;
    transform: translateY(-1px);
}

.remove-artist-btn svg {
    width: 20px;
    height: 20px;
}

/* Стили для уведомлений */
.custom-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 350px;
}

.custom-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.custom-notification.success {
    border-left: 4px solid #34c759;
}

.custom-notification.error {
    border-left: 4px solid #ff3b30;
}

/* Адаптивность для форм артистов */
@media (max-width: 768px) {
    .artist-form {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .suggest-username-btn {
        align-self: stretch;
        text-align: center;
    }
    
    .remove-artist-btn {
        align-self: center;
        width: 100%;
        max-width: 200px;
    }
    
    .custom-notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(100px);
    }
    
    .custom-notification.show {
        transform: translateY(0);
    }
}/* Стили дл
я навигации по шагам */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-btn.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.nav-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.nav-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Стили для трек-листа */
.tracklist-container {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tracks-upload-area {
    margin-bottom: 40px;
}

.upload-zone {
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-2px);
}

.upload-zone .upload-icon {
    width: 64px;
    height: 64px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.upload-zone p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.upload-tracks-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.upload-tracks-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

/* Стили для треков */
.tracks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.track-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.track-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.track-header {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.track-drag-handle {
    width: 24px;
    height: 24px;
    color: var(--text-tertiary);
    cursor: grab;
    margin-right: 16px;
}

.track-drag-handle:active {
    cursor: grabbing;
}

.track-drag-handle svg {
    width: 100%;
    height: 100%;
}

.track-position {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 16px;
    flex-shrink: 0;
}

.track-name {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.track-delete-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 10px;
    color: #ff3b30;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-delete-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: scale(1.05);
}

.track-delete-btn svg {
    width: 20px;
    height: 20px;
}

.track-details {
    padding: 0 20px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.track-audio-controls {
    margin: 20px 0;
}

.track-audio-controls audio {
    width: 100%;
    height: 40px;
    border-radius: 8px;
}

.track-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.track-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.track-artists {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-track-artist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.add-track-artist-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.add-track-artist-btn svg {
    width: 16px;
    height: 16px;
}

.track-flags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.flag-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flag-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.flag-card.active {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
}

.flag-card svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flag-card.active svg {
    opacity: 1;
}

.flag-card span {
    font-weight: 500;
    color: var(--text-primary);
}

/* Адаптивность для трек-листа */
@media (max-width: 768px) {
    .tracklist-container {
        padding: 20px;
    }
    
    .upload-zone {
        padding: 40px 20px;
    }
    
    .track-header {
        padding: 16px;
    }
    
    .track-details {
        padding: 0 16px 16px 16px;
    }
    
    .track-flags {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
}

/* Стили для модального окна */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px) brightness(0.6);
    -webkit-backdrop-filter: blur(15px) brightness(0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.modal {
    background: rgba(28, 30, 36, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    padding: 28px;
    animation: slideIn 0.3s ease;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.03) 100%);
    border-radius: 20px;
    pointer-events: none;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px 24px;
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 59, 48, 0.2);
    color: #ff3b30;
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

.modal-content {
    padding: 0 24px 24px 24px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.modal-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Стили для выбора типа артиста */
.artist-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.artist-type-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 70px;
    position: relative;
}

.artist-type-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.artist-type-card.active {
    border-color: #4A9EFF;
    background: rgba(74, 158, 255, 0.15);
    box-shadow: 
        0 0 0 1px rgba(74, 158, 255, 0.3),
        0 8px 25px rgba(74, 158, 255, 0.2);
}

.artist-type-icon {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.artist-type-card.active .artist-type-icon {
    color: #4A9EFF;
}

.artist-type-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.artist-type-content span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
}

.artist-type-card.active .artist-type-content span {
    color: #ffffff;
}

.artist-type-radio {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
    flex-shrink: 0;
}

.artist-type-card.active .artist-type-radio {
    color: #4A9EFF;
}



/* Стили для поля ввода артиста */
.artist-input-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.artist-search-input {
    flex: 1;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid #4A9EFF;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
    height: 52px;
    box-sizing: border-box;
}

.artist-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.artist-search-input:focus {
    border-color: #6BB6FF;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.2);
}

.add-artist-plus-btn {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-artist-plus-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.search-result {
    text-align: center;
    padding: 20px 0;
}

.no-results {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-artist-plus-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.search-result {
    text-align: center;
    padding: 20px 0;
}

.no-results {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
    border-color: #4A9EFF;
    color: #4A9EFF;
    background: rgba(74, 158, 255, 0.1);
}

.search-result {
    text-align: center;
    padding: 20px;
}

.no-results {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

/* Стили для карточек артистов */
.artist-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.artist-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.artist-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.artist-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.artist-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.artist-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.artist-type {
    font-size: 12px;
    color: var(--text-secondary);
}

.remove-artist-card-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 8px;
    color: #ff3b30;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.remove-artist-card-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: scale(1.05);
}

.remove-artist-card-btn svg {
    width: 16px;
    height: 16px;
}

/* Обновляем стили для кликабельных шагов */
.step {
    cursor: pointer;
    transition: all 0.3s ease;
}

.step:hover {
    color: var(--primary-color);
}

.step:hover .step-icon {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
}

/* Стили для кнопок модального окна */
.modal-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 100px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.modal-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .modal {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-content,
    .modal-footer {
        padding: 20px;
    }
    
    .artist-type-selection {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .modal-btn {
        width: 100%;
    }
}
/* Сти
ли для артистов треков */
.track-artists {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-artist-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.track-artist-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.track-artist-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.track-artist-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4A9EFF 0%, #6BB6FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.track-artist-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-artist-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

.track-artist-type {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.remove-track-artist-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: 8px;
    color: rgba(255, 59, 48, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-track-artist-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.4);
    color: rgba(255, 59, 48, 1);
}

.remove-track-artist-btn svg {
    width: 16px;
    height: 16px;
}

.add-track-artist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.add-track-artist-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
}

.add-track-artist-btn svg {
    width: 16px;
    height: 16px;
}/* С
тили для пустого состояния уведомлений */
.no-notifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.no-notifications svg {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.no-notifications p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Стили для системы уведомлений */
.notifications-container {
    position: relative;
    display: inline-block;
}

.notifications-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 8px;
    color: var(--text-primary);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.notifications-btn:hover {
    background: var(--hover-glass);
}

.notification-badge {
    display: none;
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

.notification-badge[style*="display: flex"] {
    display: flex !important;
}

.notifications-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.9) translateY(-10px);
    transition: all 0.3s ease;
}

.notifications-dropdown.show {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.notifications-header {
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
}

.notifications-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.notifications-list {
    padding: 8px;
}

.notification-item {
    padding: 12px;
    border-bottom: 1px solid var(--glass-border);
    cursor: pointer;
    border-radius: 8px;
    margin: 4px 0;
    transition: background 0.2s ease;
}

.notification-item:hover {
    background: var(--hover-glass);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item.unread {
    background: rgba(var(--accent-primary-rgb), 0.1);
    border-left: 3px solid var(--accent-primary);
}

.notification-title {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.notification-time {
    color: var(--text-muted);
    font-size: 12px;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
    font-size: 12px;
    text-decoration: underline;
}

.expand-btn:hover {
    color: var(--accent-secondary);
}

/* Модальное окно для уведомлений */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.notification-modal.show {
    display: block;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 24px;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: var(--hover-glass);
    color: var(--text-primary);
}

.modal-message {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 16px 0;
}

.modal-time {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}/* Стили
 для индикатора загрузки релизов */
.loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    text-align: center;
    background: var(--card-bg);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-message::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-secondary);
    border-top: 2px solid transparent;
    border-radius: 50%;
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Стили для сообщения об отсутствии релизов */
.no-releases {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    background: var(--card-bg);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* ========================================
   МОБИЛЬНАЯ АДАПТАЦИЯ
   ======================================== */

@media (max-width: 768px) {
    /* Скрываем десктопный сайдбар */
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 280px;
        background: rgba(28, 30, 36, 0.95);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        z-index: 1001;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
    }

    .light-theme .sidebar {
        background: rgba(245, 247, 250, 0.95);
    }

    .sidebar.active {
        left: 0;
    }

    /* Показываем кнопку мобильного меню */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-overlay {
        display: block;
    }

    /* Адаптация хедера */
    .header {
        padding: 8px 12px;
        height: 56px;
        background: var(--header-bg);
        backdrop-filter: blur(16px);
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: 0;
    }

    /* Скрываем логотип на мобильных */
    .logo {
        display: none !important;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Возвращаем баланс */
    .balance {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    .balance-icon {
        width: 18px;
        height: 18px;
    }

    /* Адаптация уведомлений */
    .notifications-btn {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .notifications-dropdown {
        position: fixed;
        right: 0;
        left: 0;
        top: 56px;
        width: 100%;
        max-width: 100%;
        max-height: calc(100vh - 56px);
        border-radius: 0;
        border: none;
        border-top: 1px solid var(--border-color);
    }

    /* Адаптация аватара и user-info */
    .user-info {
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 8px;
        transition: background 0.2s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .user-info:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .avatar {
        width: 36px;
        height: 36px;
    }

    .user-info span {
        display: inline-block;
        font-size: 14px;
        font-weight: 500;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Меню пользователя - выезжает справа */
    .user-menu {
        position: fixed;
        right: -100%;
        top: 0;
        bottom: 0;
        width: 280px;
        background: rgba(28, 30, 36, 0.95);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        z-index: 1001;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.5);
    }

    .light-theme .user-menu {
        background: rgba(245, 247, 250, 0.95);
    }

    .user-menu.active {
        right: 0;
    }

    /* Основной контент */
    .main-content {
        margin-left: 0;
        margin-top: 56px;
        padding: 16px 12px;
        width: 100%;
    }

    /* Релизы */
    .releases {
        padding: 16px 0;
    }

    .releases-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
    }

    .releases-header h2 {
        font-size: 20px;
    }

    .view-all-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .releases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .release-card {
        padding: 0;
    }

    .release-cover-container {
        margin-bottom: 4px;
        border-radius: 4px;
    }

    .release-card h3 {
        font-size: 11px;
        line-height: 1.1;
        margin-bottom: 1px;
        padding: 0 1px;
        font-weight: 600;
    }

    .release-card .artist {
        font-size: 10px;
        padding: 0 1px;
        opacity: 0.7;
    }

    /* Дополнительный контент */
    .additional-content {
        padding: 16px 0;
    }

    .additional-content h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* Сайдбар навигация */
    .sidebar-nav {
        padding: 70px 16px 20px;
    }

    .nav-item {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
    }

    .sidebar-bottom {
        padding: 0 16px 20px;
    }

    /* Кнопка "Создать релиз" скрыта на мобильных */
    .create-release-btn {
        display: none !important;
    }

    /* Модальные окна на весь экран */
    .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
}

/* Средние мобильные экраны */
@media (max-width: 480px) {
    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .balance span:last-child {
        font-size: 13px;
    }

    .header-right {
        gap: 10px;
    }

    .user-info {
        padding: 4px 6px;
        gap: 6px;
    }

    .user-info span {
        max-width: 70px;
        font-size: 13px;
    }

    .release-card h3 {
        font-size: 12px;
    }

    .release-card .artist {
        font-size: 11px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 380px) {
    .header {
        padding: 8px 8px;
    }

    .balance {
        padding: 6px 8px;
        font-size: 12px;
    }

    .balance-icon {
        width: 16px;
        height: 16px;
    }

    .notifications-btn {
        width: 36px;
        height: 36px;
    }

    .avatar {
        width: 32px;
        height: 32px;
    }

    .user-info {
        padding: 4px;
    }

    .user-info span {
        display: none;
    }

    .header-right {
        gap: 6px;
    }

    .releases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .release-card h3 {
        font-size: 11px;
    }

    .release-card .artist {
        font-size: 10px;
    }
}


/* ========================================
   АДАПТАЦИЯ СТРАНИЦЫ RELEASES
   ======================================== */

@media (max-width: 768px) {
    /* Контейнер релизов */
    .releases-container {
        padding: 16px 12px;
    }

    /* Фильтры релизов */
    .filter-buttons {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 0 0 12px 0;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 16px;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 8px;
    }

    /* Сетка релизов на странице releases */
    body:not(.profile-page) .releases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    /* Карточки релизов на странице releases */
    body:not(.profile-page) .release-card {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    body:not(.profile-page) .release-cover-container {
        width: 100%;
        aspect-ratio: 1;
        margin-bottom: 4px;
        border-radius: 4px;
    }

    body:not(.profile-page) .release-card h3 {
        font-size: 11px;
        line-height: 1.1;
        padding: 0 1px;
    }

    body:not(.profile-page) .release-card .artist {
        font-size: 10px;
        padding: 0 1px;
    }

    /* Модальные окна */
    .modal {
        padding: 0;
    }

    .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        overflow-y: auto;
    }

    .modal-header {
        position: sticky;
        top: 0;
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        z-index: 10;
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .modal-body {
        padding: 16px;
    }

    /* Плеер */
    .player-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: rgba(28, 30, 36, 0.98);
        backdrop-filter: blur(24px);
        border-top: 1px solid var(--border-color);
    }

    .light-theme .player-container {
        background: rgba(245, 247, 250, 0.98);
    }
}

/* ========================================
   АДАПТАЦИЯ СТРАНИЦЫ ANALYTICS
   ======================================== */

@media (max-width: 768px) {
    /* Контейнер аналитики */
    .analytics-container {
        padding: 16px 12px !important;
    }

    /* Статистика */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
        border-radius: 12px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Графики */
    .chart-container {
        height: 220px;
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .chart-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    /* Таблицы */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    table {
        font-size: 12px;
    }

    th, td {
        padding: 8px 6px;
    }

    th {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* ========================================
   АДАПТАЦИЯ УВЕДОМЛЕНИЙ
   ======================================== */

@media (max-width: 768px) {
    .notifications-dropdown {
        background: rgba(28, 30, 36, 0.98);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
    }

    .light-theme .notifications-dropdown {
        background: rgba(245, 247, 250, 0.98);
    }

    .notifications-header {
        padding: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .notifications-list {
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }

    .notification-item {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .notification-item:last-child {
        border-bottom: none;
    }
}
