/* ==============================================================================
   US Tax Pilot Tools - Privacy Transparency & Feedback Widget Styles
   ============================================================================== */

/* --- 1. Privacy Transparency Card --- */
.compliance-transparency-card {
  margin: 48px auto;
  max-width: 1100px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  font-family: inherit;
}

.transparency-header {
  text-align: center;
  margin-bottom: 28px;
}

.transparency-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.transparency-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.transparency-sub {
  font-size: 14px;
  color: #64748b;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.transparency-box {
  padding: 24px;
  border-radius: 10px;
  position: relative;
}

.transparency-box.not-recorded {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #10b981;
}

.transparency-box.recorded {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #3b82f6;
}

.transparency-box .box-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.transparency-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
}

.transparency-box ul {
  margin: 0;
  padding-left: 20px;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.7;
}

.transparency-box li {
  margin-bottom: 8px;
}

/* --- 2. Feedback & Reviews Section --- */
.feedback-guestbook-section {
  margin: 40px auto 60px auto;
  max-width: 1100px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.feedback-stats h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.rating-overview {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars-display {
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
}

.score-number {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.review-count {
  font-size: 13px;
  color: #64748b;
}

.feedback-header .btn {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.feedback-header .btn-outline {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.feedback-header .btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

/* Feedback Form */
.feedback-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin: 24px 0;
}

.feedback-form h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  color: #0f172a;
}

.form-hint {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.form-group input,
.form-group textarea {
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.star-rating-inputs {
  display: flex;
  gap: 4px;
}

.star-rating-inputs .star-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #cbd5e1;
  cursor: pointer;
  padding: 0 2px;
  transition: transform 0.1s, color 0.1s;
}

.star-rating-inputs .star-btn.active {
  color: #f59e0b;
}

.star-rating-inputs .star-btn:hover {
  transform: scale(1.15);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.btn-primary {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  background: #1e293b;
}

.submit-feedback-status {
  font-size: 13px;
  font-weight: 600;
}

.submit-feedback-status.success {
  color: #059669;
}

.submit-feedback-status.error {
  color: #dc2626;
}

/* Reviews List */
.feedback-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review-author {
  font-size: 14px;
  color: #0f172a;
}

.review-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

.review-date {
  font-size: 12px;
  color: #94a3b8;
  margin-left: auto;
}

.review-body {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
}

.feedback-empty,
.feedback-loading {
  text-align: center;
  padding: 30px 0;
  color: #64748b;
  font-size: 14px;
}
