:root{ --bg:#0b1220; --card:#121a2b; --txt:#e7ecf5; --muted:#9fb0d1; --accent:#3ba4ff; }
*{ box-sizing:border-box; }
body{ margin:0; font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial; background:var(--bg); color:var(--txt); }
.container{ max-width:1100px; margin:0 auto; padding:16px; }
.card{ background:var(--card); border-radius:16px; padding:16px; box-shadow:0 10px 30px rgba(0,0,0,.25); }
.btn{ display:inline-block; padding:10px 14px; border-radius:12px; text-decoration:none; background:var(--accent); color:#001428; font-weight:600; border:none; cursor:pointer; }
.btn.secondary{ background:#26334d; color:var(--txt); }
.input, select{ width:100%; padding:10px 12px; border-radius:10px; border:1px solid #2b3a59; background:#0f1626; color:var(--txt); }
.grid{ display:grid; gap:16px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.table{ width:100%; border-collapse:collapse; }
.table th,.table td{ padding:10px; border-bottom:1px solid #2b3a59; text-align:left; }
.header{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.badge{ background:#1b2740; color:var(--muted); border-radius:999px; padding:4px 10px; font-size:12px; }
img.photo{ max-width:100%; border-radius:12px; border:1px solid #2b3a59; }
@media (max-width:800px){ .grid-2{ grid-template-columns:1fr; } }

/* ===== Modern Login ===== */
.login-wrap{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 24px 16px;
}

.login-card{
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.30);
  overflow:hidden;
}

.login-head{
  padding: 22px 22px 10px 22px;
  text-align:center;
}

.login-brand{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}

.login-brand img{
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
}

.login-title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
}

.login-sub{
  margin: 6px 0 0 0;
  color: rgba(0,0,0,.65);
  font-size: 13px;
}

.login-body{
  padding: 16px 22px 22px 22px;
}

.form-row{
  margin-top: 12px;
}

.form-label{
  display:block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,.75);
}

.input-login{
  width:100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  outline: none;
  transition: .15s ease;
}

.input-login:focus{
  border-color: rgba(0,122,255,0.55);
  box-shadow: 0 0 0 4px rgba(0,122,255,0.14);
  background:#fff;
}

.btn-login{
  width:100%;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.login-foot{
  padding: 14px 22px 18px 22px;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align:center;
  color: rgba(0,0,0,.55);
  font-size: 12px;
}
