.gav-select-chat,
  .gav-select-chat * {
    box-sizing: border-box;
  }

  .gav-select-chat {
    --gavsc-navy: #061c3f;
    --gavsc-blue: #157dff;
    --gavsc-cyan: #22c8ff;
    --gavsc-green: #18bd5a;
    --gavsc-screen: #dff4e4;
    --gavsc-screen-text: #173f32;

    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;

    font-family: Arial, Helvetica, sans-serif;
  }

  .gav-select-chat__launcher-wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .gav-select-chat__help-label {
    position: absolute;
    right: 74px;

    min-width: 138px;
    padding: 10px 13px;

    border: 1px solid rgba(21, 125, 255, 0.12);
    border-radius: 12px;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;

    color: var(--gavsc-navy);
    background: #ffffff;

    box-shadow: 0 10px 28px rgba(4, 62, 139, 0.16);

    opacity: 1;
    visibility: visible;
    transform: translateX(0);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .gav-select-chat__help-label::after {
    content: "";

    position: absolute;
    top: 50%;
    right: -7px;

    width: 13px;
    height: 13px;

    background: #ffffff;
    border-top: 1px solid rgba(21, 125, 255, 0.12);
    border-right: 1px solid rgba(21, 125, 255, 0.12);

    transform: translateY(-50%) rotate(45deg);
  }

  .gav-select-chat.is-open .gav-select-chat__help-label {
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
  }

  .gav-select-chat__launcher {
    width: 64px;
    height: 64px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 4px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;

    color: #ffffff;
    background:
      radial-gradient(
        circle at 30% 25%,
        rgba(255,255,255,0.22),
        transparent 36%
      ),
      linear-gradient(
        145deg,
        #2e9cff,
        #075fcf 68%,
        #044aab
      );

    box-shadow:
      0 18px 38px rgba(4, 62, 139, 0.38),
      inset 0 1px 0 rgba(255,255,255,0.35);
    cursor: pointer;

    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }

  .gav-select-chat__launcher:hover {
    transform: translateY(-3px);
    box-shadow: 0 21px 42px rgba(4, 62, 139, 0.42);
  }

  .gav-select-chat__launcher svg {
    width: 32px;
    height: 32px;
    display: block;
  }

  .gav-select-chat__launcher-close {
    display: none;
  }

  .gav-select-chat.is-open .gav-select-chat__launcher-open {
    display: none;
  }

  .gav-select-chat.is-open .gav-select-chat__launcher-close {
    display: block;
  }

  .gav-select-chat__panel {
    position: absolute;
    right: 0;
    bottom: 78px;

    width: min(380px, calc(100vw - 28px));

    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.97);
    transform-origin: bottom right;

    transition:
      opacity 0.28s ease,
      visibility 0.28s ease,
      transform 0.28s ease;
  }

  .gav-select-chat.is-open .gav-select-chat__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .gav-select-chat__remote {
    padding: 16px;

    border: 1px solid #d3dae4;
    border-radius: 28px;

    background: linear-gradient(145deg, #f8fafc, #e8edf3);

    box-shadow:
      0 26px 65px rgba(2, 24, 57, 0.28),
      inset 0 1px 0 #ffffff;
  }

  .gav-select-chat__topbar {
    min-height: 48px;
    padding: 0 4px 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--gavsc-navy);
  }

  .gav-select-chat__topbar strong {
    display: block;

    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.35px;
  }

  .gav-select-chat__topbar small {
    display: block;
    margin-top: 4px;

    font-size: 7px;
    font-weight: 800;
    letter-spacing: 2.6px;

    color: var(--gavsc-blue);
  }

  .gav-select-chat__close {
    width: 34px;
    height: 34px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d7dee8;
    border-radius: 50%;

    color: #52647a;
    background: #ffffff;

    cursor: pointer;
  }

  .gav-select-chat__close svg {
    width: 18px;
    height: 18px;
  }

  .gav-select-chat__screen {
    height: 250px;
    padding: 12px;

    display: flex;
    flex-direction: column;

    border: 3px solid #cbd2da;
    border-radius: 14px;

    color: var(--gavsc-screen-text);
    background: linear-gradient(180deg, #e6f7e9, var(--gavsc-screen));

    box-shadow: inset 0 4px 12px rgba(24, 74, 52, 0.13);
  }

  .gav-select-chat__lcd {
    min-height: 44px;
    padding: 7px 9px;
    margin-bottom: 8px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;

    border: 1px solid rgba(23, 63, 50, 0.22);
    border-radius: 9px;

    font-family: "Courier New", monospace;
    color: var(--gavsc-screen-text);

    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.3),
        rgba(23, 63, 50, 0.03)
      );

    box-shadow:
      inset 0 2px 7px rgba(23, 63, 50, 0.09);
  }

  .gav-select-chat__lcd > span:first-child {
    font-size: 10px;
    font-weight: 800;
  }

  .gav-select-chat__lcd strong {
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
  }

  .gav-select-chat__lcd-right {
    justify-self: end;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;

    font-size: 9px;
    font-weight: 900;
  }

  .gav-select-chat__fan-speed {
    display: flex;
    align-items: flex-end;
    gap: 5px;
  }

  .gav-select-chat__fan-speed small {
    font-size: 7px;
    font-weight: 900;
    line-height: 1;

    color: rgba(23, 63, 50, 0.72);
  }

  .gav-select-chat__fan-bars {
    height: 13px;

    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
  }

  .gav-select-chat__fan-bars b {
    width: 3px;

    display: block;

    border-radius: 2px 2px 0 0;
    background: var(--gavsc-screen-text);

    opacity: 0.22;

    transition:
      height 0.28s ease,
      opacity 0.28s ease,
      transform 0.28s ease;
  }

  .gav-select-chat__fan-bars b:nth-child(1) {
    height: 4px;
  }

  .gav-select-chat__fan-bars b:nth-child(2) {
    height: 7px;
  }

  .gav-select-chat__fan-bars b:nth-child(3) {
    height: 10px;
  }

  .gav-select-chat__fan-bars b:nth-child(4) {
    height: 13px;
  }

  .gav-select-chat__fan-bars b.is-active {
    opacity: 1;
    transform: translateY(-1px);
  }

  .gav-select-chat__power-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .gav-select-chat__power-state i {
    width: 6px;
    height: 6px;

    display: inline-block;

    border-radius: 50%;
    background: var(--gavsc-green);

    box-shadow: 0 0 0 3px rgba(24, 189, 90, 0.12);
  }

  .gav-select-chat__lcd-mode,
  .gav-select-chat__lcd-temp {
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      filter 0.28s ease;
  }

  .gav-select-chat__lcd-mode.is-changing {
    opacity: 0;
    transform: translateY(-5px);
    filter: blur(2px);
  }

  .gav-select-chat__lcd-temp.is-changing {
    opacity: 0;
    transform: translateY(5px) scale(0.94);
    filter: blur(2px);
  }

  .gav-select-chat__status {
    padding-bottom: 8px;
    margin-bottom: 9px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px dashed rgba(23, 63, 50, 0.28);

    font-family: "Courier New", monospace;
    font-size: 10px;
    font-weight: 800;
  }

  .gav-select-chat__status > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .gav-select-chat__status i {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;
    background: var(--gavsc-green);

    box-shadow: 0 0 0 4px rgba(24, 189, 90, 0.13);
  }

  .gav-select-chat__conversation {
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 8px;

    overflow-y: auto;
    padding-right: 4px;

    scroll-behavior: smooth;
  }

  .gav-select-chat__conversation::-webkit-scrollbar {
    width: 4px;
  }

  .gav-select-chat__conversation::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(23, 63, 50, 0.5);
  }

  .gav-select-chat__message {
    max-width: 88%;
    padding: 8px 10px;

    border-radius: 10px;

    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.42;

    word-break: break-word;
  }

  .gav-select-chat__message--bot {
    align-self: flex-start;

    border-bottom-left-radius: 2px;

    color: var(--gavsc-screen-text);
    background: rgba(23, 63, 50, 0.1);
  }

  .gav-select-chat__message--user {
    align-self: flex-end;

    border-bottom-right-radius: 2px;

    color: #ecfff1;
    background: var(--gavsc-screen-text);
  }

  .gav-select-chat__message a {
    display: inline-block;
    margin-top: 4px;

    font-weight: 800;
    color: #0b64c8;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .gav-select-chat__choices {
    margin-top: 13px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .gav-select-chat__choice {
    min-height: 52px;
    padding: 8px 9px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border: 1px solid #cfd6df;
    border-radius: 11px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;

    color: #48586d;
    background: linear-gradient(180deg, #ffffff, #f0f3f7);

    box-shadow:
      0 4px 0 #cbd2dc,
      0 7px 14px rgba(7, 36, 72, 0.09);

    cursor: pointer;

    transition:
      transform 0.12s ease,
      box-shadow 0.12s ease,
      color 0.2s ease,
      border-color 0.2s ease;
  }

  .gav-select-chat__choice:hover {
    color: var(--gavsc-blue);
    border-color: #9ec8fb;
  }

  .gav-select-chat__choice:active {
    transform: translateY(3px);

    box-shadow:
      0 1px 0 #cbd2dc,
      0 3px 8px rgba(7, 36, 72, 0.08);
  }

  .gav-select-chat__choice--wide {
    grid-column: 1 / -1;
  }

  .gav-select-chat__choice--green {
    color: #ffffff;
    border-color: transparent;

    background: linear-gradient(135deg, #1dcc66, #11a94d);

    box-shadow:
      0 4px 0 #0b8d3f,
      0 9px 18px rgba(17, 169, 77, 0.22);
  }

  .gav-select-chat__choice--green:hover {
    color: #ffffff;
    border-color: transparent;
  }

  .gav-select-chat__choice-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
  }

  .gav-select-chat__choice-icon svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .gav-select-chat__whatsapp-icon {
    color: #ffffff;
  }

  .gav-select-chat__lead {
    margin-top: 13px;
    padding: 12px;

    border: 1px solid #d1d8e1;
    border-radius: 13px;

    background: #ffffff;
  }

  .gav-select-chat__lead-head {
    margin-bottom: 9px;
  }

  .gav-select-chat__lead-head strong {
    display: block;

    font-size: 12px;
    color: var(--gavsc-navy);
  }

  .gav-select-chat__lead-head small {
    display: block;
    margin-top: 3px;

    font-size: 9px;
    line-height: 1.4;

    color: #74869c;
  }

  .gav-select-chat__lead form {
    display: grid;
    gap: 8px;
  }

  .gav-select-chat__lead input {
    width: 100%;
    height: 41px;
    padding: 0 11px;

    border: 1px solid #ccd4de;
    border-radius: 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;

    color: #253a55;
    background: #ffffff;

    outline: none;
  }

  .gav-select-chat__lead input:focus {
    border-color: var(--gavsc-blue);
    box-shadow: 0 0 0 3px rgba(21, 125, 255, 0.1);
  }

  .gav-select-chat__lead button {
    min-height: 42px;

    border: 0;
    border-radius: 8px;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 800;

    color: #ffffff;
    background: linear-gradient(135deg, var(--gavsc-blue), #0866df);

    cursor: pointer;
  }

  .gav-select-chat__footer-actions {
    margin-top: 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .gav-select-chat__back,
  .gav-select-chat__restart {
    padding: 0;

    border: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    font-weight: 800;

    color: #667b95;
    background: transparent;

    cursor: pointer;
  }

  .gav-select-chat__back:hover,
  .gav-select-chat__restart:hover {
    color: var(--gavsc-blue);
  }

  .gav-select-chat__note {
    margin: 12px 0 1px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;

    color: #687b91;
  }

  .gav-select-chat__note span {
    opacity: 1;
  }

  .gav-select-chat__note a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
  }

  .gav-select-chat__note a:hover {
    color: inherit;
    text-decoration: none;
  }

  body.elementor-editor-active .gav-select-chat__panel,
  body.elementor-editor-preview .gav-select-chat__panel {
    position: fixed;
    right: 24px;
    bottom: 100px;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  @media (max-width: 767px) {
    .gav-select-chat {
      right: 14px;
      bottom: 14px;
    }

    .gav-select-chat__launcher {
      width: 58px;
      height: 58px;
    }

    .gav-select-chat__help-label {
      right: 67px;

      min-width: 122px;
      padding: 9px 11px;

      font-size: 11px;
    }

    .gav-select-chat__panel {
      position: fixed;
      right: 14px;
      bottom: 82px;

      width: calc(100vw - 28px);
      max-height: calc(100vh - 98px);

      overflow-y: auto;
    }

    .gav-select-chat__remote {
      border-radius: 22px;
    }

    .gav-select-chat__screen {
      height: 235px;
    }
  }

/* =========================================================
   AIRCHAT UI ISOLATION v1.0.2
   Prevent WordPress themes / Elementor global button styles
   from changing the approved AirChat design.
   ========================================================= */
.gav-select-chat,
.gav-select-chat * {
  box-sizing: border-box !important;
}

.gav-select-chat button,
.gav-select-chat input,
.gav-select-chat a {
  font-family: Arial, Helvetica, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal;
}

.gav-select-chat button {
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
}

/* Launcher: exact circular blue control */
.gav-select-chat .gav-select-chat__launcher,
.gav-select-chat .gav-select-chat__launcher:hover,
.gav-select-chat .gav-select-chat__launcher:focus,
.gav-select-chat .gav-select-chat__launcher:active {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 4px solid rgba(255,255,255,.28) !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: radial-gradient(circle at 30% 25%,rgba(255,255,255,.22),transparent 36%),linear-gradient(145deg,#2e9cff,#075fcf 68%,#044aab) !important;
  box-shadow: 0 18px 38px rgba(4,62,139,.38), inset 0 1px 0 rgba(255,255,255,.35) !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.gav-select-chat .gav-select-chat__launcher:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 21px 42px rgba(4,62,139,.42), inset 0 1px 0 rgba(255,255,255,.35) !important;
}
.gav-select-chat .gav-select-chat__launcher svg {
  width: 32px !important;
  height: 32px !important;
  display: block !important;
  fill: none;
}

/* Top close button: exact small circle */
.gav-select-chat .gav-select-chat__close,
.gav-select-chat .gav-select-chat__close:hover,
.gav-select-chat .gav-select-chat__close:focus,
.gav-select-chat .gav-select-chat__close:active {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d7dee8 !important;
  border-radius: 50% !important;
  color: #52647a !important;
  background: #fff !important;
  box-shadow: none !important;
  line-height: 1 !important;
}
.gav-select-chat .gav-select-chat__close svg {
  width: 18px !important;
  height: 18px !important;
}

/* Selection keys: neutral remote-control buttons, never theme pink */
.gav-select-chat .gav-select-chat__choice,
.gav-select-chat .gav-select-chat__choice:visited,
.gav-select-chat .gav-select-chat__choice:focus {
  min-height: 52px !important;
  padding: 8px 9px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 1px solid #cfd6df !important;
  border-radius: 11px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #48586d !important;
  background: linear-gradient(180deg,#fff,#f0f3f7) !important;
  box-shadow: 0 4px 0 #cbd2dc,0 7px 14px rgba(7,36,72,.09) !important;
  text-decoration: none !important;
}
.gav-select-chat .gav-select-chat__choice:hover {
  color: var(--gavsc-blue) !important;
  border-color: #9ec8fb !important;
  background: linear-gradient(180deg,#fff,#f0f3f7) !important;
  box-shadow: 0 4px 0 #cbd2dc,0 7px 14px rgba(7,36,72,.09) !important;
  transform: none !important;
}
.gav-select-chat .gav-select-chat__choice:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 #cbd2dc,0 3px 8px rgba(7,36,72,.08) !important;
}

/* WhatsApp key stays green */
.gav-select-chat .gav-select-chat__choice--green,
.gav-select-chat .gav-select-chat__choice--green:visited,
.gav-select-chat .gav-select-chat__choice--green:focus,
.gav-select-chat .gav-select-chat__choice--green:hover {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg,#1dcc66,#11a94d) !important;
  box-shadow: 0 4px 0 #0b8d3f,0 9px 18px rgba(17,169,77,.22) !important;
}
.gav-select-chat .gav-select-chat__choice--green:active {
  box-shadow: 0 1px 0 #0b8d3f,0 3px 8px rgba(17,169,77,.16) !important;
}

/* Back / restart are text controls, no theme boxes */
.gav-select-chat .gav-select-chat__back,
.gav-select-chat .gav-select-chat__restart,
.gav-select-chat .gav-select-chat__back:hover,
.gav-select-chat .gav-select-chat__restart:hover,
.gav-select-chat .gav-select-chat__back:focus,
.gav-select-chat .gav-select-chat__restart:focus {
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #667b95 !important;
  text-decoration: none !important;
}
.gav-select-chat .gav-select-chat__back:hover,
.gav-select-chat .gav-select-chat__restart:hover {
  color: var(--gavsc-blue) !important;
}

/* Lead form isolation */
.gav-select-chat .gav-select-chat__lead input,
.gav-select-chat .gav-select-chat__lead input:hover,
.gav-select-chat .gav-select-chat__lead input:focus {
  width: 100% !important;
  height: 41px !important;
  min-height: 41px !important;
  padding: 0 11px !important;
  margin: 0 !important;
  border: 1px solid #ccd4de !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  color: #253a55 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.gav-select-chat .gav-select-chat__lead input:focus {
  border-color: var(--gavsc-blue) !important;
  box-shadow: 0 0 0 3px rgba(21,125,255,.1) !important;
}
.gav-select-chat .gav-select-chat__lead button,
.gav-select-chat .gav-select-chat__lead button:hover,
.gav-select-chat .gav-select-chat__lead button:focus,
.gav-select-chat .gav-select-chat__lead button:active {
  min-height: 42px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  background: linear-gradient(135deg,var(--gavsc-blue),#0866df) !important;
  box-shadow: none !important;
}

/* Footer credit cannot inherit link styling */
.gav-select-chat .gav-select-chat__note,
.gav-select-chat .gav-select-chat__note a,
.gav-select-chat .gav-select-chat__note a:hover,
.gav-select-chat .gav-select-chat__note a:focus,
.gav-select-chat .gav-select-chat__note a:visited {
  color: #687b91 !important;
  text-decoration: none !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

@media (max-width: 767px) {
  .gav-select-chat .gav-select-chat__launcher,
  .gav-select-chat .gav-select-chat__launcher:hover,
  .gav-select-chat .gav-select-chat__launcher:focus,
  .gav-select-chat .gav-select-chat__launcher:active {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }
}
