@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

#pa-producer-report {
  --bg: #ffffff;
  --card: #ffffff;
  --muted: #555;
  --text: #222;
  --accent: #CBAA5C;
  --error: #ff5c7a;
  --radius: 30px;
}
#pa-producer-report * { box-sizing: border-box; }

#pa-producer-report {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  width: 100%;
}

#pa-producer-report .report-wrap { width: 100%; max-width: 640px; }
#pa-producer-report .card {
  background: var(--card);
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 28px;
}

#pa-producer-report h2 {
  margin: 0 0 6px 0;
  font-size: clamp(22px, 1.6rem, 32px);
  letter-spacing: .2px;
  font-weight: 600;
}
#pa-producer-report .subtitle { color: var(--muted); margin: 0 0 8px 0; }
#pa-producer-report .hint { color: var(--muted); font-size: .85rem; margin: 0 0 18px 0; line-height: 1.4; }
#pa-producer-report .rating-label { display: block; font-size: .92rem; color: var(--muted); font-weight: 600; margin: 18px 0 8px; }

#pa-producer-report .star-picker { display: flex; gap: 6px; }
#pa-producer-report .star-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: none !important;
  border: none !important;
  color: #ddd !important;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: transform .08s ease, color .15s ease;
}
#pa-producer-report .star-btn:hover { transform: scale(1.1); }
#pa-producer-report .star-btn.filled { color: var(--accent) !important; }

#pa-producer-report textarea {
  border: 1px solid #ccc;
  background: #f2f2f2;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  outline: none;
  width: 100%;
  resize: vertical;
  font-family: "Montserrat", sans-serif;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
#pa-producer-report textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(203,170,90,.25);
  background: #fff;
}

#pa-producer-report .actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

#pa-producer-report .btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: #942424 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .08s ease, filter .2s ease;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
}
#pa-producer-report .btn:hover { filter: brightness(1.05); }
#pa-producer-report .btn:active { transform: translateY(1px); }
#pa-producer-report .btn:disabled { opacity: .6; cursor: not-allowed; }

#pa-producer-report .error-text { color: var(--error); font-size: .9rem; }

#pa-producer-report .pf-success {
  background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
  padding: 16px; border-radius: 16px; text-align: center;
}
#pa-producer-report .pf-error {
  background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
  padding: 16px; border-radius: 16px; text-align: center; margin-top: 14px;
}

#pa-producer-report .pf-loading { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
#pa-producer-report .pf-dot { width: 6px; height: 6px; border-radius: 50%; background: #bbb; animation: pf-bounce 1s infinite; }
#pa-producer-report .pf-dot:nth-child(2) { animation-delay: .15s; }
#pa-producer-report .pf-dot:nth-child(3) { animation-delay: .3s; }
@keyframes pf-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
