/* Advanced filtering styles */
.filters-section {
    background: #f8f9ff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

.filter-header h3 {
    color: #667eea;
    font-size: 1.2em;
    margin: 0;
}

.filter-tip {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

.filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.filter-group.wide {
    flex: 2;
    min-width: 250px;
}

.filter-group label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.filter-input {
    padding: 8px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    background: white;
}

.filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-input:hover {
    border-color: #a5b4fc;
}

.filter-stats {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.filter-stats span {
    font-weight: 600;
    color: #667eea;
    font-size: 0.95em;
}

.reset-filters {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.reset-filters:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.export-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.export-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Date range styles for Hebrew */
input[type="date"] {
    direction: ltr;
    text-align: right;
}

/* Date shortcuts */
.date-shortcuts {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.shortcut-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.shortcut-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
}

.shortcut-btn:active {
    transform: scale(0.95);
}
