/* Order Filters Styles */
.order-filters-container {
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.order-filters-container h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #263473;
    font-size: 18px;
    font-weight: 600;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: end;
}

.filter-field {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.filter-field input {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.filter-field input:focus {
    border-color: #263473;
    outline: none;
    box-shadow: 0 0 0 2px rgba(38, 52, 115, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    align-items: end;
}
/* HTML5 Date Input Styling */
input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4'/%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14 2H2a1 1 0 0 0-1 1v1h14V3a1 1 0 0 0-1-1z'/%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 1v2m6-2v2'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px 16px;
    padding-right: 32px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.filter-buttons .button {
    background: #263473;
    color: white;
    padding: 10px 20px !important;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
    line-height: 1.5 !important;
    min-width: 200px;
}
.filter-buttons .button:after {
    content: none !important;   
}
.filter-buttons .button:hover {
    background: #1a2654;
    color: white;
}

.filter-buttons .button-secondary {
    background: #e4862b;
    color: white;
}

.filter-buttons .button-secondary:hover {
    background: #cc7526;
    color: white;
}

.active-filters {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.active-filters strong {
    color: #263473;
    margin-right: 10px;
}

.filter-tag {
    background: #e1f5fe;
    padding: 4px 8px;
    margin: 0 5px;
    border-radius: 15px;
    font-size: 12px;
    color: #0277bd;
    display: inline-block;
}



/* Responsive Design */
@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-field {
        min-width: 100%;
    }
    
    .filter-field input {
        width: 100%;
    }
    
    .filter-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-buttons .button {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .order-filters-container {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .order-filters-container h3 {
        font-size: 16px;
    }
    
    .filter-field label {
        font-size: 13px;
    }
    
    .filter-field input {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .filter-buttons .button {
        font-size: 13px;
        padding: 8px 16px;
    }
} 