:root {
  --zt-red: #ff2338;
  --zt-red-dark: #8f101d;
  --zt-black: #08090d;
  --zt-panel: rgba(22, 22, 28, 0.78);
  --zt-border: rgba(255, 255, 255, 0.13);
}

* { letter-spacing: 0; }
body { min-height: 100vh; font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif; }
.install-bg, .login-bg, .admin-bg, .client-bg {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 35, 56, .22), transparent 28rem),
    linear-gradient(135deg, #07070a, #15161c 55%, #24070c);
  color: #f8f9fa;
}
.receipt-bg { background: #e9ecef; }
.glass-card {
  background: var(--zt-panel);
  border: 1px solid var(--zt-border);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(18px);
}
.admin-nav {
  background: rgba(6, 6, 10, .88);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(14px);
}
.nav-logo, .brand-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; background: #fff; }
.login-card { width: min(100%, 430px); }
.form-control, .form-select {
  background-color: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  border-radius: 8px;
}
.form-control:focus, .form-select:focus {
  background-color: rgba(255,255,255,.12);
  border-color: var(--zt-red);
  color: #fff;
  box-shadow: 0 0 0 .2rem rgba(255,35,56,.2);
}
.form-control::placeholder { color: rgba(255,255,255,.46); }
.form-label { color: rgba(255,255,255,.82); font-weight: 600; }
.btn { border-radius: 8px; font-weight: 700; }
.btn-red {
  color: #fff;
  background: linear-gradient(135deg, var(--zt-red), var(--zt-red-dark));
  border: 0;
}
.btn-red:hover { color: #fff; filter: brightness(1.08); }
.stat-card, .mini-card {
  min-height: 112px;
  padding: 18px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
}
.stat-card span, .mini-card span, .detail-grid span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .84rem;
  margin-bottom: 6px;
}
.stat-card strong {
  display: block;
  font-size: clamp(1.35rem, 2vw, 2rem);
  color: #fff;
  overflow-wrap: anywhere;
}
.mini-card strong {
  color: #fff;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.table-dark {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255,255,255,.1);
}
.status-pending { background: #f59f00; }
.status-approved { background: #2f9e44; }
.status-rejected { background: #c92a2a; }
.client-shell { max-width: 1060px; margin: auto; }
.terms-box {
  max-height: 330px;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  border-radius: 8px;
  color: rgba(255,255,255,.86);
  line-height: 1.7;
}
.terms-box h1, .terms-box h2, .terms-box h3 { color: #fff; font-size: 1.2rem; }
.check-row {
  display: block;
  color: #fff;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}
.check-row input { margin-right: 8px; }
.detail-grid > div {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.detail-grid strong {
  display: block;
  color: #fff;
  overflow-wrap: anywhere;
}
.verify-card { max-width: 760px; }
.receipt { max-width: 850px; border-radius: 8px; }
@media (max-width: 575px) {
  .stat-card, .mini-card { min-height: 96px; padding: 14px; }
  .table { min-width: 760px; }
}
@media print {
  .no-print { display: none !important; }
  body { background: #fff !important; }
  .receipt { box-shadow: none !important; }
}
