/**
 * WhoCalled — Threat Reporting & Analytics Engine Layout Dashboard
 * Architecture Class: Premium Glassmorphism (Greece HQ Directive)
 */

.report-page {
  padding: 40px 0;
}

/* Privacy Alert Strip Element */
.privacy-banner {
  padding: 16px 20px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--ok);
  background: rgba(52, 238, 170, 0.04);
  border: 1px solid rgba(52, 238, 170, 0.15);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Glassmorphism Input Frame Hero Box */
.report-hero {
  background: linear-gradient(180deg, rgba(133, 102, 255, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid var(--border);
  padding: 64px 40px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  position: relative;
}

.report-hero h2 {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.report-hero p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Integrated Glass Input Layout Block */
.quick-report-form {
  display: flex;
  max-width: 620px;
  margin: 0 auto;
  gap: 12px;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.quick-report-form input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 15px;
  color: #ffffff;
  font-family: inherit;
}

.quick-report-form input::placeholder {
  color: var(--muted2);
}

/* High-Impact Danger Action Vector */
.btn-report {
  background: linear-gradient(180deg, #ff6060 0%, var(--danger) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 77, 77, 0.3);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  border-radius: calc(var(--radius-sm) - 4px);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}

.btn-report:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.25);
  transform: translateY(-1px);
}

/* System Response Validation Alerts */
.alert {
  max-width: 620px;
  margin: 0 auto 24px auto;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.alert-success {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* Live Analytics Monitoring Grid */
.charts-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.chart-container-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.001) 100%);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition: all 0.3s var(--ease);
}

.chart-container-box:hover {
  border-color: rgba(133, 102, 255, 0.15);
  transform: translateY(-2px);
}

.chart-container-box h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 24px;
  text-align: center;
}

/* Threat Index Ranking Table Block */
.table-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.005) 0%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.table-section h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 6px;
}

.table-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 32px;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.spam-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.spam-table th {
  background: rgba(255, 255, 255, 0.01);
  padding: 16px 24px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.spam-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 14.5px;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}

.spam-table tbody tr:last-child td {
  border-bottom: none;
}

.spam-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.01);
  color: #ffffff;
}

.phone-num-td {
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.report-badge-count {
  background: rgba(239, 68, 68, 0.06);
  color: #ff6060;
  border: 1px solid rgba(239, 68, 68, 0.15);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

/* Glass Interactive Row View Navigation Link */
.btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s var(--ease);
}

.btn-view:hover {
  background: rgba(133, 102, 255, 0.08);
  border-color: rgba(133, 102, 255, 0.25);
  color: #a38fff;
  transform: translateY(-1px);
}

.no-data {
  text-align: center;
  color: var(--muted2);
  font-style: italic;
  padding: 48px 0;
  font-size: 14px;
}

/* Responsive Adaptive View Engine Viewports */
@media (max-width: 1200px) {
  .charts-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .report-hero {
    padding: 48px 24px;
  }
  .report-hero h2 {
    font-size: 32px;
  }
  .table-section {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .charts-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .quick-report-form {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
  }
  .quick-report-form input {
    padding: 8px 4px;
  }
  .btn-report {
    width: 100%;
    text-align: center;
  }
}