/* ============================================================
   REYMARTECH LATE-LOADING FIXES - loads after ALL plugin CSS
   ============================================================ */

/* LOGO LAZY-LOAD FIX
   Logos use CSS background-image on <span> to bypass W3TC.
   Also override img.lazy rules in case any img tags remain.  */
.hero-logo-strip img,
.hero-logo-strip img.lazy {
    min-height: 0 !important;
    height: 36px !important;
    width: auto !important;
    opacity: 1 !important;
    filter: none !important;
    display: block !important;
    visibility: visible !important;
}
.hero-logo-item {
    display: inline-block !important;
    width: 120px !important;
    height: 40px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0 !important;
}
.logo-ticker img,
.logo-ticker img.lazy {
    min-height: 0 !important;
    height: 40px !important;
    width: auto !important;
    opacity: 1 !important;
    filter: none !important;
    display: block !important;
    visibility: visible !important;
}
.logo-ticker-item {
    display: inline-block !important;
    width: 130px !important;
    height: 44px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* BOOTSTRAP FORM DARK OVERRIDE
   CF7 Apps loads Bootstrap which sets white bg everywhere     */
.wpcf7 .form-group,
.contact-form-wrap .form-group,
.modal-box .form-group {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
}

.wpcf7 .form-control,
.contact-form-wrap .form-control,
.modal-box .form-control {
    background: rgba(255,255,255,0.05) !important;
    background-color: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 14px 16px !important;
    font-size: 0.92rem !important;
    width: 100% !important;
    box-shadow: none !important;
}
.wpcf7 .form-control:focus,
.contact-form-wrap .form-control:focus {
    background: rgba(73,178,8,0.06) !important;
    background-color: rgba(73,178,8,0.06) !important;
    border-color: #49b208 !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}
.wpcf7 .form-control::placeholder,
.contact-form-wrap .form-control::placeholder {
    color: rgba(255,255,255,0.35) !important;
}
.wpcf7 input[type="file"].form-control {
    border: 1px dashed rgba(73,178,8,0.3) !important;
    color: rgba(255,255,255,0.6) !important;
    cursor: pointer !important;
}
.wpcf7 .form-group p,
.wpcf7 p {
    background: transparent !important;
    margin-bottom: 0 !important;
}

/* DS CF7 MATH CAPTCHA - exact plugin class names */
.form-group.math-captcha {
    background: rgba(10,22,10,0.8) !important;
    background-color: rgba(10,22,10,0.8) !important;
    border: 1px solid rgba(73,178,8,0.25) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
}
.dscf7-captcha-container,
.dscf7-question-container,
.dscf7-answer-container {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.dscf7_lt, span.dscf7_lt {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}
img.dscf7_captcha_icon {
    filter: invert(1) brightness(2) !important;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    opacity: 0.75 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
input[name*="dscf7captcha"],
input[id*="dscf7captcha"] {
    background: rgba(255,255,255,0.06) !important;
    background-color: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(73,178,8,0.3) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    min-width: 140px !important;
    width: auto !important;
    margin-top: 10px !important;
    display: block !important;
    box-shadow: none !important;
    font-size: 0.95rem !important;
}
input[name*="dscf7captcha"]:focus,
input[id*="dscf7captcha"]:focus {
    border-color: #49b208 !important;
    background: rgba(73,178,8,0.08) !important;
    background-color: rgba(73,178,8,0.08) !important;
    outline: none !important;
}
input[name*="dscf7captcha"]::placeholder {
    color: rgba(255,255,255,0.3) !important;
}
.dscf7-answer-container label.screen-reader-text {
    position: absolute !important;
    width: 1px !important; height: 1px !important;
    clip: rect(0,0,0,0) !important;
    overflow: hidden !important;
}

/* CF7 submit */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    width: 100% !important;
    background: #22c55e !important;
    background-color: #22c55e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 8px !important;
}
.wpcf7 input[type="submit"]:hover {
    background: #16a34a !important;
    background-color: #16a34a !important;
}
.wpcf7-response-output {
    margin-top: 12px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    color: #4ade60 !important;
    border: 1px solid rgba(73,178,8,0.3) !important;
    background: rgba(73,178,8,0.08) !important;
}
.wpcf7-not-valid-tip {
    color: #f87171 !important;
    font-size: 0.78rem !important;
    background: transparent !important;
}
