* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}
body {
  background: #eef1f8;
  color: #1a1a1a;
}

/* Password gate */
.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0056d2, #003d99);
}
.gate-box {
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  text-align: center;
  width: 100%;
  max-width: 360px;
}
.gate-box h2 {
  color: #0056d2;
  margin-bottom: 8px;
}
.gate-sub {
  color: #778;
  font-size: 0.82rem;
  margin-bottom: 22px;
}
.gate-box input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d5dae3;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.gate-box input:focus {
  outline: none;
  border-color: #0056d2;
}
.gate-box button {
  width: 100%;
  background: #0056d2;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.gate-box button:hover {
  background: #003d99;
}
.gate-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 10px;
  min-height: 1em;
}

/* Admin content */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.logo {
  font-weight: 700;
  color: #0056d2;
  font-size: 1.05rem;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-menu-wrap {
  position: relative;
}
.nav-menu-btn {
  background: #eef1f8;
  border: 1px solid #d5dae3;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  cursor: pointer;
}
.nav-menu-btn:hover {
  background: #e2e6ee;
}
.nav-menu-dropdown {
  position: absolute;
  right: 0;
  top: 44px;
  width: 210px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 50;
  padding: 8px 0;
}
.nav-menu-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}
.nav-menu-dropdown a:hover {
  background: #f4f6fa;
  color: #0056d2;
}
.logout-btn {
  background: #eef1f8;
  border: 1px solid #d5dae3;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #444;
}
.logout-btn:hover {
  background: #e2e6ee;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}
.page-header h1 {
  font-size: 1.5rem;
}
.report-title {
  font-size: 1.15rem;
  color: #0056d2;
  margin-top: 34px;
  margin-bottom: 4px;
}
.subtext {
  color: #667;
  margin-top: 6px;
  font-size: 0.9rem;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 26px 0;
}
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-left: 4px solid #0056d2;
}
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0056d2;
}
.stat-label {
  display: block;
  font-size: 0.82rem;
  color: #667;
  margin-top: 4px;
}

/* Table */
.table-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  overflow-x: auto;
  padding: 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
thead th {
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #778;
  padding: 14px 16px;
  border-bottom: 2px solid #eef1f8;
}
tbody td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid #eef1f8;
}
tbody tr:hover {
  background: #f8fafd;
}

.status-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.status-tag.verified {
  background: #e6f4ea;
  color: #1e7e34;
}
.status-tag.pending {
  background: #fff6e0;
  color: #a3760a;
}

.toggle-btn {
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
}
.toggle-btn.approve {
  background: #0056d2;
  color: white;
}
.toggle-btn.approve:hover {
  background: #003d99;
}
.toggle-btn.revoke {
  background: #fdecea;
  color: #c0392b;
}
.toggle-btn.revoke:hover {
  background: #f9d7d3;
}

/* Heading font — Poppins for visual hierarchy against Inter body text */
h1, h2, h3, .logo, .brand, .gate-box h2 {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
}
