        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
        }

        body {
            background-color: #f5f5f5;
            display: flex;
        }
        /* Боковое меню - исправленная версия */
        .sidebar {
            width: 200px;
            background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
            color: white;
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            overflow-y: hidden;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
        }

        /* Добавляем прокрутку только для меню */
        .menu {
            padding: 15px 0;
            flex: 1;
            overflow-y: auto;
            min-height: 0;
            
            &::-webkit-scrollbar {
                width: 6px;
            }
            
            &::-webkit-scrollbar-track {
                background: rgba(255, 255, 255, 0.05);
                border-radius: 10px;
            }
            
            &::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.2);
                border-radius: 10px;
                transition: background 0.3s;
            }
            
            &::-webkit-scrollbar-thumb:hover {
                background: rgba(255, 255, 255, 0.3);
            }
        }
        /* Боковое меню */
        .sidebar {
            width: 200px;
            background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
            color: white;
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            overflow-y: auto;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
        }

        .logo {
            padding: 15px;
            text-align: center;
            border-bottom: 1px solid #34495e;
        }

        .logo h2 {
            color: white;
            font-size: 18px;
            margin-bottom: 5px;
        }

        /* Плашка тарифа */
        .tariff-badge {
            margin-top: 8px;
            padding: 6px 8px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 500;
            text-align: center;
            transition: all 0.3s;
        }

        .tariff-trial {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
            border: 1px solid rgba(52, 152, 219, 0.3);
        }

        .tariff-active {
            background: rgba(46, 204, 113, 0.2);
            color: #27ae60;
            border: 1px solid rgba(46, 204, 113, 0.3);
        }

        .tariff-warning {
            background: rgba(231, 76, 60, 0.2);
            color: #e74c3c;
            border: 1px solid rgba(231, 76, 60, 0.3);
            animation: pulse 2s infinite;
        }

        .tariff-expired {
            background: rgba(231, 76, 60, 0.3);
            color: #c0392b;
            border: 1px solid #e74c3c;
            font-weight: 600;
        }

        @keyframes pulse {
            0% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
            100% {
                opacity: 1;
            }
        }

        .tariff-loading {
            color: #95a5a6;
            font-size: 10px;
        }

        .menu {
            padding: 15px 0;
            flex: 1;
            overflow-y: auto;
            min-height: 0;
        }

        .menu-button {
            display: block;
            padding: 8px 20px;
            color: #ecf0f1;
            text-decoration: none;
            transition: all 0.3s;
            font-size: 13px;
            border-left: 3px solid transparent;
            cursor: pointer;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }

        .menu-button:hover {
            background: #34495e;
            border-left-color: #3498db;
        }

        .menu-button.active {
            background: #34495e;
            border-left-color: #3498db;
            font-weight: 500;
        }

        .menu i {
            margin-right: 8px;
            width: 18px;
            text-align: center;
        }

        /* Блок новостей внизу меню */
        .news-section {
            padding: 15px;
            border-top: 1px solid #34495e;
            background: rgba(0, 0, 0, 0.2);
            flex-shrink: 0;
            margin-top: auto;
        }

        .news-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .news-header h3 {
            color: #ecf0f1;
            font-size: 13px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .news-header .all-news-btn {
            background: none;
            border: none;
            color: #3498db;
            font-size: 11px;
            cursor: pointer;
            padding: 4px 8px;
            border-radius: 4px;
            transition: all 0.3s;
        }

        .news-header .all-news-btn:hover {
            background: rgba(52, 152, 219, 0.2);
        }

        .latest-news {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 6px;
            padding: 10px;
            margin-bottom: 12px;
            font-size: 12px;
            color: #bdc3c7;
            line-height: 1.5;
            max-height: 80px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: all 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .latest-news.expanded {
            max-height: 200px;
            overflow-y: auto;
            background: rgba(255, 255, 255, 0.1);
        }

        .latest-news:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .latest-news .news-content {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .latest-news.expanded .news-content {
            display: block;
            -webkit-line-clamp: unset;
        }

        /* Основной контент */
        .content {
            flex: 1;
            margin-left: 200px;
            padding: 20px;
            background-color: #f5f5f5;
            min-height: 100vh;
        }

        h1 {
            color: #2c3e50;
            font-size: 24px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        h1 i {
            color: #3498db;
        }

        /* Оверлей блокировки */
        .blocked-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }

        .blocked-overlay.active {
            display: flex;
        }

        .blocked-modal {
            background: white;
            padding: 40px;
            border-radius: 12px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .blocked-modal i {
            font-size: 60px;
            color: #e74c3c;
            margin-bottom: 20px;
        }

        .blocked-modal h2 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 24px;
        }

        .blocked-modal p {
            color: #7f8c8d;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .blocked-modal button {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.3s;
        }

        .blocked-modal button:hover {
            background: #2980b9;
        }

        /* Карточка создания запроса */
        .support-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            margin-bottom: 30px;
        }

        .support-card h2 {
            color: #2c3e50;
            font-size: 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .support-card h2 i {
            color: #3498db;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #2c3e50;
            font-weight: 500;
            font-size: 14px;
        }

        .form-group input, .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .form-group input:focus, .form-group textarea:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .form-group input[readonly] {
            background-color: #f8f9fa;
            color: #2c3e50;
            cursor: not-allowed;
        }

        .phone-group {
            display: flex;
            gap: 10px;
        }

        .phone-group input {
            flex: 1;
        }

        /* Загрузка изображений */
        .upload-area {
            border: 2px dashed #bdc3c7;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 15px;
        }

        .upload-area:hover {
            border-color: #3498db;
            background: #f0f7ff;
        }

        .upload-area i {
            font-size: 36px;
            color: #7f8c8d;
            margin-bottom: 10px;
        }

        .upload-area p {
            color: #7f8c8d;
            font-size: 14px;
        }

        .upload-area span {
            color: #3498db;
            font-weight: 500;
        }

        .preview-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 15px;
        }

        .preview-item {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            aspect-ratio: 1;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .preview-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .preview-remove {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(231, 76, 60, 0.9);
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 12px;
        }

        .preview-remove:hover {
            background: #c0392b;
            transform: scale(1.1);
        }

        .btn-primary {
            background: #3498db;
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-primary:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
        }

        .btn-primary:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* Фильтры */
        .filters-section {
            background: white;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .filters-title {
            color: #2c3e50;
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .filters-title i {
            color: #3498db;
        }

        .filter-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 8px 16px;
            border: 2px solid #e9ecef;
            border-radius: 30px;
            background: white;
            color: #2c3e50;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .filter-btn i {
            font-size: 12px;
        }

        .filter-btn:hover {
            border-color: #3498db;
            color: #3498db;
        }

        .filter-btn.active {
            background: #3498db;
            border-color: #3498db;
            color: white;
        }

        .filter-btn.active i {
            color: white;
        }

        /* История запросов */
        .history-section {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .history-section h2 {
            color: #2c3e50;
            font-size: 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .history-section h2 i {
            color: #3498db;
        }

        .history-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .history-item {
            border: 1px solid #e9ecef;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s;
        }

        .history-item-header {
            padding: 15px 20px;
            background: #f8f9fa;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
            transition: background 0.3s;
        }

        .history-item-header:hover {
            background: #e9ecef;
        }

        .history-item-header-left {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .history-date {
            color: #7f8c8d;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .history-status {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .status-waiting {
            background: #fff3e0;
            color: #f39c12;
        }

        .status-answered {
            background: #e8f5e9;
            color: #27ae60;
        }

        .history-expand-icon {
            color: #95a5a6;
            transition: transform 0.3s;
        }

        .history-item.expanded .history-expand-icon {
            transform: rotate(180deg);
        }

        .history-item-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            background: white;
        }

        .history-item.expanded .history-item-content {
            max-height: 1000px;
            transition: max-height 0.5s ease-in;
        }

        .history-item-inner {
            padding: 20px;
        }

        .history-question {
            color: #2c3e50;
            font-size: 15px;
            margin-bottom: 15px;
            line-height: 1.5;
            white-space: pre-wrap;
        }

        .history-images {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .history-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s;
            border: 2px solid transparent;
        }

        .history-image:hover {
            transform: scale(1.05);
            border-color: #3498db;
        }

        .history-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .history-answer {
            background: #f8f9fa;
            border-left: 4px solid #3498db;
            padding: 15px;
            border-radius: 8px;
            margin-top: 10px;
        }

        .history-answer-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            color: #2c3e50;
            font-weight: 600;
            font-size: 14px;
        }

        .history-answer-header i {
            color: #27ae60;
        }

        .history-answer-text {
            color: #34495e;
            font-size: 14px;
            line-height: 1.6;
            white-space: pre-wrap;
        }

        .empty-history {
            text-align: center;
            padding: 40px;
            color: #7f8c8d;
            background: #f8f9fa;
            border-radius: 12px;
        }

        .empty-history i {
            font-size: 48px;
            margin-bottom: 15px;
            color: #bdc3c7;
        }

        .empty-history p {
            font-size: 16px;
        }

        /* Модальное окно новостей */
        .news-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 25px;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            z-index: 1001;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
        }

        .news-modal h2 {
            color: #2c3e50;
            font-size: 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding-right: 30px;
        }

        .news-modal .close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 24px;
            cursor: pointer;
            color: #7f8c8d;
            transition: color 0.3s;
        }

        .news-modal .close:hover {
            color: #2c3e50;
        }

        .news-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .news-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            border-left: 3px solid #3498db;
        }

        .news-item .news-date {
            font-size: 11px;
            color: #7f8c8d;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .news-item .news-date i {
            color: #3498db;
            font-size: 10px;
        }

        .news-item .news-text {
            color: #2c3e50;
            font-size: 13px;
            line-height: 1.5;
            white-space: pre-wrap;
        }

        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(4px);
            z-index: 999;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #7f8c8d;
        }

        .loading i {
            font-size: 40px;
            margin-bottom: 10px;
            color: #bdc3c7;
        }

        /* Модальное окно просмотра изображения */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.9);
            z-index: 10000;
            justify-content: center;
            align-items: center;
        }

        .image-modal.active {
            display: flex;
        }

        .image-modal img {
            max-width: 90%;
            max-height: 90%;
            border-radius: 8px;
        }

        .image-modal-close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            cursor: pointer;
            transition: color 0.3s;
        }

        .image-modal-close:hover {
            color: #e74c3c;
        }

        /* ===== МОБІЛЬНІ СТИЛІ ===== */
        @media (max-width: 768px) {
            body {
                overflow-x: hidden;
                position: relative;
                width: 100%;
                height: 100%;
            }

            .content {
                margin-left: 0;
                padding: 15px;
                padding-top: 10px;
                width: 100%;
                transition: transform 0.3s ease;
                min-height: 100vh;
            }

            h1 {
                font-size: 20px;
                margin-top: 5px;
                margin-bottom: 15px;
                padding-left: 0;
                justify-content: center;
                text-align: center;
            }

            body.menu-open::after {
                content: '';
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.5);
                z-index: 999;
                animation: fadeIn 0.3s ease;
            }

            .sidebar {
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                z-index: 1000;
                width: 280px;
                box-shadow: 2px 0 20px rgba(0,0,0,0.2);
                overflow-y: hidden;
                display: flex;
                flex-direction: column;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            body.menu-open {
                overflow: hidden;
                position: fixed;
                width: 100%;
                height: 100%;
            }

            body.menu-open .content {
                pointer-events: none;
                opacity: 0.7;
                transition: opacity 0.3s ease;
            }

            .swipe-area {
                position: fixed;
                top: 0;
                left: 0;
                width: 30px;
                height: 100%;
                z-index: 998;
                background: transparent;
            }

            .menu-toggle {
                display: block;
                position: fixed;
                top: 10px;
                left: 15px;
                z-index: 1001;
                background: #3498db;
                color: white;
                border: none;
                border-radius: 5%;
                width: 44px;
                height: 44px;
                font-size: 22px;
                cursor: pointer;
                box-shadow: 0 4px 10px rgba(0,0,0,0.2);
                transition: all 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .menu-toggle:hover {
                background: #2ecc71;
                transform: scale(1.05);
            }

            .sidebar.open ~ .menu-toggle,
            .sidebar.open + .menu-toggle {
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                z-index: 1;
            }

            .filters-section {
                flex-direction: column;
                align-items: flex-start;
                padding: 15px;
            }

            .filter-buttons {
                width: 100%;
            }

            .filter-btn {
                flex: 1;
                justify-content: center;
            }

            .support-card, .history-section {
                padding: 20px;
            }

            .preview-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .history-item-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .history-item-header-left {
                width: 100%;
                justify-content: space-between;
            }

            .btn-primary {
                width: 100%;
                justify-content: center;
            }

            @media (max-width: 380px) {
                .menu-toggle {
                    width: 40px;
                    height: 40px;
                    font-size: 20px;
                }

                .preview-grid {
                    grid-template-columns: 1fr;
                }

                .history-item-header-left {
                    flex-direction: column;
                    align-items: flex-start;
                    gap: 8px;
                }
            }
        }

        @media (min-width: 769px) {
            .menu-toggle {
                display: none;
            }
            .swipe-area {
                display: none;
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }