/* Novira — floating support widget */

.ds-support-root {
  position: fixed;
  z-index: 95;
  left: 24px;
  bottom: 24px;
}

.ds-support-panel {
  position: absolute;
  left: 0;
  bottom: calc(52px + 12px);
  width: min(360px, calc(100vw - 32px));
  background: var(--ds-bg);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.ds-support-panel-head {
  position: relative;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--ds-border);
}

.ds-support-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--ds-bg-soft);
  border-radius: 50%;
  color: var(--ds-text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ds-support-close:hover {
  background: var(--ds-border);
  color: var(--ds-text);
}

.ds-support-greeting {
  font-size: 17px;
  font-weight: 800;
  color: var(--ds-blue, #3f51b5);
  margin: 0 0 8px;
  padding-inline-end: 36px;
  line-height: 1.4;
}

.ds-support-intro {
  font-size: 13px;
  color: var(--ds-text-muted);
  margin: 0;
  line-height: 1.65;
}

.ds-support-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-support-item {
  border-bottom: 1px solid var(--ds-border);
}

.ds-support-item:last-child {
  border-bottom: none;
}

.ds-support-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  text-decoration: none;
  color: inherit;
  background: none;
  border: none;
  font-family: inherit;
  text-align: right;
  cursor: pointer;
  transition: background 0.15s;
}

.ds-support-link:hover {
  background: var(--ds-bg-soft);
}

.ds-support-link-body {
  flex: 1;
  min-width: 0;
}

.ds-support-link-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ds-text);
  margin-bottom: 4px;
}

.ds-support-link-desc {
  display: block;
  font-size: 12px;
  color: var(--ds-text-muted);
  line-height: 1.5;
}

.ds-support-link-chevron {
  flex-shrink: 0;
  color: var(--ds-text-muted);
}

.ds-fab.ds-fab--support {
  position: relative;
  left: auto;
  bottom: auto;
  border: none;
  cursor: pointer;
}

.ds-fab.ds-fab--support.is-active {
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.45);
}

@media (max-width: 480px) {
  .ds-support-root {
    left: 16px;
    bottom: 16px;
    right: 16px;
  }

  .ds-support-panel {
    left: 0;
    right: 0;
    width: auto;
    bottom: calc(52px + 10px);
  }

  .ds-fab.ds-fab--support {
    position: fixed;
    left: 16px;
    bottom: 16px;
  }
}
