.signup-form.otp-mode > :not(.otp-panel) {
  display: none !important;
}

.signup-form.otp-mode .otp-panel {
  display: block;
}

.otp-panel {
  text-align: center;
  animation: otp-in 0.28s ease-out;
}

.otp-symbol {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #6d28d9;
  background: #f3e8ff;
  font-size: 29px;
}

.otp-kicker {
  margin: 0 0 8px;
  color: #7c3aed;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.otp-panel h3 {
  margin: 0;
  color: #17111d;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -1.4px;
}

.otp-description {
  max-width: 440px;
  margin: 13px auto 25px;
  color: #6b6472;
  line-height: 1.6;
}

.otp-description strong {
  display: block;
  color: #261d2c;
  overflow-wrap: anywhere;
}

.otp-code-field {
  max-width: 360px;
  margin: 0 auto 18px;
  text-align: left;
}

.otp-code-field input {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.otp-panel .submit-button {
  max-width: 440px;
  margin: 0 auto;
}

.otp-actions {
  display: flex;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.otp-actions button {
  padding: 4px;
  border: 0;
  color: #6d28d9;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.otp-actions button:disabled {
  color: #aaa3b0;
  cursor: default;
}

.otp-panel .form-message {
  max-width: 440px;
  margin: 18px auto 0;
}

.otp-help {
  margin: 16px 0 0;
  color: #8a8490;
  font-size: 13px;
}

@keyframes otp-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .otp-panel h3 { font-size: 30px; }
  .otp-description strong { margin-top: 4px; }
  .otp-code-field input { font-size: 25px; }
}


/* PRZEPLYW OTP + FEEDBACK */
.signup-form.feedback-mode > :not(.feedback-panel) {
  display: none !important;
}

.signup-form.feedback-mode .feedback-panel {
  display: block;
}

.feedback-panel {
  text-align: center;
  animation: otp-in 0.28s ease-out;
}

.feedback-symbol {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #16794b;
  background: #e9f9f1;
  font-size: 29px;
  font-weight: 900;
}

.feedback-panel h3 {
  margin: 0;
  color: #17111d;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -1.4px;
}

.feedback-description {
  max-width: 500px;
  margin: 13px auto 24px;
  color: #6b6472;
  line-height: 1.6;
}

.feedback-description strong {
  color: #261d2c;
  overflow-wrap: anywhere;
}

.feedback-field {
  max-width: 520px;
  margin: 0 auto 18px;
  text-align: left;
}

.feedback-field textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  box-sizing: border-box;
  padding: 15px 16px;
  border: 1px solid #ddd5e7;
  border-radius: 15px;
  color: #21172b;
  background: #fff;
  font: inherit;
  line-height: 1.5;
  outline: none;
}

.feedback-field textarea:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
}

.feedback-panel .submit-button {
  max-width: 520px;
  margin: 0 auto;
}

.feedback-skip {
  margin-top: 15px;
  padding: 7px 10px;
  border: 0;
  color: #6d28d9;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.feedback-skip:disabled {
  color: #aaa3b0;
  cursor: default;
}

.feedback-panel .form-message {
  max-width: 520px;
  margin: 18px auto 0;
}
