@import url("/assets/css/tokens.css");

*{ box-sizing:border-box; }

html,body{ height:100%; }
body{
  margin:0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
}

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

.topbar{
  background: var(--primary);
  color: #fff;
  padding: 14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.topbar .left{
  display:flex; align-items:center; gap:14px;
}

.brand{
  font-weight:700;
  letter-spacing:.2px;
}

.nav{
  display:flex; gap:14px; flex-wrap:wrap;
  opacity:.95;
}
.nav a{
  color:#93c5fd;
  font-size:14px;
}

.userbox{
  display:flex; align-items:center; gap:10px;
  font-size:13px;
  color:#e2e8f0;
}
.userbox .dot{
  width:8px; height:8px; border-radius:50%;
  background:#22c55e;
  display:inline-block;
}
.userbox .role{
  color:#cbd5e1;
}

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.h1{ margin:0 0 10px 0; font-size:20px; }
.p{ margin:0; color:var(--muted); font-size:14px; line-height:1.8; }

.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin: 14px 0 0 0;
  flex-wrap:wrap;
}

.btn{
  border:0;
  background: var(--primary);
  color:#fff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor:pointer;
  font-family: inherit;
  font-size: 13px;
}
.btn:hover{ background: var(--primary2); }

.btn.outline{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.outline:hover{ background:#f8fafc; }

.table{
  width:100%;
  border-collapse: collapse;
  margin-top: 14px;
}
.table th,.table td{
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  font-size: 13px;
  text-align:right;
}
.table th{ color:#334155; font-weight:700; }
.badge{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  color:#334155;
  background:#f8fafc;
}

.footer{
  padding: 18px 0;
  color:#94a3b8;
  font-size:12px;
  text-align:center;
}
