  :root {
		--primary: #4361ee;
		--primary-dark: #3a56d4;
		--secondary: #7209b7;
		--success: #4cc9f0;
		--danger: #f72585;
		--warning: #f8961e;
		--light: #f8f9fa;
		--dark: #212529;
		--gray: #6c757d;
		--gray-light: #e9ecef;
		--border-radius: 8px;
		--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
		--transition: all 0.3s ease;
	}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7fb;
            color: var(--dark);
            line-height: 1.6;
            padding: 20px;
        }


/*  БЛОКИ НА FLAXBOX
	--------------------------------------------------- */	
	.block-flex-div { display: flex;max-width: 960px;justify-content: space-between;box-sizing: border-box; margin:0px auto;}	
		.block-line-flex {display: flex;padding: 8px; height: auto;font-size: 14px;width: 100%;color: #666;font-weight: 500;text-align: left;box-sizing: border-box;/* justify-content: center; */ }
			.block-column-flex{ flex: 1;} 		
			.block-column-flex.my-contacts {min-width:300px;}
			.block-column-flex.my-about {min-width:300px;padding:10px}
			
			.project .block-column-flex.logo {flex: 0 0 10% !important;padding-top:20px;}
			.project .block-column-flex.logo.salooncrm {padding-top:5px;}
				.project .block-column-flex.logo img {max-width: 150px;}
			.project .block-column-flex.description p {margin-top:0px;}
			
			
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        header {
            background-color: white;
            padding: 6px 30px 0px 0px;
            border-radius: var(--border-radius);
            margin-bottom: 25px;
            box-shadow: var(--box-shadow);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        .logo .block-column-flex.logo-img {
            max-width:105px
        }
        .logo .logo-img img {
            width:100px
        }
        .logo .logo-text {
            margin-top:12px
        }
        .logo i {
            font-size: 2.5rem;
        }

        .logo h1 {
            font-size: 2rem;
            font-weight: 600;
			line-height: 2rem;
        }

        .header-controls {
            display: flex;
            gap: 15px;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            font-weight: 600;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color: var(--secondary);
            color: white;
        }

        .btn-secondary:hover {
            background-color: #5a08a1;
            transform: translateY(-2px);
        }

        .btn-success {
            background-color: var(--success);
            color: white;
        }

        .btn-success:hover {
            background-color: #2db3d8;
            transform: translateY(-2px);
        }

        .btn-danger {
            background-color: var(--danger);
            color: white;
        }

        .btn-danger:hover {
            background-color: #e11570;
            transform: translateY(-2px);
        }

        .btn-warning {
            background-color: var(--warning);
            color: white;
        }

        .btn-warning:hover {
            background-color: #e0861b;
            transform: translateY(-2px);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid #6b6b6b;
            color: ##6b6b6b;
        }

        .btn-outline:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .btn-small {
            padding: 6px 12px;
            font-size: 0.9rem;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 3fr;
            gap: 25px;
            margin-bottom: 25px;
        }

        .sidebar {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 20px;
            box-shadow: var(--box-shadow);
            height: fit-content;
        }

        .calendar-container {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 20px;
            box-shadow: var(--box-shadow);
        }

        .section-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--primary);
            border-bottom: 2px solid var(--gray-light);
            padding-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            color: var(--secondary);
        }

        .nav-menu {
            list-style: none;
        }

        .nav-item {
            margin-bottom: 10px;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 15px;
            color: var(--dark);
            text-decoration: none;
            border-radius: var(--border-radius);
            transition: var(--transition);
            font-weight: 500;
        }

        .nav-link:hover {
            background-color: var(--gray-light);
        }

        .nav-link.active {
            background-color: var(--primary);
            color: white;
        }

        .calendar-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .calendar-nav {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .period-selector {
            display: flex;
            gap: 10px;
        }

        .period-btn {
            padding: 8px 15px;
            background-color: var(--gray-light);
            border: none;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
        }

        .period-btn.active {
            background-color: var(--primary);
            color: white;
        }

        .calendar {
            width: 100%;
            border-collapse: collapse;
            margin-top: 15px;
        }

        .calendar th {
            background-color: var(--primary);
            color: white;
            padding: 12px;
            text-align: center;
            font-weight: 600;
        }

        .calendar td {
            padding: 10px;
            border: 1px solid var(--gray-light);
            vertical-align: top;
            height: 120px;
            position: relative;
        }

        .calendar .day-header {
            font-weight: bold;
            margin-bottom: 5px;
            color: var(--dark);
        }

        .day-calendar {
            width: 100%;
            border-collapse: collapse;
        }

        .day-calendar th {
            background-color: var(--primary);
            color: white;
            padding: 10px;
            text-align: center;
        }

        .day-calendar td {
            padding: 10px;
            border: 1px solid var(--gray-light);
            vertical-align: top;
        }

        .appointment {
            background-color: var(--success);
            color: white;
            padding: 5px;
            border-radius: 4px;
            margin-bottom: 5px;
            font-size: 0.85rem;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .appointment:hover {
            opacity: 0.9;
        }

        .appointment-time {
            font-weight: bold;
            font-size: 0.8rem;
        }

        .appointment-client {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .free-slot {
            background-color: rgba(76, 201, 240, 0.1);
            border: 1px dashed var(--success);
            padding: 5px;
            border-radius: 4px;
            margin-bottom: 5px;
            font-size: 0.8rem;
            color: var(--success);
            text-align: center;
            cursor: pointer;
        }

        .free-slot:hover {
            background-color: rgba(76, 201, 240, 0.2);
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background-color: white;
            border-radius: var(--border-radius);
            width: 90%;
            max-width: 700px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .modal-header {
            background-color: var(--primary);
            color: white;
            padding: 20px;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-body {
            padding: 20px;
        }

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

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

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
        }

        input, select, textarea {
            width: 100%;
            padding: 10px 15px;
            border: 1px solid var(--gray-light);
            border-radius: var(--border-radius);
            font-size: 1rem;
            transition: var(--transition);
        }

        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 25px;
        }

        .stats-card {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 20px;
            box-shadow: var(--box-shadow);
            margin-bottom: 20px;
        }

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

        .stats-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--primary);
        }

        .stats-hidden {
            filter: blur(8px);
            user-select: none;
        }

        .toggle-hidden {
            cursor: pointer;
            color: var(--gray);
            font-size: 1.2rem;
        }

        .entity-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 5px;
            margin-bottom: 5px;
        }

        .doctor { background-color: #e3f2fd; color: #1565c0; }
        .cosmetologist { background-color: #fce4ec; color: #ad1457; }
        .stylist { background-color: #e8f5e9; color: #2e7d32; }
        .room { background-color: #fff3e0; color: #ef6c00; }

        .status-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .scheduled { background-color: #e3f2fd; color: #1565c0; }
        .confirmed { background-color: #e8f5e9; color: #2e7d32; }
        .arrived { background-color: #f1f8e9; color: #558b2f; }
        .not_arrived { background-color: #ffebee; color: #c62828; }
        .rescheduled { background-color: #fff3e0; color: #ef6c00; }

        .tabs {
            display: flex;
            border-bottom: 2px solid var(--gray-light);
            margin-bottom: 20px;
        }

        .tab {
            padding: 12px 25px;
            cursor: pointer;
            font-weight: 600;
            color: var(--gray);
            transition: var(--transition);
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
        }

        .tab.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .list-item {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 15px;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .list-item-info h4 {
            margin-bottom: 5px;
            color: var(--dark);
        }

        .list-item-info p {
            color: var(--gray);
            font-size: 0.9rem;
        }

        .list-item-actions {
            display: flex;
            gap: 10px;
        }

        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: var(--gray);
        }

        .empty-state i {
            font-size: 3rem;
            margin-bottom: 15px;
            color: var(--gray-light);
        }

        /* Стили для футера */
		footer {
			background: linear-gradient(135deg, var(--dark), #343a40);
			color: white;
			margin-top: 40px;
			border-radius: var(--border-radius);
			box-shadow: var(--box-shadow);
			overflow: hidden;
		}

		.footer-content {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
			gap: 30px;
			padding: 40px 30px;
		}

		.footer-section {
			padding: 10px;
		}

		.footer-section h4 {
			color: var(--success);
			font-size: 1.3rem;
			margin-bottom: 20px;
			padding-bottom: 10px;
			border-bottom: 2px solid rgba(76, 201, 240, 0.3);
			position: relative;
		}

		.footer-section h4:after {
			content: '';
			position: absolute;
			left: 0;
			bottom: -2px;
			width: 60px;
			height: 2px;
			background-color: var(--success);
		}

		.footer-section p {
			color: rgba(255, 255, 255, 0.8);
			line-height: 1.7;
			margin-bottom: 15px;
		}

		.footer-section ul {
			list-style: none;
			padding: 0;
		}

		.footer-section ul li {
			margin-bottom: 12px;
			color: rgba(255, 255, 255, 0.8);
			display: flex;
			align-items: center;
			gap: 10px;
			transition: var(--transition);
		}

		.footer-section ul li:before {
			content: '✓';
			color: var(--success);
			font-weight: bold;
			font-size: 0.9rem;
		}

		.footer-section ul li:hover {
			color: white;
			transform: translateX(5px);
		}

		.footer-section a {
			color: var(--success);
			text-decoration: none;
			transition: var(--transition);
		}

		.footer-section a:hover {
			color: white;
			text-decoration: underline;
		}

		.footer-bottom {
			background-color: rgba(0, 0, 0, 0.2);
			padding: 25px 30px;
			text-align: center;
			border-top: 1px solid rgba(255, 255, 255, 0.1);
		}

		.footer-bottom p {
			color: rgba(255, 255, 255, 0.7);
			margin: 0;
			font-size: 0.95rem;
		}

		.footer-bottom a {
			color: var(--success);
			text-decoration: none;
			transition: var(--transition);
			font-weight: 600;
		}

		.footer-bottom a:hover {
			color: white;
			text-decoration: underline;
		}
		/* Адаптивность футера */
		@media (max-width: 768px) {
			.footer-content {
				grid-template-columns: 1fr;
				gap: 25px;
				padding: 30px 20px;
			}
			
			.footer-section {
				padding: 0;
			}
			
			.footer-section h4 {
				font-size: 1.2rem;
			}
			
			.footer-bottom {
				padding: 20px;
			}
			
			.footer-bottom p {
				font-size: 0.9rem;
				line-height: 1.5;
			}
		}

		@media (max-width: 480px) {
			.footer-content {
				padding: 25px 15px;
			}
			
			.footer-section h4 {
				font-size: 1.1rem;
			}
			
			.footer-bottom {
				padding: 15px;
			}
		}

		/* Анимация при наведении на элементы футера */
		.footer-section {
			transition: transform 0.3s ease;
		}

		.footer-section:hover {
			transform: translateY(-5px);
		}

		/* Стили для SEO контента */
		.seo-content {
			background-color: white;
			padding: 30px;
			border-radius: var(--border-radius);
			margin-bottom: 30px;
			box-shadow: var(--box-shadow);
			line-height: 1.8;
		}

		.seo-content h2 {
			color: var(--primary);
			margin-bottom: 20px;
			font-size: 1.8rem;
		}

		.seo-content h3 {
			color: var(--secondary);
			margin: 25px 0 15px 0;
			font-size: 1.4rem;
		}

		.seo-content p {
			margin-bottom: 15px;
			color: var(--dark);
		}

		.seo-content ul {
			margin-bottom: 20px;
			padding-left: 20px;
		}

		.seo-content ul li {
			margin-bottom: 10px;
			color: var(--dark);
		}

		.seo-content strong {
			color: var(--primary);
		}

		/* Стили для подзаголовка в header */
		.header-subtitle {
			font-size: 1rem;
			opacity: 0.9;
			margin-top: 5px;
			font-weight: 400;
		}
        .hidden {
            display: none !important;
        }

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

        .entity-item {
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid var(--gray-light);
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
        }

        .entity-item:hover {
            background-color: var(--gray-light);
        }

        .entity-item.active {
            background-color: rgba(67, 97, 238, 0.1);
            border-color: var(--primary);
        }

        .time-slot {
            padding: 8px;
            margin-bottom: 5px;
            border-radius: 4px;
            cursor: pointer;
            transition: var(--transition);
        }

        .time-slot.free {
            background-color: rgba(76, 201, 240, 0.1);
            border: 1px dashed var(--success);
        }

        .time-slot.free:hover {
            background-color: rgba(76, 201, 240, 0.2);
        }

        .time-slot.busy {
            background-color: var(--success);
            color: white;
        }

        .client-checkbox {
            margin-bottom: 8px;
        }

        .client-checkbox label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: normal;
            cursor: pointer;
        }

        .client-checkbox input {
            width: auto;
        }

        @media (max-width: 1200px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
            
            header {flex-direction: column;}
            .header-controls {
                flex-direction: column;
                width: 100%;
                margin-top: 15px;
            }
            
            .calendar-controls {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
            
            .calendar {
                font-size: 0.9rem;
            }
            
            .calendar td {
                height: 100px;
            }
        }