/**
 * WP Vehicle Filter Styles
 */

.wpvf-vehicle-selector-wrapper {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wpvf-title {
    margin: 0 0 20px 0;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
}

.wpvf-vehicle-selector-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpvf-field-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wpvf-label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.wpvf-required {
    color: #dc3232;
    margin-left: 3px;
}

.wpvf-select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}

.wpvf-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.wpvf-select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.wpvf-loading {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

.wpvf-submit-group {
    margin-top: 10px;
}

.wpvf-submit-button {
    padding: 12px 24px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.wpvf-submit-button:hover {
    background-color: #005a87;
}

.wpvf-submit-button:active {
    background-color: #004a6f;
}

.wpvf-submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.wpvf-messages {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.wpvf-message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpvf-message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpvf-vehicle-selector-wrapper {
        padding: 15px;
    }
    
    .wpvf-title {
        font-size: 1.3em;
    }
    
    .wpvf-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Widget Styles */
.widget .wpvf-vehicle-selector-wrapper {
    padding: 15px;
    border: 1px solid #e5e5e5;
}

.widget .wpvf-title {
    font-size: 1.2em;
    margin-bottom: 15px;
}

