.support-widget {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 999999;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.support-widget__launcher {
  border: 0;
  background: linear-gradient(135deg, #0c77f8, #00a7d3);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(10, 34, 78, 0.28);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
}

.support-widget__launcher:hover {
  filter: brightness(1.05);
  color: #fff;
}

.support-widget__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.support-widget__panel {
  position: fixed;
  right: 18px;
  bottom: 78px;
  width: min(420px, calc(100vw - 24px));
  height: min(640px, calc(100vh - 110px));
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 60px rgba(10, 34, 78, 0.26);
  border: 1px solid rgba(15, 50, 96, 0.16);
  display: flex;
  flex-direction: column;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.support-widget__panel.is-open {
  transform: translateY(0);
  opacity: 1;
}

.support-widget__panel.is-minimized {
  height: 54px;
}

.support-widget__panel.is-minimized iframe {
  display: none;
}

.support-widget__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(12, 119, 248, 0.95), rgba(0, 167, 211, 0.95));
  color: #fff;
}

.support-widget__status {
  font-size: 0.75rem;
  opacity: 0.9;
}

.support-widget__actions {
  display: inline-flex;
  gap: 6px;
}

.support-widget__panel iframe {
  border: 0;
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  background: #f7fbff;
}

@media (max-width: 576px) {
  .support-widget {
    right: 12px;
    bottom: 18px;
  }
  .support-widget__panel {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: 96px;
    height: min(72vh, 620px);
  }
}
