/* Simple Quotes - Frontend Styles */

.sq-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.sq-field {
    margin-bottom: 20px;
}

.sq-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.sq-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.sq-services {
    margin: 30px 0;
}

.sq-services h3 {
    margin-bottom: 15px;
}

.sq-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.sq-service-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.sq-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sq-service-card input[type="checkbox"] {
    display: none;
}

.sq-service-card input[type="checkbox"]:checked + .sq-service-info {
    color: white;
}

.sq-service-card:has(input:checked) {
    background: #28a745;
    border-color: #28a745;
}

.sq-service-card:has(input:checked) .sq-service-info {
    color: white;
}

.sq-service-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.sq-service-price {
    font-size: 16px;
    font-weight: 500;
}

.sq-budget {
    margin: 30px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.sq-budget label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.sq-budget-display {
    font-size: 32px;
    font-weight: 700;
    color: #0073aa;
    text-align: center;
    margin-bottom: 15px;
}

#sq-budget-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

#sq-budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0073aa;
    cursor: pointer;
}

#sq-budget-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0073aa;
    cursor: pointer;
    border: none;
}

.sq-quote-total {
    margin: 30px 0;
    padding: 25px;
    background: #e7f3ff;
    border: 2px solid #0073aa;
    border-radius: 8px;
    text-align: center;
}

.sq-quote-total h3 {
    margin: 0 0 10px 0;
    color: #0073aa;
}

.sq-total-amount {
    font-size: 36px;
    font-weight: 700;
    color: #0073aa;
}

.sq-messages {
    margin: 20px 0;
}

.sq-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.sq-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.sq-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.sq-submit {
    width: 100%;
    padding: 15px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.sq-submit:hover {
    background: #005a87;
}

.sq-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.sq-success {
    text-align: center;
    padding: 40px;
}

.sq-success-message {
    font-size: 20px;
    margin-bottom: 20px;
    color: #155724;
}

.sq-reset {
    padding: 12px 30px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.sq-reset:hover {
    background: #218838;
}

@media (max-width: 768px) {
    .sq-service-grid {
        grid-template-columns: 1fr;
    }
}
