/* ============================================================
   FOOTER REBRAND — Cinema-style dark (reference clone)
   Loaded with footer.php (all pages). Visual only:
   structure, ids, forms and behavior unchanged.
   ============================================================ */

.footer,
footer.footer {
  background: #0a0a0a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem !important;
  padding-bottom: 0 !important;
}

/* brand left · quick links right (clone footer layout) */
.footer .container > .row {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 2.5rem !important;
  margin-bottom: 3.5rem !important;
}
.footer .col-md-5,
.footer .col-md-3 {
  width: auto !important;
  max-width: none !important;
  margin-bottom: 0 !important;
}
.footer .ig-footer-links {
  justify-self: end !important;
  text-align: right !important;
}
.footer .ig-footer-links ul {
  display: inline-block;
  text-align: right !important;
}
@media (max-width: 799px) {
  .footer .container > .row {
    grid-template-columns: 1fr !important;
  }
  .footer .ig-footer-links {
    justify-self: start !important;
    text-align: left !important;
  }
  .footer .ig-footer-links ul { text-align: left !important; }
}

/* Brand: FlowEngaged logo */
.footer .footer-logo-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 1rem !important;
}
.footer .footer-logo-wrapper .footer-logo {
  display: block !important;
  height: 36px !important;
  width: auto !important;
}

/* Column headings → mono eyebrows */
.footer h6 {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-bottom: 1rem !important;
}

/* Links */
.footer ul.list-unstyled li a {
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  transition: color 0.2s ease !important;
}
.footer ul.list-unstyled li a:hover {
  color: #fff !important;
}

/* Newsletter */
.footer .newsletter-form {
  display: flex !important;
  gap: 0.5rem !important;
  margin-top: 0.5rem !important;
  max-width: 20rem !important;
}
.footer .newsletter-form .form-control {
  background: rgba(23, 23, 23, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-size: 0.875rem !important;
  padding: 0.6rem 1rem !important;
}
.footer .newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}
.footer .newsletter-form .form-control:focus {
  outline: none !important;
  border-color: rgba(225, 48, 108, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.15) !important;
}
.footer .newsletter-form .btn,
.footer .newsletter-form .btn-primary {
  background: #fff !important;
  border: none !important;
  color: #0a0a0a !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 0.6rem 1.1rem !important;
  box-shadow: none !important;
}
.footer .newsletter-form .btn:hover {
  background: #e5e5e5 !important;
}
.footer .newsletter-form .btn,
.footer .newsletter-form .btn-primary {
  width: auto !important;
  height: auto !important;
  min-width: 46px !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.footer .newsletter-form .btn i,
.footer .newsletter-form .btn span,
.footer .newsletter-form .btn .button-text {
  color: #0a0a0a !important;
  font-size: 0.95rem !important;
}
.footer .newsletter-form .btn .spinner-border {
  color: #0a0a0a !important;
}

/* Brand paragraph (Quick Links already; add description style) */
.footer .col-md-5 p {
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  line-height: 1.6 !important;
  max-width: 20rem !important;
}

/* Bottom bar — always centered on every page */
.footer .text-center.py-4 {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-top: 1.6rem !important;
  padding-bottom: 2.2rem !important;
  text-align: center !important;
}
.footer .text-center.py-4 .container,
.footer .text-center.py-4 .row,
.footer .text-center.py-4 .col-12 {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}
.footer .text-center.py-4 p {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.35) !important;
  text-align: center !important;
  margin: 0.25rem 0 !important;
}
.footer .text-center.py-4 a {
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}
.footer .text-center.py-4 a:hover {
  color: #fff !important;
}

/* Email/text inputs: dark surface + white text in every state (site-wide forms) */
.footer .newsletter-form .form-control,
.contact-page-modern .form-input-modern,
.contact-page-modern .form-control,
.support-page .form-control,
.support-page .form-input-modern,
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  background-color: rgba(23, 23, 23, 0.88) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
}
.footer .newsletter-form .form-control:focus,
.contact-page-modern .form-input-modern:focus,
.contact-page-modern .form-control:focus,
.support-page .form-control:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
  background-color: rgba(23, 23, 23, 0.96) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.footer .newsletter-form .form-control::placeholder,
.contact-page-modern .form-input-modern::placeholder,
.support-page .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.35) !important;
}

/* helps Chrome render autofill dark */
input,
textarea,
select {
  color-scheme: dark;
}

/* Autofill: never white-on-white (bulletproof, all pages/inputs) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #171717 inset !important;
  box-shadow: 0 0 0 1000px #171717 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 600000s 0s, color 600000s 0s !important;
}
input:-webkit-autofill::first-line,
textarea:-webkit-autofill::first-line {
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  font-family: inherit !important;
}
input:-internal-autofill-selected,
textarea:-internal-autofill-selected {
  background-color: #171717 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
input:autofill,
textarea:autofill,
select:autofill {
  background-color: #171717 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Cookie consent bar (visual only) */
.cookie-consent-bar {
  background: rgba(23, 23, 23, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(20px);
}
