/* Quote Page CSS */

.wb-quote-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.wb-quote-form-container {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wb-form-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.wb-form-description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 1px;
}

.wb-quote-form {
    width: 100%;
}

.wb-form-group {
    margin-bottom: 25px;
}

.wb-form-label {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.wb-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    color: #333;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.wb-form-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
}

.wb-form-input::placeholder {
    color: #999;
}

.wb-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.wb-form-textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.2);
}

.wb-form-textarea::placeholder {
    color: #999;
}

/* CAPTCHA Styles */
.wb-captcha-section {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.wb-captcha-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wb-captcha-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    border-radius: 5px;
    border: 2px solid #4CAF50;
    user-select: none;
}

#captchaText {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #4CAF50;
    font-family: 'Courier New', monospace;
}

.wb-captcha-refresh-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wb-captcha-refresh-btn:hover {
    background: #45a049;
    transform: rotate(180deg);
}

.wb-captcha-input {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Checkbox Styles */
.wb-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

.wb-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4CAF50;
}

.wb-checkbox-label {
    color: #333;
    cursor: pointer;
    user-select: none;
    letter-spacing: 1px;
}

/* Form Actions */
.wb-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.wb-btn-submit,
.wb-btn-reset {
    flex: 1;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.wb-btn-submit {
    background: #4CAF50;
    color: white;
    letter-spacing: 1px;
}

.wb-btn-submit:hover {
    background: #45a049;
    transform: translateY(-2px);
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.wb-btn-reset {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    letter-spacing: 1px;
}

.wb-btn-reset:hover {
    background: #e0e0e0;
}

/* Error Messages */
.wb-error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    font-family: 'Poppins', sans-serif;
}

.wb-form-input.error,
.wb-form-textarea.error {
    border-color: #e74c3c;
    background-color: #fadbd8;
}

/* Success Message */
.wb-form-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: 600;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .wb-quote-form-container {
        padding: 30px;
    }

    .wb-form-title {
        font-size: 24px;
    }

    .wb-form-actions {
        flex-direction: column;
    }

    .wb-form-actions button {
        width: 100%;
    }

    .wb-captcha-code {
        flex-direction: column;
        gap: 10px;
    }

    .wb-captcha-refresh-btn {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .wb-quote-section {
        padding: 30px 0;
    }

    .wb-quote-form-container {
        padding: 20px;
        border-radius: 8px;
    }

    .wb-form-title {
        font-size: 20px;
    }

    .wb-form-label {
        font-size: 14px;
    }

    .wb-form-input,
    .wb-form-textarea {
        font-size: 14px;
        padding: 10px 12px;
    }

    #captchaText {
        font-size: 24px;
    }
}
