/* Xtream-style clean login card on blurred backdrop */

:root{
  --bg1:#0f1116;
  --bg2:#12151d;
  --card:#ffffff;
  --muted:#6b7280;
  --text:#1f2937;
  --line:#e5e7eb;
  --soft:#f3f5f8;
  --btn:#e25a2c;
  --btnHover:#d54f24;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 650px at 20% 20%, rgba(60,90,120,.55), transparent 60%),
              radial-gradient(900px 580px at 85% 35%, rgba(120,60,70,.55), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x:hidden;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 56px 16px;
}

/* Optional: if you drop /assets/bg.jpg it will be used automatically */
body::before{
  content:"";
  position:fixed;
  inset:-40px;
  background:
    url("/assets/bg.jpg") center/cover no-repeat;
  opacity:.35;
  filter: blur(18px);
  transform: scale(1.08);
  z-index:-2;
  pointer-events:none;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.40);
  z-index:-1;
  pointer-events:none;
}

a{color:inherit; text-decoration:none}

.page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 16px;
}

.shell{
  width: min(820px, 100%);
}


.container{
  width:100%;
  max-width: 860px;
}

.card{
  width:100%;
  background: var(--card);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.06);
}

.cardHeader{
  padding: 26px 26px 18px;
  text-align:center;
}
.brandLine{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.4px;
  margin:0;
}
.brandLine .x{
  color:#cc1111;
  font-size:44px;
  line-height:1;
}
.brandLine .rest{
  color:#111827;
  font-size:38px;
  line-height:1;
}
.brandTag{
  font-size:12px;
  color: var(--muted);
  letter-spacing: 2px;
  font-weight:800;
  margin-top:6px;
  text-transform:uppercase;
}

.bar{
  background: var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding: 12px 26px;
  text-align:center;
  font-weight:800;
  letter-spacing: 1px;
  color:#374151;
  text-transform:uppercase;
  font-size:12px;
}

.body{
  padding: 22px 26px 26px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width:860px){
  .grid{grid-template-columns:1fr}
}

.sectionTitle{
  font-weight:900;
  margin:0 0 8px;
  font-size:13px;
  color:#374151;
  text-transform:uppercase;
  letter-spacing:.6px;
}

.muted{color:var(--muted); font-size:13px; line-height:1.45}

label{
  display:block;
  margin: 12px 0 6px;
  color:#374151;
  font-weight:700;
  font-size:13px;
}

.input{
  width:100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  outline:none;
  font-size:14px;
  background:#fff;
}
.input:focus{
  border-color: rgba(226,90,44,.65);
  box-shadow: 0 0 0 3px rgba(226,90,44,.12);
}

.btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 14px;
  border-radius: 2px;
  border: 0;
  background: var(--btn);
  color: #fff;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  transition: background .12s ease, transform .08s ease;
}
.btn:hover{background: var(--btnHover)}
.btn:active{transform: translateY(1px)}

.btnRow{
  margin-top: 14px;
}

.pillOk{
  display:inline-block;
  background: rgba(53,245,181,.14);
  color: #0f6a4b;
  border: 1px solid rgba(53,245,181,.35);
  padding: 8px 10px;
  border-radius: 4px;
  font-weight:800;
  font-size:13px;
}

.error{
  background: rgba(255,91,122,.12);
  color: #8b1b35;
  border: 1px solid rgba(255,91,122,.28);
  padding: 10px 12px;
  border-radius: 4px;
  font-weight:700;
  font-size:13px;
  margin-bottom: 12px;
}

.hr{
  height:1px;
  background: var(--line);
  margin: 14px 0;
}

.qrWrap{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.qrBox{
  width:168px;
  height:168px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}

.small{
  font-size:12px;
  color: var(--muted);
}

.table{
  width:100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow:hidden;
  margin-top: 10px;
}
.table th, .table td{
  padding: 10px 10px;
  border-bottom: 1px solid var(--line);
  font-size:13px;
  vertical-align: top;
}
.table th{
  background: var(--soft);
  color:#374151;
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.6px;
}
.table tr:last-child td{border-bottom:none}

.footer{
  text-align:center;
  color: rgba(255,255,255,.72);
  font-size:12px;
  margin-top: 14px;
}
