:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;
  --primary:#2563eb;
  --primary-2:#1d4ed8;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 16px;
  --radius2: 22px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans Arabic", "Cairo", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1000px 400px at 20% -10%, rgba(37,99,235,.12), transparent 60%),
              radial-gradient(800px 300px at 90% 0%, rgba(16,185,129,.08), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{width:min(1100px, 92%); margin:0 auto}
.btn{
  display:inline-flex; gap:10px; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:14px;
  border:1px solid transparent; cursor:pointer;
  font-weight:700; transition:.15s;
}
.btn-primary{background:var(--primary); color:#fff}
.btn-primary:hover{background:var(--primary-2)}
.btn-ghost{background:transparent; border-color:var(--line); color:var(--text)}
.btn-ghost:hover{background:#fff}

.card{
  background:var(--card);
  border:1px solid rgba(229,231,235,.7);
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
}

.input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  outline:none;
  background:#fff;
  transition:.15s;
}
.input:focus{border-color:rgba(37,99,235,.5); box-shadow:0 0 0 4px rgba(37,99,235,.12)}

.label{font-size:13px; color:var(--muted); margin-bottom:6px}
.row{display:grid; gap:14px}
.grid-2{grid-template-columns:1fr 1fr}
@media (max-width:800px){.grid-2{grid-template-columns:1fr}}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(246,247,251,.75);
  border-bottom:1px solid rgba(229,231,235,.75);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:900;
}
.brand-badge{
  width:38px; height:38px; border-radius:14px;
  background: linear-gradient(135deg, rgba(37,99,235,1), rgba(16,185,129,.85));
  box-shadow:0 10px 20px rgba(37,99,235,.18);
}
.muted{color:var(--muted)}
.alert{
  padding:12px 14px; border-radius:14px;
  border:1px solid rgba(239,68,68,.35);
  background: rgba(239,68,68,.08);
  color:#991b1b;
}
.alert-ok{
  border-color: rgba(16,185,129,.35);
  background: rgba(16,185,129,.10);
  color:#065f46;
}
