/* ══════════════════════════════════════════════════════════════
   KnowYourGujarat — Grievance & Moderation Report Stylesheet
   Clean Civic White Card, Navy Typography, Orange Button & Panorama Art
   ══════════════════════════════════════════════════════════════ */

:root {
  --report-navy-dark: #0A2540;
  --report-navy-text: #0F172A;
  --report-text-body: #475569;
  --report-text-muted: #64748B;
  --report-border: #E2E8F0;
  --report-border-light: #F1F5F9;
  --report-blue: #0A4FCD;
  --report-orange: #EA580C;
  --report-orange-bg: #FFF7ED;
  --report-orange-border: #FFEDD5;
  --report-orange-btn: #EA580C;
  --report-orange-btn-hover: #C2410C;
  --report-green: #16A34A;
}

body.report-page-body {
  background-color: #F8FAFC !important;
  color: var(--report-navy-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Main Page Layout ── */
.report-main-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: calc(64px + 36px) 20px 80px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── The White Form Card ── */
.report-card {
  background: #FFFFFF;
  border: 1px solid var(--report-border);
  border-radius: 20px;
  padding: 36px 44px 40px;
  box-shadow: 0 4px 24px rgba(10, 28, 62, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Saffron-Green Top Line ── */
.report-top-accent-line {
  width: 100%;
  height: 3.5px;
  border-radius: 4px;
  background: linear-gradient(90deg, 
    #EA580C 0%, 
    #F97316 35%, 
    #FEF08A 35%, 
    #FEF08A 65%, 
    #16A34A 65%, 
    #15803D 100%
  );
  margin-bottom: 28px;
}

/* ── Hero Row with Illustration ── */
.report-hero-row {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 24px;
  align-items: center;
  position: relative;
  margin-bottom: 32px;
}

.report-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.report-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background-color: var(--report-orange-bg);
  border: 1px solid var(--report-orange-border);
  border-radius: 100px;
  color: var(--report-orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.report-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 900;
  color: var(--report-navy-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 12px 0;
}

.report-lead {
  font-size: 14px;
  color: var(--report-text-body);
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}

.report-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.report-hero-panorama-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  filter: contrast(1.02) saturate(1.04);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}

/* ── Form Layout ── */
.report-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.report-field-group {
  display: flex;
  flex-direction: column;
}

.report-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.report-input,
.report-select,
.report-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--report-navy-text);
  box-sizing: border-box;
  transition: all 180ms ease;
  outline: none;
}

.report-input::placeholder,
.report-textarea::placeholder {
  color: #94A3B8;
}

.report-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.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: 40px;
  cursor: pointer;
}

.report-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}

.report-input:focus,
.report-select:focus,
.report-textarea:focus {
  border-color: #0A4FCD;
  box-shadow: 0 0 0 3px rgba(10, 79, 205, 0.12);
}

.report-field-hint {
  font-size: 12px;
  color: var(--report-text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.report-textarea-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.report-counter {
  font-size: 12px;
  color: var(--report-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap;
}

/* ── Submit Button ── */
.report-btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #FF7A00 0%, #EA580C 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 180ms ease;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.25);
  margin-top: 6px;
}

.report-btn-submit:hover {
  background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

.report-btn-submit:active {
  transform: translateY(0);
}

.report-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── Feedback Message Callout ── */
.report-feedback-box {
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.55;
  margin-top: 20px;
}

.report-feedback-box.success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.report-feedback-box.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
}

/* ── Responsive Mobile ── */
@media (max-width: 768px) {
  .report-hero-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .report-hero-visual {
    justify-content: center;
    order: -1;
  }
  .report-hero-panorama-img {
    max-width: 280px;
  }
}

@media (max-width: 600px) {
  .report-main-container {
    padding: calc(64px + 20px) 14px 60px;
  }
  .report-card {
    padding: 24px 18px 28px;
    border-radius: 16px;
  }
}
