* {
  box-sizing: border-box;
  font-family: 'Vazirmatn', sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: #e5edff;
}

.app {
  display: flex;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: linear-gradient(180deg,#020617,#020617);
  padding: 20px;
}

.logo {
  color: #38bdf8;
  font-weight: 800;
  margin-bottom: 25px;
}

.sidebar li {
  list-style: none;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  cursor: pointer;
}

.sidebar li.active,
.sidebar li:hover {
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
}

.sidebar footer {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 30px;
}

/* Main */
.main {
  flex: 1;
  padding: 25px 35px;
  overflow-y: auto;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  color: #7dd3fc;
}

.actions button {
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.add {
  background: linear-gradient(135deg,#38bdf8,#1e3a8a);
  color: #020617;
}

.secondary {
  background: linear-gradient(135deg,#22c55e,#166534);
  color: #021c14;
  margin-right: 8px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.card {
  padding: 18px;
  border-radius: 16px;
  font-weight: 700;
}

.card small {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  opacity: 0.8;
}

.green { background: linear-gradient(135deg,#22c55e,#064e3b); }
.blue { background: linear-gradient(135deg,#38bdf8,#1e3a8a); }
.orange { background: linear-gradient(135deg,#f59e0b,#7c2d12); }
.red { background: linear-gradient(135deg,#ef4444,#7f1d1d); }

/* Table */
.table-section h2 {
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: rgba(255,255,255,0.05);
}

th, td {
  padding: 12px;
  text-align: center;
}

tbody tr {
  background: rgba(255,255,255,0.03);
}

tbody tr:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.plus { color: #22c55e; }
.minus { color: #ef4444; }

.ok { color: #22c55e; }
.risk { color: #facc15; }

.warn { background: rgba(250,204,21,0.08); }

/* Tax */
.tax {
  margin-top: 30px;
}

.tax-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tax-card {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 18px;
}

.tax-card h3 {
  margin: 0 0 8px;
}

.amount {
  display: block;
  margin: 12px 0;
  font-weight: 700;
  color: #38bdf8;
}

.tax-card button {
  border: none;
  border-radius: 10px;
  padding: 8px;
  width: 100%;
  cursor: pointer;
  background: rgba(56,189,248,0.15);
  color: #7dd3fc;
}

.tax-card.alert {
  border: 1px solid rgba(239,68,68,0.4);
}
.sidebar li{
    text-decoration: none;
    color: white;
    display: block;
    list-style: none;
    border-bottom: none;
    border: none;
}
.a{
    text-decoration: none;
    color: white;
    list-style: none;
    border: none;}