/* Price Drops Page Specific Styles */

/* Departure date filter compact styling */
.departure-date-filter-compact {
    margin-bottom: 15px;
    padding: 0;
    background: transparent;
    border: none;
    position: relative;
}

.departure-filter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
}

.departure-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.departure-filter-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 12px;
    white-space: nowrap;
}

.departure-filter-input {
    padding: 6px 8px;
    padding-right: 28px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #374151;
    background-color: #ffffff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    width: 140px;
    position: relative;
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px 14px;
}

.departure-filter-input:hover {
    border-color: #9ca3af;
}

.departure-filter-group {
    position: relative;
}

.departure-filter-input:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1);
}

.departure-filter-button {
    padding: 6px 12px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.departure-filter-button:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

.departure-filter-clear {
    padding: 6px 12px;
    background: #9ca3af;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
}

.departure-filter-clear:hover {
    background: #6b7280;
    transform: translateY(-1px);
}

/* Buttons container */
.departure-filter-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Mobile responsive for compact filter */
@media (max-width: 768px) {
    .departure-filter-form {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
    
    .departure-filter-group {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
    }
    
    .departure-filter-label {
        white-space: nowrap;
    }
    
    .departure-filter-input {
        width: 120px;
    }
    
    /* Buttons row on mobile - keep them in one row */
    .departure-filter-buttons {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }
    
    .departure-filter-button,
    .departure-filter-clear {
        flex: 1;
        min-width: 0;
        text-align: center;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
