/**
 * CivicQuest: Reporting Flow, Quick Actions & Modal Styles
 * Seamlessly integrates with styles.css and theme.css design system.
 */

/* ==========================================================================
   BUTTONS & BASE ATOMS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(100deg, #0875b8, #16d9ff);
  color: #00121d;
  border: none;
  box-shadow: 0 0 20px #16d9ff55;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 25px #16d9ff88;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #08283d;
  color: var(--ink, #d7f6ff);
  border: 1px solid #14516a;
}

.btn-secondary:hover {
  background: #0d3854;
  border-color: #16d9ff;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #8bb5c5;
  border: 1px solid transparent;
}

.btn-ghost:hover {
  background: #08283d66;
  color: var(--ink, #d7f6ff);
}

.btn-large {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
}

/* ==========================================================================
   CITIZEN HOME: STATS & QUICK ACTIONS
   ========================================================================== */
.badge-highlight {
  color: var(--green, #16d9ff);
  text-shadow: 0 0 12px #16d9ff44;
}

.stat-icon-coin {
  background: #075d92 !important;
  color: var(--green, #16d9ff) !important;
  box-shadow: 0 0 16px #16d9ff77 !important;
}

.currency-unit {
  font-size: 13px;
  color: var(--green, #16d9ff);
  margin-left: 2px;
}

.link-hint {
  cursor: pointer;
}
.link-hint:hover {
  text-decoration: underline;
}

/* Quick Actions Section */
.quick-actions-section {
  margin-bottom: 24px;
}

.quick-actions-header {
  margin-bottom: 12px;
}

.quick-actions-header h2 {
  margin: 0;
  font: 600 18px "Space Grotesk", sans-serif;
  color: var(--ink, #d7f6ff);
}

.quick-actions-header small {
  color: #6f9ab0;
  font-size: 11px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.quick-action-card {
  background: linear-gradient(145deg, #092033ef, #061421ef);
  border: 1px solid #15516b;
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.quick-action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.25s ease;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: #16d9ff;
  box-shadow: 0 10px 30px #000c1e, 0 0 20px #16d9ff33;
}

.quick-action-card:hover::before {
  background: linear-gradient(90deg, transparent, #16d9ff, transparent);
}

.action-report {
  border-color: #167a9c;
  background: linear-gradient(145deg, #0b283fef, #061726ef);
}

.qa-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.qa-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #083c58;
  color: var(--green, #16d9ff);
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 0 12px #16d9ff22;
}

.qa-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #0d3448;
  color: #75a6ba;
}

.qa-badge.highlight {
  background: #094766;
  color: var(--green, #16d9ff);
  border: 1px solid #16d9ff44;
  box-shadow: 0 0 10px #16d9ff33;
}

.quick-action-card h3 {
  margin: 0 0 6px 0;
  font: 600 15px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.quick-action-card p {
  margin: 0 0 12px 0;
  font-size: 11px;
  line-height: 1.4;
  color: #7da3b8;
}

.qa-arrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--green, #16d9ff);
  transition: transform 0.2s ease;
}

.quick-action-card:hover .qa-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   CIVIC IMPACT SUMMARY METRICS
   ========================================================================== */
.impact-summary-panel {
  margin-bottom: 24px;
}

.impact-badge-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #07435f;
  color: var(--green, #16d9ff);
  border: 1px solid #16d9ff33;
}

.impact-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.impact-metric-box {
  background: #051928;
  border: 1px solid #114157;
  border-radius: 10px;
  padding: 16px 20px;
  position: relative;
  transition: all 0.2s ease;
}

.impact-metric-box:hover {
  border-color: #16d9ff66;
  background: #072236;
}

.metric-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.impact-metric-box strong {
  display: block;
  font: 700 28px "Space Grotesk", sans-serif;
  color: #d7f6ff;
  line-height: 1.1;
  text-shadow: 0 0 15px #16d9ff33;
}

.impact-metric-box small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--green, #16d9ff);
  margin-top: 4px;
}

.metric-sub {
  display: block;
  font-size: 10px;
  color: #638fa3;
  margin-top: 3px;
}

/* Activity row styles */
.activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #12384e;
  transition: background 0.15s ease;
}

.clickable-activity {
  cursor: pointer;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 6px;
}

.clickable-activity:hover {
  background: #092e4466;
}

.act-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #093750;
  color: var(--green, #16d9ff);
  font-weight: bold;
}

.act-info {
  flex: 1;
  min-width: 0;
}

.act-info strong {
  display: block;
  font-size: 12px;
  color: var(--ink, #d7f6ff);
}

.act-info small {
  display: block;
  font-size: 10px;
  color: #6f9ab0;
  margin-top: 2px;
}

.act-points {
  font-size: 11px;
  font-weight: 700;
  color: var(--green, #16d9ff);
}

/* ==========================================================================
   REPORT ISSUE PAGE
   ========================================================================== */
.reporting-page-container {
  padding-top: 24px;
}

.reporting-page-header {
  margin-bottom: 24px;
}

.back-link-btn {
  background: transparent;
  border: none;
  color: var(--green, #16d9ff);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-link-btn:hover {
  text-decoration: underline;
}

.reporting-title-wrap h1 {
  margin: 4px 0 6px 0;
  font: 700 28px "Space Grotesk", sans-serif;
  color: #e6fbff;
  text-shadow: 0 0 20px #16d9ff44;
}

.reporting-title-wrap p {
  margin: 0;
  color: #7da3b8;
  font-size: 13px;
}

.reporting-title-wrap p strong {
  color: var(--green, #16d9ff);
}

.reporting-form-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: start;
}

.form-main-col,
.form-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-section {
  padding: 22px;
}

.section-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #083c58;
  color: var(--green, #16d9ff);
  font: 700 12px "Space Grotesk", sans-serif;
  border: 1px solid #16d9ff44;
}

.section-title-row h2 {
  margin: 0;
  font: 600 16px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.section-title-row p {
  margin: 3px 0 0 0;
  font-size: 11px;
  color: #7da3b8;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #051b2a;
  border: 1px solid #124056;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-card input[type="radio"] {
  display: none;
}

.category-card:hover {
  border-color: #176587;
  background: #07253b;
}

.category-card.selected {
  border-color: #16d9ff;
  background: #08344e;
  box-shadow: 0 0 16px #16d9ff33, inset 0 0 12px #16d9ff1a;
}

.cat-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.cat-info strong {
  display: block;
  font-size: 12px;
  color: #d7f6ff;
}

.cat-info small {
  display: block;
  font-size: 10px;
  color: #7da3b8;
  margin-top: 2px;
}

/* Location Map Picker */
.location-picker-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.interactive-map-box {
  position: relative;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: #062536;
  border: 1px solid #14516a;
  box-shadow: inset 0 0 35px #16d9ff22;
  cursor: crosshair;
}

.interactive-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.pin-head {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: #ff3da8;
  border: 2px solid #fff;
  color: #fff;
  font-size: 8px;
  transform: rotate(-45deg);
  box-shadow: 0 0 15px #ff3da8cc;
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  margin-top: -16px;
  border-radius: 50%;
  border: 2px solid #16d9ff;
  animation: pulse-ring 1.8s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.pin-tooltip {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #02121ebd;
  border: 1px solid #16d9ff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  color: var(--green, #16d9ff);
  white-space: nowrap;
}

.map-label {
  position: absolute;
  font-size: 8px;
  font-weight: 700;
  color: #50a4c0;
  pointer-events: none;
}

.street-a { top: 52%; left: 24%; transform: rotate(-12deg); }
.street-b { top: 24%; left: 40%; transform: rotate(28deg); }
.street-c { top: 76%; left: 52%; transform: rotate(11deg); }

.map-overlay-instructions {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #031422bb;
  border: 1px solid #15516b;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 9px;
  color: #8bb5c5;
  pointer-events: none;
}

.location-controls-bar {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.location-input-group {
  flex: 1;
}

.location-input-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: #7da3b8;
  margin-bottom: 5px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 10px;
  font-size: 14px;
  pointer-events: none;
}

.input-with-icon input {
  width: 100%;
  padding: 10px 10px 10px 34px;
  background: #04121f;
  border: 1px solid #14516a;
  border-radius: 7px;
  color: var(--ink, #d7f6ff);
  font-size: 12px;
  font-family: inherit;
}

.input-with-icon input:focus,
.description-wrap textarea:focus {
  outline: none;
  border-color: #16d9ff;
  box-shadow: 0 0 12px #16d9ff44;
}

.gps-btn {
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 11px;
}

.quick-locations {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-locations small {
  font-size: 9px;
  font-weight: 700;
  color: #5d8da5;
}

.preset-chip {
  background: #08293d;
  border: 1px solid #134b63;
  color: #8bb5c5;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  background: #0d3854;
  border-color: #16d9ff;
  color: #fff;
}

/* Description */
.description-wrap textarea {
  width: 100%;
  padding: 12px;
  background: #04121f;
  border: 1px solid #14516a;
  border-radius: 8px;
  color: var(--ink, #d7f6ff);
  font-size: 12px;
  font-family: inherit;
  resize: vertical;
  line-height: 1.5;
}

.desc-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
}

.desc-footer .tip {
  color: #6f9ab0;
}

.char-count {
  color: #5d8da5;
}

/* Photo Upload */
.optional-tag {
  font-size: 11px;
  color: #6f9ab0;
  font-weight: normal;
}

.photo-upload-container {
  border: 2px dashed #14516a;
  border-radius: 10px;
  background: #041524;
  overflow: hidden;
  transition: all 0.2s ease;
}

.photo-upload-container:hover,
.photo-upload-container.drag-active {
  border-color: #16d9ff;
  background: #061d31;
}

.file-input-hidden {
  display: none;
}

.photo-drop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
}

.upload-icon-circle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #083c58;
  color: var(--green, #16d9ff);
  font-size: 20px;
  margin-bottom: 10px;
}

.photo-drop-empty strong {
  font-size: 13px;
  color: #e6fbff;
}

.photo-drop-empty p {
  margin: 3px 0 8px 0;
  font-size: 11px;
  color: #7da3b8;
}

.upload-specs {
  font-size: 9px;
  color: #548096;
  margin-bottom: 12px;
}

.sample-photo-btn {
  margin-top: 6px;
  font-size: 11px;
}

.photo-preview-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #000;
}

.photo-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-overlay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, #020a13ea, transparent);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.photo-name {
  font-size: 11px;
  color: #d7f6ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}

.remove-photo-btn {
  background: #ff3da8;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* Submission Box Panel */
.submit-box-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.submit-rewards-notice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #072a40;
  border-radius: 8px;
  border: 1px solid #14516a;
}

.reward-coin-badge {
  background: #075d92;
  color: var(--green, #16d9ff);
  font: 700 12px "Space Grotesk", sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 0 12px #16d9ff55;
}

.submit-rewards-notice strong {
  display: block;
  font-size: 12px;
  color: #d7f6ff;
}

.submit-rewards-notice p {
  margin: 2px 0 0 0;
  font-size: 10px;
  color: #7da3b8;
}

.ai-shield-notice {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: #6f9ab0;
}

.ai-shield-notice small {
  display: block;
  font-weight: 700;
  color: var(--green, #16d9ff);
  letter-spacing: 0.5px;
}

.ai-shield-notice p {
  margin: 2px 0 0 0;
}

.form-error-msg {
  display: none;
  margin-top: 6px;
  font-size: 11px;
  color: #ff5c7c;
  font-weight: 600;
}

/* ==========================================================================
   AI DUPLICATE DETECTION MODAL
   ========================================================================== */
.duplicate-modal-overlay,
.success-modal-overlay,
.report-detail-overlay {
  background: #010914e6;
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.duplicate-card {
  width: min(520px, calc(100% - 32px));
  padding: 26px;
  border-radius: 14px;
  border: 1px solid #16d9ff;
  box-shadow: 0 0 50px #16d9ff44;
  position: relative;
}

/* Scanning state */
.scanning-state {
  text-align: center;
  padding: 36px 24px;
}

.radar-pulse {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 16px auto;
  display: grid;
  place-items: center;
}

.radar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #16d9ff;
  animation: radar-spin 2s infinite ease-out;
}

@keyframes radar-spin {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.radar-center {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #07476c;
  color: var(--green, #16d9ff);
  font-size: 20px;
  box-shadow: 0 0 20px #16d9ff;
}

.ai-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--green, #16d9ff);
  letter-spacing: 0.8px;
}

.scanning-state h2 {
  margin: 8px 0 4px 0;
  font: 700 22px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.scan-subtitle {
  margin: 0 0 20px 0;
  font-size: 12px;
  color: #7da3b8;
}

.scan-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: #041726;
  border: 1px solid #13465e;
  border-radius: 8px;
  padding: 14px 18px;
}

.scan-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #5d8da5;
  transition: all 0.2s ease;
}

.scan-step.active {
  color: var(--green, #16d9ff);
  font-weight: 600;
}

.step-dot {
  font-size: 10px;
}

/* Duplicate Found Card */
.duplicate-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.warning-icon {
  font-size: 32px;
}

.match-badge {
  font-size: 10px;
  font-weight: 700;
  color: #ff9d42;
  letter-spacing: 0.5px;
}

.duplicate-found h2 {
  margin: 2px 0 0 0;
  font: 700 20px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.duplicate-explainer {
  font-size: 12px;
  color: #8bb5c5;
  line-height: 1.5;
  margin-bottom: 16px;
}

.existing-report-box {
  background: #051a2a;
  border: 1px solid #165675;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}

.existing-report-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.category-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #083c58;
  color: var(--green, #16d9ff);
}

.status-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #143549;
  color: #ff9d42;
}

.existing-title {
  margin: 0 0 10px 0;
  font: 600 15px "Space Grotesk", sans-serif;
  color: #d7f6ff;
}

.existing-details-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-item small {
  display: block;
  font-size: 9px;
  color: #5d8da5;
  margin-bottom: 2px;
}

.detail-item strong {
  display: block;
  font-size: 11px;
  color: #d7f6ff;
}

.distance-note {
  font-size: 10px;
  color: #ff9d42;
}

.existing-thumbnail-wrap {
  position: relative;
  height: 120px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
}

.existing-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-label {
  position: absolute;
  bottom: 6px;
  left: 8px;
  background: #000000a6;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 9px;
  color: #fff;
}

.existing-actions {
  display: flex;
  justify-content: flex-end;
}

.duplicate-decision-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.submit-anyway-btn {
  flex: 1;
}

/* No Duplicate Found Card */
.no-duplicate-found {
  text-align: center;
}

.no-dup-header {
  margin-bottom: 18px;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #075440;
  border: 2px solid #28e0a5;
  color: #28e0a5;
  font-size: 22px;
  margin: 0 auto 12px auto;
  box-shadow: 0 0 20px #28e0a555;
}

.verified-tag {
  font-size: 10px;
  font-weight: 700;
  color: #28e0a5;
  letter-spacing: 0.8px;
}

.no-duplicate-found h2 {
  margin: 6px 0 4px 0;
  font: 700 22px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.no-dup-sub {
  margin: 0;
  font-size: 12px;
  color: #7da3b8;
}

.verification-summary-box {
  background: #051a2a;
  border: 1px solid #144e68;
  border-radius: 10px;
  padding: 14px 18px;
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8bb5c5;
}

.text-green {
  color: #28e0a5;
}

/* ==========================================================================
   SUBMISSION SUCCESS MODAL
   ========================================================================== */
.success-card {
  width: min(480px, calc(100% - 32px));
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #16d9ff;
  box-shadow: 0 0 60px #16d9ff55;
  text-align: center;
  position: relative;
}

.coin-reward-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #074e76;
  border: 1px solid #16d9ff;
  border-radius: 20px;
  box-shadow: 0 0 22px #16d9ff88;
  margin-bottom: 16px;
  animation: reward-bounce 0.6s ease;
}

@keyframes reward-bounce {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.coin-icon-glow {
  color: var(--green, #16d9ff);
  font-size: 16px;
}

.reward-text {
  font: 700 12px "Space Grotesk", sans-serif;
  color: #e6fbff;
  letter-spacing: 0.5px;
}

.success-title {
  margin: 0 0 6px 0;
  font: 700 24px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.success-subtitle {
  margin: 0 0 20px 0;
  font-size: 12px;
  color: #7da3b8;
}

.ticket-info-box {
  background: #051a2a;
  border: 1px solid #14516a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 22px;
  text-align: left;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ticket-label {
  font-size: 10px;
  font-weight: 700;
  color: #5d8da5;
}

.ticket-id {
  font: 700 14px "Space Grotesk", sans-serif;
  color: var(--green, #16d9ff);
  background: #06273d;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #16d9ff44;
}

.status-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.status-reported {
  background: #083c58;
  color: var(--green, #16d9ff);
  border: 1px solid #16d9ff44;
}

.status-in-review {
  background: #39280d;
  color: #ff9d42;
  border: 1px solid #ff9d4244;
}

/* Status Tracker Line */
.status-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0;
  padding: 0 8px;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.step-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #092c42;
  border: 1px solid #15516b;
  color: #638fa3;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

.tracker-step.completed .step-circle {
  background: var(--green, #16d9ff);
  border-color: var(--green, #16d9ff);
  color: #00121d;
  box-shadow: 0 0 10px #16d9ff;
}

.tracker-step small {
  font-size: 9px;
  color: #6f9ab0;
}

.tracker-step.completed small {
  color: var(--green, #16d9ff);
  font-weight: 600;
}

.tracker-line {
  flex: 1;
  height: 2px;
  background: #113c52;
  margin: 0 4px 14px 4px;
}

.ticket-summary {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #113c52;
}

.ticket-summary small {
  display: block;
  font-size: 9px;
  color: #5d8da5;
}

.ticket-summary strong {
  display: block;
  font-size: 11px;
  color: #d7f6ff;
  margin-top: 2px;
}

.success-actions {
  display: flex;
  gap: 12px;
}

.success-actions button {
  flex: 1;
}

/* ==========================================================================
   REPORT DETAIL MODAL
   ========================================================================== */
.detail-modal-card {
  width: min(540px, calc(100% - 32px));
  padding: 26px;
  border-radius: 14px;
  border: 1px solid #16d9ff;
  box-shadow: 0 0 50px #16d9ff44;
  position: relative;
}

.detail-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.detail-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.detail-id {
  font-size: 11px;
  font-weight: 700;
  color: #7da3b8;
}

.detail-title {
  margin: 0 0 8px 0;
  font: 700 20px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.detail-meta {
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: #7da3b8;
  margin-bottom: 14px;
}

.detail-dist {
  color: #ff9d42;
  font-weight: 600;
}

.detail-photo-wrap {
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.detail-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #5d8da5;
  margin-bottom: 4px;
}

.detail-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #d7f6ff;
  margin: 0 0 18px 0;
}

.detail-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.upvote-btn.upvoted {
  background: #0a4f3b;
  border-color: #28e0a5;
  color: #28e0a5;
}

/* ==========================================================================
   TEAMMATE PLACEHOLDER COMPONENT
   ========================================================================== */
.placeholder-container {
  padding-top: 30px;
}

.placeholder-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 14px;
}

.placeholder-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.placeholder-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #083c58;
  color: var(--green, #16d9ff);
  font-size: 22px;
  box-shadow: 0 0 16px #16d9ff44;
}

.placeholder-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #092e44;
  color: var(--green, #16d9ff);
  border: 1px solid #16d9ff33;
}

.placeholder-title {
  margin: 0 0 8px 0;
  font: 700 26px "Space Grotesk", sans-serif;
  color: #e6fbff;
}

.placeholder-subtitle {
  margin: 0 0 20px 0;
  font-size: 13px;
  color: #7da3b8;
}

.placeholder-info-box {
  background: #041422;
  border: 1px solid #13465e;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 24px;
}

.placeholder-desc {
  font-size: 12px;
  line-height: 1.5;
  color: #8bb5c5;
  margin: 0 0 14px 0;
}

.placeholder-code-tip small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: var(--green, #16d9ff);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.placeholder-code-tip code {
  display: block;
  background: #020b13;
  border: 1px solid #103b4f;
  padding: 12px;
  border-radius: 6px;
  font-family: "Consolas", monospace;
  font-size: 11px;
  color: #a9ecff;
  overflow-x: auto;
  white-space: pre;
}

.placeholder-actions {
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 1050px) {
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reporting-form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
  .impact-metrics-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .location-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .success-actions,
  .duplicate-decision-actions {
    flex-direction: column;
  }
}
