/* pf-core/frontend/assets/css/feedback-submit.css */
/* Feedback submission form styling. Uses PF brand tokens. */

.pf-feedback-submit {
  margin-top: 56px;
}

.pf-feedback-submit__inner {
  max-width: 900px;
  margin: 0 auto 80px auto;
}

.pf-feedback-submit__header {
  margin-bottom: 16px;
}

.pf-feedback-submit__title {
  font-family: var(--pf-font-head, system-ui, sans-serif);
  font-size: 1.6rem;
  margin: 0 0 4px 0;
  color: var(--pf-text-main, #f9fafb);
}

.pf-feedback-submit__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pf-text-muted, #cbd5f5);
}

/* ----------------------------------------------------
   Notices
---------------------------------------------------- */
.pf-feedback-notice {
  margin: 12px 0 18px 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pf-feedback-notice--success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #bbf7d0;
}

.pf-feedback-notice--error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.65);
  color: #fecaca;
}

/* ----------------------------------------------------
   Form container
---------------------------------------------------- */
.pf-feedback-form {
  margin-top: 10px;
  padding: 22px 22px 24px;
  border-radius: 16px;
  background: var(--pf-bg-panel, rgba(15,23,42,0.9));
  border: 1px solid var(--pf-border-light, rgba(148,163,184,0.32));
  color: var(--pf-text-main, #f9fafb);
}

/* Two-column fields */
.pf-feedback-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}

/* Field group */
.pf-field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.pf-field-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: var(--pf-text-muted, #cbd5f5);
}

/* Inputs */
.pf-field-group input,
.pf-field-group textarea,
.pf-field-group select {
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.45);
  background: rgba(5, 8, 22, 0.85);
  color: #f1f5f9;
  font-size: 0.95rem;
  padding: 9px 11px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: var(--pf-font-body, system-ui, sans-serif);
}

.pf-field-group input::placeholder,
.pf-field-group textarea::placeholder {
  color: rgba(148,163,184,0.7);
}

/* Focus state: brand blue glow */
.pf-field-group input:focus,
.pf-field-group textarea:focus,
.pf-field-group select:focus {
  border-color: var(--pf-primary, #2596be);
  box-shadow: 0 0 0 1px rgba(37,150,190,0.6);
  background: rgba(5, 8, 22, 0.95);
}

/* Honeypot field hidden */
.pf-field-group--honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  visibility: hidden;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ----------------------------------------------------
   Submit button
---------------------------------------------------- */
.pf-feedback-form__submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.pf-feedback-form__submit .pf-btn {
  width: 100%;
  height: 42px;
  border-radius: 10px;
}

/* Disclaimer */
.pf-feedback-form__disclaimer {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--pf-text-muted, #cbd5f5);
}

/* ----------------------------------------------------
   Small screens
---------------------------------------------------- */
@media (max-width: 640px) {
  .pf-feedback-form {
    padding: 18px 14px 20px 14px;
  }
  .pf-feedback-form__grid {
    grid-template-columns: 1fr;
  }
}
