       * {
            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;
        }
       /* Добавляем прокрутку только для меню */
        .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;
        }

        .tariff-days {
            font-weight: 600;
            margin-left: 4px;
        }

        .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-button1 {
            display: none;
            padding: 8px 20px;
            color: #00ca76;
            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-button1:hover {
            background: #34495e;
            border-left-color: #3498db;
        }
        
        .menu-button1.active {
            background: #34495e;
            border-left-color: #3498db;
            font-weight: 500;
        }
        .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;
        }

        .support-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            padding: 10px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
            transition: all 0.3s;
            border: none;
            width: 100%;
            cursor: pointer;
            margin-top: 8px;
        }

        .support-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
        }

        .support-btn i {
            font-size: 14px;
        }

        /* Модальное окно новостей */
        .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;
        }

        /* Оверлей блокировки */
        .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: #223a4b;
            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;
        }

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

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

        h1 i {
            color: #223a4b;
        }

        .stats-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 200px;
        }

        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(135deg, #223a4b, #223a4b);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

        .stat-info h3 {
            color: #7f8c8d;
            font-size: 13px;
            font-weight: 500;
            margin-bottom: 5px;
        }

        .stat-info .stat-value {
            color: #2c3e50;
            font-size: 28px;
            font-weight: 600;
        }

        .search-section {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .search-box {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .search-input {
            flex: 1;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: #223a4b;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        .search-btn {
            padding: 12px 25px;
            background: #223a4b;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
        }

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

        /* Карточки клиентов для мобильной версии */
        .clients-grid {
            display: none;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-top: 20px;
        }

        .client-card {
            background: white;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-left: 4px solid #223a4b;
            cursor: pointer;
            transition: all 0.3s;
        }

        .client-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .client-card.online {
            border-left-color: #9b59b6;
            background: linear-gradient(to right, white, #f8f0ff);
        }

        .online-badge-card {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #9b59b6;
            color: white;
            padding: 3px 8px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 500;
            margin-left: 8px;
        }

        .online-badge-card i {
            font-size: 9px;
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }

        .card-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, #223a4b, #2980b9);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 18px;
        }

        .card-name {
            font-weight: 600;
            color: #2c3e50;
            font-size: 16px;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
        }

        .card-details {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 12px;
            font-size: 13px;
            color: #34495e;
        }

        .card-details span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .card-details i {
            width: 16px;
            color: #7f8c8d;
        }

        .card-stats {
            display: flex;
            gap: 15px;
            padding-top: 10px;
            border-top: 1px solid #e9ecef;
            font-size: 13px;
        }

        .card-stat {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .card-stat i {
            color: #223a4b;
        }

        .card-stat-value {
            font-weight: 600;
            background: #e8f0fe;
            padding: 2px 8px;
            border-radius: 20px;
            color: #2980b9;
        }

        .card-actions {
            margin-top: 10px;
            display: flex;
            justify-content: flex-end;
        }

        .card-action-btn {
            background: none;
            border: none;
            color: #223a4b;
            cursor: pointer;
            font-size: 14px;
            padding: 8px 12px;
            border-radius: 6px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .card-action-btn:hover {
            background: #e8f0fe;
        }

        /* Таблица клиентов (для ПК) */
        .clients-table-container {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            overflow-x: auto;
        }

        .clients-table {
            width: 100%;
            border-collapse: collapse;
        }

        .clients-table th {
            text-align: left;
            padding: 15px 10px;
            color: #2c3e50;
            font-weight: 600;
            font-size: 13px;
            border-bottom: 2px solid #e0e0e0;
        }

        .clients-table td {
            padding: 15px 10px;
            border-bottom: 1px solid #e9ecef;
            color: #34495e;
            font-size: 14px;
        }

        .clients-table tbody tr:hover {
            background: #f8f9fa;
            cursor: pointer;
        }

        .client-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #223a4b, #2980b9);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 16px;
        }

        .client-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .client-name {
            font-weight: 600;
            color: #2c3e50;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 5px;
        }

        .online-badge-table {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #9b59b6;
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 500;
            margin-left: 8px;
            white-space: nowrap;
        }

        .online-badge-table i {
            font-size: 9px;
        }

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

        .appointments-count {
            background: #e8f0fe;
            color: #2980b9;
            padding: 4px 8px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            display: inline-block;
        }

        .last-visit {
            color: #7f8c8d;
            font-size: 13px;
        }

        .action-btn {
            background: none;
            border: none;
            color: #223a4b;
            cursor: pointer;
            font-size: 16px;
            padding: 5px 10px;
            border-radius: 5px;
            transition: all 0.3s;
        }

        .action-btn:hover {
            background: #e8f0fe;
        }

        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #7f8c8d;
        }

        .empty-state i {
            font-size: 60px;
            margin-bottom: 20px;
            color: #bdc3c7;
        }

        .empty-state h3 {
            color: #2c3e50;
            margin-bottom: 10px;
        }

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

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

        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            z-index: 1000;
            max-width: 700px;
            width: 90%;
            max-height: 85vh;
            overflow-y: auto;
        }

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

        .modal .close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            cursor: pointer;
            color: #7f8c8d;
        }

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

        .client-details {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
            margin-bottom: 20px;
        }

        .detail-row {
            display: flex;
            margin-bottom: 12px;
        }

        .detail-label {
            width: 120px;
            color: #7f8c8d;
            font-weight: 500;
        }

        .detail-value {
            flex: 1;
            color: #2c3e50;
            font-weight: 500;
        }

        .names-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 5px;
        }

        .name-tag {
            background: #e8f0fe;
            color: #2980b9;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 500;
        }

        .previous-names-btn {
            background: none;
            border: 1px dashed #223a4b;
            color: #223a4b;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 12px;
            cursor: pointer;
            margin-left: 10px;
            transition: all 0.3s;
        }

        .previous-names-btn:hover {
            background: #e8f0fe;
        }

        .social-links {
            display: flex;
            gap: 10px;
            margin-top: 5px;
            flex-wrap: wrap;
        }

        .social-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #e8f0fe;
            color: #223a4b;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-link:hover {
            transform: scale(1.1);
        }

        .social-link.instagram:hover {
            background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
            color: white;
        }

        .social-link.telegram:hover {
            background: #0088cc;
            color: white;
        }

        .social-link.whatsapp:hover {
            background: #25D366;
            color: white;
        }

        .social-link.facebook:hover {
            background: #1877f2;
            color: white;
        }

        .edit-social-btn {
            background: none;
            border: 1px dashed #223a4b;
            color: #223a4b;
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 13px;
            transition: all 0.3s;
            margin-top: 10px;
            width: 100%;
        }

        .edit-social-btn:hover {
            background: #e8f0fe;
        }

        .services-stats {
            background: white;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
        }

        .service-stat-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #e9ecef;
            cursor: pointer;
            transition: background 0.2s;
        }

        .service-stat-item:hover {
            background: #f8f9fa;
        }

        .service-stat-item:last-child {
            border-bottom: none;
        }

        .service-name {
            font-weight: 500;
            color: #2c3e50;
        }

        .service-count {
            background: #223a4b;
            color: white;
            padding: 2px 10px;
            border-radius: 20px;
            font-size: 12px;
            margin-right: 5px;
        }

        .service-count.confirmed {
            background: #223a4b;
        }

        .service-count.completed {
            background: #27ae60;
        }

        .service-count.cancelled {
            background: #e74c3c;
        }

        .appointments-list {
            margin-top: 20px;
        }

        .appointment-item {
            background: white;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 3px solid #223a4b;
        }

        .appointment-date {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .appointment-service {
            color: #7f8c8d;
            font-size: 13px;
            display: flex;
            gap: 15px;
        }

        .appointment-status {
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
        }

        .status-confirmed {
            background: #d4edda;
            color: #155724;
        }

        .status-cancelled {
            background: #f8d7da;
            color: #721c24;
        }

        .status-completed {
            background: #cce5ff;
            color: #004085;
        }

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

        /* Модальное окно для списка имен */
        .names-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            z-index: 1002;
            max-width: 400px;
            width: 90%;
        }

        .names-modal h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 18px;
        }

        .names-modal .names-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .names-modal .name-item {
            padding: 10px;
            border-bottom: 1px solid #e9ecef;
            color: #2c3e50;
        }

        .names-modal .name-item:last-child {
            border-bottom: none;
        }

        .names-modal .close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #7f8c8d;
        }

        /* Модальное окно для списка услуг */
        .service-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            z-index: 1002;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
        }

        .service-modal h3 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 18px;
        }

        .service-modal .service-appointments {
            max-height: 400px;
            overflow-y: auto;
        }

        .service-modal .service-appointment-item {
            padding: 12px;
            border-bottom: 1px solid #e9ecef;
        }

        .service-modal .service-appointment-item:last-child {
            border-bottom: none;
        }

        .service-modal .service-appointment-date {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .service-modal .service-appointment-details {
            font-size: 13px;
            color: #7f8c8d;
            display: flex;
            gap: 15px;
        }

        .service-modal .close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #7f8c8d;
        }

        /* Модальное окно для редактирования соцсетей */
        .social-edit-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 30px;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            z-index: 1001;
            max-width: 400px;
            width: 90%;
        }

        .social-edit-modal h3 {
            color: #2c3e50;
            margin-bottom: 20px;
            font-size: 20px;
        }

        .social-input-group {
            margin-bottom: 15px;
        }

        .social-input-group label {
            display: block;
            margin-bottom: 5px;
            color: #2c3e50;
            font-weight: 500;
            font-size: 13px;
        }

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

        .social-input-group input:focus {
            border-color: #223a4b;
            outline: none;
        }

        .social-input-group .input-hint {
            font-size: 11px;
            color: #7f8c8d;
            margin-top: 3px;
        }

        /* ===== МОБІЛЬНІ СТИЛІ (без горизонтального скролу) ===== */
        @media (max-width: 768px) {
            body {
                overflow-x: hidden;
                position: relative;
                width: 100%;
                height: 100%;
            }

            /* Основний контент на весь екран */
            .content {
                margin-left: 0;
                padding: 15px;
                padding-top: 30px;
                width: 100%;
                transition: transform 0.3s ease;
                min-height: 100vh;
                background-color: #f5f5f5;
            }

            /* Заголовок по центру */
            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%;
            }

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

            body.menu-open .content {
                pointer-events: none;
                opacity: 0.7;
                transition: opacity 0.3s ease;
            }
            .menu-button1 {
                display: block;
				font-weight: 600;
            }
            /* Кнопка бургер для відкриття меню */
            .menu-toggle {
                display: block;
                position: fixed;
                top: 10px;
                left: 15px;
                z-index: 1001;
                background: #223a4b;
                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);
            }

            /* Зона для свайпу */
            .swipe-area {
                position: fixed;
                top: 0;
                left: 0;
                width: 20px;
                height: 100%;
                z-index: 998;
                background: transparent;
            }

            /* Статистика */
            .stats-card {
			    background: none;
				box-shadow: none;
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 15px;
                padding: 15px;
                margin-top: 10px;
                margin-bottom: 15px;
            }

            .stat-item {
                width: 100%;
                min-width: auto;
            }

            .stat-icon {
                width: 45px;
                height: 45px;
                font-size: 20px;
				background: none;
				color: #223949;
            }

            .stat-info h3 {
                font-size: 12px;
            }

            .stat-info .stat-value {
                font-size: 22px;
            }

            /* Пошук */
            .search-section {
                padding: 15px;
                margin-bottom: 15px;
            }

            .search-box {
                flex-direction: column;
                gap: 10px;
            }

            .search-input {
                width: 100%;
                padding: 10px 12px;
                font-size: 13px;
            }

            .search-btn {
                width: 100%;
                padding: 10px 15px;
                justify-content: center;
                font-size: 13px;
            }

            /* Ховаємо таблицю на мобільних */
            .clients-table-container {
                display: none;
            }

            /* Показуємо карточки на мобільних */
            .clients-grid {
                display: grid;
            }

            /* Пустий стан для мобільних */
            .empty-state {
                padding: 30px 15px;
            }

            .empty-state i {
                font-size: 48px;
            }

            .empty-state h3 {
                font-size: 16px;
            }

            .empty-state p {
                font-size: 13px;
            }

            /* Модальні вікна */
            .modal {
                width: 95%;
                padding: 20px;
                max-height: 90vh;
            }

            .modal h2 {
                font-size: 18px;
                margin-bottom: 15px;
            }

            .client-details {
                padding: 15px;
            }

            .detail-row {
                flex-direction: column;
                margin-bottom: 15px;
            }

            .detail-label {
                width: 100%;
                margin-bottom: 5px;
                font-size: 12px;
            }

            .detail-value {
                width: 100%;
                font-size: 14px;
            }

            .previous-names-btn {
                margin-left: 0;
                margin-top: 8px;
                width: 100%;
                text-align: center;
            }

            .social-links {
                justify-content: center;
            }

            .edit-social-btn {
                padding: 10px;
                font-size: 13px;
            }

            .services-stats {
                padding: 12px;
            }

            .service-stat-item {
                padding: 10px 0;
            }

            .service-name {
                font-size: 13px;
            }

            .service-count {
                padding: 2px 8px;
                font-size: 11px;
            }

            /* Інші модальні вікна */
            .names-modal,
            .service-modal,
            .social-edit-modal {
                width: 95%;
                padding: 20px;
            }

            .names-modal h3,
            .service-modal h3,
            .social-edit-modal h3 {
                font-size: 16px;
                margin-bottom: 12px;
            }

            .names-modal .name-item {
                padding: 8px;
                font-size: 13px;
            }

            .service-modal .service-appointment-item {
                padding: 10px;
            }

            .service-modal .service-appointment-date {
                font-size: 13px;
            }

            .service-modal .service-appointment-details {
                font-size: 12px;
                flex-direction: column;
                gap: 5px;
            }

            .social-input-group input {
                padding: 10px;
                font-size: 13px;
            }

            .social-input-group .input-hint {
                font-size: 10px;
            }

            /* Блоковане вікно */
            .blocked-modal {
                padding: 25px 20px;
            }

            .blocked-modal i {
                font-size: 48px;
            }

            .blocked-modal h2 {
                font-size: 20px;
            }

            .blocked-modal p {
                font-size: 14px;
            }

            .blocked-modal button {
                width: 100%;
                padding: 12px;
            }

            /* Адаптація для дуже маленьких екранів */
            @media (max-width: 380px) {
                .stat-icon {
                    width: 40px;
                    height: 40px;
                    font-size: 18px;
                }

                .stat-info .stat-value {
                    font-size: 20px;
                }

                .menu-toggle {
                    width: 40px;
                    height: 40px;
                    font-size: 20px;
                }

                h1 {
                    font-size: 18px;
                }

                .card-avatar {
                    width: 40px;
                    height: 40px;
                    font-size: 16px;
                }
            }
        }

        /* Приховуємо кнопку меню на ПК */
        @media (min-width: 769px) {
            .menu-toggle {
                display: none;
            }
            .swipe-area {
                display: none;
            }
            .clients-grid {
                display: none;
            }
            .clients-table-container {
                display: block;
            }
        }

        /* Анімації */
        @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;
            }
        }