/* WooCommerce Quote to WhatsApp - Frontend Styles */

.wcqw-price-text {
    color: #666;
    font-weight: 500;
}

.wcqw-quote-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wcqw-quote-form h2 {
    margin-top: 0;
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.wcqw-quote-form > p {
    color: #666;
    margin-bottom: 30px;
}

.wcqw-form-row {
    margin-bottom: 20px;
}

.wcqw-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.wcqw-form-row input[type="text"],
.wcqw-form-row input[type="email"],
.wcqw-form-row input[type="tel"],
.wcqw-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.wcqw-form-row input:focus,
.wcqw-form-row textarea:focus {
    outline: none;
    border-color: #0071a1;
}

.wcqw-form-row textarea {
    resize: vertical;
    font-family: inherit;
}

.wcqw-quote-form h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    border-bottom: 2px solid #0071a1;
    padding-bottom: 10px;
}

.wcqw-order-summary {
    background: #f7f7f7;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.wcqw-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.wcqw-summary-item:last-child {
    border-bottom: none;
}

.wcqw-product-name {
    font-weight: 500;
    color: #333;
}

.wcqw-product-qty {
    color: #666;
    font-size: 14px;
}

.wcqw-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wcqw-submit-btn:hover {
    background: #20BA5A;
}

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

.wcqw-whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.wcqw-btn-text {
    display: inline-block;
}

.wcqw-btn-loading {
    display: none;
}

#wcqw-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .wcqw-quote-form {
        padding: 20px;
    }
    
    .wcqw-quote-form h2 {
        font-size: 24px;
    }
    
    .wcqw-summary-item {
        flex-direction: column;
    }
    
    .wcqw-product-qty {
        margin-top: 5px;
    }
}

/* Hide WooCommerce default checkout elements */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review {
    display: none !important;
}