/*
Theme Name: Brook Specialty Pharmacy
Theme URI: https://brookpharmacy.com
Author: Gopal Vaghasiya
Author URI: https://brookpharmacy.com
Description: Custom high-performance WordPress theme for Brook Specialty Pharmacy featuring GSAP animations, Tailwind CSS, and full ACF Pro dynamic content controls.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brook-pharmacy
Tags: pharmacy, medical, healthcare, specialty-pharmacy, custom-theme, tailwindcss, gsap, acf-pro
*/

/* Header navigation link width & alignment rules (Figma Right-Aligned Menu) */
[data-node-id="135:1247"] {
  position: absolute !important;
  left: 220px !important;
  right: 205.66px !important;
  width: auto !important;
  height: 80px !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  z-index: 20 !important;
}

[data-name="Container"] [data-node-id="135:1248"],
[data-node-id="135:1247"] [data-node-id="135:1248"] {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  height: 100% !important;
  width: 100% !important;
}

[data-name="List"] a[data-node-id="135:1266"],
[data-name="List"] a[href*="testimonials"] {
  width: 140px !important;
  flex-shrink: 0 !important;
}

/* Testimonial cards hover effect */
.testimonial-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  background-color: #ffffff !important;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 20px 35px 0px rgba(0, 136, 46, 0.16), 0px 8px 16px 0px rgba(0, 13, 68, 0.06) !important;
  border-color: rgba(0, 136, 46, 0.35) !important;
  z-index: 10;
}

/* FAQ Accordion Styles */
.faq-accordion-container {
  width: 100%;
}

.faq-item {
  border: 1px solid rgba(0, 136, 46, 0.15);
  border-radius: 18px;
  background-color: #ffffff;
  overflow: hidden;
  box-shadow: 0px 3px 10px 0px rgba(5, 38, 20, 0.03);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.faq-item:hover {
  border-color: rgba(0, 136, 46, 0.3);
  box-shadow: 0px 6px 18px 0px rgba(5, 38, 20, 0.06);
}

.faq-item .faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-item:not(.active) .faq-header:hover {
  background-color: #f7faf8;
}

.faq-item .faq-question {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 21.7px;
  color: #052614;
  transition: color 0.3s ease;
  user-select: none;
}

.faq-item .faq-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: rgba(0, 136, 46, 0.1);
  flex-shrink: 0;
  margin-left: 15px;
  transition: background-color 0.3s ease, transform 0.25s ease;
}

.faq-item .faq-icon-plus {
  display: block;
}

.faq-item .faq-icon-minus {
  display: none;
}

.faq-item .faq-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-item .faq-body-inner {
  border-top: 1px solid rgba(0, 136, 46, 0.1);
  background-color: #ffffff;
  padding: 20px 24px 24px 24px;
}

.faq-item .faq-answer {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  line-height: 24.65px;
  color: #4b5563;
  word-break: break-word;
  max-width: 797px;
}

/* Active State */
.faq-item.active .faq-header {
  background-color: #052614 !important;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.faq-item.active .faq-question {
  color: #ffffff !important;
}

.faq-item.active .faq-badge {
  background-color: #00b04b !important;
}

.faq-item.active .faq-icon-plus {
  display: none !important;
}

.faq-item.active .faq-icon-minus {
  display: block !important;
}

.faq-item.active .faq-body {
  max-height: 500px;
  opacity: 1;
}

/* Global Select Reset (Prevent duplicate browser arrows) */
select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}

select::-ms-expand {
  display: none !important;
}

/* Mobile & Generic Form Fields */
.form-field {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #052614;
  background-color: #ffffff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field:focus {
  border-color: #00882e !important;
  box-shadow: 0 0 0 1px #00882e !important;
}

/* Custom Dropdown Styling (Figma Design Rounded Dropdown) */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select-wrapper.open .custom-select-menu {
  display: block !important;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-wrapper .custom-select-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 136, 46, 0.18);
  border-radius: 14px;
  box-shadow: 0px 10px 30px rgba(5, 38, 20, 0.14);
  padding: 6px;
  z-index: 60;
  max-height: 220px;
  overflow-y: auto;
}

.custom-select-wrapper .custom-select-menu::-webkit-scrollbar {
  width: 5px;
}

.custom-select-wrapper .custom-select-menu::-webkit-scrollbar-track {
  background: #f0fdf4;
  border-radius: 10px;
}

.custom-select-wrapper .custom-select-menu::-webkit-scrollbar-thumb {
  background: #00b04b;
  border-radius: 10px;
}

.custom-select-option {
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #052614;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  background-color: #ecf8f1 !important;
  color: #00882e !important;
  font-weight: 500;
}

/* Floating Badge Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(-1.5deg);
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-float-badge {
  animation: floatSlow 5s ease-in-out infinite;
  will-change: transform;
}

.animate-float-badge-slow {
  animation: floatGentle 4.5s ease-in-out infinite;
  will-change: transform;
}

.floating-care-card {
  animation: floatGentle 5.5s ease-in-out infinite 0.5s;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform, box-shadow;
}

.floating-care-card:hover {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.01) !important;
  box-shadow: 0 20px 45px rgba(0, 80, 30, 0.2) !important;
  border-color: rgba(0, 136, 46, 0.45) !important;
}

/* Card Hover Lift */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Responsive Viewport Switcher */
@media (max-width: 767px) {
  .desktop-exact,
  .desktop-exact-wrapper {
    display: none !important;
  }
  .mobile-responsive {
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }
}

@media (min-width: 768px) {
  .desktop-exact-wrapper {
    display: block !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
  }
  .desktop-exact {
    display: block !important;
    width: 1920px;
    transform-origin: top left;
  }
  .mobile-responsive {
    display: none !important;
  }
}

/* ==========================================================================
   Mobile Healthcare Services Slider & Responsive Cards
   ========================================================================== */
#mob-services-slider,
#mob-sub-services-slider {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 4px 0 10px !important;
  margin: 0 auto !important;
}

#mob-services-track,
#mob-sub-services-track {
  display: flex !important;
  gap: 20px !important;
  width: max-content !important;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
  will-change: transform;
}

.mob-service-card,
#mob-services-slider .service-card {
  width: calc(100vw - 32px) !important;
  min-width: calc(100vw - 32px) !important;
  max-width: 480px !important;
  height: 395px !important;
  min-height: 395px !important;
  max-height: 395px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 136, 46, 0.16) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0px 8px 24px rgba(0, 136, 46, 0.06) !important;
  box-sizing: border-box !important;
  position: relative !important;
  margin: 0 auto !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

@media (min-width: 512px) {
  .mob-service-card,
  #mob-services-slider .service-card {
    width: 480px !important;
    min-width: 480px !important;
  }
}

.mob-service-card:hover,
#mob-services-slider .service-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0px 14px 28px rgba(0, 136, 46, 0.14) !important;
}

.mob-service-img-wrap {
  height: 155px !important;
  min-height: 155px !important;
  max-height: 155px !important;
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.mob-service-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s ease !important;
}

.mob-service-card:hover .mob-service-img {
  transform: scale(1.06) !important;
}

/* ==========================================================================
   Mobile Consultation Form Select Dropdowns
   ========================================================================== */
.custom-select-trigger {
  min-height: 48px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.custom-select-trigger .custom-select-label {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: block !important;
  text-align: left !important;
}

.custom-select-arrow {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   Transfer Prescription 4 Stage Cards Hover Effect
   ========================================================================== */
.transfer-stage-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: transform, box-shadow;
  cursor: pointer;
}

.transfer-stage-card:hover {
  transform: translateY(-8px) !important;
  border-color: #00882e !important;
  background-color: #ffffff !important;
  box-shadow: 0px 16px 36px rgba(0, 136, 46, 0.16) !important;
}

.transfer-stage-card .stage-pill-badge {
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

.transfer-stage-card:hover .stage-pill-badge {
  background-color: #00882e !important;
  border-color: #00882e !important;
}

.transfer-stage-card .stage-pill-text {
  transition: color 0.25s ease !important;
}

.transfer-stage-card:hover .stage-pill-text {
  color: #ffffff !important;
}

.transfer-stage-card .stage-card-title {
  transition: color 0.25s ease !important;
}

.transfer-stage-card:hover .stage-card-title {
  color: #00882e !important;
}

.transfer-stage-card .stage-card-desc {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  color: #4b5563 !important;
  letter-spacing: -0.01em !important;
  transition: color 0.25s ease !important;
}

.transfer-stage-card:hover .stage-card-desc {
  color: #052614 !important;
}

/* Figma / Locofy font family and weight mappings to prevent default fallbacks & preserve bold weights */
[class*="Plus_Jakarta_Sans"] {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

[class*="Plus_Jakarta_Sans:Bold"] {
  font-weight: 700 !important;
}

[class*="Plus_Jakarta_Sans:ExtraBold"] {
  font-weight: 800 !important;
}

[class*="Plus_Jakarta_Sans:SemiBold"] {
  font-weight: 600 !important;
}

[class*="Plus_Jakarta_Sans:Medium"] {
  font-weight: 500 !important;
}

[class*="Poppins"] {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

[class*="Poppins:SemiBold"],
[class*="SemiBold"] {
  font-weight: 600 !important;
}

[class*="Poppins:Bold"],
[class*="Bold"] {
  font-weight: 700 !important;
}

[class*="Poppins:ExtraBold"],
[class*="ExtraBold"] {
  font-weight: 800 !important;
}

[class*="Poppins:Medium"],
[class*="Medium"] {
  font-weight: 500 !important;
}

[class*="Poppins:Regular"],
[class*="Regular"] {
  font-weight: 400 !important;
}

/* Header Navigation Menu (Home, About Us, Services, Testimonials, Contact Us) */
[data-node-id="135:1248"] a span,
[data-node-id="135:1248"] [data-name="Services Menu"] > a > span,
[data-name="List"] a span,
[data-name="Services Menu"] > a > span {
  font-family: 'Poppins', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

[data-node-id="135:1283"] p,
[data-node-id="135:1284"] {
  font-family: 'Poppins', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

/* Issue 7: Prevent unwanted page zoom and alignment shifts on multiple clicks */
html, body {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100vw;
}

/* Mobile Navigation Background Scroll Lock */
html.mobile-nav-lock,
body.mobile-nav-lock {
  overflow: hidden !important;
  touch-action: none !important;
  height: 100% !important;
}

/* Ensure mobile header stays pinned and sticky across all pages */
@media (max-width: 767px) {
  #globalMobileHeader,
  header.sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
  }
}

a, button, [role="button"], input, select, textarea, img, svg {
  touch-action: manipulation;
}

.desktop-exact a,
.desktop-exact button,
.desktop-exact [role="button"],
.desktop-exact [data-name="Link"],
.desktop-exact img,
.mobile-responsive a,
.mobile-responsive button,
.mobile-responsive [role="button"] {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.desktop-exact-wrapper {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
}


/* Footer Newsletter Feedback Message under Button */
.newsletter-feedback {
  transition: opacity 0.25s ease, transform 0.25s ease;
  line-height: 1.4;
  z-index: 20;
}

.newsletter-feedback.is-error {
  color: #ff6b6b !important;
  display: block !important;
}

.newsletter-feedback.is-success {
  color: #4ade80 !important;
  display: block !important;
}

/* ==========================================================================
   Brook Custom Datepicker Component
   ========================================================================== */
.brook-datepicker-wrapper {
  position: relative;
}
.brook-datepicker-wrapper.datepicker-open {
  z-index: 50;
}

.brook-datepicker-wrapper .brook-datepicker-calendar {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 280px;
  min-width: 280px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1px solid rgba(0, 136, 46, 0.18);
  border-radius: 14px;
  box-shadow: 0px 10px 30px rgba(5, 38, 20, 0.14);
  padding: 12px;
  z-index: 100 !important;
  user-select: none;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  /* Prevent horizontal overflow on mobile screens: right column datepickers align to right */
  .grid-cols-2 > div:last-child .brook-datepicker-wrapper .brook-datepicker-calendar,
  .grid-cols-2 > div:nth-child(2) .brook-datepicker-wrapper .brook-datepicker-calendar,
  .brook-datepicker-calendar.align-right {
    left: auto !important;
    right: 0 !important;
  }
}

.brook-datepicker-calendar.hidden {
  display: none !important;
}

.brook-datepicker-calendar .prev-month-btn,
.brook-datepicker-calendar .next-month-btn,
.brook-datepicker-calendar .prev-year-btn,
.brook-datepicker-calendar .next-year-btn,
.brook-datepicker-calendar .prev-year-range-btn,
.brook-datepicker-calendar .next-year-range-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.brook-datepicker-calendar .prev-month-btn:hover:not(:disabled),
.brook-datepicker-calendar .next-month-btn:hover:not(:disabled),
.brook-datepicker-calendar .prev-year-btn:hover:not(:disabled),
.brook-datepicker-calendar .next-year-btn:hover:not(:disabled),
.brook-datepicker-calendar .prev-year-range-btn:hover:not(:disabled),
.brook-datepicker-calendar .next-year-range-btn:hover:not(:disabled) {
  background: #ecf8f1;
  color: #00882e;
}

.brook-datepicker-calendar .calendar-title-btn {
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #052614 !important;
  background: transparent !important;
  border: none !important;
  padding: 3px 8px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.brook-datepicker-calendar .calendar-title-btn:hover {
  background-color: #ecf8f1 !important;
  color: #00882e !important;
}

.brook-datepicker-calendar .day-btn {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.brook-datepicker-calendar .day-btn:hover:not(:disabled):not(.is-selected) {
  background: #ecf8f1;
  color: #00882e;
}

.brook-datepicker-calendar .day-btn.is-today:not(.is-selected) {
  border: 1px solid #00882e;
  color: #00882e;
  font-weight: 600;
}

.brook-datepicker-calendar .day-btn.is-selected {
  background: #00882e !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 136, 46, 0.3);
}

.brook-datepicker-calendar .day-btn:disabled,
.brook-datepicker-calendar .day-btn.is-disabled {
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.45;
}

/* Datepicker Grid Layout & Header */
.brook-datepicker-calendar .calendar-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.brook-datepicker-calendar .calendar-weekdays,
.brook-datepicker-calendar .calendar-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 2px !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.brook-datepicker-calendar .calendar-weekdays span {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

.brook-datepicker-calendar .calendar-months-grid,
.brook-datepicker-calendar .calendar-years-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 6px !important;
  padding: 6px 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.brook-datepicker-calendar .month-btn,
.brook-datepicker-calendar .year-btn {
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #052614 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.brook-datepicker-calendar .month-btn:hover:not(:disabled):not(.is-selected),
.brook-datepicker-calendar .year-btn:hover:not(:disabled):not(.is-selected) {
  background-color: #ecf8f1 !important;
  color: #00882e !important;
}

.brook-datepicker-calendar .month-btn.is-current:not(.is-selected),
.brook-datepicker-calendar .year-btn.is-current:not(.is-selected) {
  border-color: #00882e !important;
  color: #00882e !important;
  font-weight: 600 !important;
}

.brook-datepicker-calendar .month-btn.is-selected,
.brook-datepicker-calendar .year-btn.is-selected {
  background-color: #00882e !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 6px rgba(0, 136, 46, 0.3) !important;
}

.brook-datepicker-calendar .month-btn:disabled,
.brook-datepicker-calendar .year-btn:disabled {
  color: #cbd5e1 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.45 !important;
}

/* Force red border on invalid inputs even when focus-within is triggered */
.border-red-500,
.focus-within\:border-\[\#00882e\].border-red-500,
.focus-within\:border-\[\#008744\].border-red-500 {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px #ef4444 !important;
}


/* ==========================================================================
   Header Services Dropdown Submenu (Desktop)
   ========================================================================== */
.services-dropdown-menu {
  position: absolute !important;
  left: 50% !important;
  top: 75px !important;
  transform: translateX(-50%) translateY(4px) !important;
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0px 15px 35px rgba(0, 80, 30, 0.15) !important;
  border: 1px solid rgba(0, 136, 46, 0.15) !important;
  padding: 10px 8px !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
  font-family: 'Poppins', sans-serif !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease !important;
}

/* Hover bridge: keeps hover active as mouse glides from Services button into dropdown */
.services-dropdown-menu::before {
  content: "" !important;
  position: absolute !important;
  top: -15px !important;
  left: 0 !important;
  right: 0 !important;
  height: 15px !important;
  background: transparent !important;
}

[data-name="Services Menu"]:hover .services-dropdown-menu,
.services-dropdown-menu:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0px) !important;
  display: block !important;
}

.services-dropdown-menu a {
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 22px !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  color: #052614 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

.services-dropdown-menu a:hover {
  background-color: #ecf8f1 !important;
  color: #00882e !important;
}

.services-dropdown-menu a.is-active,
.services-dropdown-menu a[data-active="true"] {
  background-color: #ecf8f1 !important;
  color: #00882e !important;
  font-weight: 600 !important;
}

.services-dropdown-menu .dropdown-divider {
  border-top: 1px solid #f1f5f9 !important;
  margin-top: 4px !important;
  padding-top: 6px !important;
}


/* ==========================================================================
   Patient Reviews / Testimonials Slider Buttons (Consistent Normal & Hover)
   ========================================================================== */
.patient-slider-btn,
.patient-slider-btn-prev,
.patient-slider-btn-next {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #00882e !important;
  border: 1px solid rgba(0, 136, 46, 0.25) !important;
  box-shadow: 0px 4px 14px rgba(0, 136, 46, 0.15) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
}

.patient-slider-btn svg,
.patient-slider-btn-prev svg,
.patient-slider-btn-next svg {
  color: #00882e !important;
  stroke: #00882e !important;
  transition: color 0.2s ease, stroke 0.2s ease, transform 0.2s ease !important;
}

@media (hover: hover) {
  .patient-slider-btn:hover,
  .patient-slider-btn-prev:hover,
  .patient-slider-btn-next:hover {
    background-color: #00882e !important;
    background-image: linear-gradient(135deg, #00882e 0%, #00b04b 100%) !important;
    color: #ffffff !important;
    border-color: #00882e !important;
    box-shadow: 0px 8px 24px rgba(0, 136, 46, 0.35) !important;
    transform: scale(1.06) !important;
  }

  .patient-slider-btn:hover svg,
  .patient-slider-btn-prev:hover svg,
  .patient-slider-btn-next:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }
}

.patient-slider-btn:focus:not(:hover),
.patient-slider-btn-prev:focus:not(:hover),
.patient-slider-btn-next:focus:not(:hover) {
  background-color: #ffffff !important;
  background-image: none !important;
  color: #00882e !important;
  border-color: rgba(0, 136, 46, 0.25) !important;
  box-shadow: 0px 4px 14px rgba(0, 136, 46, 0.15) !important;
  transform: none !important;
}

.patient-slider-btn:focus:not(:hover) svg,
.patient-slider-btn-prev:focus:not(:hover) svg,
.patient-slider-btn-next:focus:not(:hover) svg {
  color: #00882e !important;
  stroke: #00882e !important;
}

.patient-slider-btn:active,
.patient-slider-btn-prev:active,
.patient-slider-btn-next:active {
  transform: scale(0.93) !important;
  background-color: #052614 !important;
  background-image: none !important;
  color: #ffffff !important;
}

.patient-slider-btn:active svg,
.patient-slider-btn-prev:active svg,
.patient-slider-btn-next:active svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* ==========================================================================
   Refill Prescription Card container auto-expansion
   ========================================================================== */
[data-node-id="45:92"] {
  height: auto !important;
  min-height: 1432px !important;
  grid-template-rows: auto !important;
}

[data-node-id="45:93"] {
  height: auto !important;
  min-height: 1432px !important;
  overflow: visible !important;
  padding-bottom: 50px !important;
}

/* ==========================================================================
   Desktop Subpage Hero Headings (1:1 Consistent 72px / 80px Scale)
   ========================================================================== */
.desktop-exact [data-name="Heading 1"] h1,
.desktop-exact [data-name="Heading 1"] p {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 72px !important;
  line-height: 80px !important;
  color: #052614 !important;
}

.desktop-exact [data-name="Heading 1"] p.text-\[80px\],
.desktop-exact [data-name="Heading 1"] .text-\[80px\] {
  font-size: 80px !important;
  line-height: 96px !important;
}

/* ==========================================================================
   Screen reader only utility (.sr-only)
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

/* ==========================================================================
   Careers Job Application Form Spacing & Alignment
   ========================================================================== */
#apply-section {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

#apply-section [data-name="Form Container"] {
  width: 820px !important;
  max-width: 100% !important;
  padding: 44px 48px !important;
  border-radius: 30px !important;
  background-color: #ffffff !important;
  box-shadow: 0px 20px 35px 0px rgba(5, 38, 20, 0.06) !important;
}

#brook-careers-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
  width: 100% !important;
}

#brook-careers-form .career-row,
#brook-careers-form .form-row,
#brook-careers-form .grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin-bottom: 28px !important;
}

#brook-careers-form .career-group,
#brook-careers-form .form-field-group {
  margin-bottom: 28px !important;
  width: 100% !important;
}

#brook-careers-form label {
  display: block !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #0f172a !important;
  margin-bottom: 12px !important;
}

#brook-careers-form #careers_name_box,
#brook-careers-form #careers_email_box,
#brook-careers-form #careers_phone_box,
#brook-careers-form #careers_position_box {
  display: flex !important;
  align-items: center !important;
  height: 52px !important;
  min-height: 52px !important;
  border-radius: 16px !important;
  background-color: #f8faf9 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 0 18px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

#brook-careers-form #careers_name_box:focus-within,
#brook-careers-form #careers_email_box:focus-within,
#brook-careers-form #careers_phone_box:focus-within,
#brook-careers-form #careers_position_box:focus-within {
  border-color: #00882e !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(0, 136, 46, 0.08) !important;
}

#brook-careers-form input[type="text"],
#brook-careers-form input[type="email"],
#brook-careers-form input[type="tel"] {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14.5px !important;
  color: #0f172a !important;
}

#brook-careers-form select#careers_position {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  overflow: hidden !important;
}

#brook-careers-form #resume-dropzone {
  border: 2px dashed rgba(0, 136, 46, 0.35) !important;
  border-radius: 20px !important;
  background-color: #f8faf9 !important;
  padding: 28px !important;
  min-height: 160px !important;
  margin-top: 2px !important;
  transition: all 0.2s ease !important;
}

#brook-careers-form #resume-dropzone:hover {
  border-color: #00882e !important;
  background-color: rgba(236, 248, 241, 0.35) !important;
}

#brook-careers-form .textarea-wrapper {
  background-color: #f8faf9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 16px 18px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

#brook-careers-form .textarea-wrapper:focus-within {
  border-color: #00882e !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(0, 136, 46, 0.08) !important;
}

#brook-careers-form textarea {
  display: block !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 22px !important;
  color: #0f172a !important;
  min-height: 100px !important;
  resize: vertical !important;
}

#brook-careers-form #careers-submit-btn {
  height: 56px !important;
  border-radius: 30px !important;
  margin-top: 8px !important;
}

#brook-careers-form #careers-form-feedback {
  margin-top: 28px !important;
  margin-bottom: 24px !important;
}

#brook-careers-form #careers-form-feedback:not(.hidden) {
  display: block !important;
  margin-top: 28px !important;
  margin-bottom: 24px !important;
}

@media (max-width: 640px) {
  #brook-careers-form .career-row,
  #brook-careers-form .form-row,
  #brook-careers-form .grid {
    grid-template-columns: 1fr !important;
  }
}




/* Mobile Header Button Sizing (Ensures Call symbol and Menu button are identical size) */
.mobile-header-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  border-radius: 9999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.mobile-header-btn svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   Capability Pillar Cards (Desktop & Mobile) Interactive Hover & Touch Styles
   Fix: Dark Green Card on Hover with Full High-Contrast Visible White Text
   ========================================================================== */
.pillar-card {
  position: relative !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 136, 46, 0.15) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background-color 0.3s ease, border-color 0.3s ease !important;
  cursor: pointer;
}

/* Card Hover, Touch-Active & Focus States */
.pillar-card:hover,
.pillar-card:active,
.pillar-card:focus-within {
  background-color: #052614 !important;
  border-color: rgba(0, 136, 46, 0.45) !important;
  box-shadow: 0px 14px 35px rgba(5, 38, 20, 0.22) !important;
}

@media (min-width: 1024px) {
  .pillar-card:hover {
    transform: translateY(-8px) !important;
  }
}

/* Pillar Card Title: Pure bright white on hover */
.pillar-card .pillar-title,
.pillar-card h3 {
  color: #052614 !important;
  transition: color 0.3s ease !important;
}

.pillar-card:hover .pillar-title,
.pillar-card:hover h3,
.pillar-card:active .pillar-title,
.pillar-card:active h3,
.pillar-card:focus-within .pillar-title,
.pillar-card:focus-within h3 {
  color: #ffffff !important;
}

/* Pillar Card Description: Soft crisp white on hover */
.pillar-card .pillar-desc {
  color: #666666 !important;
  transition: color 0.3s ease !important;
}

.pillar-card:hover .pillar-desc,
.pillar-card:active .pillar-desc,
.pillar-card:focus-within .pillar-desc {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Fallback for any paragraph inside pillar card */
.pillar-card:hover p:not(.pillar-title):not(.pillar-link-text):not(.pillar-number-text),
.pillar-card:active p:not(.pillar-title):not(.pillar-link-text):not(.pillar-number-text),
.pillar-card:focus-within p:not(.pillar-title):not(.pillar-link-text):not(.pillar-number-text) {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Pillar Card Divider */
.pillar-card .pillar-divider {
  background: linear-gradient(to right, rgba(0, 136, 46, 0.3), transparent) !important;
  transition: background 0.3s ease !important;
}

.pillar-card:hover .pillar-divider,
.pillar-card:active .pillar-divider,
.pillar-card:focus-within .pillar-divider {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.45), transparent) !important;
}

/* Pillar Card Link & Arrow */
.pillar-card .pillar-link,
.pillar-card .pillar-link-text {
  color: #00882e !important;
  transition: color 0.3s ease !important;
}

.pillar-card:hover .pillar-link,
.pillar-card:hover .pillar-link-text,
.pillar-card:active .pillar-link,
.pillar-card:active .pillar-link-text,
.pillar-card:focus-within .pillar-link,
.pillar-card:focus-within .pillar-link-text {
  color: #ffffff !important;
}

.pillar-card .pillar-arrow {
  display: inline-block !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
  color: #00882e !important;
}

.pillar-card:hover .pillar-arrow,
.pillar-card:active .pillar-arrow,
.pillar-card:focus-within .pillar-arrow {
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

/* Big Number (01, 02, 03) */
.pillar-card .pillar-number,
.pillar-card .pillar-number-text {
  color: #052614 !important;
  opacity: 0.1 !important;
  transition: opacity 0.3s ease, color 0.3s ease !important;
}

.pillar-card:hover .pillar-number,
.pillar-card:hover .pillar-number-text,
.pillar-card:active .pillar-number,
.pillar-card:active .pillar-number-text,
.pillar-card:focus-within .pillar-number,
.pillar-card:focus-within .pillar-number-text {
  color: #ffffff !important;
  opacity: 0.3 !important;
}

/* Desktop-specific Elements */
.pillar-card:hover .pillar-dark-overlay,
.pillar-card:active .pillar-dark-overlay {
  opacity: 1 !important;
}

.pillar-card .pillar-divider-light {
  transition: opacity 0.3s ease !important;
}

.pillar-card:hover .pillar-divider-light,
.pillar-card:active .pillar-divider-light {
  opacity: 0 !important;
}

.pillar-card .pillar-divider-dark {
  transition: opacity 0.3s ease !important;
}

.pillar-card:hover .pillar-divider-dark,
.pillar-card:active .pillar-divider-dark {
  opacity: 0.8 !important;
}

.pillar-card .pillar-arrow-green {
  opacity: 1 !important;
  transition: opacity 0.3s ease !important;
}

.pillar-card:hover .pillar-arrow-green,
.pillar-card:active .pillar-arrow-green {
  opacity: 0 !important;
}

.pillar-card .pillar-arrow-white {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.pillar-card:hover .pillar-arrow-white,
.pillar-card:active .pillar-arrow-white {
  opacity: 1 !important;
}

.pillar-card .pillar-arrow-wrap {
  transition: transform 0.3s ease !important;
}

.pillar-card:hover .pillar-arrow-wrap,
.pillar-card:active .pillar-arrow-wrap {
  transform: translateX(4px) !important;
}

.pillar-card .pillar-corner-btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease !important;
}

.pillar-card:hover .pillar-corner-btn,
.pillar-card:active .pillar-corner-btn {
  transform: scale(1.05) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22) !important;
}

/* Healthcare Service Carousel Cards Interactive Hover Styles (Desktop) */
.service-card:hover .service-dark-overlay {
  opacity: 1 !important;
}

.service-card:hover .service-corner-btn {
  background-color: #00882e !important;
  transform: scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(0, 136, 46, 0.4) !important;
}

.service-card:hover .service-corner-icon {
  filter: brightness(0) invert(1) !important;
}

.service-card:hover .service-title {
  color: #ffffff !important;
}

.service-card:hover .service-desc {
  color: #ffffff !important;
}

.service-card:hover .service-divider-light {
  opacity: 0 !important;
}

.service-card:hover .service-divider-dark {
  opacity: 0.8 !important;
}

.service-card:hover .service-link-text {
  color: #ffffff !important;
}

.service-card:hover .service-arrow-green {
  opacity: 0 !important;
}

.service-card:hover .service-arrow-white {
  opacity: 1 !important;
}

.service-card:hover .service-arrow-wrap {
  transform: translateX(4px) !important;
}

/* ==========================================================================
   Google Verified Review Badge / Box Pill (Desktop & Mobile)
   ========================================================================== */
.google-review-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 136, 46, 0.18) !important;
  box-shadow: 0px 4px 14px rgba(5, 38, 20, 0.06) !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.google-review-pill:hover {
  border-color: #00882e !important;
  box-shadow: 0px 8px 22px rgba(0, 136, 46, 0.16) !important;
  transform: translateY(-2px) !important;
}

.google-review-pill .star-icons {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}

.google-review-pill .star-icons img,
.google-review-pill .star-icons svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
  object-contain: contain !important;
}

.google-review-pill .rating-score {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #052614 !important;
  line-height: 1 !important;
}

.google-review-pill .rating-text {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  color: #4b5563 !important;
  line-height: 1 !important;
  transition: color 0.2s ease !important;
}

.google-review-pill:hover .rating-text {
  color: #00882e !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   Mobile Prescription Transfer Form: Icon & Input Perfect Flex Alignment
   ========================================================================== */
.mob-field-box.mob-field-box-has-icon,
.mob-field-box:has(> .mob-field-icon) {
  display: flex !important;
  align-items: center !important;
  height: 48px !important;
  min-height: 48px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  box-sizing: border-box !important;
}

.mob-field-box .mob-field-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 10px !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  pointer-events: none !important;
  line-height: 1 !important;
}

.mob-field-box .mob-field-icon img {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  object-fit: contain !important;
}

.mob-field-box.mob-field-box-has-icon input,
.mob-field-box:has(> .mob-field-icon) input {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  line-height: 1 !important;
  font-size: 12px !important;
  vertical-align: middle !important;
}

/* Bottom Mobile CTA Banner Button Alignment */
#mob-contact-bottom-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 32px !important;
  text-align: center !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Print Optimization for Prescription Transfer Sheet
   ========================================================================== */
@media print {
  body:has(#printable-rx-transfer-sheet:not(:empty)) > header,
  body:has(#printable-rx-transfer-sheet:not(:empty)) > footer,
  body:has(#printable-rx-transfer-sheet:not(:empty)) .desktop-exact-wrapper,
  body:has(#printable-rx-transfer-sheet:not(:empty)) .mobile-responsive,
  body:has(#printable-rx-transfer-sheet:not(:empty)) #brookDesktopSite,
  body:has(#printable-rx-transfer-sheet:not(:empty)) #brookMobileSite,
  body:has(#printable-rx-transfer-sheet:not(:empty)) .brook-mobile-drawer,
  body:has(#printable-rx-transfer-sheet:not(:empty)) #wpadminbar {
    display: none !important;
  }
}

/* Contact Us Form Field Validation Highlights & Red Asterisk Placeholder Labels */
.contact-placeholder-label {
  position: absolute;
  left: 0;
  top: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: rgba(25, 62, 116, 0.5);
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
  user-select: none;
}

.contact-field-input:focus ~ .contact-placeholder-label,
.contact-field-input:not(:placeholder-shown) ~ .contact-placeholder-label,
.contact-field-input:-webkit-autofill ~ .contact-placeholder-label,
.contact-field-input:autofill ~ .contact-placeholder-label {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.contact-field-container.border-red-500,
.contact-field-container.\!border-\[\#dc2626\],
.contact-field-container.\!border-red-500 {
  border-bottom-color: #dc2626 !important;
  border-bottom-width: 1.5px !important;
  box-shadow: none !important;
}

#brook-contact-form-mob input.border-red-500,
#brook-contact-form-mob textarea.border-red-500 {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 1px #dc2626 !important;
  background-color: rgba(254, 242, 242, 0.4) !important;
}

/* Consultation Booking Form Custom Floating Placeholder Labels with Red Required Asterisk */
.consult-placeholder-label {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #94a3b8;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  z-index: 1;
  user-select: none;
}

.consult-field-input:focus ~ .consult-placeholder-label,
.consult-field-input:not(:placeholder-shown) ~ .consult-placeholder-label,
.consult-field-input:-webkit-autofill ~ .consult-placeholder-label,
.consult-field-input:autofill ~ .consult-placeholder-label {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Contact Form 7 Required Field Red Asterisk Styling
   ========================================================================== */
.req-star,
.wpcf7-form .req-star,
.wpcf7 .req-star,
.brook-cf7-field label .req-star,
.form-field-wrap label .req-star,
span.req-star {
  color: #dc2626 !important;
  font-weight: 700 !important;
  margin-left: 2px !important;
  display: inline-block !important;
}

