/* GENERAL */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f7fa;
  color: #333;
  display: flex;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background: #2e2e88;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: fixed;
}
.sidebar-logo {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}
.sidebar-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 15px 0;
  padding: 12px 20px;
  border-radius: 12px;
  transition: 0.3s;
}
.sidebar-nav a.active, .sidebar-nav a:hover {
  background: #6a6aff;
}

/* MAIN CONTENT */
.dashboard-main {
  margin-left: 250px;
  padding: 40px;
  flex: 1;
}

/* HEADER */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.dashboard-header .welcome h1 {
  font-size: 32px;
  color: #2e2e88;
}
.dashboard-header .welcome p {
  font-size: 16px;
  color: #6a6aff;
}
.dashboard-header .avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* OVERVIEW CARDS */
.overview-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.card {
  background: #fff;
  flex: 1 1 250px;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.card-icon {
  font-size: 36px;
  margin-right: 20px;
}
.card-info h3 {
  margin: 0 0 8px 0;
  color: #2e2e88;
}
.card-info p {
  margin: 0;
  color: #6a6aff;
}

/* RECENT ACTIVITY */
.recent-activity {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 50px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.recent-activity h2 {
  color: #2e2e88;
  margin-bottom: 20px;
}
.recent-activity ul {
  list-style: none;
  padding-left: 0;
}
.recent-activity li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}
.recent-activity li:last-child {
  border-bottom: none;
}

/* QUICK ACTIONS */
.quick-actions h2 {
  color: #2e2e88;
  margin-bottom: 20px;
  text-align: center;
}
.actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.actions-grid .btn {
  padding: 14px 30px;
  border-radius: 50px;
  background: #6a6aff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.actions-grid .btn:hover {
  background: #2e2e88;
  transform: scale(1.05);
}

/* RESPONSIVE */
@media(max-width:900px){
  .dashboard-main { margin-left: 0; padding: 20px; }
  .overview-cards { flex-direction: column; }
  .actions-grid { flex-direction: column; }
}
