 /* promoStyle.css */
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            color: #0c5460;
            margin: 0;
            padding: 0;
        }
        .container {
            width: 95%;
            margin: auto;
            overflow: hidden;
        }
        .section-spacing {
            margin-top: 120px;
        }
        main {
            padding: 20px;
            background: #ced4da;
            margin-top: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }
        .filter-section {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            align-items: flex-end;
            background: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
            margin-bottom: 20px;
        }
        .filter-group {
            flex: 0 1 auto;
            min-width: 110px;
        }
        .filter-group label {
            display: block;
            font-size: 0.95rem;
            margin-bottom: 4px;
            font-weight: 700;
            color: #495057;
        }
        .filter-group .form-control {
            height: 38px;
            padding: 6px 12px;
            font-size: 0.95rem;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
        }
        .filter-group.search-group {
            min-width: 150px;
            flex: 1 1 auto;
        }
        .filter-group.clear-button-group {
            min-width: auto;
            flex: 0 0 auto;
        }
        .filter-group.clear-button-group .clear-btn {
            padding: 0 12px;
            font-size: 13px;
            height: 38px;
            white-space: nowrap;
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            line-height: 1;
        }
        .filter-group.clear-button-group .clear-btn:hover {
            background: #c82333;
        }
        .table {
            border-collapse: collapse;
            width: 100%;
            margin-top: 20px;
        }
        .table td, .table th {
            border: 1px solid #c4dddd;
            padding: 8px;
        }
        .table th {
            background-color: #0c5460;
            color: white;
        }
        .status-badge {
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 500;
        }
        .status-badge.active {
            background-color: #d4edda;
            color: #28a745;
        }
        .status-badge.inactive {
            background-color: #f8d7da;
            color: #dc3545;
        }
        .nav-tabs .nav-link.active {
            background-color: #1bb1dc;
            color: white;
            border-color: #1bb1dc;
        }
        .nav-tabs .nav-link {
            color: #495057;
            font-weight: 600;
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.4);
        }
        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        .close:hover {
            color: black;
        }
        .btn-success {
            background-color: #28a745;
            border-color: #28a745;
        }
        .btn-success:hover {
            background-color: #218838;
        }
        .tab-pane .table {
            width: 98%;
            table-layout: fixed;
        }
        .tab-pane .table th,
        .tab-pane .table td {
            word-wrap: break-word;
        }
        .nav-tabs {
            display: flex;
            width: 100%;
            border-bottom: 2px solid #dee2e6;
        }
        .nav-tabs .nav-item {
            flex: 1 1 auto;
            text-align: center;
            margin-bottom: -2px;
        }
        .nav-tabs .nav-link {
            font-size: 1.2rem;
            font-weight: 600;
            padding: 12px 0;
            border: 2px solid transparent;
            border-radius: 10px 10px 0 0;
            transition: all 0.2s;
            color: #495057;
        }
        .nav-tabs .nav-link:hover {
            background-color: #e9ecef;
            border-color: #e9ecef #e9ecef #dee2e6;
        }
        .nav-tabs .nav-link.active {
            background-color: #0c5460;
            color: white;
            border-color: #1bb1dc #1bb1dc #fff;
            font-weight: 700;
        }
        .tab-pane.active {
            border: 2px solid #1bb1dc;
            border-top: none;
            border-radius: 0 0 10px 10px;
            padding: 15px;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
        }
       /* Компактные фильтры для меню */
#menu .filter-section > div {
    margin-bottom: 0;
}

#menu .filter-section select.form-control,
#menu .filter-section input.form-control {
    height: 38px;
    padding: 6px 8px;
    font-size: 0.9rem;
}

#menu .filter-section .clear-btn {
    height: 38px;
    padding: 0 10px;
    font-size: 13px;
}

/* Для мобильных устройств */
@media (max-width: 1400px) {
    #menu .filter-section {
        gap: 5px;
    }
    #menu .filter-section > div {
        flex: 0 0 120px !important;
    }
    #menu .filter-section > div:nth-child(4) {
        flex: 0 0 90px !important;
    }
    #menu .filter-section > div:nth-child(5) {
        flex: 0 0 100px !important;
    }
}

@media (max-width: 1200px) {
    #menu .filter-section {
        flex-wrap: wrap;
    }
    #menu .filter-section > div {
        flex: 0 0 calc(50% - 5px) !important;
        margin-bottom: 8px;
    }
    #menu .filter-section > div:last-child {
        margin-left: 0 !important;
        flex: 0 0 100% !important;
    }
    #menu .filter-section > div:last-child button {
        width: 100%;
    }
}
/* promoStyle.css - стили для страницы акций и скидок */

/* Основные стили уже есть в style.css, добавляем только специфичные */

/* Стили для кнопок в фильтрах (как на странице заказов) */
.filter-button .clear-btn {
    white-space: nowrap;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 38px;
    line-height: 1;
}

.filter-button .clear-btn:hover {
    background: #c82333;
}

.new-order-button .new-order-btn {
    white-space: nowrap;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 38px;
    line-height: 1;
}

.new-order-button .new-order-btn:hover {
    background: #218838;
}

/* Стили для таблиц во вкладках */
.tab-pane .table {
    width: 100%;
    margin-top: 20px;
}

/* Компактные фильтры для вкладки Меню */
#menu .filter-section > div {
    margin-bottom: 0;
}

#menu .filter-section select.form-control,
#menu .filter-section input.form-control {
    height: 38px;
    padding: 6px 8px;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 1400px) {
    .filter-group {
        min-width: 100px;
    }
    .filter-group.search-group {
        min-width: 130px;
    }
    #menu .filter-section > div[style*="min-width: 130px"] {
        min-width: 120px !important;
    }
}

@media (max-width: 1200px) {
    .filter-section {
        gap: 8px;
    }
    .filter-group {
        min-width: 90px;
    }
    .filter-group.search-group {
        min-width: 120px;
    }
    #menu .filter-section > div[style*="min-width: 130px"] {
        min-width: 110px !important;
    }
}

@media (max-width: 992px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        width: 100%;
        min-width: 100% !important;
    }
    .filter-button, .new-order-button {
        margin-left: 0 !important;
    }
    .filter-button button, .new-order-button button {
        width: 100%;
    }
}
/* Переопределяем стили для вкладки Клиенты */
#clients.tab-pane {
    padding: 20px !important;
    margin: 0 !important;
    background-color: transparent !important;
}

#clients.tab-pane .filter-section {
    background: #f8f9fa !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    border: 1px solid #e1e5e9 !important;
    border-radius: 6px !important;
}

#clients.tab-pane .table {
    width: 100% !important;
    margin-top: 20px !important;
    background-color: white !important;
    border-collapse: collapse !important;
}

#clients.tab-pane .table th {
    background-color: #0c5460 !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 10px 8px !important;
}

#clients.tab-pane .table td {
    padding: 8px !important;
    color: #333 !important;
}

/* Убираем возможные конфликтующие отступы */
.tab-pane {
    padding: 0 !important;
    background: transparent !important;
}

.tab-pane.active {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Оформляем содержимое вкладки как на других страницах */
.tab-content > .tab-pane {
    padding: 20px 0 !important;
}

.tab-content > .tab-pane > .filter-section {
    margin-bottom: 25px !important;
}
.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.confirm-dialog .dialog-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.confirm-dialog h3 {
    margin-top: 0;
}

.confirm-dialog .dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.confirm-dialog .btn-cancel,
.confirm-dialog .btn-confirm {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.confirm-dialog .btn-cancel {
    background: #f44336;
    color: white;
}

.confirm-dialog .btn-confirm {
    background: #4CAF50;
    color: white;
}
		
		