body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0d0c1d;
  color: whitesmoke;
}

.dashboard-wrapper {
  display: flex;
  height: 100vh;
}

.brand {
  color: #2D8CC6;
}

.sidebar {
  width: 250px;
  background: #1f1d2b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}

.sidebar-header {
  display: flex;
  justify-content: center;
}

.sidebar-header .logo {
  /* font-size: 1.5rem;
  font-weight: bold; */
  max-width: 50px;
}

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

.sidebar-nav li {
  padding: .6rem;
  text-align: center;
}

.sidebar-nav li a {
  display: block;
  padding: 0.75rem;
  color: whitesmoke;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.sidebar-nav li a.active,
.sidebar-nav li a:hover {
  background: rgba(245, 245, 245, 0.901);
  /* background: #2f2c42; */
  color: black;
}

.upgrade-btn {
  background: #8a2be2;
  border: none;
  color: whitesmoke;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.upgrade-btn:hover {
  transform: scale(1.05);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
}

.top-links a {
  margin: 0 1rem;
  color: #ccc;
  text-decoration: none;
  width: fit-content;
  justify-content: space-between;
  gap: 3rem;
  background: #1F1D2B;
  padding: .5rem;
  border-radius: 10px;
}

.top-links a.active,
.top-links a:hover {
  color: #2D8CC6;
  background: #39364b;
}

.contact-btn {
  background: linear-gradient(135deg, #6b17ba, #2D8CC6);
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: linear-gradient(135deg, #2D8CC6, #8a2be2);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  background: #1f1d2b;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 10px #00000055;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px whitesmoke;
  cursor: pointer;
  /* box-shadow: 0 0 15px #f542a755; */
}

.stat-card span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2D8CC6;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  color: #ddd;
  font-size: 0.9rem;
}

.table-card th,
.table-card td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #333;
}

.tasks li {
  margin: 0.5rem 0;
}

.calendar-grid {
  height: 200px;
  background: #2f2c42;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}