body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f1f5f9;
}

.container {
  display: flex;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: #0f172a;
  color: white;
  height: 100vh;
  padding: 20px;
}

.sidebar h2 {
  margin-bottom: 10px;
}

.store {
  font-size: 12px;
  color: #22c55e;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  padding: 12px;
  cursor: pointer;
  border-radius: 8px;
}

.sidebar li:hover,
.sidebar li.active {
  background: #1e293b;
}

/* Main */
.main {
  flex: 1;
  padding: 20px;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sync {
  font-size: 12px;
  color: gray;
}

.profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user img {
  border-radius: 50%;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.card p {
  font-size: 24px;
  margin: 10px 0;
}

/* Chart */
.chart {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* Table */
.table {
  background: white;
  padding: 20px;
  border-radius: 12px;
}

table {
  width: 100%;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.status {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.paid { background: #dcfce7; color: green; }
.pending { background: #fef9c3; color: orange; }
.refunded { background: #fee2e2; color: red; }