:root {
  --icens-bg: #0a1224; /* deep navy background */
  --icens-primary: #0b3a7a; /* deep blue */
  --icens-accent: #1e90ff; /* electric blue */
  --icens-card: #0f1b2d; /* dark surface */
  --icens-text: #e5e7eb; /* light text */
  --icens-muted: #a5b4cf; /* muted */
  --icens-border: rgba(255, 255, 255, 0.08);
}
body {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--icens-bg);
  color: var(--icens-text);
}
.navbar {
  background: linear-gradient(180deg, #081127 0%, #0b1a3a 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}
.navbar a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
}
.container {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px;
}
/* Wider layout on large screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
.card {
  background: var(--icens-card);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--icens-border);
  padding: 24px;
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  background: linear-gradient(180deg, #0f3a75 0%, #0b2e59 100%);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease;
}
.btn:hover {
  filter: brightness(1.03);
}
.btn:active {
  transform: translateY(1px);
}
.btn.secondary {
  background: #0b2e59;
}
.btn-primary {
  background: linear-gradient(180deg, #0f3a75 0%, #0b2e59 100%) !important;
  border-color: #0b2e59 !important;
}
.btn-primary:hover {
  filter: brightness(1.03);
}
.btn-outline-primary {
  color: #0b2e59 !important;
  border-color: #0b2e59 !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  color: #fff !important;
  background: #0b2e59 !important;
}
.btn-secondary {
  background: #0b2e59 !important;
  border-color: #0b2e59 !important;
}
.btn-secondary:hover {
  filter: brightness(1.03);
}

/* Emphasize danger button for report CTA */
.btn-danger {
  background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%) !important;
  border-color: #b91c1c !important;
}
.btn-danger:hover {
  filter: brightness(1.03);
}
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--icens-border);
  text-align: left;
}
th {
  background: #0f244a;
  color: var(--icens-text);
}
.form-group {
  margin-bottom: 14px;
}
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
}
textarea {
  min-height: 110px;
}
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #0e1a33 0%, #0a2b64 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.hero p {
  color: var(--icens-muted);
}
/* Section header */
.section-title {
  margin: 0 0 8px 0;
  font-weight: 700;
}
.section-subtitle {
  margin: 0 0 16px 0;
  color: var(--icens-muted);
}
.icens-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1055;
  padding: 20px;
}
.icens-modal {
  background: var(--icens-card);
  border-radius: 8px;
  max-width: 640px;
  width: 90%;
  padding: 20px;
  border: 1px solid var(--icens-border);
  color: var(--icens-text);
  max-height: 85vh;
  overflow: auto;
}
.icens-modal.show + .icens-modal-backdrop,
.icens-modal-backdrop.show {
  display: flex;
}
.modal-open {
  overflow: hidden;
}
.note {
  color: var(--icens-muted);
  font-size: 0.9em;
}

/* Footer */
.site-footer {
  margin-top: 32px;
  padding: 24px 0;
  color: #e5e7eb;
  background: linear-gradient(180deg, #0b1a3a 0%, #081127 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer a {
  color: #c7d2fe;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .container {
    margin: 16px auto;
    padding: 0 12px;
  }
  .card {
    padding: 16px;
  }
  .navbar {
    padding: 10px 14px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Responsive stat cards */
.icens-stat .label {
  font-size: 12px;
}
.icens-stat .value {
  font-size: 24px;
}
.icens-stat .icon {
  font-size: 28px;
}
@media (max-width: 576px) {
  .icens-stat .value {
    font-size: 20px;
  }
  .icens-stat .icon {
    font-size: 24px;
  }
}
