:root {
  /* Main Colors */
  --primary-color: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #4338ca;
  --secondary-color: #64748b;
  --success-color: #10b981;
  --info-color: #06b6d4;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --light-color: #f8fafc;
  --dark-color: #0f172a;

  /* Gray Scale */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Task Status Colors */
  --task-completed: #10b981;
  --task-in-progress: #3b82f6;
  --task-pending: #f59e0b;
  --task-cancelled: #ef4444;
  --task-overdue: #9ca3af;

  /* Priority Colors */
  --priority-high: #ef4444;
  --priority-medium: #f59e0b;
  --priority-low: #10b981;

  /* Layout Variables */
  --sidebar-width: 280px;
  --sidebar-collapsed-width: 70px;
  --navbar-height: 70px;
  --content-padding: 1.5rem;
  --border-radius: 0.5rem;
  --box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --transition-speed: 0.3s;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--gray-100);
  color: var(--gray-800);
  overflow-x: hidden;
  min-height: 100vh;
}

/* App Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: margin-left var(--transition-speed);
  margin-left: var(--sidebar-width);
  background-color: var(--gray-100);
  overflow: hidden;
}

.content-container.expanded {
  margin-left: var(--sidebar-collapsed-width);
}

.main-content {
  flex: 1;
  padding: var(--content-padding);
  padding-top: calc(var(--navbar-height) + var(--content-padding));
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: white;
  z-index: 1030;
  transition: all var(--transition-speed);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
}

.sidebar::-webkit-scrollbar {
  width: 5px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.sidebar-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
  display: flex;
  align-items: center;
}

.sidebar-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.sidebar-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 0.75rem;
  border-radius: 8px;
}

.sidebar-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.sidebar-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-user {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user-avatar {
  margin-right: 1rem;
  flex-shrink: 0;
}

.sidebar-user-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.sidebar-user-avatar-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.sidebar-user-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.sidebar-menu {
  padding: 1.5rem 0;
}

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

.sidebar-menu-item {
  margin-bottom: 0.25rem;
}

.sidebar-menu-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.sidebar-menu-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu-item.active .sidebar-menu-link {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

.sidebar-menu-item.active .sidebar-menu-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 4px;
  background-color: white;
  border-radius: 0 4px 4px 0;
}

.sidebar-menu-link i {
  font-size: 1.125rem;
  margin-right: 0.875rem;
  width: 1.25rem;
  text-align: center;
  opacity: 0.9;
}

.sidebar-menu-link span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-menu-dropdown-icon {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  transition: transform 0.2s;
}

.sidebar-menu-link.collapsed .sidebar-menu-dropdown-icon {
  transform: rotate(-90deg);
}

.sidebar-submenu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 2.5rem;
}

.sidebar-submenu-item {
  margin-bottom: 0.25rem;
}

.sidebar-submenu-link {
  display: flex;
  align-items: center;
  padding: 0.625rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  font-size: 0.875rem;
}

.sidebar-submenu-link:hover {
  color: white;
}

.sidebar-submenu-item.active .sidebar-submenu-link {
  color: white;
  font-weight: 500;
}

.sidebar-submenu-link i {
  font-size: 1rem;
  margin-right: 0.75rem;
  width: 1.25rem;
  text-align: center;
  opacity: 0.9;
}

.sidebar-submenu-link span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-width);
  height: var(--navbar-height);
  background-color: white;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  transition: left var(--transition-speed);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.content-container.expanded .navbar {
  left: var(--sidebar-collapsed-width);
}

.navbar-start,
.navbar-center,
.navbar-end {
  display: flex;
  align-items: center;
}

.navbar-start {
  flex: 1;
}

.navbar-center {
  flex: 2;
  justify-content: center;
}

.navbar-end {
  flex: 1;
  justify-content: flex-end;
}

.navbar-toggle {
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 1.25rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-right: 1rem;
}

.navbar-toggle:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}

.navbar-breadcrumb {
  margin-left: 0.5rem;
}

.navbar-search {
  width: 100%;
  max-width: 400px;
}

.navbar-search .input-group {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar-search .input-group-text,
.navbar-search .form-control {
  border-color: var(--gray-200);
}

.navbar-search .form-control {
  padding-left: 0;
}

.navbar-search .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.navbar-search .input-group-text {
  color: var(--gray-500);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: none;
  color: var(--gray-600);
  font-size: 1.125rem;
  position: relative;
  transition: all 0.2s;
}

.btn-icon:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}

.btn-icon .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.625rem;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
}

.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

/* Card Styles */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--gray-800);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  background-color: transparent;
  border-top: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
}

/* Stats Card */
.stats-card {
  border-radius: var(--border-radius);
  padding: 1.5rem;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stats-card-primary {
  border-left: 4px solid var(--primary-color);
}

.stats-card-success {
  border-left: 4px solid var(--success-color);
}

.stats-card-info {
  border-left: 4px solid var(--info-color);
}

.stats-card-warning {
  border-left: 4px solid var(--warning-color);
}

.stats-card-danger {
  border-left: 4px solid var(--danger-color);
}

.stats-card-content {
  flex: 1;
}

.stats-card-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.stats-card-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0;
}

.stats-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-left: 1rem;
}

.stats-card-primary .stats-card-icon {
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--primary-color);
}

.stats-card-success .stats-card-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.stats-card-info .stats-card-icon {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--info-color);
}

.stats-card-warning .stats-card-icon {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

.stats-card-danger .stats-card-icon {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

/* Button Styles */
.btn {
  font-weight: 500;
  padding: 0.5rem 1.125rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.btn i {
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-success {
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.btn-success:hover,
.btn-success:focus {
  background-color: #0d9488;
  border-color: #0d9488;
}

.btn-info {
  background-color: var(--info-color);
  border-color: var(--info-color);
}

.btn-info:hover,
.btn-info:focus {
  background-color: #0891b2;
  border-color: #0891b2;
}

.btn-warning {
  background-color: var(--warning-color);
  border-color: var(--warning-color);
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: #d97706;
  border-color: #d97706;
}

.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.btn-danger:hover,
.btn-danger:focus {
  background-color: #dc2626;
  border-color: #dc2626;
}

.btn-light {
  background-color: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-700);
}

.btn-light:hover,
.btn-light:focus {
  background-color: var(--gray-200);
  border-color: var(--gray-300);
  color: var(--gray-800);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Table Styles */
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: var(--gray-700);
  vertical-align: middle;
  border-color: var(--gray-200);
  font-size: 0.875rem;
}

.table th {
  font-weight: 600;
  padding: 0.875rem 1.25rem;
  border-bottom-width: 1px;
  color: var(--gray-600);
  background-color: var(--gray-50);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
}

.table td {
  padding: 1rem 1.25rem;
  border-bottom-width: 1px;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--gray-50);
}

.table-hover tbody tr:hover {
  background-color: var(--gray-100);
}

/* Form Styles */
.form-control {
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--gray-700);
  font-size: 0.875rem;
}

.form-select {
  padding: 0.5rem 2rem 0.5rem 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.375rem;
  transition: all 0.2s;
  background-position: right 0.875rem center;
  font-size: 0.875rem;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Footer Styles */
.footer {
  padding: 1.25rem 1.5rem;
  background-color: white;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .content-container {
    margin-left: 0;
  }

  .navbar {
    left: 0;
  }
}

@media (max-width: 768px) {
  .navbar-center {
    display: none;
  }

  .navbar-breadcrumb {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .main-content {
    padding: 1rem;
    padding-top: calc(var(--navbar-height) + 1rem);
  }

  .navbar {
    padding: 0 1rem;
  }
}

/* Dark Mode Styles */
.dark-mode {
  --light-color: #1e293b;
  --dark-color: #f8fafc;
  --gray-50: #1e293b;
  --gray-100: #1a2234;
  --gray-200: #334155;
  --gray-300: #475569;
  --gray-400: #64748b;
  --gray-500: #94a3b8;
  --gray-600: #cbd5e1;
  --gray-700: #e2e8f0;
  --gray-800: #f1f5f9;
  --gray-900: #f8fafc;
}

.dark-mode body {
  background-color: var(--gray-100);
  color: var(--gray-800);
}

.dark-mode .navbar,
.dark-mode .footer,
.dark-mode .card,
.dark-mode .dropdown-menu {
  background-color: var(--gray-50);
  border-color: var(--gray-200);
}

.dark-mode .navbar-toggle,
.dark-mode .btn-icon {
  color: var(--gray-600);
}

.dark-mode .navbar-toggle:hover,
.dark-mode .btn-icon:hover {
  background-color: var(--gray-200);
  color: var(--primary-light);
}

.dark-mode .dropdown-item {
  color: var(--gray-700);
}

.dark-mode .dropdown-item:hover {
  background-color: var(--gray-200);
  color: var(--gray-900);
}

.dark-mode .dropdown-divider {
  border-color: var(--gray-200);
}

/* Animation Styles */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-in {
  animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Custom Components */

/* Dashboard Widgets */
.widget {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.widget-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title {
  font-weight: 600;
  margin-bottom: 0;
  color: var(--gray-800);
}

.widget-body {
  padding: 1.5rem;
}

.widget-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background-color: var(--gray-50);
}

/* Activity Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-icon {
  position: absolute;
  left: -2rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 1;
}

.timeline-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.timeline-text {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.timeline-time {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Task List */
.task-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.task-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.task-item:last-child {
  border-bottom: none;
}

.task-checkbox {
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.task-content {
  flex: 1;
}

.task-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
}

.task-description {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray-500);
}

.task-due-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.task-priority {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.task-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Status Badges */
.badge-status {
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 600;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-completed {
  background-color: var(--task-completed);
  color: white;
}

.badge-in-progress {
  background-color: var(--task-in-progress);
  color: white;
}

.badge-pending {
  background-color: var(--task-pending);
  color: white;
}

.badge-cancelled {
  background-color: var(--task-cancelled);
  color: white;
}

.badge-overdue {
  background-color: var(--task-overdue);
  color: white;
}

/* Priority Badges */
.badge-priority-high {
  background-color: var(--priority-high);
  color: white;
}

.badge-priority-medium {
  background-color: var(--priority-medium);
  color: white;
}

.badge-priority-low {
  background-color: var(--priority-low);
  color: white;
}

/* Calendar Styles */
.calendar-container {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.calendar-title {
  font-weight: 600;
  margin-bottom: 0;
  color: var(--gray-800);
}

.calendar-navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--gray-200);
}

.calendar-day-header {
  background-color: var(--gray-50);
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.calendar-day {
  background-color: white;
  min-height: 100px;
  padding: 0.5rem;
  position: relative;
}

.calendar-day-number {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.calendar-day.today {
  background-color: var(--gray-50);
}

.calendar-day.today .calendar-day-number {
  color: var(--primary-color);
}

.calendar-day.other-month {
  opacity: 0.5;
}

.calendar-event {
  background-color: var(--primary-light);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-event-success {
  background-color: var(--success-color);
}

.calendar-event-info {
  background-color: var(--info-color);
}

.calendar-event-warning {
  background-color: var(--warning-color);
}

.calendar-event-danger {
  background-color: var(--danger-color);
}

/* Loader */
.loader {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(79, 70, 229, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-state-icon {
  font-size: 3rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.empty-state-title {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

/* Utilities */
.cursor-pointer {
  cursor: pointer;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bg-light-primary {
  background-color: rgba(79, 70, 229, 0.1);
  color: var(--primary-color);
}

.bg-light-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.bg-light-info {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--info-color);
}

.bg-light-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

.bg-light-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}
