/**
 * Feedback Global Sections voor Contact Form 7
 * CSS styles
 */

/* Hide the standard success message when the global section is displayed, but only for forms with global sections */
.wpcf7.has-global-section .wpcf7-response-output.wpcf7-mail-sent-ok {
    display: none !important;
}

/* Make sure the form is completely hidden after submission, but only for forms with global sections */
.wpcf7.has-global-section .wpcf7-form.sent {
    display: none !important;
}

/* For forms without global sections, allow the default CF7 behavior */
.wpcf7:not(.has-global-section) .wpcf7-form.sent {
    /* Default CF7 behavior - don't override */
}

/* Container for the global section after form submission */
.feedback-wpcf7-global-section-container {

    display: none; /* Hidden by default, shown via JavaScript */
}



/* Styles for the global section in the footer (hidden by default) */
.feedback-wpcf7-footer-global-section {
    display: none;
}

/* Style for the global section content (legacy support) */
.nectar-global-section-content {
    margin-top: 20px;
}

/* Styles for error messages */
.feedback-wpcf7-error {
    padding: 15px;
    margin: 20px 0;
    border-left: 4px solid #dc3232;
    background-color: #fff;
    color: #444;
    line-height: 1.5;
}

.feedback-wpcf7-error strong {
    color: #dc3232;
    display: block;
    margin-bottom: 5px;
}

.feedback-wpcf7-error small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.9em;
}

/* Loading indicator styles */
.feedback-wpcf7-loading {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #666;
}

/* Style for iframe method (legacy support) */
#feedback-wpcf7-iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    overflow: hidden;
    margin-top: 20px;
}

/* Responsive styles */
/* @media (max-width: 768px) {
    .feedback-wpcf7-global-section-container {
        padding: 10px;
    }
    
    .feedback-wpcf7-global-section {
        padding: 10px;
    }
}  */