/* Feedback Widget — floating FAB + slide-up panel */

#__fb-root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#__fb-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
#__fb-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}
#__fb-fab:active {
  transform: scale(0.95);
}
#__fb-fab svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#__fb-panel {
  position: fixed;
  bottom: 82px;
  left: 24px;
  z-index: 9000;
  width: 340px;
  max-height: 460px;
  background: var(--surface, #132030);
  border: 1px solid var(--line, rgba(255,255,255,.07));
  border-radius: var(--r, 9px);
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s cubic-bezier(.4,0,.2,1), opacity .22s ease;
}
#__fb-panel.__fb-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#__fb-panel .__fb-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--line, rgba(255,255,255,.07));
}
#__fb-panel .__fb-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--w, #edeae3);
  margin: 0;
}
#__fb-panel .__fb-close {
  background: none;
  border: none;
  color: var(--w3, rgba(255,255,255,.3));
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 2px;
}
#__fb-panel .__fb-close:hover {
  color: var(--w, #edeae3);
}

#__fb-panel .__fb-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

#__fb-text {
  width: 100%;
  min-height: 100px;
  max-height: 180px;
  resize: vertical;
  background: var(--bg, #0c1821);
  color: var(--w, #edeae3);
  border: 1px solid var(--line, rgba(255,255,255,.07));
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  font-family: inherit;
  box-sizing: border-box;
}
#__fb-text:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb, 100,200,180), .15);
}
#__fb-text::placeholder {
  color: var(--w3, rgba(255,255,255,.3));
}

#__fb-chars {
  font-size: 11px;
  color: var(--w3, rgba(255,255,255,.3));
  text-align: right;
}

#__fb-submit {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, opacity .15s;
}
#__fb-submit:hover {
  filter: brightness(1.1);
}
#__fb-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#__fb-status {
  font-size: 12px;
  min-height: 18px;
  text-align: center;
}
#__fb-status.__fb-ok { color: var(--ok, #3db87a); }
#__fb-status.__fb-err { color: var(--err, #d44); }
