/* Contact form fields */
.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1px solid #ffd400;
    border-radius: 30px;
    padding: 12px 18px;
    background: #fff;
}

/* Focus state */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #ffd400;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 212, 0, 0.15);
}

/* CONTACT FORM ON CONTACT PAGE _START_ */

/* WPForms Labels – C-Tecnics Style */
.wpforms-container .wpforms-field-label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500; /* reduce from 700 */
    color: #1a1a1a;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    display: block;
    padding-left: 16px;
}

/* Required asterisk */
.wpforms-container .wpforms-required-label {
    color: #f5b400; /* your yellow accent */
    margin-left: 4px;
    font-weight: 600;
}

.wpforms-container .wpforms-field-label {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.6px;
}

.wpforms-container .wpforms-field {
    margin-bottom: 18px;
}

footer#footer .wpforms-container form .wpforms-field {
    margin-bottom: 0 !important;
    padding-bottom: 0px;
}

.wpforms-container .wpforms-field-label {
    opacity: 0.8;
}

/* Target WPForms select fields */
.wpforms-container select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* your existing style consistency */
    border-radius: 50px;
    padding-right: 50px; /* space for arrow */

    /* custom arrow */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
}

.wpforms-container select:focus {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23f5b400' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5'/></svg>");
}

/* Safari macOS fix */
.wpforms-container select::-ms-expand {
    display: none;
}

/* Placeholder style for select (when empty) */
.wpforms-container select:invalid {
    color: #BCBDC0; /* same light grey as inputs */
}

/* Normal selected value */
.wpforms-container select {
    color: #1a1a1a;
}

/* CONTACT FORM ON CONTACT PAGE _END_ */

/* This is the real spacing controller */
.ct-popup-overlay .wpforms-container .wpforms-field-container {
    margin-bottom: 4px;
    width: 680px;
    max-width: 100%;
}

/* Remove internal padding (clean inputs) */
.ct-popup-overlay .wpforms-container .wpforms-field {
    padding: 0;
}

/* Inputs & textarea spacing */
.ct-popup-overlay .wpforms-container input,
.ct-popup-overlay .wpforms-container textarea {
    margin: 4;
}

/* Textarea slightly separated */
.ct-popup-overlay .wpforms-container textarea {
    margin-top: 8px;
}

/* Button spacing */
.ct-popup-overlay .wpforms-container .wpforms-submit-container {
    margin-top: 4px;
}

/* Make inputs feel consistent */
.ct-popup-overlay .wpforms-container input,
.ct-popup-overlay .wpforms-container textarea {
    border: 2px solid #ffd400;
    border-radius: 30px;
    padding: 12px 16px;
}

/* Better vertical rhythm */
.ct-popup-overlay .wpforms-container .wpforms-field {
    margin-bottom: 8px;
}

.ct-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.ct-modal.active {
    display: block;
}

.ct-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.grecaptcha-badge {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.wpforms-container .wpforms-recaptcha-container {
    display: none !important;
}