/**
 * Copyright © Jared. All rights reserved.
 * Quote Request Form Styles
 */

.quote-request-wrapper {
    background: #f9f9f9;
    border: 2px solid #e3e3e3;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
    max-width: 600px;
}

.quote-request-header {
    margin-bottom: 25px;
    text-align: center;
}

.quote-request-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.quote-notice {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.quote-request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-request-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quote-request-form label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.quote-request-form label.required:after {
    content: ' *';
    color: #e02b27;
}

.quote-request-form .input-text {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.quote-request-form .input-text:focus {
    outline: none;
    border-color: #1979c3;
    box-shadow: 0 0 5px rgba(25, 121, 195, 0.3);
}

.quote-request-form textarea.input-text {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.quote-request-form .form-actions {
    margin-top: 10px;
}

.quote-request-form .quote-submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: #1979c3;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.quote-request-form .quote-submit-btn:hover {
    background: #006bb4;
}

.quote-request-form .quote-submit-btn:disabled,
.quote-request-form .quote-submit-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.quote-messages {
    margin-top: 20px;
}

.quote-messages .message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.quote-messages .message.success {
    background: #e5f5e5;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.quote-messages .message.error {
    background: #ffebee;
    border: 1px solid #e02b27;
    color: #c62828;
}

/* Responsive styles */
@media (max-width: 768px) {
    .quote-request-wrapper {
        padding: 20px;
        margin: 15px 0;
    }

    .quote-request-header h3 {
        font-size: 20px;
    }

    .quote-request-form .quote-submit-btn {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* Product page specific adjustments */
.product-info-main .quote-request-wrapper {
    margin-top: 30px;
}

/* Animation for form submission */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-messages .message {
    animation: fadeIn 0.3s ease-in;
}
