
			.logo {
				display: flex;
				align-items: center;
				justify-content: center;
				text-align: center;
				width: 100%;
			}
			.logo img {
				margin-right: 10px;
				width: 50px;
				height: auto;
			}
			.header-spacing {
				margin-bottom: 10px;
			}
			.section-spacing {
				margin-top: 120px;
			}
			.sub-title {
				font-size: 18px;
				margin-top: -10px;
			}
			body {
				font-family: Arial, sans-serif;
				background-color: #f4f4f4;
				color: #0c5460;
				margin: 0;
				padding: 0;
			}
			.container {
				width: 97%;
				margin: auto;
				overflow: hidden;
			}
			main {
				padding: 20px;
				background: #ced4da;
				margin-top: 20px;
				box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
				border-radius: 5px;
			}
			/* Стили для поиска и фильтров */
			.search-filters {
				display: flex;
				gap: 10px;
				margin-bottom: 20px;
				flex-wrap: wrap;
			}
			.search-filters input, .search-filters select {
				padding: 8px;
				border: 1px solid #ccc;
				border-radius: 5px;
			}
			.search-filters button {
				padding: 8px 15px;
				background-color: #007bff;
				color: white;
				border: none;
				border-radius: 5px;
				cursor: pointer;
			}
			.search-filters button:hover {
				background-color: #0056b3;
			}

			/* Цветовое кодирование строк таблицы */
			tr.pending {
				background-color: #f8d7da;
			}
			tr.inprogress {
				background-color: #cce5ff;
			}
			tr.ready {
				background-color: #d4edda;
			}
			tr.canceled {
				background-color: #f8d7da;
			}
			tr.completed {
				background-color: #d1ecf1;
			}
			tr.additional {
				background-color: #e2e3e5;
			}

			/* Цвета для статусов заказа */
			.order-status.pending {
				color: #ff0000; /* Красный */
			}
			.order-status.inprogress {
				color: #007bff; /* Синий */
			}
			.order-status.ready {
				color: #28a745; /* Зелёный */
			}
			.order-status.canceled {
				color: #dc3545; /* Красный */
			}
			.order-status.completed {
				color: #17a2b8; /* Голубой */
			}
			.order-status.additional {
				color: #6c757d; /* Серый */
			}

			/* Модальное окно */
			.modal {
				display: none;
				position: fixed;
				z-index: 1000;
				left: 0;
				top: 0;
				width: 100%;
				height: 100%;
				overflow: auto;
				background-color: rgba(0, 0, 0, 0.5);
			}
			.modal-content {
				background-color: #fff;
				margin: 10% auto;
				padding: 20px;
				border: 1px solid #888;
				width: 90%; /* Увеличиваем ширину модального окна */
				max-width: 800px; /* Максимальная ширина */
				border-radius: 5px;
			}
			.close {
				color: #aaa;
				float: right;
				font-size: 28px;
				font-weight: bold;
				cursor: pointer;
			}
			.close:hover {
				color: #000;
			}

			/* Кнопки редактирования */
			.edit-tools {
				display: flex;
				gap: 10px; /* Добавляем отступ между кнопками */
				flex-wrap: wrap; /* Перенос кнопок на новую строку, если не хватает места */
				
			}

			/* Общие стили */
			body {
				font-family: Arial, sans-serif;
				background-color: #f4f4f4;
				color: #0c5460;
				margin: 0;
				padding: 0;
			}
			.container {
				width: 80%;
				margin: auto;
				overflow: hidden;
			}
			main {
				padding: 20px;
				background: #ced4da;
				margin-top: 20px;
				box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
				border-radius: 5px;
			}
			.table {
				border-collapse: collapse;
				width: 100%;
			}
			.table td, .table th {
				border: 1px solid #ddd;
				padding: 8px;
			}
			.table th {
				background-color: #0c5460;
				color: white;
			}
			
			/* Новые стили для интерактивных строк */
			.table tbody tr {
				cursor: pointer;
				transition: all 0.2s;
			}
			.table tbody tr:hover {
				transform: scale(1.01);
				box-shadow: 0 0 10px rgba(0,0,0,0.1);
			}
			
			/* Стили для модального окна с составом заказа */
			.order-details {
				margin-top: 20px;
			}
			.order-details h3 {
				margin-bottom: 15px;
				color: #007bff;
			}
			.order-items-table {
				width: 100%;
				border-collapse: collapse;
				margin-bottom: 20px;
			}
			.order-items-table th {
				background-color: #0c5460;
				color: white;
				padding: 10px;
				text-align: left;
			}
			.order-items-table td {
				padding: 10px;
				border-bottom: 1px solid #ddd;
			}
			.order-items-table tr:last-child td {
				border-bottom: none;
			}
			.order-summary {
				background-color: #f8f9fa;
				padding: 15px;
				border-radius: 5px;
				margin-top: 20px;
			}
			.order-summary p {
				margin: 5px 0;
				font-weight: bold;
			}
			.order-actions {
				margin-top: 20px;
				display: flex;
				justify-content: flex-end;
				gap: 10px;
			}
			
			/* Анимация для новых заказов */
			@keyframes pulse {
				0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
				70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
				100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
			}
			.new-order {
				animation: pulse 2s infinite;
			}
			/* Добавляем стиль для кнопки "Вернуть в работу" */
			.btn-revert {
				background-color: #ffc107;
				color: #212529;
				border: none;
			}
			.btn-revert:hover {
				background-color: #e0a800;
				color: #212529;
			}
			
			.status-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: opacity 0.5s;
}
           .fade-out {
                opacity: 0;
                     }

           .order-row {
               transition: all 0.3s ease;
                      }
           .status-toast {
    color: #000;
    font-size: 16px;
    padding: 10px 20px;
    position: fixed;
    top: 20px; /* Смещение вверх */
    right: 20px; /* Смещение вправо */
    width: fit-content;
    max-width: 300px; /* Ограничение ширины */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}


.status-toast:nth-child(1) {
    background-color: #ffc0cb; /* Розовый для новых заказов */
}

.status-toast:nth-child(4) {
    background-color: #cfe2ff; /* Голубой для завершённых заказов */
}

.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column-reverse; /* Новые уведомления появляются сверху */
    gap: 10px;
    z-index: 1000;
    padding: 10px;
}

.status-toast {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #d4edda;
    color: #155724;
    opacity: 0.95;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease-out;
}

.new-order-toast {
    background-color: #ffc0cb;
    color: #721c24;
    border-left: 4px solid #ff69b4;
}

.completed-toast {
    background-color: #cfe2ff;
    color: #084298;
}

.fade-out {
    opacity: 0;
    transform: translateX(100%);
}

.toast-icon {
    font-size: 24px;
    margin-right: 12px;
}

.toast-content {
    flex: 1;
}

.toast-content strong {
    display: block;
    margin-bottom: 4px;
}

.new-orders-badge {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #ff0000;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 1001;
    display: none;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.95;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.new-order-toast {
    background-color: #ffc0cb; /* Розовый фон */
    color: #000;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
    transition: opacity 0.5s ease-in-out;
}
.new-order-alert {
    position: fixed;
    top: 20px; /* Эта часть будет динамически обновляться в JS */
    left: 20px;
    background-color: #ffe6e6;
    color: #333;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: bold;
    z-index: 9999;
}

/* Стили для индикатора поиска */
#searchActiveIndicator {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    margin-bottom: 20px;
}

#searchActiveIndicator button {
    font-size: 0.85rem;
    padding: 3px 10px;
}

/* Анимация для подсказки */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Стили для кнопки очистки */
#searchClearBtn {
    background-color: #f8f9fa;
    border-left: none;
    border-radius: 0 10px 10px 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #6c757d;
}

#searchClearBtn:hover {
    background-color: #e2e6ea;
    color: #dc3545;
}

/* Подсветка совпадений в таблице */
.search-highlight {
    background-color: #ffeb3b;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
}

/* Единый стиль для всех фильтров */
.filter-section {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
    border: 1px solid #e1e5e9;
}

.filter-group {
    flex: 1 1 380px;
    min-width: 140px;
}

.filter-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.filter-group select,
.filter-group input,
.filter-group .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #b0bec5;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
    background-color: #fff;
    font-weight: 600;
    color: #1e2a3a;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #4CAF50;
}

.filter-group.search-group {
    min-width: 50px;
    flex: 1 1 auto;
}

.input-group {
    display: flex;
    width: 25%;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

.input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 38px;
}

.clear-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.clear-btn:hover {
    background: #c82333;
}

/* Адаптивность */
@media (max-width: 992px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        width: 100%;
    }
    .filter-group.search-group {
        width: 100%;
    }
}

/* Компактная секция фильтров */
.filter-section {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-end;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
    border: 1px solid #e1e5e9;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

/* Статус - фиксированная ширина */
.status-group {
    flex: 0 0 420px;
    min-width: 180px;
}

/* Поиск - занимает оставшееся пространство */
.search-group {
    flex: 1 1 auto;
    min-width: 200px;
}

/* Кнопка - фиксированная ширина */
.filter-button {
    flex: 0 0 auto;
}

.filter-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 13px;
    white-space: nowrap;
}

.filter-group select,
.filter-group input,
.filter-group .form-control {
    width: 100%;
    padding: 6px 10px;
    border: 2px solid #b0bec5;
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.3s;
    background-color: #fff;
    font-weight: 600;
    color: #1e2a3a;
    height: 36px;
}

.filter-group select {
    padding: 5px 10px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group .form-control {
    width: 100%;
    padding: 6px 30px 6px 10px;
}

#searchClearBtn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    display: none;
    z-index: 10;
    font-size: 14px;
}

#searchClearBtn:hover {
    color: #dc3545;
}

.clear-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 15px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    height: 36px;
}

.clear-btn:hover {
    background: #c82333;
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
    .filter-section {
        flex-wrap: wrap;
    }
    
    .status-group {
        flex: 1 1 200px;
    }
    
    .search-group {
        flex: 2 1 250px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        gap: 12px;
    }
    
    .status-group,
    .search-group,
    .filter-button {
        width: 100%;
        flex: none;
    }
    
    .clear-btn {
        width: 100%;
        justify-content: center;
    }
}	

/* Контейнер фильтров с кнопкой */
.filter-section {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-end;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
    border: 1px solid #e1e5e9;
}

/* Группы фильтров */
.filter-group {
    display: flex;
    flex-direction: column;
}

.status-group {
    flex: 0 0 200px;
}

.search-group {
    flex: 1 1 auto;
    min-width: 200px;
}

.filter-button {
    flex: 0 0 auto;
}

/* Кнопка нового заказа */
.new-order-button {
    flex: 0 0 auto;
    margin-left: auto; /* Прижимает кнопку к правому краю */
}

.new-order-btn {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    height: 38px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.new-order-btn:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.new-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
}

.new-order-btn i {
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .filter-section {
        flex-wrap: wrap;
    }
    
    .status-group {
        flex: 1 1 180px;
    }
    
    .search-group {
        flex: 2 1 250px;
    }
    
    .new-order-button {
        margin-left: 0;
        width: auto;
    }
}

@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .status-group,
    .search-group,
    .filter-button,
    .new-order-button {
        width: 100%;
        flex: none;
    }
    
    .new-order-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Контейнер фильтров */
.filter-section {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-end;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
    border: 1px solid #e1e5e9;
    position: relative; /* Для возможных псевдоэлементов */
}

/* Группы фильтров */
.filter-group {
    display: flex;
    flex-direction: column;
}

.status-group {
    flex: 0 0 200px;
}

.search-group {
    flex: 1 1 auto;
    min-width: 200px;
}

.filter-button {
    flex: 0 0 auto;
}

/* ============ ВЫДЕЛЕННАЯ КНОПКА НОВОГО ЗАКАЗА ============ */
.new-order-button {
    flex: 0 0 auto;
    margin-left: auto; /* Прижимает к правому краю */
}

.new-order-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px; /* Более округлая форма */
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    height: 42px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 13px;
}

.new-order-btn i {
    font-size: 18px;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2));
}

.new-order-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.new-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Альтернативный вариант - красный градиент (раскомментируйте если нужно) */
/*
.new-order-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.new-order-btn:hover {
    background: linear-gradient(135deg, #e883f0 0%, #e64c5e 100%);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.5);
}
*/

/* Добавляем пульсирующую тень для привлечения внимания (опционально) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.new-order-btn {
    animation: pulse 2s infinite; /* Уберите если не нужно */
}

/* Кнопка очистки (оставляем как есть) */
.clear-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    height: 38px;
    transition: background 0.3s;
}

.clear-btn:hover {
    background: #c82333;
}

/* ============ АДАПТИВНОСТЬ ============ */
@media (max-width: 992px) {
    .filter-section {
        flex-wrap: wrap;
    }
    
    .status-group {
        flex: 1 1 180px;
    }
    
    .search-group {
        flex: 2 1 250px;
    }
    
    .new-order-button {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .status-group,
    .search-group,
    .filter-button,
    .new-order-button {
        width: 100%;
        flex: none;
    }
    
    .new-order-btn {
        width: 100%;
        justify-content: center;
        animation: none; /* Убираем пульсацию на мобильных */
    }
}
/* Контейнер для фильтров и кнопки */
.filters-container {
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin-bottom: 20px;
}

/* Секция фильтров */
.filter-section {
    display: flex;
    flex: 1;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: flex-end;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
    border: 1px solid #e1e5e9;
}

/* Блок с кнопкой */
.new-order-section {
    display: flex;
    align-items: flex-end;
    min-width: 160px;
}

.new-order-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    width: 100%;
    height: 42px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 2px solid white;
}

.new-order-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Адаптивность */
@media (max-width: 992px) {
    .filters-container {
        flex-direction: column;
    }
    
    .new-order-section {
        min-width: 100%;
    }
}	