/* IQ Suite v0 – shared look & feel (orange on black) */
:root{
  --bg:#050505;
  --bg2:#101010;
  --panel:#0b0b0b;
  --text:#ffffff;
  --muted:#bdbdbd;
  --accent:#ff8c1a;
  --accentSoft: rgba(255,140,26,0.20);
  --radius:18px;
  --shadow: 0 18px 45px rgba(0,0,0,0.65);
  --maxw: 1100px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; height:100%; background:#000; color:var(--text); font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif; }
a{ color:inherit; text-decoration:none; }
small{ color:var(--muted); }

.topbar{
  position:sticky; top:0; z-index:50;
  background: linear-gradient(180deg, rgba(0,0,0,0.92), rgba(0,0,0,0.65));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,140,26,0.10);
}

.topbar .inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding: 14px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}

.brand{
  display:flex; align-items:center; gap:10px;
}
.brand .dot{
  width:16px; height:16px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(255,140,26,0.55);
}
.brand .title{
  font-weight: 700; letter-spacing: 0.2px;
}
.brand .sub{
  display:block; font-size:12px; color:var(--muted); margin-top:2px;
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 16px 28px;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,140,26,0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,140,26,0.22);
  background: rgba(255,140,26,0.08);
  color: var(--text);
  cursor:pointer;
  user-select:none;
}
.btn:hover{ background: rgba(255,140,26,0.12); }
.btn:active{ transform: translateY(1px); }

.btn.secondary{
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.btn.danger{
  border-color: rgba(255,80,80,0.25);
  background: rgba(255,80,80,0.08);
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.tile{
  grid-column: span 12;
  padding: 18px;
  border-radius: 20px;
  background: radial-gradient(90% 120% at 12% 8%, rgba(255,140,26,0.18), rgba(0,0,0,0.0) 55%),
              linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,140,26,0.14);
  box-shadow: var(--shadow);
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
}
.tile .left{ display:flex; gap:14px; align-items:center; min-width:0; }
.tile .icon{
  width:52px; height:52px; border-radius: 18px;
  background: rgba(255,140,26,0.12);
  border: 1px solid rgba(255,140,26,0.20);
  box-shadow: 0 0 26px rgba(255,140,26,0.12) inset;
  display:grid; place-items:center;
  flex: 0 0 auto;
}
.tile .name{ font-size:18px; font-weight: 750; }
.tile .desc{ color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.35; }
.tile .right{ flex: 0 0 auto; }
.pill{
  display:inline-flex; align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,140,26,0.20);
  background: rgba(255,140,26,0.10);
  color: var(--text);
  font-size: 12px;
}

.form{
  max-width: 520px;
  margin: 22px auto 0;
  padding: 18px;
}
.field{ margin: 12px 0; }
label{ display:block; font-weight: 650; margin-bottom: 6px; }
input[type="text"], input[type="password"]{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  outline:none;
}
input:focus{
  border-color: rgba(255,140,26,0.45);
  box-shadow: 0 0 0 3px rgba(255,140,26,0.14);
}
.hint{ color: var(--muted); font-size: 12px; margin-top: 8px; line-height: 1.35; }
.err{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,80,80,0.25);
  background: rgba(255,80,80,0.08);
  color: #ffd6d6;
}
.ok{
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(120,255,160,0.22);
  background: rgba(120,255,160,0.08);
  color: #d8ffe3;
}

.footer{
  margin-top: 16px;
  padding: 14px 16px;
  text-align:center;
  color: var(--muted);
  font-size: 12px;
}

/* responsive tiles */
@media (min-width: 740px){
  .tile{ grid-column: span 6; }
}
@media (min-width: 1020px){
  .tile{ grid-column: span 4; }
}
