:root{
  --glass: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
}
*{ box-sizing:border-box; }
body{
  margin:0; min-height:100vh; padding:18px;
  display:flex; align-items:center; justify-content:center;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: radial-gradient(circle at top, #1f2933, #05070c);
  color:var(--text);
}
.glass{
  width:100%; max-width:520px;
  padding:26px; border-radius:18px;
  background:var(--glass);
  border:1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:0 0 40px rgba(0,0,0,.6);
}
.logo{
  display:block; margin:0 auto 12px; width:92px; height:auto;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.35));
}
h2{ margin:8px 0 10px; text-align:center; }
.subtitle{ margin:0 0 16px; text-align:center; color:var(--muted); font-size:14px; }
label{ display:block; margin:12px 0 6px; font-weight:650; color:var(--muted); }
input{
  width:100%; padding:10px 12px; border-radius:12px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.10);
  color:var(--text); font-size:16px; outline:none;
}
input::placeholder{ color:rgba(255,255,255,0.45); }
button{
  width:100%; margin-top:16px; padding:12px;
  border-radius:14px; border:0;
  background:linear-gradient(135deg,#4facfe,#00f2fe);
  font-weight:800; font-size:16px; cursor:pointer;
  color:#001018;
}
.note{ margin-top:12px; color:var(--muted); font-size:12.5px; line-height:1.35; text-align:center; }
a{ color:#9fdcff; }
.small{ font-size:12px; color:var(--muted); }

.tablewrap{ max-width:980px; }
.tablewrap .glass{ max-width:980px; }

.row{ display:flex; gap:10px; flex-wrap:wrap; justify-content:space-between; align-items:center; margin:12px 0 14px; }
.pill{
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.06);
  font-size:13px;
}
.btn{
  padding:10px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(255,255,255,0.08);
  color:var(--text); text-decoration:none; cursor:pointer;
  display:inline-block;
}
.btn:hover{ background:rgba(255,255,255,0.14); }

table{
  width:100%; border-collapse:collapse; font-size:13.5px;
  overflow:hidden; border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
}
th,td{ padding:9px 10px; border-bottom:1px solid rgba(255,255,255,0.10); text-align:left; }
th{ color:#9fdcff; font-weight:800; background:rgba(255,255,255,0.06); }
tr:last-child td{ border-bottom:none; }

/* checkbox */
.checkrow{
  display:flex; gap:10px; align-items:flex-start;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
}
.checkrow input[type="checkbox"]{
  width:18px; height:18px; margin-top:2px;
}
.checkrow .checktext{ color: var(--muted); font-size: 13px; line-height: 1.35; }

/* Print page */
@media print{
  body{ background:#fff !important; color:#000 !important; padding:0 !important; display:block !important; }
  .noprint{ display:none !important; }
  .printwrap{ padding: 0; }
}

/* modal confirm */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 50;
}
.overlay.show{ display:flex; }

.modal{
  width: min(460px, 92vw);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 40px rgba(0,0,0,.6);
}

.btn{
  padding:10px 12px; border-radius:14px;
  border:1px solid rgba(255,255,255,0.22);
  background:rgba(255,255,255,0.12);
  color:var(--text); text-decoration:none; cursor:pointer;
  display:inline-block;
  flex: 1;
  text-align: center;
}
.btn:hover{ background:rgba(255,255,255,0.18); }
.btn-soft{
  background: rgba(255,255,255,0.06);
}
.btn-soft:hover{
  background: rgba(255,255,255,0.10);
}


/* mobile */
@media (max-width: 520px){
  body{ padding: 12px; }
  .glass{ padding: 18px; border-radius: 16px; }
  .logo{ width: 72px; }
  input{ font-size: 16px; } /* avoid iOS zoom */
  button{ padding: 12px; border-radius: 14px; }
  .row{ justify-content: flex-start; }
}
.table-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.table-scroll table{ min-width: 760px; }
