/* ==========================================================================
   FEEDBACK, SUGGESTIONS & COMPLAINTS SYSTEM
   ========================================================================== */

.feedback-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  background: radial-gradient(circle at 70% 30%, rgba(211, 47, 47, 0.08), transparent 70%);
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1060px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .feedback-grid {
    grid-template-columns: 1fr 1.25fr;
    align-items: start;
  }
}

/* --------------------------------------------------------------------------
   Sajid Imran Resolution Lead Card (Center Aligned & Overflow Safe)
   -------------------------------------------------------------------------- */
.manager-trust-card {
  background: linear-gradient(145deg, #1C1A22, #262330);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.manager-avatar-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  width: 100%;
}

.manager-avatar {
  width: 66px;
  height: 66px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-gold), #FF8F00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #121214;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
  margin: 0 auto;
}

.manager-info {
  text-align: center;
  width: 100%;
}

.manager-info h4 {
  font-size: var(--font-lg);
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.manager-title {
  font-size: var(--font-xs);
  color: var(--color-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.manager-quote {
  font-size: var(--font-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  text-align: center;
  margin: 0 auto var(--space-md);
  max-width: 380px;
}

.payment-methods-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  gap: var(--space-xs);
  margin: var(--space-md) 0;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-sizing: border-box;
}

.payment-strip-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.payment-badges-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  width: 100%;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.payment-easypaisa {
  background: rgba(0, 166, 81, 0.15);
  color: #00E676;
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.payment-jazzcash {
  background: rgba(226, 27, 35, 0.15);
  color: #FF5252;
  border: 1px solid rgba(255, 82, 82, 0.4);
}

.official-payment-logo {
  display: block;
  object-fit: contain;
}

.official-payment-logo.easypaisa-logo {
  height: 20px;
  width: auto;
  max-width: 75px;
}

.official-payment-logo.jazzcash-logo {
  height: 22px;
  width: 22px;
  border-radius: var(--radius-full);
}

.manager-contact-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  width: 100%;
}

.manager-contact-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  padding: 12px 18px;
  font-size: var(--font-sm);
  box-sizing: border-box;
}

.manager-escalation-note {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border);
  font-size: 11px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Submission Form (Clipped Edge Fix & Responsive Form Grid)
   -------------------------------------------------------------------------- */
.feedback-form-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

.feedback-form-card .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  width: 100%;
  min-width: 0;
}

@media (min-width: 580px) {
  .feedback-form-card .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feedback-form-card .form-group {
  min-width: 0;
  width: 100%;
}

.feedback-form-card .form-input,
.feedback-form-card .form-select,
.feedback-form-card .form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.feedback-form-card button[type="submit"] {
  width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
  padding: 13px 20px;
  box-sizing: border-box;
}

/* Star Rating Widget */
.rating-picker {
  display: flex;
  gap: 8px;
  margin: var(--space-xs) 0;
  flex-wrap: wrap;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--color-text-dim);
  transition: transform 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.star-btn .svg-icon {
  width: 26px;
  height: 26px;
}

.star-btn:hover,
.star-btn.active {
  color: var(--color-gold);
  transform: scale(1.18);
}

/* Form submission feedback banner */
.submission-status-alert {
  display: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  margin-bottom: var(--space-md);
  box-sizing: border-box;
}

.submission-status-alert.active-success {
  display: block;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #25D366;
}

.submission-status-alert.active-error {
  display: block;
  background: rgba(239, 83, 80, 0.12);
  border: 1px solid rgba(239, 83, 80, 0.3);
  color: #EF5350;
}
