.sf-feedback {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.sf-feedback__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: #111827;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  cursor: pointer;
}

.sf-feedback__button:hover {
  background: #0b1220;
}

.sf-feedback__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
}

.sf-feedback__modal {
  position: fixed;
  right: 18px;
  bottom: 72px;
  width: min(420px, calc(100vw - 36px));
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
}

.sf-feedback__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

.sf-feedback__title {
  font-weight: 700;
  color: #111827;
}

.sf-feedback__close {
  appearance: none;
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.sf-feedback__close:hover {
  color: #111827;
}

.sf-feedback__form {
  padding: 14px;
}

.sf-feedback__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin: 10px 0 6px;
}

.sf-feedback__input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
}

.sf-feedback__input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

.sf-feedback__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.sf-feedback__submit {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  background: #111827;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.sf-feedback__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sf-feedback__notice {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}

.sf-feedback__notice--ok {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.sf-feedback__notice--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 480px) {
  .sf-feedback {
    right: 12px;
    bottom: 12px;
  }

  .sf-feedback__modal {
    right: 12px;
    bottom: 64px;
    width: calc(100vw - 24px);
  }
}
