:root {
  /* Vibrant Color Palette - Minimal White */
  --primary-100: #ff6b6b;
  --primary-200: #ff8e8e;
  --primary-300: #ffb5b5;

  --secondary-100: #4ecdc4;
  --secondary-200: #6fd1c9;
  --secondary-300: #97e0da;

  --accent-100: #a8e6cf;
  --accent-200: #b8f0d9;
  --accent-300: #d4f5e6;

  --tertiary-100: #ffd93d;
  --tertiary-200: #ffe170;
  --tertiary-300: #ffec9e;

  --purple-100: #9b6bff;
  --purple-200: #b28eff;
  --purple-300: #cab6ff;

  --dark-100: #1a1b2f;
  --dark-200: #2a2b45;
  --dark-300: #3a3b5c;

  --gray-100: #6b6e8c;
  --gray-200: #8b8ea8;
  --gray-300: #abadc4;

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-100),
    var(--purple-100)
  );
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary-100),
    var(--accent-100)
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--tertiary-100),
    var(--primary-100)
  );
  --gradient-dark: linear-gradient(135deg, var(--dark-100), var(--dark-200));

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(255, 107, 107, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(135deg, #0f0f1f, #1a1b2f);
  min-height: 100vh;
  color: white;
  position: relative;
  overflow-x: hidden;
  transition: background 0.3s;
}

/* Light Theme */
body.light-theme {
  background: linear-gradient(135deg, #f0f2f5, #e0e4e9);
  color: var(--dark-100);
}

body.light-theme .app-container {
  background: rgba(255, 255, 255, 0.6);
}

body.light-theme .sidebar {
  background: rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .sidebar .logo span {
  color: var(--dark-100);
}

body.light-theme .nav-item {
  color: var(--dark-200);
}

body.light-theme .nav-item:hover {
  color: var(--primary-100);
}

body.light-theme .stat-card,
body.light-theme .task-card,
body.light-theme .header,
body.light-theme .settings-card,
body.light-theme .team-card,
body.light-theme .analytics-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .welcome-text p,
body.light-theme .stat-label,
body.light-theme .task-description,
body.light-theme .task-date {
  color: var(--dark-200);
}

body.light-theme .search-box input {
  color: var(--dark-100);
}

body.light-theme .search-box input::placeholder {
  color: var(--gray-100);
}

/* Animated Gradient Background */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.gradient-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: floatSphere 20s ease-in-out infinite;
}

.sphere-1 {
  width: 600px;
  height: 600px;
  background: var(--primary-100);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.sphere-2 {
  width: 500px;
  height: 500px;
  background: var(--purple-100);
  bottom: -200px;
  right: -100px;
  animation-delay: -5s;
}

.sphere-3 {
  width: 400px;
  height: 400px;
  background: var(--secondary-100);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes floatSphere {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(5%, 5%) scale(1.1);
  }
  50% {
    transform: translate(-5%, -5%) scale(0.9);
  }
  75% {
    transform: translate(-5%, 5%) scale(1.05);
  }
}

/* App Container */
.app-container {
  display: flex;
  min-height: 100vh;
  backdrop-filter: blur(10px);
  background: rgba(26, 27, 47, 0.6);
  transition: background 0.3s;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: rgba(26, 27, 47, 0.8);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  box-shadow: var(--shadow-lg);
  transition:
    transform 0.3s,
    background 0.3s;
}

.sidebar-header {
  padding: 32px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo i {
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-accent {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 4px;
}

.sidebar-nav {
  flex: 1;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-item i {
  width: 20px;
  font-size: 1.1rem;
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.nav-item:hover {
  color: white;
  transform: translateX(5px);
}

.nav-item:hover::before {
  opacity: 0.2;
}

.nav-item.active {
  color: white;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.nav-indicator {
  width: 4px;
  height: 4px;
  background: white;
  border-radius: var(--radius-full);
  margin-left: auto;
  opacity: 0;
}

.nav-item.active .nav-indicator {
  opacity: 1;
}

.nav-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.sidebar-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
}

.user-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

.user-role {
  font-size: 0.8rem;
  color: var(--gray-300);
}

.user-menu {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.user-menu:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* User Dropdown */
.user-dropdown {
  position: fixed;
  bottom: 100px;
  left: 220px;
  width: 200px;
  background: var(--dark-200);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 1000;
}

.user-dropdown.active {
  display: block;
  animation: slideUp 0.3s ease-out;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--gray-300);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 280px;
  padding: 24px 32px;
  position: relative;
  transition: margin-left 0.3s;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  background: rgba(26, 27, 47, 0.6);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.mobile-menu-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
}

.welcome-text h1 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.welcome-text p {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.highlight-text {
  color: var(--primary-100);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 8px 20px;
  width: 300px;
  transition: all 0.3s;
}

.search-box:focus-within {
  border-color: var(--primary-100);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

.search-box i {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: var(--gray-300);
}

.notification-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.notification-btn:hover {
  background: var(--gradient-primary);
  border-color: transparent;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--primary-100);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  border: 2px solid var(--dark-200);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.theme-toggle:hover {
  background: var(--gradient-primary);
  border-color: transparent;
}

/* Content Pages */
.content-pages {
  position: relative;
}

.page {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.page-header h2 {
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: rgba(26, 27, 47, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.stat-card:hover::before {
  opacity: 0.2;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

.stat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stat-label {
  color: var(--gray-300);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

/* Board Header */
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.board-header h2 {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.board-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.filter-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  outline: none;
}

.sort-select option {
  background: var(--dark-200);
}

/* Task Grid */
.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

/* Task Card */
.task-card {
  background: rgba(26, 27, 47, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.3s;
  animation: slideIn 0.5s ease-out;
  position: relative;
  overflow: hidden;
}

.task-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--task-color, var(--primary-100));
}

.task-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.task-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 12px;
  padding-left: 12px;
}

.task-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}

.task-badges {
  display: flex;
  gap: 8px;
}

.task-priority {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.priority-high {
  background: rgba(255, 107, 107, 0.2);
  color: #ff8e8e;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.priority-medium {
  background: rgba(255, 217, 61, 0.2);
  color: #ffe170;
  border: 1px solid rgba(255, 217, 61, 0.3);
}

.priority-low {
  background: rgba(78, 205, 196, 0.2);
  color: #97e0da;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.task-category {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-300);
  font-size: 0.7rem;
}

.task-description {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
  padding-left: 12px;
}

.task-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-left: 12px;
}

.task-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-300);
  font-size: 0.8rem;
}

.task-date i {
  color: var(--primary-100);
  font-size: 0.8rem;
}

.task-actions {
  display: flex;
  gap: 8px;
  padding-left: 12px;
}

.task-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.task-btn:hover {
  transform: translateY(-2px);
}

.task-btn.complete:hover {
  background: var(--secondary-100);
  color: white;
}

.task-btn.edit:hover {
  background: var(--tertiary-100);
  color: var(--dark-100);
}

.task-btn.delete:hover {
  background: var(--primary-100);
  color: white;
}

.task-card.completed {
  opacity: 0.7;
}

.task-card.completed .task-title {
  text-decoration: line-through;
  color: var(--gray-300);
}

/* Tasks List Page */
.tasks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.task-list-item {
  background: rgba(26, 27, 47, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}

.task-list-item:hover {
  transform: translateX(5px);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.task-list-info {
  flex: 1;
}

.task-list-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.task-list-meta {
  display: flex;
  gap: 20px;
  color: var(--gray-300);
  font-size: 0.85rem;
}

.task-list-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Analytics Page */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.analytics-card {
  background: rgba(26, 27, 47, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.analytics-card.full-width {
  grid-column: span 2;
}

.analytics-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: white;
}

.analytics-select {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  color: white;
  cursor: pointer;
  outline: none;
}

.progress-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary-100) 0deg,
    rgba(255, 255, 255, 0.1) 0deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.progress-value {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--dark-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
}

.priority-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.priority-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.priority-bar-label {
  width: 60px;
  color: var(--gray-300);
}

.priority-bar-progress {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.priority-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.priority-bar-value {
  width: 40px;
  color: var(--gray-300);
  font-size: 0.9rem;
}

.activity-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 200px;
  margin-top: 20px;
}

.activity-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.activity-bar {
  width: 30px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 0.3s;
}

.activity-bar-label {
  color: var(--gray-300);
  font-size: 0.8rem;
}

.score-display {
  text-align: center;
  margin-bottom: 16px;
}

.score-value {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.score-label {
  font-size: 1rem;
  color: var(--gray-300);
}

.score-trend {
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.score-trend.positive {
  background: rgba(78, 205, 196, 0.1);
  color: var(--secondary-100);
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-name {
  width: 100px;
  color: var(--gray-300);
}

.category-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.category-fill {
  height: 100%;
  background: var(--gradient-secondary);
  border-radius: var(--radius-full);
}

.category-count {
  width: 40px;
  color: var(--gray-300);
  font-size: 0.9rem;
}

/* Team Page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.team-card {
  background: rgba(26, 27, 47, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--gray-300);
  margin-bottom: 16px;
}

.team-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  color: var(--gray-300);
  font-size: 0.85rem;
}

.team-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Settings Page */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.settings-card {
  background: rgba(26, 27, 47, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.settings-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: white;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: white;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-100);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-300);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.settings-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-item-info span {
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
}

.settings-item-info small {
  font-size: 0.8rem;
  color: var(--gray-300);
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-100);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Color Options */
.color-options {
  display: flex;
  gap: 12px;
}

.color-option {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.color-option:hover {
  transform: scale(1.1);
}

.color-option.active {
  border-color: white;
  box-shadow: var(--shadow-glow);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(26, 27, 47, 0.6);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.5s ease-out;
}

.empty-illustration {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 20px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.empty-state p {
  color: var(--gray-300);
  margin-bottom: 24px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  width: 90%;
  max-width: 500px;
  background: var(--dark-200);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
}

.modal-close:hover {
  background: var(--primary-100);
  color: white;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Notifications Panel */
.notifications-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  height: 100vh;
  background: var(--dark-200);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.notifications-panel.open {
  right: 0;
}

.panel-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header h3 {
  font-size: 1.1rem;
  color: white;
}

.close-panel {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
}

.close-panel:hover {
  background: var(--primary-100);
  color: white;
}

.notifications-list {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.notification-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
  transition: all 0.3s;
  cursor: pointer;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.notification-item.unread {
  border-left: 3px solid var(--primary-100);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.notification-content {
  flex: 1;
}

.notification-content p {
  color: white;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.notification-content span {
  color: var(--gray-300);
  font-size: 0.75rem;
}

/* Buttons */
.btn-primary {
  padding: 12px 24px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  padding: 12px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--gray-300);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--primary-100);
  color: white;
}

.btn-outline {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.85rem;
}

.btn-outline:hover {
  border-color: var(--primary-100);
  color: white;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
  z-index: 100;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.fab:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: var(--shadow-glow);
}

/* Responsive */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .analytics-card.full-width {
    grid-column: span 1;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-box {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .board-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .board-actions {
    flex-wrap: wrap;
  }

  .search-box {
    display: none;
  }

  .header-right {
    gap: 8px;
  }

  .task-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .fab {
    bottom: 16px;
    right: 16px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .notifications-panel {
    width: 100%;
    right: -100%;
  }

  .user-dropdown {
    left: 16px;
    bottom: 80px;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-secondary);
}
