/* Shared WhatsApp contact control for Flextech's sitemap-listed pages. */
.flextech-wa-float {
  position: fixed;
  z-index: 9000;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #075e54;
  color: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 28%);
  font: 700 15px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
}
.flextech-wa-float:hover { background: #064d45; }
.flextech-wa-float:focus-visible {
  outline: 3px solid #1740b8;
  outline-offset: 3px;
}
.flextech-wa-float__icon { width: 28px; height: 28px; flex: 0 0 28px; }
@media (max-width: 420px) {
  .flextech-wa-float {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
    padding: 0;
    border-width: 2px;
  }
  .flextech-wa-float__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* Optional Google Ads measurement choice; kept in document flow so it cannot cover enquiry content. */
#flextech-ads-consent-panel {
  position: static;
  box-sizing: border-box;
  width: min(52rem, calc(100% - 2rem));
  max-width: 52rem;
  margin: 1rem auto 1.25rem;
  overflow: visible;
  padding: 1rem 1.15rem;
  border: 1px solid #cfd6e5;
  border-radius: 1rem;
  background: #fff;
  color: #111a31;
  box-shadow: 0 8px 24px rgba(17, 26, 49, .14);
  font: inherit;
}
#flextech-ads-consent-panel[hidden] { display: none !important; }
#flextech-ads-consent-panel h2 {
  margin: 0 0 .4rem;
  color: #111a31;
  font-size: 1.05rem;
}
#flextech-ads-consent-panel p {
  margin: 0 0 .7rem;
  color: #35415c;
  font-size: .92rem;
  line-height: 1.42;
}
#flextech-ads-consent-panel a {
  color: #30269e;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.flextech-ads-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: .6rem;
}
.flextech-ads-consent-actions button {
  display: flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .6rem .7rem;
  border: 1px solid #3f35b5;
  border-radius: .65rem;
  background: #3f35b5;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.flextech-ads-consent-actions button[data-flextech-consent="denied"] {
  border-color: #626b80;
  background: #fff;
  color: #202a42;
}
#flextech-ads-consent-panel button:focus-visible,
#flextech-ads-consent-panel a:focus-visible,
[data-flextech-measurement-manage]:focus-visible {
  outline: 3px solid #4338ca;
  outline-offset: 3px;
}
[data-flextech-measurement-manage] {
  min-height: 2.75rem;
  padding: .65rem .9rem;
  border: 1px solid #4338ca;
  border-radius: .65rem;
  background: #fff;
  color: #30269e;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .15em;
  cursor: pointer;
}
@media (max-width: 600px) {
  #flextech-ads-consent-panel {
    width: calc(100% - 1rem);
    margin: .75rem auto 1rem;
    padding: .8rem;
  }
  #flextech-ads-consent-panel h2 { font-size: 1rem; }
  #flextech-ads-consent-panel p {
    margin-bottom: .6rem;
    font-size: .9rem;
    line-height: 1.38;
  }
  .flextech-ads-consent-actions button {
    min-height: 3.2rem;
    padding: .55rem .4rem;
    font-size: .9rem;
  }
}


/* Keep the WhatsApp action in normal flow on the narrowest screens so it cannot cover navigation. */
@media (max-width: 360px) {
  .flextech-wa-float {
    position: static !important;
    display: flex;
    width: max-content;
    min-width: 0;
    height: auto;
    min-height: 48px;
    margin: 1rem auto 1.5rem;
    padding: 0 16px;
    border-width: 2px;
  }
  .flextech-wa-float__label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    border: 0;
  }
}
