/* WooCommerce Forms */
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    color: #000 !important;
    background-color: #fff !important;
}

/* Also fix placeholder text */
.woocommerce form .form-row .input-text::placeholder {
    color: #666 !important;
    opacity: 1;
}

/* Search Bars */
.woocommerce-product-search input[type="search"],
.search-field,
input[type="search"] {
    color: #000 !important;
    background-color: #fff !important;
}

/* Mailchimp input fixes */
.mc4wp-form input[type="email"],
.mc4wp-form input[type="text"],
.mc4wp-form input,
.mailchimp-form input,
#mc_embed_signup input,
#mc_embed_signup input[type="email"] {
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
}

/* Mailchimp placeholder text */
.mc4wp-form input::placeholder,
.mailchimp-form input::placeholder,
#mc_embed_signup input::placeholder {
    color: #666 !important;
    opacity: 1;
}

/* Mailchimp submit button */
.mc4wp-form input[type="submit"],
.mailchimp-form input[type="submit"],
#mc_embed_signup input[type="submit"] {
    color: #fff !important;
    background-color: #007cba !important;
}

/* Jetpack Mailchimp input fix */
.wp-block-jetpack-mailchimp input {
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    padding: 8px 12px !important;
}

.wp-block-jetpack-mailchimp input::placeholder {
    color: #666 !important;
    opacity: 1;
}

/* Product Page Quantity Selector Fix */
.single-product .quantity input,
.product .quantity input,
.single-product .wc-block-components-quantity-selector input,
.product .wc-block-components-quantity-selector input,
.woocommerce div.product form.cart .quantity input {
    color: #000 !important;
    background-color: #fff !important;
    font-size: 16px !important;
    font-weight: normal !important;
}

/* Also fix any product page quantity containers that might have black backgrounds */
.single-product .quantity,
.product .quantity,
.woocommerce div.product form.cart .quantity {
    background-color: transparent !important;
}

/* Cart Page Quantity and Coupon Fixes */
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
.woocommerce .cart .quantity input,
.woocommerce-cart .quantity input,
input[name*="quantity"],
input.qty,
.qty,
.woocommerce-cart .coupon input[name="coupon_code"],
.woocommerce-cart .coupon input,
.woocommerce .cart .coupon input,
.cart .coupon input,
.coupon input,
input[name="coupon_code"],
.woocommerce .coupon .input-text,
.cart input[type="number"],
.woocommerce-cart input[type="number"],
.wc-block-cart input,
.woocommerce-cart input,
.cart-page input,
body.woocommerce-cart input {
    color: #000 !important;
    background-color: #fff !important;
    font-size: 16px !important;
    font-weight: normal !important;
    border: 1px solid #ccc !important;
    padding: 8px !important;
}

/* Remove Jetpack cookie banner */
.wp-block-jetpack-cookie-consent {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Remove any cookie consent dialog */
[role="dialog"][aria-modal="true"]:has(a[href*="cookies"]) {
    display: none !important;
}

/* Remove Affirm/Age verification privacy popup */
.modal-content:has(.modal-title:contains("Privacy Policy")),
div:has(input[name="afacr_email_address"]),
div:has(button[name="afacr_cancel_modal"]),
.modal:has(input[name="afacr_agree_terms"]) {
    display: none !important;
}

/* Broader targeting if above doesn't work */
[id*="afacr"],
[class*="afacr"] {
    display: none !important;
}
.chat-header h3 {
    margin: 0 !important;
}
.chat-header-info div {
    margin-left: 14px !important;
}

.chat-header .subtitle {
    margin-top: 4px !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
    font-size: 11px !important;
}
/* Customer Reviews Plugin - Review Comment Box Fix */
.cr-all-reviews-shortcode .cr-review-form-comment .cr-review-form-comment-txt,
.cr-ajax-reviews-review-form .cr-review-form-comment .cr-review-form-comment-txt,
.cr-reviews-grid .cr-review-form-comment .cr-review-form-comment-txt,
.cr-qna-block .cr-review-form-comment .cr-review-form-comment-txt {
    color: #000 !important;
    background-color: #fff !important;
}

/* Focus state for review boxes */
.cr-all-reviews-shortcode .cr-review-form-comment .cr-review-form-comment-txt:focus,
.cr-ajax-reviews-review-form .cr-review-form-comment .cr-review-form-comment-txt:focus,
.cr-reviews-grid .cr-review-form-comment .cr-review-form-comment-txt:focus,
.cr-qna-block .cr-review-form-comment .cr-review-form-comment-txt:focus {
    color: #000 !important;
    background-color: #fff !important;
}

/* Review box placeholder text */
.cr-all-reviews-shortcode .cr-review-form-comment .cr-review-form-comment-txt::placeholder,
.cr-ajax-reviews-review-form .cr-review-form-comment .cr-review-form-comment-txt::placeholder,
.cr-reviews-grid .cr-review-form-comment .cr-review-form-comment-txt::placeholder,
.cr-qna-block .cr-review-form-comment .cr-review-form-comment-txt::placeholder {
    color: #666 !important;
    opacity: 1;
}
/* Customer Reviews - Name and Email Input Fields Fix */
.cr-all-reviews-shortcode .cr-review-form-ne .cr-review-form-txt,
.cr-ajax-reviews-review-form .cr-review-form-ne .cr-review-form-txt,
.cr-reviews-grid .cr-review-form-ne .cr-review-form-txt,
.cr-qna-block .cr-review-form-ne .cr-review-form-txt {
    color: #000 !important;
    background-color: #fff !important;
}

/* Focus states for name/email fields */
.cr-all-reviews-shortcode .cr-review-form-ne .cr-review-form-txt:focus,
.cr-ajax-reviews-review-form .cr-review-form-ne .cr-review-form-txt:focus,
.cr-reviews-grid .cr-review-form-ne .cr-review-form-txt:focus,
.cr-qna-block .cr-review-form-ne .cr-review-form-txt:focus {
    color: #000 !important;
    background-color: #fff !important;
}

/* Placeholder text for name/email fields */
.cr-all-reviews-shortcode .cr-review-form-ne .cr-review-form-txt::placeholder,
.cr-ajax-reviews-review-form .cr-review-form-ne .cr-review-form-txt::placeholder,
.cr-reviews-grid .cr-review-form-ne .cr-review-form-txt::placeholder,
.cr-qna-block .cr-review-form-ne .cr-review-form-txt::placeholder {
    color: #666 !important;
    opacity: 1;
}
/* WooCommerce Blocks - Checkout Form Fields Fix */
.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url] {
    color: #000 !important;
    background-color: #fff !important;
}

/* Focus states for WooCommerce Blocks */
.wc-block-components-form .wc-block-components-text-input input:focus,
.wc-block-components-text-input input:focus {
    color: #000 !important;
    background-color: #fff !important;
}

/* Placeholder text for WooCommerce Blocks */
.wc-block-components-form .wc-block-components-text-input input::placeholder,
.wc-block-components-text-input input::placeholder {
    color: #666 !important;
    opacity: 1;
}
/* Stripe Payment Fields - Fix White Text Issue */
:root {
    --c-inputFontColor: rgb(0, 0, 0) !important;
    --c-inputSelectOptionTextColor: rgb(0, 0, 0) !important;
}

/* Additional backup selectors */
.Input, 
.p-FauxInput,
.p-Input-input {
    color: #000 !important;
    background-color: #fff !important;
}
/* Stripe Payment Fields - CSS Variable Fix */
:root {
    --c-inputFontColor: rgb(0, 0, 0) !important;
    --c-inputSelectOptionTextColor: rgb(0, 0, 0) !important;
}
/* Stripe Payment Fields - Aggressive Fix */
[class*="p-Input"] input,
[class*="p-Field"] input,
iframe[name*="__privateStripeFrame"] input,
input[data-elements-stable-field-name],
input[autocomplete="cc-number"],
input[autocomplete="cc-exp"],
input[autocomplete="cc-csc"] {
    color: #000 !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #000 !important;
}

/* Also try targeting by attribute */
input[placeholder*="Card number"],
input[placeholder*="MM / YY"],
input[placeholder*="CVC"],
input[placeholder*="CVV"] {
    color: #000 !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #000 !important;
}
/* WooPayments Specific Fix */
#wc-woocommerce-payments-card-number,
#wc-woocommerce-payments-card-expiry,
#wc-woocommerce-payments-card-cvc,
.wc-block-gateway-container input,
.wc-block-checkout__payment-method input,
[id*="wc-woocommerce-payments"] input {
    color: #000 !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #000 !important;
}

/* WooPayments iframes (if applicable) */
iframe[id*="wc-woocommerce-payments"],
iframe[name*="woocommerce-payments"] {
    background-color: #fff !important;
}

/* Broader WooPayments targeting */
.wc-block-components-payment-method-content input,
.woocommerce-checkout-payment input[type="text"],
.payment_method_woocommerce_payments input {
    color: #000 !important;
    background-color: #fff !important;
    -webkit-text-fill-color: #000 !important;
}
/* Fix checkbox styling with BLACK checkmark */
.grunion-checkbox-multiple-options input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 3px;
    background-color: white;
    position: relative;
    cursor: pointer;
}

.grunion-checkbox-multiple-options input[type="checkbox"]:checked {
    background-color: white;
    border-color: #c688ff;
}

/* Force BLACK checkmark with !important */
.grunion-checkbox-multiple-options input[type="checkbox"]:checked::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid black !important; /* Force black with !important */
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg);
    z-index: 10 !important; /* Higher z-index */
}

/* Completely hide submit button */
button.pushbutton-wide[type="submit"] {
    display: none !important;
}
/* Style phone input field */
input[type="tel"],
input[name*="phone"],
input[id*="phone"] {
    transition: border-color 0.3s ease;
}

/* Placeholder styling */
input[type="tel"]::placeholder,
input[name*="phone"]::placeholder,
input[id*="phone"]::placeholder {
    color: #999;
    font-style: italic;
}

/* Error state styling */
input[type="tel"].error,
input[name*="phone"].error,
input[id*="phone"].error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}
/* Target your specific hero heading */
@media (max-width: 768px) {
  #h-your-kentucky-real-estate-career-starts-here-enroll-today {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  #h-your-kentucky-real-estate-career-starts-here-enroll-today {
    font-size: 28px !important;
  }
}
/* Target only the logo section, not all flex groups */
@media (max-width: 768px) {
  /* More specific targeting for the logo container */
  .wp-block-group.has-custom-main-gradiant-gradient-background .wp-block-group.is-layout-flex .wp-block-image {
    flex: 1 1 auto;
    text-align: center;
  }
  
  .wp-block-group.has-custom-main-gradiant-gradient-background .wp-block-group.is-layout-flex .wp-block-image img {
    width: 120px !important;
    height: auto !important;
    max-width: 100%;
  }
  
  .wp-block-group.has-custom-main-gradiant-gradient-background .wp-block-group.is-layout-flex {
    flex-wrap: nowrap !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .wp-block-group.has-custom-main-gradiant-gradient-background .wp-block-group.is-layout-flex .wp-block-image img {
    width: 100px !important;
  }
}
/* Checkout Page Phone Field Fix */
input[name="g21761-textmessagecontentphonenumber"],
#g21761-textmessagecontentphonenumber,
.telephone.wp-block-jetpack-input.jetpack-field__input-element,
.woocommerce-checkout .telephone,
.checkout .telephone,
input[type="tel"].jetpack-field__input-element {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
    padding: 12px !important;
    font-size: 16px !important;
}
/* Fix label that got a box around it */
label[for="g21761-textmessagecontentphonenumber"],
.grunion-field-label.telephone.wp-block-jetpack-label,
label.grunion-field-label.telephone {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}