       /* Всі стилі залишаються без змін */
        * {
            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);
            }
        }
        /* НОВЫЕ СТИЛИ ДЛЯ ВЫБОРА УСЛУГ (как на странице онлайн-записи) */
        .selected-services-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 15px;
            max-height: 300px;
            overflow-y: auto;
            padding: 5px;
        }

        .selected-service-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8f9fa;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            padding: 10px 12px;
            transition: all 0.2s;
        }

        .selected-service-item:hover {
            background: #f0f0f0;
            border-color: #009ed4;
        }

        .service-info {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            flex: 1;
        }

        .service-name {
            font-weight: 500;
            color: #2c3e50;
            min-width: 150px;
        }

        .service-duration {
            color: #666;
            font-size: 0.9em;
            background: #e9ecef;
            padding: 2px 10px;
            border-radius: 12px;
        }

        .service-price {
            font-weight: 600;
            color: #27ae60;
        }

        .service-discount {
            color: #e74c3c;
            font-size: 0.9em;
            background: #fdf0ed;
            padding: 2px 8px;
            border-radius: 12px;
        }

        .remove-service-item {
            background: none;
            border: none;
            color: #ff4444;
            cursor: pointer;
            padding: 5px 8px;
            border-radius: 4px;
            transition: all 0.2s;
            margin-left: 10px;
        }

        .remove-service-item:hover {
            background: #ff4444;
            color: white;
        }

        /* Стили для кнопки-селекта - цвет #009ed4 */
        .add-service-select-container {
            margin-top: 10px;
            width: 100%;
        }

        .add-service-select {
            width: 100%;
            padding: 12px 16px;
            background: #009ed4;  /* СИНИЙ КОЛІР */
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 500;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 16px;
        }

        .add-service-select:hover {
            background-color: #007bb3;  /* ТЕМНІШИЙ СИНІЙ ПРИ НАВЕДЕННІ */
        }

        .add-service-select option {
            background: white;
            color: #2c3e50;
            padding: 8px;
        }

        /* Информация о выбранных услугах */
        .service-info-block {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            border-left: 4px solid #009ed4;
        }

        .service-info-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            padding-bottom: 8px;
            border-bottom: 1px solid #e9ecef;
        }

        .service-info-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .service-info-label {
            color: #7f8c8d;
            font-weight: 500;
        }

        .service-info-value {
            color: #2c3e50;
            font-weight: 600;
        }

        .service-info-value.price {
            color: #27ae60;
            font-size: 16px;
        }

        /* Боковое меню */
        .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-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 {
            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;
        }

        .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;
        }

        /* Основной контент */
        .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: #243d4f;
        }

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

        /* Панель управления */
        .control-panel {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

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

        .search-button {
            flex: 1;
            background: #3498db;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
        }

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

        .search-button.active {
            background: #27ae60;
            position: relative;
        }

        .search-button.active::after {
            content: '';
            position: absolute;
            top: -2px;
            right: -2px;
            width: 10px;
            height: 10px;
            background: #e74c3c;
            border-radius: 50%;
            border: 2px solid white;
        }

        .add-button {
            background: #243d4f;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
            min-width: 150px;
            justify-content: center;
        }

        .add-button:hover {
            background: #2980b9;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
        }

        /* Модальное окно поиска */
        .search-modal {
            max-width: 500px;
        }

        .search-form {
            padding: 10px 0;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 20px;
        }

        .filter-item {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .filter-item label {
            color: #2c3e50;
            font-weight: 500;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .filter-item label i {
            color: #3498db;
            width: 16px;
        }

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

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

        .clear-filter {
            background: none;
            border: none;
            color: #e74c3c;
            cursor: pointer;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px;
            border-radius: 4px;
            transition: all 0.3s;
            margin-top: 5px;
        }
        
        .clear-filter:hover {
            background: #fee;
        }

        .search-actions {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .btn-apply {
            flex: 2;
            background: #3498db;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

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

        .btn-reset {
            flex: 1;
            background: #e0e0e0;
            color: #2c3e50;
            border: none;
            padding: 12px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-reset:hover {
            background: #d0d0d0;
        }

        /* Статистика */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }

        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(52, 152, 219, 0.1);
            color: #243d4f;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

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

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

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

.record-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #243d4f;
    position: relative;
    padding-top: 45px; /* Добавляем отступ сверху для бейджа */
}

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

.online-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #9b59b6;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

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

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0; /* Убираем верхний отступ */
}

.record-datetime {
    font-size: 13px;
    color: #7f8c8d;
    flex: 1;
    min-width: 140px;
}

.record-datetime i {
    margin-right: 4px;
    color: #243d4f;
}

.record-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #f0f0f0;
    white-space: nowrap;
    z-index: 1;
    position: relative;
    margin-left: auto;
}

.record-status.confirmed {
    background: #e3f2fd;
    color: #1976d2;
}

.record-status.completed {
    background: #e8f5e9;
    color: #388e3c;
}

.record-status.cancelled {
    background: #ffebee;
    color: #c62828;
}

/* Для очень маленьких экранов */
@media (max-width: 380px) {
    .record-card {
        padding-top: 50px;
    }
    
    .record-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .record-status {
        margin-left: 0;
        align-self: flex-start;
    }
}

        .record-status.confirmed {
            background: #e3f2fd;
            color: #1976d2;
        }

        .record-status.completed {
            background: #e8f5e9;
            color: #388e3c;
        }

        .record-status.cancelled {
            background: #ffebee;
            color: #c62828;
        }

        .record-client {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 8px;
        }

        .record-client i {
            margin-right: 8px;
            color: #243d4f;
        }

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

        .record-details span {
            display: flex;
            align-items: center;
            gap: 4px;
        }

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

        .record-services {
            background: #f8f9fa;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 12px;
            font-size: 13px;
        }

        .record-services strong {
            color: #2c3e50;
            display: block;
            margin-bottom: 5px;
        }

        .record-services ul {
            list-style: none;
            padding-left: 0;
        }

        .record-services li {
            display: flex;
            justify-content: space-between;
            padding: 3px 0;
            border-bottom: 1px dashed #dee2e6;
        }

        .record-services li:last-child {
            border-bottom: none;
        }

        .record-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
            padding-top: 10px;
            border-top: 1px solid #e9ecef;
        }

        .record-total {
            font-weight: 700;
            color: #27ae60;
            font-size: 16px;
        }

        .record-actions {
            display: flex;
            gap: 8px;
        }

        .card-action-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            padding: 8px;
            border-radius: 6px;
            transition: all 0.3s;
        }

        .card-edit-btn {
            color: #243d4f;
            background: #e8f0fe;
        }

        .card-edit-btn:hover {
            background: #d0e0ff;
        }

        .card-delete-btn {
            color: #e74c3c;
            background: #fee;
        }

        .card-delete-btn:hover {
            background: #fdd;
        }

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

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

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

td {
    padding: 12px 10px;
    border-bottom: 1px solid #e9ecef;
    color: #34495e;
    font-size: 13px;
    vertical-align: middle;
}

tr:hover {
    background: #f8f9fa;
}

        .online-cell {
            position: relative;
        }
.client-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.client-name {
    font-weight: 600;
    color: #2c3e50;
}
.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;
    width: fit-content;
    white-space: nowrap;
}
.online-badge-table i {
    font-size: 10px;
}

        .action-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            margin: 0 5px;
            transition: all 0.3s;
            padding: 5px;
            border-radius: 4px;
        }

        .edit-btn {
            color: #243d4f;
        }

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

        .delete-btn {
            color: #e74c3c;
        }

        .delete-btn:hover {
            background: #fee;
        }

        /* Модальное окно */
        .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: 600px;
            width: 90%;
            max-height: 90vh;
            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;
        }

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

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

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

        .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
            border-color: #243d4f;
            outline: none;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .form-group small {
            color: #7f8c8d;
            font-size: 11px;
            margin-top: 3px;
            display: block;
        }

        /* Стили для множественных услуг */
        .multiple-services-container {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
        }
        
        .service-row {
            display: flex;
            gap: 10px;
            margin-bottom: 10px;
            align-items: center;
            background: #f8f9fa;
            padding: 10px;
            border-radius: 8px;
            transition: all 0.3s;
        }
        
        .service-row:hover {
            background: #e9ecef;
        }
        
        .service-row select {
            flex: 1;
            padding: 10px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s;
        }
        
        .service-row select:focus {
            border-color: #243d4f;
            outline: none;
        }
        
        .service-row button {
            background: #e74c3c;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .service-row button:hover {
            background: #c0392b;
            transform: scale(1.05);
        }
        
        .add-service-btn {
            background: #243d4f;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            margin-top: 15px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
        }
        
        .add-service-btn:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }

        /* Информация о доступности времени */
        .availability-info {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            border-left: 4px solid;
            display: none;
        }
        
        .availability-info.available {
            background: #e8f5e9;
            border-left-color: #27ae60;
            color: #2e7d32;
        }
        
        .availability-info.unavailable {
            background: #ffebee;
            border-left-color: #e74c3c;
            color: #c62828;
        }
        
        .availability-info.warning {
            background: #fff3e0;
            border-left-color: #f39c12;
            color: #ef6c00;
        }
        
        .availability-info i {
            margin-right: 8px;
        }
        
        .availability-info strong {
            color: #2c3e50;
        }

        .availability-details {
            font-size: 12px;
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px dashed rgba(0,0,0,0.1);
        }

        .price-info {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
        }

        .price-info div {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .price-info div:last-child {
            margin-bottom: 0;
            padding-top: 8px;
            border-top: 1px solid #dee2e6;
        }

        .price-info .total {
            font-weight: 700;
            color: #27ae60;
            font-size: 16px;
        }

        .button-group {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .btn-save {
            flex: 1;
            padding: 12px;
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-save:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
        }

        .btn-delete {
            flex: 1;
            padding: 12px;
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-delete:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
        }

        .btn-cancel {
            flex: 1;
            padding: 12px;
            background: #e0e0e0;
            color: #2c3e50;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-cancel:hover {
            background: #d0d0d0;
        }

        .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;
        }

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

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

        /* ===== МОБІЛЬНІ СТИЛІ (без горизонтального скролу) ===== */
        @media (max-width: 768px) {
            body {
                overflow-x: hidden;
                position: relative;
                width: 100%;
                height: 100%;
            }
    .menu-button1 {
        display: block;
        font-weight: 600;
    }
            /* Основний контент на весь екран */
            .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: 20px;
                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-toggle {
                display: block;
                position: fixed;
                top: 10px;
                left: 15px;
                z-index: 1001;
                background: #243d4f;
                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;
            }

            /* Панель управління */
            .control-panel {
			    background: none;
				box-shadow: none;
                flex-direction: column;
                align-items: stretch;
                padding: 15px;
                margin-top: 10px;
            }
            
            .filter-buttons {
                flex-direction: column;
                gap: 10px;
            }

            .search-button, .add-button {
                width: 100%;
                justify-content: center;
                padding: 12px;
            }

            /* Статистика */
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
                margin-bottom: 20px;
            }

            .stat-card {
			
                padding: 15px;
                gap: 10px;
            }

            .stat-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }

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

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

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

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

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

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

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

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

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

            .form-row {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .service-row {
                flex-direction: column;
                align-items: stretch;
            }

            .service-row select {
                width: 100%;
            }

            .service-row button {
                width: 100%;
                height: 40px;
            }

            .button-group {
                flex-direction: column;
                gap: 8px;
            }

            .btn-save,
            .btn-delete,
            .btn-cancel {
                width: 100%;
                padding: 12px;
            }

            /* Модальное окно поиска */
            .search-modal {
                width: 95%;
                padding: 20px;
            }

            .search-actions {
                flex-direction: column;
            }

            .btn-apply, .btn-reset {
                width: 100%;
            }

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

            .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;
            }

            /* Інформація про доступність */
            .availability-info {
                padding: 12px;
                font-size: 13px;
            }

            .availability-details {
                font-size: 11px;
            }

            /* Інформація про ціни */
            .price-info {
                padding: 12px;
            }

            .price-info div {
                font-size: 13px;
            }

            /* Адаптація для дуже маленьких екранів */
            @media (max-width: 380px) {
                .stats-grid {
                    grid-template-columns: 1fr;
                }

                .stat-card {
                    width: 100%;
                }

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

                h1 {
                    font-size: 18px;
                }
            }
        }

        /* Приховуємо кнопку меню на ПК */
        @media (min-width: 769px) {
            .menu-toggle {
                display: none;
            }
            .swipe-area {
                display: none;
            }
            .records-grid {
                display: none;
            }
            .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;
            }
        }