/* Cookie Styles */
.wh-autofill-suggestion {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    margin-top: 2px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}
.wh-autofill-suggestion:hover {
    background: #f5f5f5;
}
.form-group {
    position: relative;
}

/* Form Styles */


/* Field width classes */
.wh-field-full {
    width: 100%;
    margin-bottom: 15px;
}

.wh-field-half {
    width: 48%;
    margin-right: 2%;
    margin-bottom: 15px;
    display: inline-block;
}

.wh-field-half:nth-child(2n) {
    margin-right: 0;
}

.wh-field-third {
    width: 31%;
    margin-right: 2%;
    margin-bottom: 15px;
    display: inline-block;
}

.wh-field-third:nth-child(3n) {
    margin-right: 0;
}

.wh-form-clear {
    display: block;
    clear: both;
    margin-top: 15px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .wh-field-half,
    .wh-field-third {
        width: 100%;
        margin-right: 0;
    }
}

/* Form styling */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.required {
    color: #dc3232;
}

.radio-option {
    margin-bottom: 5px;
}

.radio-option label {
    display: inline;
    margin-left: 5px;
}

.wh-form-2-col {
    display: flex;
    justify-content: flex-start;
}

.wh-form-one-half {
    width: 50%;
}

.wh-form-one-half:first-child {
    margin-right: 20px;
}

.wh-form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.wh-form-message.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.wh-form-message.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.wh-form.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.wh-form.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Floating Contact */
.wh-quick-contact {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
}

/* Bottom Right positioning */
.wh-quick-contact.bottom-right {
    right: 20px;
}

/* Bottom Left positioning */
.wh-quick-contact.bottom-left {
    left: 20px;
}

.wh-contact-bubble {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.wh-contact-bubble:hover {
    transform: scale(1.05);
}

.wh-bubble-icon {
    font-size: 20px;
}

.wh-contact-popup {
    position: fixed;
    bottom: 80px;
    width: 450px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

/* Bottom Right positioning */
.bottom-right .wh-contact-popup {
    right: 20px;
}

/* Bottom Left positioning */
.bottom-left .wh-contact-popup {
    left: 20px;
}

.wh-contact-popup.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.wh-popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wh-popup-header h3 {
    margin: 0;
    font-size: 18px;
}

.wh-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.wh-popup-close:hover {
    background: none;
    margin: 0;
    padding: 0;
    border: none;
    color: #222;
}

.wh-popup-content {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/** Form specific styles for the popup **/
.wh-contact-popup .wh-form {
    margin: 0;
}

.wh-contact-popup .fl-input,
.wh-contact-popup .fl-select,
.wh-contact-popup .fl-textarea {
    width: 100%;
    margin-bottom: 15px;
}

.fl-select {
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #6a6b71;
    background-color: #fcfcfc;
    background-image: none;
    border: 1px solid #e6e6e6;
}

.preferred-contact-form-group {
    display: flex;
    align-items: center;
}

.preferred-contact-form-group label {
    margin-right: 20px;
}

.radio-group {
    margin-top: 5px;
}

.radio-label {
    display: inline-block;
    margin-right: 20px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 5px;
}

@media (max-width: 480px) {
    .wh-contact-popup {
        width: calc(100vw - 40px);
    }
    
    /* Bottom Right positioning for mobile */
    .bottom-right .wh-contact-popup {
        right: -20px;
    }
    
    /* Bottom Left positioning for mobile */
    .bottom-left .wh-contact-popup {
        left: -20px;
    }
    
    .wh-bubble-text {
        display: none;
    }
    
    .wh-contact-bubble {
        padding: 12px;
    }
}


/** Multi Step Form Styles */

/* Progress indicator styles */
.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    position: relative;
    color: #666;
}

.progress-step::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.progress-step::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
}

.progress-step.active {
    color: #066aab;
}

.progress-step.active::after {
    background: #066aab;
}

.progress-step.completed::after {
    background: #28a745;
}

/* Form step styles */
.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

.form-navigation {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}