.sc-support-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1400;
  font-family: "Google Sans", system-ui, sans-serif;
}

.sc-support-widget * {
  box-sizing: border-box;
}

.sc-support-trigger {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: #111726;
  color: #fff;
  box-shadow: 0 20px 48px rgba(17, 23, 38, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sc-support-trigger:hover {
  transform: translateY(-1px);
}

.sc-support-trigger svg {
  width: 24px;
  height: 24px;
}

.sc-support-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid rgba(17, 23, 38, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(16px);
}

.sc-support-panel[hidden] {
  display: none;
}

.sc-support-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sc-support-header strong {
  display: block;
  color: #111726;
  font-size: 18px;
  line-height: 1.2;
}

.sc-support-header p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.45;
}

.sc-support-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111726;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.sc-support-form {
  display: grid;
  gap: 12px;
}

.sc-support-field {
  display: grid;
  gap: 7px;
}

.sc-support-field label,
.sc-support-email-chip {
  color: #111726;
  font-size: 13px;
  font-weight: 600;
}

.sc-support-email-chip {
  display: none;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f6f7f9;
}

.sc-support-email-chip.is-visible {
  display: block;
}

.sc-support-input,
.sc-support-textarea {
  width: 100%;
  border: 1px solid rgba(17, 23, 38, 0.12);
  border-radius: 16px;
  background: #fff;
  color: #111726;
  font: inherit;
}

.sc-support-input {
  min-height: 46px;
  padding: 0 14px;
}

.sc-support-textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.sc-support-input:focus,
.sc-support-textarea:focus {
  outline: 2px solid rgba(239, 68, 68, 0.16);
  outline-offset: 0;
  border-color: rgba(239, 68, 68, 0.3);
}

.sc-support-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
  font-size: 12px;
}

.sc-support-status {
  min-height: 18px;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.sc-support-status.is-error {
  color: #b42318;
}

.sc-support-status.is-success {
  color: #027a48;
}

.sc-support-submit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #111726;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sc-support-submit[disabled] {
  opacity: 0.64;
  cursor: not-allowed;
}

.sc-support-success {
  display: none;
  gap: 12px;
}

.sc-support-success.is-visible {
  display: grid;
}

.sc-support-success-card {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(174, 246, 177, 0.24) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.sc-support-success-card strong {
  display: block;
  color: #111726;
  font-size: 16px;
}

.sc-support-success-card p {
  margin: 7px 0 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.5;
}

.sc-support-reset {
  min-height: 44px;
  border: 1px solid rgba(17, 23, 38, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #111726;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 760px) {
  .sc-support-widget {
    right: 14px;
    bottom: 14px;
  }

  .sc-support-panel {
    width: min(360px, calc(100vw - 20px));
    bottom: 72px;
  }
}
