/* ═══════════════════════════════════════════════════════
   BASE
═══════════════════════════════════════════════════════ */
html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 16px; } }

:root {
  --primary:        #0d6efd;
  --primary-dark:   #0b5ed7;
  --primary-deeper: #0a58ca;
  --success:        #198754;
  --danger:         #dc3545;
  --warning:        #ffc107;
  --info:           #0dcaf0;
  --dark:           #212529;
  --gray-100:       #f8f9fa;
  --gray-200:       #e9ecef;
  --gray-600:       #6c757d;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--gray-100);
  color: #333;
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.fade-in       { animation: fadeIn 0.5s ease-in-out; }
.slide-in-left { animation: slideInLeft 0.5s ease-in-out; }
.slide-in-right{ animation: slideInRight 0.5s ease-in-out; }
.pulse         { animation: pulse 2s infinite; }

/* ═══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
.navbar {
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary) !important;
  letter-spacing: -.3px;
}
.nav-link {
  font-weight: 500;
  color: #444 !important;
  padding: .4rem .75rem !important;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.nav-link:hover {
  background: rgba(13,110,253,.07);
  color: var(--primary) !important;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: #1a1f2e;
  margin-top: 0;
}
.site-footer a:hover { color: #fff !important; }

/* ═══════════════════════════════════════════════════════
   CARDS (global)
═══════════════════════════════════════════════════════ */
.card {
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  border-radius: 10px;
  transition: box-shadow .3s, transform .3s;
  margin-bottom: 1.5rem;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transform: translateY(-3px);
}
.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: 10px 10px 0 0 !important;
  font-weight: 600;
  padding: .9rem 1.25rem;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS (global)
═══════════════════════════════════════════════════════ */
.btn {
  border-radius: 7px;
  font-weight: 500;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover  { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-deeper) 100%);
}
.btn-success {
  background: linear-gradient(135deg, var(--success) 0%, #157347 100%);
  border: none;
}

/* ═══════════════════════════════════════════════════════
   FORM CONTROLS (global)
═══════════════════════════════════════════════════════ */
.form-control, .form-select {
  border-radius: 7px;
  border: 1px solid #dee2e6;
  padding: .65rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

/* ═══════════════════════════════════════════════════════
   TABLES (global)
═══════════════════════════════════════════════════════ */
.table {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.table thead th {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: .9rem 1rem;
}
.table tbody tr:hover { background-color: #f5f8ff; }

/* ═══════════════════════════════════════════════════════
   BADGES (global)
═══════════════════════════════════════════════════════ */
.badge {
  border-radius: 20px;
  padding: .4rem .75rem;
  font-weight: 500;
  font-size: .8rem;
}

/* ═══════════════════════════════════════════════════════
   ALERTS (global)
═══════════════════════════════════════════════════════ */
.alert {
  border-radius: 8px;
  border: none;
  animation: slideInLeft .4s ease-in-out;
}
.alert-danger  { background: rgba(220,53,69,.1);  color: #721c24; }
.alert-success { background: rgba(25,135,84,.1);  color: #155724; }
.alert-warning { background: rgba(255,193,7,.1);  color: #856404; }
.alert-info    { background: rgba(13,202,240,.1); color: #0c5460; }

/* ═══════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ═══════════════════════════════════════════════════════
   ██  HOME PAGE  ██
═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.home-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d3b7a 55%, #0d6efd 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.min-vh-hero { min-height: 82vh; }

.home-badge {
  background: rgba(255,255,255,.12);
  color: #a8d4ff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .35rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.home-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.5px;
}

.home-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  line-height: 1.7;
}

.btn-hero-primary {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: .75rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-hero-primary:hover {
  background: #e8f0fe;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 8px;
  padding: .75rem 1.75rem;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.home-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  font-weight: 500;
}
.home-trust-item i {
  color: #60a5fa;
  font-size: 1rem;
}

/* Hero visual */
.home-hero-visual {
  position: relative;
  width: 340px;
  height: 340px;
}
.home-hero-icon-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto 0;
  animation: floatY 4s ease-in-out infinite;
}
.home-hero-icon-ring i {
  font-size: 6rem;
  color: rgba(255,255,255,.9);
}
.home-hero-stat-card {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  font-size: .85rem;
  min-width: 180px;
  animation: fadeIn .8s ease-in-out;
}
.home-hero-stat-card i { font-size: 1.5rem; flex-shrink: 0; }
.home-hero-stat-card.top-right  { top: 10px;  right: 0; }
.home-hero-stat-card.bottom-left{ bottom: 10px; left: 0; }

/* ── Stats Strip ── */
.home-stats-strip {
  background: var(--primary);
  padding: 2.5rem 0;
}
.home-stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.home-stat-item:last-child { border-right: none; }
.home-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.home-stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── Section shared ── */
.home-section { padding: 5rem 0; }
.home-section--gray { background: #f3f6fb; }

.home-section-header { margin-bottom: 1rem; }
.home-section-tag {
  display: inline-block;
  background: rgba(13,110,253,.1);
  color: var(--primary);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: .75rem;
}
.home-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a1f2e;
  letter-spacing: -.3px;
  margin-bottom: .5rem;
}
.home-section-sub {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── How It Works ── */
.home-step-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  position: relative;
  transition: box-shadow .3s, transform .3s;
  border-top: 4px solid transparent;
}
.home-step-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  transform: translateY(-4px);
  border-top-color: var(--primary);
}
.home-step-card--accent {
  border-top-color: var(--primary);
  background: linear-gradient(160deg, #f0f6ff 0%, #fff 60%);
}
.home-step-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(13,110,253,.1);
  line-height: 1;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}
.home-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(13,110,253,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-step-icon i {
  font-size: 1.6rem;
  color: var(--primary);
}

/* ── Crime Type Cards ── */
.home-crime-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem .75rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .3s, transform .3s;
  cursor: default;
}
.home-crime-card:hover {
  box-shadow: 0 6px 20px rgba(13,110,253,.15);
  transform: translateY(-3px);
}
.home-crime-card i {
  font-size: 1.8rem;
  color: var(--primary);
  display: block;
  margin-bottom: .5rem;
}
.home-crime-card span {
  font-size: .85rem;
  font-weight: 600;
  color: #444;
}

/* ── Awareness Cards ── */
.home-awareness-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow .3s, transform .3s;
}
.home-awareness-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.11);
  transform: translateY(-3px);
}
.home-awareness-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-awareness-icon i { font-size: 1.4rem; }
.home-awareness-icon--blue   { background: rgba(13,110,253,.1);  } .home-awareness-icon--blue i   { color: #0d6efd; }
.home-awareness-icon--yellow { background: rgba(255,193,7,.15);  } .home-awareness-icon--yellow i { color: #d4a000; }
.home-awareness-icon--red    { background: rgba(220,53,69,.1);   } .home-awareness-icon--red i    { color: #dc3545; }
.home-awareness-icon--teal   { background: rgba(13,202,240,.12); } .home-awareness-icon--teal i   { color: #0aa2c0; }
.home-awareness-icon--purple { background: rgba(111,66,193,.1);  } .home-awareness-icon--purple i { color: #6f42c1; }
.home-awareness-icon--green  { background: rgba(25,135,84,.1);   } .home-awareness-icon--green i  { color: #198754; }

/* ── CTA Banner ── */
.home-cta {
  background: linear-gradient(135deg, #0a1628 0%, #0d3b7a 100%);
  padding: 4rem 0;
}
.home-cta-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}
.home-cta-sub { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ── Contact Cards ── */
.home-contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .3s, transform .3s;
}
.home-contact-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.11);
  transform: translateY(-3px);
}
.home-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13,110,253,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
}
.home-contact-icon i { font-size: 1.4rem; color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 991px) {
  .home-hero { padding: 3.5rem 0 3rem; }
  .min-vh-hero { min-height: auto; }
  .home-hero-visual { width: 280px; height: 280px; }
  .home-hero-icon-ring { width: 180px; height: 180px; }
  .home-hero-icon-ring i { font-size: 4.5rem; }
  .home-hero-stat-card { display: none; }
}
@media (max-width: 575px) {
  .home-section { padding: 3rem 0; }
  .home-stats-strip { padding: 1.5rem 0; }
  .home-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .home-stat-item:last-child { border-bottom: none; }
}

/* ── Legacy classes kept for other pages ── */
.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.hero-section h1 { font-size: 3rem; font-weight: 700; text-shadow: 2px 2px 4px rgba(0,0,0,.3); }
.hero-section p  { font-size: 1.25rem; opacity: .9; }
.hero-card { max-width: 380px; margin: auto; }
.awareness-icon { font-size: 3rem; display: block; line-height: 1; }
.intro-section, .awareness-section { padding: 3rem 0; }
.contact-section { background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%); padding: 3rem 0; }


/* ═══════════════════════════════════════════════════════
   ██  PRIVACY PAGE  ██
═══════════════════════════════════════════════════════ */

/* Hero */
.privacy-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d3b7a 55%, #0d6efd 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.privacy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.privacy-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.privacy-hero-icon i {
  font-size: 2.2rem;
  color: #fff;
}
.privacy-hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.4px;
  margin-bottom: .75rem;
}
.privacy-hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 1.25rem;
}
.privacy-updated {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  border-radius: 50px;
  padding: .3rem .9rem;
  font-size: .82rem;
  font-weight: 500;
}

/* Body */
.privacy-body {
  padding: 4rem 0 5rem;
  background: #f3f6fb;
}

/* TOC Sidebar */
.privacy-toc {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  position: sticky;
  top: 80px;
}
.privacy-toc-title {
  font-weight: 700;
  color: #1a1f2e;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #e9ecef;
}
.privacy-toc-nav {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.privacy-toc-nav a {
  color: #555;
  text-decoration: none;
  font-size: .875rem;
  padding: .4rem .6rem;
  border-radius: 6px;
  transition: background .2s, color .2s;
  line-height: 1.4;
}
.privacy-toc-nav a:hover {
  background: rgba(13,110,253,.08);
  color: var(--primary);
}

/* Intro notice */
.privacy-notice {
  background: rgba(13,110,253,.07);
  border: 1px solid rgba(13,110,253,.2);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #1a3a6b;
  font-size: .95rem;
  line-height: 1.6;
}
.privacy-notice-icon {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: .1rem;
}

/* Sections */
.privacy-section {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.privacy-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.privacy-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy-section-icon i { font-size: 1.25rem; }
.privacy-icon--blue   { background: rgba(13,110,253,.1);  } .privacy-icon--blue i   { color: #0d6efd; }
.privacy-icon--green  { background: rgba(25,135,84,.1);   } .privacy-icon--green i  { color: #198754; }
.privacy-icon--yellow { background: rgba(255,193,7,.15);  } .privacy-icon--yellow i { color: #c49a00; }
.privacy-icon--red    { background: rgba(220,53,69,.1);   } .privacy-icon--red i    { color: #dc3545; }
.privacy-icon--teal   { background: rgba(13,202,240,.12); } .privacy-icon--teal i   { color: #0aa2c0; }
.privacy-icon--purple { background: rgba(111,66,193,.1);  } .privacy-icon--purple i { color: #6f42c1; }
.privacy-icon--orange { background: rgba(253,126,20,.1);  } .privacy-icon--orange i { color: #fd7e14; }
.privacy-icon--pink   { background: rgba(214,51,132,.1);  } .privacy-icon--pink i   { color: #d63384; }
.privacy-icon--gray   { background: rgba(108,117,125,.1); } .privacy-icon--gray i   { color: #6c757d; }

.privacy-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1f2e;
  margin: 0;
}

/* Item cards (collect / rights) */
.privacy-item-card,
.privacy-right-card {
  background: #f8faff;
  border: 1px solid #e8eef8;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.privacy-item-card:hover,
.privacy-right-card:hover {
  box-shadow: 0 4px 14px rgba(13,110,253,.1);
  transform: translateY(-2px);
}
.privacy-item-card i,
.privacy-right-card i {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* Highlight box */
.privacy-highlight {
  background: rgba(25,135,84,.07);
  border: 1px solid rgba(25,135,84,.2);
  border-radius: 8px;
  padding: .9rem 1.1rem;
  color: #155724;
  font-size: .93rem;
  margin-top: 1rem;
}

/* List */
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  line-height: 1.5;
}
.privacy-list li i { flex-shrink: 0; margin-top: .15rem; }

/* Security cards */
.privacy-security-card {
  background: #f8faff;
  border: 1px solid #e8eef8;
  border-radius: 10px;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: #333;
}
.privacy-security-card i {
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* Cookie table */
.privacy-table {
  font-size: .88rem;
  box-shadow: none;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
}
.privacy-table thead th {
  background: #f0f4ff;
  color: #1a1f2e;
  font-weight: 600;
  border: none;
  padding: .75rem 1rem;
}
.privacy-table tbody td {
  padding: .75rem 1rem;
  border-color: #f0f0f0;
  vertical-align: middle;
}
.privacy-table code {
  background: #f0f4ff;
  color: var(--primary);
  padding: .15rem .4rem;
  border-radius: 4px;
  font-size: .82rem;
}

@media (max-width: 767px) {
  .privacy-section { padding: 1.5rem 1.25rem; }
  .privacy-body { padding: 2.5rem 0 3rem; }
}


/* ═══════════════════════════════════════════════════════
   ██  TRACK STATUS PAGE  ██
═══════════════════════════════════════════════════════ */

.track-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d3b7a 55%, #0d6efd 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.track-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.track-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.track-hero-icon i { font-size: 2.2rem; color: #fff; }
.track-hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.4px;
  margin-bottom: .75rem;
}
.track-hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* Search box */
.track-search-form { position: relative; z-index: 1; }
.track-search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  overflow: hidden;
  padding: .35rem .35rem .35rem 1rem;
}
.track-search-prefix {
  font-size: 1.2rem;
  color: #aaa;
  flex-shrink: 0;
  margin-right: .5rem;
}
.track-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: #333;
  background: transparent;
  padding: .6rem 0;
  min-width: 0;
}
.track-search-input::placeholder { color: #bbb; }
/* hide number spinners */
.track-search-input::-webkit-outer-spin-button,
.track-search-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.track-search-input[type=number] { -moz-appearance: textfield; }

.track-search-btn {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: .7rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.track-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13,110,253,.4);
}

.track-not-found {
  background: rgba(220,53,69,.12);
  border: 1px solid rgba(220,53,69,.3);
  color: #842029;
  border-radius: 10px;
  padding: .9rem 1.2rem;
  font-size: .93rem;
  font-weight: 500;
}

/* Help section */
.track-help-section {
  background: #f3f6fb;
  padding: 3.5rem 0;
}
.track-help-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  position: relative;
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}
.track-help-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.track-help-step {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.track-help-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13,110,253,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .5rem auto .75rem;
}
.track-help-icon i { font-size: 1.4rem; color: var(--primary); }

/* Legend section */
.track-legend-section {
  background: #fff;
  padding: 3.5rem 0 4rem;
}
.track-legend-card {
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  height: 100%;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.track-legend-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.track-legend-card i { font-size: 1.6rem; }
.track-legend--info    { background: rgba(13,202,240,.08);  border-color: rgba(13,202,240,.2);  } .track-legend--info i    { color: #0aa2c0; }
.track-legend--warning { background: rgba(255,193,7,.1);    border-color: rgba(255,193,7,.25);  } .track-legend--warning i { color: #c49a00; }
.track-legend--success { background: rgba(25,135,84,.08);   border-color: rgba(25,135,84,.2);   } .track-legend--success i { color: #198754; }
.track-legend--danger  { background: rgba(220,53,69,.08);   border-color: rgba(220,53,69,.2);   } .track-legend--danger i  { color: #dc3545; }

/* ═══════════════════════════════════════════════════════
   ██  COMPLAINT DETAILS PAGE  ██
═══════════════════════════════════════════════════════ */

.details-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d3b7a 55%, #0d6efd 100%);
  padding: 2.5rem 0;
}
.details-back-link {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color .2s;
}
.details-back-link:hover { color: #fff; }
.details-hero-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .4rem;
}
.details-id { color: rgba(255,255,255,.55); }
.details-hero-sub {
  color: rgba(255,255,255,.65);
  font-size: .93rem;
}
.details-sep { margin: 0 .6rem; opacity: .4; }

.details-status-badge {
  display: inline-flex;
  align-items: center;
  padding: .6rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
}
.details-status-badge--success { background: rgba(25,135,84,.2);  color: #6ee7b7; border: 1px solid rgba(25,135,84,.4); }
.details-status-badge--warning { background: rgba(255,193,7,.2);  color: #fde68a; border: 1px solid rgba(255,193,7,.4); }
.details-status-badge--danger  { background: rgba(220,53,69,.2);  color: #fca5a5; border: 1px solid rgba(220,53,69,.4); }
.details-status-badge--info    { background: rgba(13,202,240,.2); color: #a5f3fc; border: 1px solid rgba(13,202,240,.4); }

/* Pipeline */
.details-pipeline-bar {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 1.5rem 0;
}
.details-pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.details-pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  position: relative;
}
.details-pipeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 2px solid #dee2e6;
  background: #f8f9fa;
  color: #aaa;
  transition: all .3s;
}
.details-pipeline-step--done .details-pipeline-dot {
  background: #198754;
  border-color: #198754;
  color: #fff;
}
.details-pipeline-step--active .details-pipeline-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(13,110,253,.2);
}
.details-pipeline-label {
  font-size: .78rem;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.details-pipeline-step--done .details-pipeline-label  { color: #198754; }
.details-pipeline-step--active .details-pipeline-label { color: var(--primary); }

.details-pipeline-line {
  flex: 1;
  height: 3px;
  background: #dee2e6;
  margin: 0 .5rem;
  margin-bottom: 1.4rem;
  max-width: 100px;
  border-radius: 2px;
}
.details-pipeline-line--done { background: #198754; }

/* Rejected bar */
.details-rejected-bar {
  background: rgba(220,53,69,.08);
  border-bottom: 1px solid rgba(220,53,69,.2);
  color: #842029;
  padding: .9rem 0;
  font-size: .93rem;
  font-weight: 500;
}
.details-rejected-bar .container { display: flex; align-items: center; }

/* Body */
.details-body {
  background: #f3f6fb;
  padding: 2.5rem 0 4rem;
}

/* Cards */
.details-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  overflow: hidden;
}
.details-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  background: #fafbff;
}
.details-card-header i { font-size: 1.1rem; color: var(--primary); }
.details-card-header h6 { font-weight: 700; color: #1a1f2e; }
.details-card-body { padding: 1.5rem; }
.details-count-badge {
  background: rgba(13,110,253,.1);
  color: var(--primary);
  border-radius: 50px;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 600;
}

/* Fields */
.details-field {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: .5rem 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid #f5f5f5;
  align-items: start;
}
.details-field:last-child { border-bottom: none; padding-bottom: 0; }
.details-field--full { grid-template-columns: 1fr; }
.details-field-label {
  font-size: .82rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding-top: .1rem;
}
.details-field-value { font-size: .95rem; color: #333; }
.details-description {
  background: #f8faff;
  border: 1px solid #e8eef8;
  border-radius: 8px;
  padding: .9rem 1rem;
  font-size: .93rem;
  color: #444;
  line-height: 1.7;
  white-space: pre-wrap;
  margin-top: .25rem;
}
.details-crime-tag {
  background: rgba(13,110,253,.1);
  color: var(--primary);
  border-radius: 50px;
  padding: .25rem .75rem;
  font-size: .82rem;
  font-weight: 600;
}

/* Evidence */
.details-evidence-grid {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.details-evidence-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #f8faff;
  border: 1px solid #e8eef8;
  border-radius: 10px;
  padding: .75rem 1rem;
  text-decoration: none;
  color: #333;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.details-evidence-item:hover {
  background: #eef3ff;
  box-shadow: 0 3px 12px rgba(13,110,253,.12);
  transform: translateX(3px);
  color: var(--primary);
}
.details-evidence-icon { font-size: 1.5rem; color: var(--primary); flex-shrink: 0; }
.details-evidence-info { flex: 1; min-width: 0; }
.details-evidence-name { display: block; font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.details-evidence-size { font-size: .78rem; color: #888; }
.details-evidence-arrow { font-size: .85rem; color: #aaa; flex-shrink: 0; }

/* Empty state */
.details-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #aaa;
}
.details-empty i { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.details-empty p { font-size: .9rem; margin: 0; }

/* Timeline */
.details-timeline-card .details-card-body { padding: 0; }
.details-timeline { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0; }
.details-timeline-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  position: relative;
}
.details-timeline-item:last-child { padding-bottom: 0; }
.details-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}
.details-timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  border: 2px solid transparent;
}
.details-timeline-dot--success { background: #198754; border-color: rgba(25,135,84,.3); }
.details-timeline-dot--warning { background: #ffc107; border-color: rgba(255,193,7,.3); }
.details-timeline-dot--danger  { background: #dc3545; border-color: rgba(220,53,69,.3); }
.details-timeline-dot--info    { background: #0dcaf0; border-color: rgba(13,202,240,.3); }

.details-timeline-content { flex: 1; min-width: 0; }
.details-tl-badge {
  display: inline-block;
  border-radius: 50px;
  padding: .15rem .6rem;
  font-size: .75rem;
  font-weight: 600;
}
.details-tl-badge--muted   { background: #f0f0f0; color: #666; }
.details-tl-badge--success { background: rgba(25,135,84,.12);  color: #198754; }
.details-tl-badge--warning { background: rgba(255,193,7,.15);  color: #c49a00; }
.details-tl-badge--danger  { background: rgba(220,53,69,.12);  color: #dc3545; }
.details-tl-badge--info    { background: rgba(13,202,240,.12); color: #0aa2c0; }

.details-timeline-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin-top: .35rem;
  font-size: .78rem;
  color: #999;
}

/* Actions card */
.details-actions-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}

@media (max-width: 575px) {
  .details-pipeline-line { max-width: 40px; }
  .details-field { grid-template-columns: 1fr; gap: .2rem; }
  .details-field-label { padding-top: 0; }
  .track-search-btn { padding: .7rem 1rem; font-size: .88rem; }
}


/* ═══════════════════════════════════════════════════════
   ██  DASHBOARD (User + Admin)  ██
═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.dash-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d3b7a 55%, #0d6efd 100%);
  padding: 2.75rem 0 2.25rem;
  position: relative;
  overflow: hidden;
}
.dash-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.dash-hero--admin {
  background: linear-gradient(135deg, #0a1628 0%, #1a0a3b 55%, #4a1d96 100%);
}
.dash-hero-greeting {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  margin-bottom: .3rem;
}
.dash-hero-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  margin-bottom: .35rem;
}
.dash-hero-sub {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

/* ── Body ── */
.dash-body {
  background: #f3f6fb;
  padding: 2rem 0 4rem;
}

/* ── Stat Cards ── */
.dash-stat-card {
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.dash-stat-card::after {
  content: '';
  position: absolute;
  right: -10px;
  top: -10px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  opacity: .12;
}
.dash-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }

.dash-stat--blue   { background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; }
.dash-stat--blue::after   { background: #fff; }
.dash-stat--cyan   { background: linear-gradient(135deg, #0891b2, #06b6d4); color: #fff; }
.dash-stat--cyan::after   { background: #fff; }
.dash-stat--yellow { background: linear-gradient(135deg, #b45309, #d97706); color: #fff; }
.dash-stat--yellow::after { background: #fff; }
.dash-stat--green  { background: linear-gradient(135deg, #15803d, #16a34a); color: #fff; }
.dash-stat--green::after  { background: #fff; }

.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-stat-icon i { font-size: 1.4rem; color: #fff; }
.dash-stat-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.dash-stat-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255,255,255,.75);
  margin-top: .2rem;
}

/* ── Dash Cards ── */
.dash-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  overflow: hidden;
}
.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  background: #fafbff;
}
.dash-card-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  color: #1a1f2e;
  font-size: .95rem;
}
.dash-card-title i { color: var(--primary); font-size: 1rem; }
.dash-card-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity .2s;
}
.dash-card-link:hover { opacity: .75; }
.dash-card-body { padding: 1.25rem 1.5rem; }

/* ── Table ── */
.dash-table {
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}
.dash-table thead th {
  background: #f5f7ff;
  color: #555;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: .75rem 1rem;
  border: none;
}
.dash-table tbody td {
  padding: .85rem 1rem;
  vertical-align: middle;
  border-color: #f5f5f5;
  font-size: .88rem;
}
.dash-table tbody tr:hover { background: #f8faff; }
.dash-table tbody tr:last-child td { border-bottom: none; }

.dash-id-badge {
  background: #f0f4ff;
  color: var(--primary);
  border-radius: 6px;
  padding: .2rem .55rem;
  font-size: .78rem;
  font-weight: 700;
  font-family: monospace;
}
.dash-subject {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
  font-weight: 500;
}
.dash-type-tag {
  background: rgba(13,110,253,.08);
  color: var(--primary);
  border-radius: 50px;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.dash-date { color: #999; font-size: .8rem; white-space: nowrap; }

.dash-status-pill {
  display: inline-block;
  border-radius: 50px;
  padding: .25rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.dash-status-pill--success { background: rgba(25,135,84,.12);  color: #198754; }
.dash-status-pill--warning { background: rgba(255,193,7,.15);  color: #b45309; }
.dash-status-pill--danger  { background: rgba(220,53,69,.12);  color: #dc3545; }
.dash-status-pill--info    { background: rgba(13,202,240,.12); color: #0891b2; }

/* ── Empty State ── */
.dash-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}
.dash-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.dash-empty-icon i { font-size: 1.8rem; color: var(--primary); }

/* ── Resolution Ring ── */
.dash-resolution-ring-wrap { display: flex; justify-content: center; }
.dash-resolution-ring {
  position: relative;
  width: 130px;
  height: 130px;
}
.dash-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.dash-ring-bg {
  fill: none;
  stroke: #e9ecef;
  stroke-width: 3.5;
}
.dash-ring-fill {
  fill: none;
  stroke: #16a34a;
  stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray .8s ease;
}
.dash-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dash-ring-pct {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1f2e;
  line-height: 1;
}
.dash-ring-sub {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #999;
  margin-top: .2rem;
}

/* ── Legend ── */
.dash-resolution-legend { display: flex; flex-direction: column; gap: .5rem; }
.dash-legend-item {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.dash-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-legend-dot--blue   { background: #2563eb; }
.dash-legend-dot--cyan   { background: #06b6d4; }
.dash-legend-dot--yellow { background: #d97706; }
.dash-legend-dot--green  { background: #16a34a; }
.dash-legend-dot--red    { background: #dc3545; }

/* ── Quick Action Buttons ── */
.dash-action-btn {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: #f8faff;
  border: 1px solid #e8eef8;
  border-radius: 10px;
  padding: .85rem 1rem;
  text-decoration: none;
  color: #333;
  transition: background .2s, box-shadow .2s, transform .2s;
}
.dash-action-btn:hover {
  background: #eef3ff;
  box-shadow: 0 3px 12px rgba(13,110,253,.1);
  transform: translateX(3px);
  color: #333;
}
.dash-action-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-action-icon i { font-size: 1.1rem; }
.dash-action-icon--blue   { background: rgba(13,110,253,.12); } .dash-action-icon--blue i   { color: #2563eb; }
.dash-action-icon--purple { background: rgba(111,66,193,.12); } .dash-action-icon--purple i { color: #6f42c1; }
.dash-action-icon--teal   { background: rgba(13,202,240,.12); } .dash-action-icon--teal i   { color: #0891b2; }

/* ── Progress Bars (Admin) ── */
.dash-progress-track {
  height: 8px;
  background: #f0f0f0;
  border-radius: 50px;
  overflow: hidden;
}
.dash-progress-fill {
  height: 100%;
  border-radius: 50px;
  transition: width .8s ease;
  min-width: 4px;
}
.dash-progress-fill--cyan   { background: linear-gradient(90deg, #0891b2, #06b6d4); }
.dash-progress-fill--yellow { background: linear-gradient(90deg, #b45309, #d97706); }
.dash-progress-fill--green  { background: linear-gradient(90deg, #15803d, #16a34a); }
.dash-progress-fill--red    { background: linear-gradient(90deg, #b91c1c, #dc2626); }

/* ── Management Cards (Admin) ── */
.dash-mgmt-card {
  display: block;
  background: #f8faff;
  border: 1px solid #e8eef8;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  position: relative;
  transition: background .2s, box-shadow .2s, transform .2s;
  height: 100%;
}
.dash-mgmt-card:hover {
  background: #eef3ff;
  box-shadow: 0 4px 16px rgba(13,110,253,.12);
  transform: translateY(-3px);
  color: #333;
}
.dash-mgmt-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.dash-mgmt-icon i { font-size: 1.4rem; }
.dash-mgmt-icon--blue   { background: rgba(13,110,253,.12); } .dash-mgmt-icon--blue i   { color: #2563eb; }
.dash-mgmt-icon--purple { background: rgba(111,66,193,.12); } .dash-mgmt-icon--purple i { color: #6f42c1; }
.dash-mgmt-icon--teal   { background: rgba(13,202,240,.12); } .dash-mgmt-icon--teal i   { color: #0891b2; }
.dash-mgmt-count {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  padding: .1rem .5rem;
  font-size: .72rem;
  font-weight: 700;
}

@media (max-width: 575px) {
  .dash-stat-card { padding: 1rem; }
  .dash-stat-number { font-size: 1.6rem; }
  .dash-card-body { padding: 1rem; }
  .dash-table thead th, .dash-table tbody td { padding: .65rem .75rem; }
}


/* ═══════════════════════════════════════════════════════
   ██  REPORTS PAGE  ██
═══════════════════════════════════════════════════════ */

/* Hero — reuses dash-hero with admin purple gradient */
.rpt-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a0a3b 55%, #4a1d96 100%);
  padding: 2.75rem 0 2.25rem;
  position: relative;
  overflow: hidden;
}
.rpt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Secondary metric cards */
.rpt-meta-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  transition: transform .25s, box-shadow .25s;
}
.rpt-meta-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.rpt-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .25rem;
}
.rpt-meta-icon i { font-size: 1.2rem; }
.rpt-meta-icon--blue  { background: rgba(37,99,235,.12);  } .rpt-meta-icon--blue i  { color: #2563eb; }
.rpt-meta-icon--teal  { background: rgba(6,182,212,.12);  } .rpt-meta-icon--teal i  { color: #0891b2; }
.rpt-meta-icon--red   { background: rgba(220,38,38,.1);   } .rpt-meta-icon--red i   { color: #dc2626; }
.rpt-meta-icon--green { background: rgba(22,163,74,.1);   } .rpt-meta-icon--green i { color: #16a34a; }

.rpt-meta-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1f2e;
  line-height: 1;
}
.rpt-meta-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #9ca3af;
}

/* Chart containers */
.rpt-chart-wrap     { width: 100%; max-width: 280px; margin: 0 auto; }
.rpt-chart-wrap-bar { position: relative; height: 260px; }
.rpt-chart-wrap-line{ position: relative; height: 220px; }

/* Rank badges */
.rpt-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
}
.rpt-rank--gold    { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.rpt-rank--silver  { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.rpt-rank--bronze  { background: #fef0e6; color: #9a3412; border: 1px solid #fdba74; }
.rpt-rank--default { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

/* Export bar */
.rpt-export-bar {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border-left: 4px solid var(--primary);
}

@media (max-width: 575px) {
  .rpt-chart-wrap-bar  { height: 200px; }
  .rpt-chart-wrap-line { height: 160px; }
  .rpt-meta-card { padding: 1rem; }
  .rpt-meta-value { font-size: 1.5rem; }
}


/* ═══════════════════════════════════════════════════════
   ██  MANAGE COMPLAINTS  ██
═══════════════════════════════════════════════════════ */

/* ── Mini stats strip ── */
.mc-stats-strip {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}
.mc-stat {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.5rem;
  border-right: 1px solid #f0f0f0;
}
.mc-stat:last-child { border-right: none; }
.mc-stat i { font-size: 1.5rem; flex-shrink: 0; }
.mc-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.mc-stat-lbl {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: .15rem;
}
.mc-stat--cyan   { } .mc-stat--cyan i   { color: #0891b2; } .mc-stat--cyan .mc-stat-num   { color: #0891b2; } .mc-stat--cyan .mc-stat-lbl   { color: #9ca3af; }
.mc-stat--yellow { } .mc-stat--yellow i { color: #d97706; } .mc-stat--yellow .mc-stat-num { color: #d97706; } .mc-stat--yellow .mc-stat-lbl { color: #9ca3af; }
.mc-stat--green  { } .mc-stat--green i  { color: #16a34a; } .mc-stat--green .mc-stat-num  { color: #16a34a; } .mc-stat--green .mc-stat-lbl  { color: #9ca3af; }
.mc-stat--red    { } .mc-stat--red i    { color: #dc2626; } .mc-stat--red .mc-stat-num    { color: #dc2626; } .mc-stat--red .mc-stat-lbl    { color: #9ca3af; }

/* ── Filter bar ── */
.mc-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.mc-filter-search {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.mc-filter-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: .95rem;
  pointer-events: none;
}
.mc-filter-input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: .6rem .9rem .6rem 2.4rem;
  font-size: .9rem;
  background: #fff;
  color: #333;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.mc-filter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,.1);
}
.mc-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.mc-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: .35rem .85rem;
  font-size: .8rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.mc-pill:hover { background: #f0f4ff; border-color: var(--primary); color: var(--primary); }
.mc-pill--active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mc-pill--active:hover { background: var(--primary-dark); }
.mc-pill-count {
  background: rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .05rem .45rem;
  font-size: .72rem;
}
.mc-pill--active .mc-pill-count { background: rgba(255,255,255,.3); }

/* ── Complaint Cards ── */
.mc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  margin-bottom: .75rem;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: box-shadow .2s;
}
.mc-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }

.mc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.mc-id {
  font-family: monospace;
  font-size: .82rem;
  font-weight: 700;
  background: #f0f4ff;
  color: var(--primary);
  border-radius: 6px;
  padding: .25rem .6rem;
  flex-shrink: 0;
}
.mc-card-title-group {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  min-width: 0;
}
.mc-subject {
  font-weight: 600;
  font-size: .95rem;
  color: #1a1f2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}
.mc-type-tag {
  background: rgba(13,110,253,.08);
  color: var(--primary);
  border-radius: 50px;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Status badge */
.mc-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  padding: .3rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.mc-status-badge--success { background: rgba(22,163,74,.1);  color: #16a34a; border: 1px solid rgba(22,163,74,.2); }
.mc-status-badge--warning { background: rgba(217,119,6,.1);  color: #d97706; border: 1px solid rgba(217,119,6,.2); }
.mc-status-badge--danger  { background: rgba(220,38,38,.1);  color: #dc2626; border: 1px solid rgba(220,38,38,.2); }
.mc-status-badge--info    { background: rgba(8,145,178,.1);  color: #0891b2; border: 1px solid rgba(8,145,178,.2); }

/* Expand button */
.mc-expand-btn {
  display: inline-flex;
  align-items: center;
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: .35rem .75rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.mc-expand-btn:hover {
  background: #eef3ff;
  box-shadow: 0 2px 8px rgba(13,110,253,.15);
}

/* Card meta row */
.mc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  padding: 0 1.25rem .85rem;
  font-size: .8rem;
  color: #9ca3af;
}
.mc-card-meta i { font-size: .8rem; }
.mc-assigned {
  color: #16a34a;
  font-weight: 600;
}
.mc-unassigned {
  color: #d97706;
  font-weight: 500;
}
.mc-evidence-tag {
  background: rgba(13,110,253,.07);
  color: var(--primary);
  border-radius: 50px;
  padding: .1rem .55rem;
  font-weight: 600;
}

/* Update form panel */
.mc-update-form {
  background: #f8faff;
  border-top: 1px solid #e8eef8;
  padding: 1.1rem 1.25rem;
}
.mc-form-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #6b7280;
  margin-bottom: .35rem;
}

@media (max-width: 575px) {
  .mc-stat { padding: .75rem 1rem; }
  .mc-stat-num { font-size: 1.2rem; }
  .mc-card-header { padding: .85rem 1rem; }
  .mc-subject { max-width: 160px; }
  .mc-filter-bar { flex-direction: column; align-items: stretch; }
  .mc-filter-search { min-width: unset; }
}


/* ═══════════════════════════════════════════════════════
   ██  OFFICERS PAGE  ██
═══════════════════════════════════════════════════════ */

.officer-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border: 1px solid #f0f0f0;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  transition: box-shadow .25s, transform .25s;
}
.officer-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.11);
  transform: translateY(-2px);
}

/* Avatar */
.officer-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.officer-card-avatar--lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 1.1rem;
}

.officer-card-info { flex: 1; min-width: 0; }
.officer-card-name {
  font-weight: 700;
  font-size: .97rem;
  color: #1a1f2e;
  margin-bottom: .35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.officer-card-meta {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-size: .78rem;
  color: #9ca3af;
}
.officer-card-meta i { font-size: .75rem; }

/* Password row */
.officer-card-pwd {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: #6b7280;
}
.officer-pwd-mask {
  font-family: monospace;
  font-size: .8rem;
  letter-spacing: 1px;
}
.officer-pwd-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #9ca3af;
  font-size: .8rem;
  line-height: 1;
  transition: color .2s;
}
.officer-pwd-toggle:hover { color: var(--primary); }

/* ID badge top-right */
.officer-card-id {
  position: absolute;
  top: .85rem;
  right: .85rem;
  font-family: monospace;
  font-size: .72rem;
  font-weight: 700;
  background: #f0f4ff;
  color: var(--primary);
  border-radius: 6px;
  padding: .15rem .45rem;
}

/* Action buttons */
.officer-card-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: auto;
  flex-shrink: 0;
}
.officer-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.officer-action-btn:hover { transform: scale(1.1); }
.officer-action-btn--edit  { background: rgba(13,110,253,.1);  color: #2563eb; }
.officer-action-btn--edit:hover  { background: rgba(13,110,253,.2); color: #2563eb; }
.officer-action-btn--delete{ background: rgba(220,38,38,.1);   color: #dc2626; }
.officer-action-btn--delete:hover{ background: rgba(220,38,38,.2); color: #dc2626; }

/* Password input with eye toggle */
.officer-pwd-field {
  position: relative;
}
.officer-pwd-field .form-control {
  padding-right: 2.75rem;
}
.officer-pwd-eye {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1;
  transition: color .2s;
}
.officer-pwd-eye:hover { color: var(--primary); }

/* ═══════════════════════════════════════════════════════
   ██  MANAGE USERS PAGE  ██
═══════════════════════════════════════════════════════ */

.user-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.user-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.11);
  transform: translateY(-2px);
}

.user-card-top {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1.1rem 1.25rem .85rem;
  flex-wrap: wrap;
}

/* Avatar */
.user-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-size: .85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
}
.user-card-avatar--admin { background: linear-gradient(135deg, #dc2626, #9f1239); }
.user-card-avatar--user  { background: linear-gradient(135deg, #2563eb, #4f46e5); }

.user-card-info { flex: 1; min-width: 0; }
.user-card-email {
  font-weight: 600;
  font-size: .9rem;
  color: #1a1f2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-card-id {
  font-size: .72rem;
  color: #9ca3af;
  font-family: monospace;
  margin-top: .15rem;
}

.user-card-roles {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-left: auto;
  flex-shrink: 0;
}
.user-role-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  padding: .2rem .65rem;
  font-size: .72rem;
  font-weight: 700;
}
.user-role-badge--admin { background: rgba(220,38,38,.1);  color: #dc2626; border: 1px solid rgba(220,38,38,.2); }
.user-role-badge--user  { background: rgba(37,99,235,.1);  color: #2563eb; border: 1px solid rgba(37,99,235,.2); }

/* Action row */
.user-card-actions {
  display: flex;
  gap: 0;
  border-top: 1px solid #f0f0f0;
}
.user-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem .5rem;
  font-size: .78rem;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.user-action-btn + .user-action-btn { border-left: 1px solid #f0f0f0; }
.user-action-btn--lock { color: #d97706; }
.user-action-btn--lock:hover { background: rgba(217,119,6,.07); }
.user-action-btn--role { color: #6b7280; }
.user-action-btn--role:hover { background: rgba(107,114,128,.07); }

@media (max-width: 575px) {
  .officer-card { flex-wrap: wrap; }
  .officer-card-actions { flex-direction: row; margin-top: .5rem; }
  .user-card-top { flex-wrap: wrap; }
  .user-card-roles { margin-left: 0; margin-top: .35rem; }
}


/* ═══════════════════════════════════════════════════════
   ██  SAFETY CHECKER PAGE  ██
═══════════════════════════════════════════════════════ */

/* Hero */
.sc-hero {
  background: linear-gradient(135deg, #0a1628 0%, #064e3b 55%, #059669 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.sc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.sc-hero-icon {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.sc-hero-icon i { font-size: 2.2rem; color: #fff; }
.sc-hero-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff;
  letter-spacing: -.4px; margin-bottom: .75rem;
}
.sc-hero-sub {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem; line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* Body */
.sc-body { background: #f3f6fb; padding: 3rem 0 5rem; }

/* Tab bar */
.sc-tab-bar {
  display: flex; gap: .5rem;
  background: #fff;
  border-radius: 12px;
  padding: .4rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  width: fit-content;
}
.sc-tab {
  display: flex; align-items: center;
  background: none; border: none;
  border-radius: 9px;
  padding: .6rem 1.25rem;
  font-size: .9rem; font-weight: 600;
  color: #6b7280; cursor: pointer;
  transition: background .2s, color .2s;
}
.sc-tab:hover { background: #f0f4ff; color: var(--primary); }
.sc-tab--active { background: var(--primary); color: #fff; }
.sc-tab--active:hover { background: var(--primary-dark); color: #fff; }

/* URL input card */
.sc-input-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.sc-input-label {
  display: block;
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: #6b7280; margin-bottom: .75rem;
}
.sc-url-box {
  display: flex; align-items: center;
  background: #f8faff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: .35rem .35rem .35rem 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.sc-url-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,110,253,.1);
}
.sc-url-prefix { font-size: 1.1rem; color: #aaa; flex-shrink: 0; margin-right: .6rem; }
.sc-url-input {
  flex: 1; border: none; outline: none;
  background: transparent;
  font-size: .95rem; color: #333;
  padding: .55rem 0; min-width: 0;
  font-family: monospace;
}
.sc-url-input::placeholder { color: #bbb; font-family: 'Segoe UI', sans-serif; }
.sc-check-btn {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff; border: none;
  border-radius: 8px;
  padding: .65rem 1.25rem;
  font-weight: 600; font-size: .88rem;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.sc-check-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(5,150,105,.35); }

/* Example pills */
.sc-examples { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.sc-examples-label { font-size: .75rem; color: #9ca3af; font-weight: 600; }
.sc-example-pill {
  background: #f0f4ff; border: 1px solid #e2e8f0;
  border-radius: 50px; padding: .2rem .7rem;
  font-size: .75rem; font-weight: 600; color: var(--primary);
  cursor: pointer; transition: background .2s;
}
.sc-example-pill:hover { background: #dbeafe; }

/* Verdict banner */
.sc-verdict {
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.sc-verdict--safe     { background: rgba(5,150,105,.1);  border: 1px solid rgba(5,150,105,.25); }
.sc-verdict--warn     { background: rgba(217,119,6,.1);  border: 1px solid rgba(217,119,6,.25); }
.sc-verdict--danger   { background: rgba(220,38,38,.1);  border: 1px solid rgba(220,38,38,.25); }
.sc-verdict--critical { background: rgba(127,29,29,.15); border: 1px solid rgba(220,38,38,.4); }

.sc-verdict-icon { font-size: 2rem; flex-shrink: 0; }
.sc-verdict--safe .sc-verdict-icon     { color: #059669; }
.sc-verdict--warn .sc-verdict-icon     { color: #d97706; }
.sc-verdict--danger .sc-verdict-icon   { color: #dc2626; }
.sc-verdict--critical .sc-verdict-icon { color: #dc2626; }

.sc-verdict-title { font-weight: 800; font-size: 1.1rem; color: #1a1f2e; }
.sc-verdict-msg   { font-size: .88rem; color: #555; margin-top: .2rem; }
.sc-verdict-score {
  margin-left: auto; font-size: .82rem; color: #6b7280;
  background: rgba(0,0,0,.06); border-radius: 50px;
  padding: .3rem .85rem; white-space: nowrap;
}

/* Checks grid */
.sc-checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: .6rem;
}
.sc-check-item {
  background: #fff;
  border-radius: 10px;
  padding: .85rem 1rem;
  display: flex; align-items: flex-start; gap: .75rem;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.sc-check-item--success { border-left: 3px solid #059669; }
.sc-check-item--warning { border-left: 3px solid #d97706; }
.sc-check-item--danger  { border-left: 3px solid #dc2626; }

.sc-check-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.sc-check-item--success .sc-check-icon { color: #059669; }
.sc-check-item--warning .sc-check-icon { color: #d97706; }
.sc-check-item--danger  .sc-check-icon { color: #dc2626; }

.sc-check-label  { font-weight: 700; font-size: .85rem; color: #1a1f2e; }
.sc-check-detail { font-size: .78rem; color: #6b7280; margin-top: .15rem; line-height: 1.5; }

/* Detail card */
.sc-detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
.sc-detail-grid { display: flex; flex-direction: column; gap: .5rem; }
.sc-detail-row {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .4rem 0; border-bottom: 1px solid #f5f5f5;
  font-size: .85rem;
}
.sc-detail-row:last-child { border-bottom: none; }
.sc-detail-key {
  font-weight: 700; color: #9ca3af;
  text-transform: uppercase; font-size: .72rem;
  letter-spacing: .4px; flex-shrink: 0; min-width: 100px;
}
.sc-detail-row code {
  background: #f0f4ff; color: var(--primary);
  padding: .15rem .45rem; border-radius: 5px;
  font-size: .8rem; word-break: break-all;
}
.sc-detail-break { word-break: break-all; }

/* Dropzone */
.sc-dropzone {
  background: #fff;
  border: 2px dashed #d1d5db;
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.sc-dropzone:hover, .sc-dropzone--over {
  border-color: #059669;
  background: rgba(5,150,105,.04);
}
.sc-dropzone-icon { font-size: 3rem; color: #d1d5db; margin-bottom: .75rem; }
.sc-dropzone--over .sc-dropzone-icon { color: #059669; }
.sc-dropzone-title { font-weight: 700; font-size: 1.1rem; color: #374151; }
.sc-dropzone-sub   { color: #9ca3af; font-size: .88rem; margin-top: .25rem; }
.sc-dropzone-hint  { font-size: .75rem; color: #9ca3af; }
.sc-file-input     { display: none; }
.sc-browse-btn {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff; border: none; border-radius: 8px;
  padding: .6rem 1.5rem; font-weight: 600; font-size: .9rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.sc-browse-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(5,150,105,.3); }

/* Info card */
.sc-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  border-top: 3px solid #059669;
}
.sc-info-item {
  display: flex; align-items: flex-start; gap: .85rem;
}
.sc-info-item i { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.sc-info-item p { line-height: 1.5; }

@media (max-width: 575px) {
  .sc-checks-grid { grid-template-columns: 1fr; }
  .sc-url-box { flex-wrap: wrap; gap: .5rem; }
  .sc-check-btn { width: 100%; justify-content: center; }
  .sc-verdict { flex-direction: column; }
  .sc-verdict-score { margin-left: 0; }
}
