* {
  box-sizing: border-box;
  font-family: 'Vazirmatn', sans-serif;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #0b1220, #020617);
  color: #e5edff;
  perspective: 1200px;
}

.scene {
  display: flex;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: linear-gradient(180deg,#020617,#020617);
  padding: 20px;
}

.logo {
  color: #7c3aed;
  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(124,58,237,0.18);
  color: #c4b5fd;
}

.sidebar footer {
  font-size: 12px;
  opacity: 0.5;
  margin-top: 30px;
}

/* Main */
.main {
  flex: 1;
  padding: 25px 35px;
  overflow-y: auto;
  transform-style: preserve-3d;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  color: #c4b5fd;
}

.export {
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  background: linear-gradient(135deg,#7c3aed,#4c1d95);
  color: #020617;
  font-weight: 600;
  cursor: pointer;
}

/* KPI 3D */
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.kpi-card {
  padding: 22px;
  border-radius: 20px;
  transform: translateZ(30px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  transition: transform 0.4s;
}

.kpi-card:hover {
  transform: translateZ(60px) rotateX(5deg);
}

.kpi-card h2 {
  margin: 0 0 10px;
}

.kpi-card p {
  font-size: 22px;
  font-weight: 800;
}

.kpi-card span {
  font-size: 13px;
  opacity: 0.8;
}

.green { background: linear-gradient(135deg,#22c55e,#064e3b); }
.blue { background: linear-gradient(135deg,#38bdf8,#1e3a8a); }
.purple { background: linear-gradient(135deg,#a78bfa,#4c1d95); }

/* Reports */
.reports {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.report-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 24px;
  transform: translateZ(20px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08),
              0 30px 80px rgba(0,0,0,0.7);
  transition: all 0.4s;
}

.report-card:hover {
  transform: translateZ(60px) rotateY(-6deg);
}

.report-card h3 {
  margin: 0 0 8px;
}

.report-card p {
  opacity: 0.75;
  margin-bottom: 16px;
}

.report-card button {
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  cursor: pointer;
  background: rgba(124,58,237,0.25);
  color: #ddd6fe;
}

.report-card.danger {
  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;}