#jvLabelWrap,
#jcont,
#jivo-iframe-container {
  display: none !important;
}

.gk-jivo-direct {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 2147483647;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: #e9322b;
  color: #fff !important;
  box-shadow: 0 14px 34px rgba(233, 50, 43, 0.32);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transform: translateZ(0);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gk-jivo-direct:hover,
.gk-jivo-direct:focus-visible {
  background: #c92520;
  color: #fff !important;
  box-shadow: 0 17px 38px rgba(201, 37, 32, 0.4);
  transform: translateY(-2px);
}

.gk-jivo-direct:focus-visible {
  outline: 3px solid rgba(233, 50, 43, 0.3);
  outline-offset: 3px;
}

.gk-jivo-direct svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.gk-jivo-modal[hidden] {
  display: none !important;
}

.gk-jivo-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px;
  background: rgba(46, 19, 13, 0.32);
  backdrop-filter: blur(4px);
}

.gk-jivo-modal__panel {
  width: min(410px, calc(100vw - 36px));
  height: min(720px, calc(100vh - 36px));
  height: min(720px, calc(100dvh - 36px));
  min-height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(46, 19, 13, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(46, 19, 13, 0.28);
}

.gk-jivo-modal__header {
  flex: 0 0 58px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid #f0e4e1;
  background: #fff;
  color: #2e130d;
}

.gk-jivo-modal__title,
.gk-jivo-modal__actions {
  display: flex;
  align-items: center;
}

.gk-jivo-modal__title {
  gap: 9px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
}

.gk-jivo-modal__status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #32a852;
  box-shadow: 0 0 0 4px rgba(50, 168, 82, 0.13);
}

.gk-jivo-modal__actions {
  gap: 9px;
}

.gk-jivo-modal__external {
  color: #8c716a !important;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none !important;
}

.gk-jivo-modal__external:hover {
  color: #e9322b !important;
}

.gk-jivo-modal__close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff0ee;
  color: #c92520;
  font: 400 27px/1 Arial, sans-serif;
  cursor: pointer;
}

.gk-jivo-modal__close:hover,
.gk-jivo-modal__close:focus-visible {
  background: #ffe3df;
  outline: none;
}

.gk-jivo-modal iframe {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

body.gk-chat-open {
  overflow: hidden !important;
}

body.gk-chat-open .gk-jivo-direct {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .gk-jivo-direct {
    right: 14px;
    bottom: 82px;
    width: 58px;
    min-width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    border-radius: 50%;
  }

  .gk-jivo-direct span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .gk-jivo-direct svg {
    width: 27px;
    height: 27px;
  }

  .gk-jivo-modal {
    align-items: stretch;
    padding: 0;
    background: #fff;
    backdrop-filter: none;
  }

  .gk-jivo-modal__panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .gk-jivo-modal__external {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
