#streamna-support-widget {
  --support-footer-height: 0px;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(var(--support-footer-height) + 12px);
  z-index: 55;
  display: none;
  direction: rtl;
  font-family: Tajawal, system-ui, Tahoma, sans-serif;
}

html.streamna-trust-bar #streamna-support-widget {
  display: block;
}

#streamna-support-widget button {
  cursor: pointer;
  font: inherit;
}

#streamna-support-widget .support-widget-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid #334155;
  border-radius: 50%;
  background: #0d131f;
  color: #00e676;
  box-shadow: 0 4px 14px #0008;
}

#streamna-support-widget .support-widget-launcher svg {
  width: 28px;
  height: 28px;
}

#streamna-support-widget .support-widget-badge {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #00e676;
}

#streamna-support-widget .support-widget-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(390px, calc(100vw - 32px));
  height: min(610px, calc(100vh - var(--support-footer-height) - 100px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4e4df;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px #0006;
}

#streamna-support-widget .support-widget-panel[hidden] {
  display: none;
}

#streamna-support-widget .support-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #454837;
  color: #fff;
}

#streamna-support-widget .support-widget-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d5d8ce;
  border-radius: 10px;
  background: #5b5e50;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

#streamna-support-widget iframe {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}

#streamna-support-widget button:focus-visible {
  outline: 3px solid #fcd34d;
  outline-offset: 3px;
}
