:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --accent-color: #60a5fa;
  --background-color: #f8fafc;
  --sidebar-bg: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  background-color: var(--background-color);
  color: var(--text-primary);
}

.sidebar {
  width: 280px;
  height: 100vh;
  background-color: var(--sidebar-bg);
  padding: 2rem;
  position: fixed;
  box-shadow: var(--card-shadow);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.logo {
  width: 40px;
  height: 40px;
}

.logo-container h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-links {
  list-style: none;
}

.nav-links li {
  margin-bottom: 0.5rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 1rem;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: var(--accent-color);
  color: white;
}

.nav-links li.active a {
  background-color: var(--primary-color);
  color: white;
}

.nav-links i {
  margin-right: 1rem;
  font-size: 1.25rem;
}

.user-profile {
  position: absolute;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  width: calc(100% - 4rem);
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.user-info {
  flex-grow: 1;
}

.user-name {
  font-weight: 500;
  color: var(--text-primary);
}

.user-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.main-content {
  margin-left: 280px;
  padding: 2rem;
  width: calc(100% - 280px);
}

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

.search-container {
  position: relative;
  width: 300px;
}

.search-container i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.search-container input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: none;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--card-shadow);
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.header-actions button {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0.5rem;
}

.notification-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--danger-color);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.header-actions i {
  font-size: 1.25rem;
  color: var(--text-secondary);
}