.feedback-floating-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1050;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: #1f6feb;
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  font-size: 0.88rem;
  font-weight: 600;
}

.feedback-floating-button:hover,
.feedback-floating-button:focus {
  transform: translateY(-1px);
  background: #1a62cf;
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.34);
}

.feedback-floating-button i {
  font-size: 0.95rem;
}

.feedback-modal-open {
  overflow: hidden;
}

.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.12);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 18px;
}

.feedback-modal-panel {
  width: min(430px, 100%);
  height: min(680px, calc(100vh - 96px));
  margin-bottom: 62px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feedback-modal-header {
  height: 56px;
  padding: 0 12px 0 16px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feedback-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.feedback-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.feedback-modal-open-new-tab {
  color: #0d6efd;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.feedback-modal-open-new-tab:hover,
.feedback-modal-open-new-tab:focus {
  text-decoration: underline;
}

.feedback-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f3f5;
  color: #212529;
  font-size: 1.5rem;
  line-height: 1;
}

.feedback-modal-close:hover,
.feedback-modal-close:focus {
  background: #e9ecef;
}

.feedback-modal-body {
  flex: 1;
  min-height: 0;
}

.feedback-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 576px) {
  .feedback-floating-button {
    right: 12px;
    bottom: 12px;
    height: 40px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .feedback-modal-overlay {
    padding: 8px;
  }

  .feedback-modal-panel {
    width: 100%;
    height: calc(100vh - 64px);
    margin-bottom: 52px;
    border-radius: 10px;
  }
}
