
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #333;
        }
        .main-content{
            padding: 0 0;
        }
        .filters {
            background: white;
            padding: 5px;
            border-radius: 10px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .filters select, .filters input {
            padding: 8px 12px;
            margin-right: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        
        .filters button {
            padding: 8px 16px;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        
        .filters button:hover {
            background: #2980b9;
        }
        
        .filters label {
            margin-left: 10px;
            font-size: 14px;
            color: #666;
        }

        .filters input[type="date"] {
            margin-right: 10px;
        }
        
        .table-container {
            background: white;
            border-radius: 10px;
            overflow-x: auto;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
        }
        
        th, td {
            padding: 12px 10px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        th {
            background: #3498db;
            color: white;
            font-weight: 600;
        }
        
        tr:hover {
            background: #f5f5f5;
        }
        
        .service-icon {
            width: 30px;
            height: 30px;
            vertical-align: middle;
        }
        
        .badge {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }
        
        .badge.washing {
            background: #2ecc71;
            color: white;
        }
        
        .badge.drying {
            background: #e67e22;
            color: white;
        }
        
        .badge.wallet {
            background: #3498db;
            color: white;
        }
        
        .badge.card {
            background: #9b59b6;
            color: white;
        }
        
        .amount {
            font-weight: bold;
            color: #e67e22;
        }
        
        .empty {
            text-align: center;
            padding: 40px;
            color: #999;
        }
        
        .stats {
            margin-top: 20px;
            padding: 5px;
            background: white;
            border-radius: 10px;
            text-align: center;
        }
        
        .stats span {
            font-weight: bold;
            color: #e67e22;
            font-size: 20px;
        }
        .btn-add {
            background: linear-gradient(90deg, #667eea, #764ba2);
            border: none;
            padding: 12px 24px;
            border-radius: 40px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            transition: 0.2s;
        }
        
        .btn-add:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(102, 126, 234, 0.4);
        }
        
        /* Универсальные стили для любых таблиц */
table th {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.2s;
}

table th:hover {
    background-color: blue;
}

.sort-indicator {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

table th:hover .sort-indicator {
    opacity: 1;
}

        /* Адаптивные стили для мобильных устройств */
@media screen and (max-width: 768px) {
    .filters {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .filters select,
    .filters input,
    .filters button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .filters label {
        margin-left: 0;
        margin-top: 5px;
        font-size: 12px;
    }
    
    /* Группировка дат */
    .filters .date-group {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .filters .date-group label {
        width: auto;
        min-width: 50px;
    }
    
    .filters .date-group input {
        flex: 1;
        min-width: 120px;
    }
    
    /* Кнопки в ряд */
    .filters .buttons-group {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }
    
    .filters .buttons-group button {
        flex: 1;
    }
    
    /* Таблица - горизонтальная прокрутка */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: auto;
    }
    
    th, td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    /* Статистика */
    .stats {
        font-size: 14px;
        padding: 10px;
    }
    
    .stats span {
        font-size: 16px;
    }
    
    /* Заголовок */
    h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* Badges */
    .badge {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .amount {
        font-size: 12px;
    }
}

/* Для очень маленьких экранов (до 480px) */
@media screen and (max-width: 480px) {
    .filters {
        padding: 10px;
        gap: 8px;
    }
    
    .filters .date-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .filters .date-group input {
        width: 100%;
    }
    
    .filters .buttons-group {
        flex-direction: column;
        gap: 8px;
    }
    
    th, td {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    h1 {
        font-size: 18px;
    }
    
    .stats {
        font-size: 12px;
    }
    
    .stats span {
        font-size: 14px;
    }
    
    .empty {
        padding: 20px;
        font-size: 12px;
    }
}

/* Для планшетов (768px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .filters {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filters select,
    .filters input {
        flex: 1;
        min-width: 150px;
    }
    
    .filters button {
        flex: 0 0 auto;
    }
    
    .filters label {
        align-self: center;
    }
}