/* ====================================================================
   help_feedback.css — email support card + feedback form
   ==================================================================== */

/* ---- Email Support Section ---- */
.help-support {
  margin-bottom: 56px;
}

.help-support-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--t) var(--ease);
}
.help-support-card:hover {
  box-shadow: var(--shadow);
}

.help-support-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.help-support-body {
  flex: 1;
  min-width: 0;
}
.help-support-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.help-support-email {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.help-support-email:hover {
  color: var(--brand);
  text-decoration: underline;
}
.help-support-response {
  font-size: 14px;
  color: var(--ink-3);
}

.help-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--t) var(--ease);
}
.help-support-btn:hover {
  background: var(--ink);
  filter: brightness(0.8);
  color: #fff;
  text-decoration: none;
}

/* ---- Feedback Form Section ---- */
.help-feedback {
  margin-bottom: 56px;
}

.help-feedback-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.help-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.help-feedback-row--double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .help-feedback-row--double {
    grid-template-columns: 1fr;
  }
}

.help-feedback-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.help-feedback-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.help-feedback-label .r {
  color: var(--brand);
}

.help-feedback-input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-2);
  border-radius: 9px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.help-feedback-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.help-feedback-input.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.help-feedback-textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}

.help-feedback-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.help-feedback-err {
  font-size: 12px;
  color: var(--danger);
  min-height: 0;
  line-height: 1.3;
  display: none;
}
.help-feedback-err.visible {
  display: block;
}

.help-feedback-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
}

.help-feedback-status {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}
.help-feedback-status.error {
  color: var(--danger);
}
.help-feedback-status.success {
  color: var(--success);
}

.btn-feedback-submit {
  min-width: 140px;
}
.btn-feedback-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- Success State ---- */
.help-feedback-success {
  text-align: center;
  padding: 40px 20px;
}
.help-feedback-success-ic {
  margin-bottom: 16px;
}
.help-feedback-success h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.help-feedback-success p {
  font-size: 15px;
  color: var(--ink-3);
  max-width: 400px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

/* ---- Loading spinner ---- */
@keyframes fb-spin {
  to { transform: rotate(360deg); }
}
.btn-feedback-submit .ph.spinner {
  animation: fb-spin 0.7s linear infinite;
}
