@charset "UTF-8";
:root {
  --primary-color: #4A90E2;
  --primary-light: #E3F2FD;
  --secondary-color: #F5F7FA;
  --accent-color: #ef2020;
  --success-color: #4CAF50;
  --warning-color: #FF9800;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-light: #6B6B6B;
  --background: #FFFFFF;
  --surface: #F8F9FA;
  --bg-secondary: #F8F9FA;
  --border: #dfe1e2;
  --border-color: #dfe1e2;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 50%;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 100vh;
  background: var(--background);
  border-right: 1px solid var(--border);
  box-shadow: 2px 0 20px var(--shadow);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.sidebar .sidebar-header {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--gradient-primary);
  color: white;
  position: relative;
}
.sidebar .sidebar-header h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar .sidebar-header h2::after {
  content: "MGR";
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: var(--border-radius);
  font-size: 14px;
  margin-left: 8px;
  font-weight: 600;
}
.sidebar .sidebar-header .user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.sidebar .sidebar-header .user-profile .profile-pic {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}
.sidebar .sidebar-header .user-profile .user-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.sidebar .sidebar-header .user-profile .user-info p {
  font-size: 12px;
  opacity: 0.8;
}
.sidebar .sidebar-content {
  padding: 20px 0;
}
@media (max-width: 768px) {
  .sidebar .sidebar-content {
    padding-bottom: 120px;
  }
}
.sidebar .sidebar-content .nav-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  margin: 7px 20px;
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.sidebar .sidebar-content .nav-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  transform: translateX(4px);
}
.sidebar .sidebar-content .nav-item.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}
.sidebar .sidebar-content .nav-item svg {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}
.sidebar .sidebar-content .nav-item span {
  font-weight: 500;
  font-size: 14px;
}
.sidebar .sidebar-content .projects-section {
  margin-top: 24px;
  padding: 0 15px;
}
.sidebar .sidebar-content .projects-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  margin-left: 15px;
}
.sidebar .sidebar-content .projects-section .project-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  margin: 7px 0;
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
}
.sidebar .sidebar-content .projects-section .project-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  transform: translateX(4px);
}
.sidebar .sidebar-content .projects-section .project-item.active {
  background: var(--primary-light);
  color: var(--primary-color);
  font-weight: 600;
}
.sidebar .sidebar-content .projects-section .project-item.shared-project {
  position: relative;
}
.sidebar .sidebar-content .projects-section .project-item.shared-project .shared-icon {
  opacity: 1;
  color: var(--text-primary);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.sidebar .sidebar-content .projects-section .project-item .project-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.sidebar .sidebar-content .projects-section .project-item .project-info {
  flex: 1;
}
.sidebar .sidebar-content .projects-section .project-item .project-info .project-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sidebar .sidebar-content .projects-section .project-item .project-info .project-name .shared-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.sidebar .sidebar-content .projects-section .project-item .project-info .project-name .shared-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar .sidebar-content .projects-section .project-item .project-info .project-name:hover .shared-icon {
  opacity: 1;
}
.sidebar .sidebar-content .projects-section .project-item .project-info .project-stats {
  font-size: 11px;
  color: var(--text-light);
}
.sidebar .sidebar-content .projects-section .project-item .project-actions {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar .sidebar-content .projects-section .project-item .project-actions button {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar .sidebar-content .projects-section .project-item .project-actions button svg {
  width: 16px;
  height: 16px;
}
.sidebar .sidebar-content .projects-section .project-item .project-actions button.status-btn svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}
.sidebar .sidebar-content .projects-section .project-item .project-actions button:hover {
  background: var(--border);
  color: var(--text-primary);
}
.sidebar .sidebar-content .projects-section .project-item .project-actions button.delete-btn {
  color: var(--accent-color);
}
.sidebar .sidebar-content .projects-section .project-item .project-actions button.delete-btn:hover {
  background: var(--accent-color);
  color: white;
}
.sidebar .sidebar-content .projects-section .project-item .due-soon-badge {
  position: absolute;
  background: var(--accent-color);
  color: white;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  top: -2px;
  right: -2px;
  font-weight: 600;
  padding: 5px;
  font-size: 0.8rem;
}
.sidebar .sidebar-content .projects-section .project-item .project-item .due-soon-badge {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 10;
}
.sidebar .sidebar-content .projects-section .project-item:hover .project-actions {
  opacity: 1;
}
.sidebar .sidebar-content .projects-section.shared-project {
  position: relative;
}
.sidebar .sidebar-content .projects-section.shared-project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border-radius: 0 2px 2px 0;
}
.sidebar .sidebar-content .projects-section.shared-project .shared-icon {
  opacity: 1;
  color: #10b981;
  filter: drop-shadow(0 1px 2px rgba(16, 185, 129, 0.2));
}
.sidebar .sidebar-content .add-project {
  margin: 20px;
  padding: 10px 5px;
  border: 2px dashed var(--border);
  border-radius: var(--border-radius);
  text-align: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.sidebar .sidebar-content .add-project:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--primary-light);
}
.sidebar .sidebar-content .add-project .add-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}
.sidebar .sidebar-content .add-project span {
  font-size: 14px;
  font-weight: 500;
}
.sidebar .sidebar-content .user-actions {
  margin-top: 24px;
  padding: 0 20px;
}
.sidebar .sidebar-content .user-actions .nav-item {
  margin-bottom: 8px;
  width: 100%;
  justify-content: flex-start;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  margin: 7px 0;
}
.sidebar .sidebar-content .user-actions .nav-item:hover {
  background: var(--border);
  color: var(--text-primary);
  transform: translateX(4px);
}
.sidebar .sidebar-content .user-actions .nav-item.logout-button {
  background: var(--accent-color);
  color: white;
  border: none;
}
.sidebar .sidebar-content .user-actions .nav-item.logout-button:hover {
  background: #e55a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.content-wrapper {
  margin-left: 300px;
  min-height: 100vh;
  background: var(--surface);
  transition: margin-left 0.3s ease;
}

.main {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.project-header {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 15px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.project-header .project-info {
  flex: 1;
}
.project-header .project-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}
.project-header .project-info .project-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.project-header .project-info .project-owner-info {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.project-header .project-info .project-owner-info .owner-label {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 500;
}
.project-header .project-info .project-owner-info .owner-name {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
}
.project-header .project-actions {
  display: flex;
  gap: 12px;
}
.project-header .project-actions button {
  padding: 10px 16px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-header .project-actions button.share-project-btn {
  background: var(--primary-color);
  color: white;
}
.project-header .project-actions button.share-project-btn:hover {
  background: #357ABD;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}
.project-header .project-actions button.edit-project-btn {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.project-header .project-actions button.edit-project-btn:hover {
  background: var(--border);
  color: var(--text-primary);
}
@media (max-width: 992px) {
  .project-header .project-actions button {
    padding: 10px;
    gap: 0;
    font-size: 0;
  }
  .project-header .project-actions button span {
    display: none;
  }
  .project-header .project-actions button::after {
    display: none;
  }
  .project-header .project-actions button svg {
    width: 18px;
    height: 18px;
    font-size: 14px;
  }
}

.tab-navigation {
  display: flex;
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 4px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--shadow);
  gap: 5px;
}
.tab-navigation .tab-item {
  flex: 1;
  padding: 12px 20px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
@media (max-width: 768px) {
  .tab-navigation .tab-item {
    font-size: 0.75rem;
    gap: 0px;
  }
}
.tab-navigation .tab-item.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}
.tab-navigation .tab-item:hover:not(.active) {
  background: var(--surface);
  color: var(--text-primary);
}
.tab-navigation .tab-item svg {
  width: 16px;
  height: 16px;
}

.tab-content .tab-pane {
  display: none;
}
.tab-content .tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.statistics-container .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.statistics-container .stat-card {
  background: var(--background);
  border-radius: var(--border-radius-xl);
  padding: 24px;
  box-shadow: 0 4px 16px var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}
.statistics-container .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-hover);
}
.statistics-container .stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}
.statistics-container .stat-card .stat-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}
.statistics-container .stat-card .stat-content p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
  font-weight: 500;
}

.search-container {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-container .search-icon {
  color: var(--text-light);
  font-size: 18px;
}
.search-container input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text-primary);
  background: transparent;
}
.search-container input::placeholder {
  color: var(--text-light);
}

.projects-overview .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.projects-overview .project-card {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 4px 16px var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.projects-overview .project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.projects-overview .project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px var(--shadow-hover);
}
.projects-overview .project-card .project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.projects-overview .project-card .project-header .project-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}
.projects-overview .project-card .project-header .project-actions {
  opacity: 1;
  transition: opacity 0.3s ease;
}
.projects-overview .project-card .project-header .project-actions button {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--border-radius);
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.projects-overview .project-card .project-header .project-actions button svg {
  width: 18px;
  height: 18px;
}
.projects-overview .project-card .project-header .project-actions button:hover {
  background: var(--surface);
  color: var(--text-primary);
}
.projects-overview .project-card .project-header .project-actions button.delete-btn {
  color: var(--accent-color);
}
.projects-overview .project-card .project-header .project-actions button.delete-btn:hover {
  background: var(--accent-color);
  color: white;
}
.projects-overview .project-card .project-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.projects-overview .project-card .project-title .shared-icon {
  width: 18px;
  height: 18px;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.projects-overview .project-card .project-title .shared-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.projects-overview .project-card .project-title:hover .shared-icon {
  opacity: 1;
}
.projects-overview .project-card .project-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.projects-overview .project-card .project-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.projects-overview .project-card .project-stats .stat {
  text-align: center;
}
.projects-overview .project-card .project-stats .stat .stat-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}
.projects-overview .project-card .project-stats .stat .stat-label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.projects-overview .project-card .project-progress {
  margin-bottom: 16px;
}
.projects-overview .project-card .project-progress .progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}
.projects-overview .project-card .project-progress .progress-bar .progress-fill {
  height: 100%;
  background: var(--gradient-success);
  border-radius: var(--border-radius-sm);
  transition: width 0.3s ease;
}
.projects-overview .project-card .project-progress .progress-text {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
.projects-overview .project-card.shared-project {
  position: relative;
}
.projects-overview .project-card.shared-project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}
.projects-overview .project-card.shared-project .shared-icon {
  opacity: 1;
  color: var(--text-primary);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}
.projects-overview .project-card .project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
}
.projects-overview .project-card .project-footer .shared-users {
  display: flex;
  align-items: center;
  gap: 4px;
}
.projects-overview .project-card .project-footer .shared-users .user-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  font-weight: 600;
}
.projects-overview .project-card .project-footer .due-soon {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 12px;
}

.share-form {
  margin-bottom: 24px;
}
.share-form .form-group {
  margin-bottom: 16px;
}
.share-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}
.share-form .form-group .input-button-group {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.share-form .form-group .input-button-group input {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}
.share-form .form-group .input-button-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}
.share-form .form-group .input-button-group .share-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.share-form .form-group .input-button-group .share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.shared-users h4 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 600;
}
.shared-users ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shared-users ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.shared-users ul li.no-users {
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
}
.shared-users ul li .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.shared-users ul li .user-info .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.shared-users ul li .user-info .user-details .username {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.shared-users ul li .user-info .user-details .email {
  font-size: 12px;
  color: var(--text-light);
}
.shared-users ul li .unshare-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shared-users ul li .unshare-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.05);
}
.shared-users ul li .unshare-btn svg {
  width: 16px;
  height: 16px;
}

#taskSection {
  background: var(--background);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px var(--shadow);
  margin-bottom: 24px;
}
#taskSection .task-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}
#taskSection .task-header-actions .task-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}
#taskSection .task-header-actions .task-filters .filter-bottom-sheet {
  display: none;
}
#taskSection .task-header-actions .task-filters .filter-toggle {
  display: none;
}
@media (max-width: 992px) {
  #taskSection .task-header-actions .task-filters .filter-btn {
    display: none;
  }
  #taskSection .task-header-actions .task-filters .filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--background);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
  }
  #taskSection .task-header-actions .task-filters .filter-toggle:hover {
    background: #f3f4f6;
    color: #374151;
    transform: translateY(-1px);
  }
  #taskSection .task-header-actions .task-filters .filter-toggle svg {
    width: 16px;
    height: 16px;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet {
    display: block;
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--background);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px var(--shadow);
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet.show {
    bottom: 0;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .sheet-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .sheet-header .close-sheet {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .sheet-header .close-sheet:hover {
    background: var(--surface);
    color: var(--text-primary);
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .sheet-header .close-sheet svg {
    width: 20px;
    height: 20px;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn {
    display: flex;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    background: var(--background);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    align-items: center;
    justify-content: space-between;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=all] {
    border-color: #6b7280;
    color: #4b5563;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=all]:hover:not(.active) {
    background: #f3f4f6;
    color: #374151;
    border-color: #9ca3af;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=all].active {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=todo] {
    border-color: #f59e0b;
    color: #d97706;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=todo]:hover:not(.active) {
    background: #fef3c7;
    color: #b45309;
    border-color: #f59e0b;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=todo].active {
    background: #f59e0b;
    color: white;
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=in-progress] {
    border-color: #3b82f6;
    color: #2563eb;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=in-progress]:hover:not(.active) {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #3b82f6;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=in-progress].active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=review] {
    border-color: #8b5cf6;
    color: #7c3aed;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=review]:hover:not(.active) {
    background: #e0e7ff;
    color: #6d28d9;
    border-color: #8b5cf6;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=review].active {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=completed] {
    border-color: #10b981;
    color: #059669;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=completed]:hover:not(.active) {
    background: #d1fae5;
    color: #047857;
    border-color: #10b981;
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn[data-filter=completed].active {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  }
  #taskSection .task-header-actions .task-filters .filter-bottom-sheet .filter-options .filter-btn:hover:not(.active) {
    transform: translateY(-1px);
  }
}
#taskSection .task-header-actions #addTaskBtn {
  flex-shrink: 0;
}
#taskSection .task-filters .filter-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  background: var(--background);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}
#taskSection .task-filters .filter-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}
#taskSection .task-filters .filter-btn:hover:not(.active) {
  background: var(--surface);
  color: var(--text-primary);
  transform: translateY(-1px);
}
#taskSection .task-filters .filter-btn[data-filter=all] {
  border-color: #6b7280;
  color: #4b5563;
}
#taskSection .task-filters .filter-btn[data-filter=all]:hover:not(.active) {
  background: #f3f4f6;
  color: #374151;
  border-color: #9ca3af;
}
#taskSection .task-filters .filter-btn[data-filter=all].active {
  background: #6b7280;
  color: white;
  border-color: #6b7280;
  box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}
#taskSection .task-filters .filter-btn[data-filter=todo] {
  border-color: #f59e0b;
  color: #d97706;
}
#taskSection .task-filters .filter-btn[data-filter=todo]:hover:not(.active) {
  background: #fef3c7;
  color: #b45309;
  border-color: #f59e0b;
}
#taskSection .task-filters .filter-btn[data-filter=todo].active {
  background: #f59e0b;
  color: white;
  border-color: #f59e0b;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
#taskSection .task-filters .filter-btn[data-filter=in-progress] {
  border-color: #3b82f6;
  color: #2563eb;
}
#taskSection .task-filters .filter-btn[data-filter=in-progress]:hover:not(.active) {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #3b82f6;
}
#taskSection .task-filters .filter-btn[data-filter=in-progress].active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}
#taskSection .task-filters .filter-btn[data-filter=review] {
  border-color: #8b5cf6;
  color: #7c3aed;
}
#taskSection .task-filters .filter-btn[data-filter=review]:hover:not(.active) {
  background: #e0e7ff;
  color: #6d28d9;
  border-color: #8b5cf6;
}
#taskSection .task-filters .filter-btn[data-filter=review].active {
  background: #8b5cf6;
  color: white;
  border-color: #8b5cf6;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}
#taskSection .task-filters .filter-btn[data-filter=completed] {
  border-color: #10b981;
  color: #059669;
}
#taskSection .task-filters .filter-btn[data-filter=completed]:hover:not(.active) {
  background: #d1fae5;
  color: #047857;
  border-color: #10b981;
}
#taskSection .task-filters .filter-btn[data-filter=completed].active {
  background: #10b981;
  color: white;
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
#taskSection .tasks-container.kanban-view {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
#taskSection .tasks-container.kanban-view.filtered {
  grid-template-columns: 1fr;
}
#taskSection .tasks-container.kanban-view.filtered .kanban-column {
  min-width: 100%;
  max-width: 100%;
}
@media (max-width: 1400px) {
  #taskSection .tasks-container.kanban-view {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  #taskSection .tasks-container.kanban-view.filtered {
    grid-template-columns: 1fr;
  }
  #taskSection .tasks-container.kanban-view.filtered .kanban-column {
    min-width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  #taskSection .tasks-container.kanban-view {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #taskSection .tasks-container.kanban-view.filtered {
    grid-template-columns: 1fr;
  }
  #taskSection .tasks-container.kanban-view.filtered .kanban-column {
    min-width: 100%;
    max-width: 100%;
  }
  #taskSection .tasks-container.kanban-view .kanban-column {
    padding: 16px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .column-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .column-header h3 {
    font-size: 16px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .column-header h3 .task-count {
    padding: 3px 8px;
    font-size: 11px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item {
    padding: 16px;
    margin-bottom: 12px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title {
    font-size: 14px;
    margin-bottom: 10px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta {
    gap: 12px;
    font-size: 12px;
    margin-bottom: 12px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-due-date,
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-comments,
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-attachments {
    padding: 3px 6px;
    font-size: 11px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer {
    padding-top: 10px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-assignee {
    font-size: 12px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-assignee .assignee-avatar {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-status {
    padding: 4px 8px;
    font-size: 10px;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-delete-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-delete-btn:hover {
    background: var(--accent-color);
    color: white;
  }
  #taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-delete-btn svg {
    width: 12px;
    height: 12px;
  }
}
#taskSection .tasks-container.kanban-view .kanban-column {
  background: var(--surface);
  border-radius: var(--border-radius);
  padding: 16px;
  border: 1px solid var(--border);
}
#taskSection .tasks-container.kanban-view .kanban-column .column-content {
  min-height: 100px;
}
#taskSection .tasks-container.kanban-view .kanban-column .column-content.drag-over {
  background: rgba(var(--primary-color-rgb), 0.05);
  border: 2px dashed var(--primary-color);
  border-radius: var(--border-radius);
}
#taskSection .tasks-container.kanban-view .kanban-column.filtered-column .column-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1300px) {
  #taskSection .tasks-container.kanban-view .kanban-column.filtered-column .column-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  #taskSection .tasks-container.kanban-view .kanban-column.filtered-column .column-content {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  #taskSection .tasks-container.kanban-view .kanban-column.filtered-column .column-content {
    grid-template-columns: 1fr;
  }
}
#taskSection .tasks-container.kanban-view .kanban-column .column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
#taskSection .tasks-container.kanban-view .kanban-column .column-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
#taskSection .tasks-container.kanban-view .kanban-column .column-header h3 .task-count {
  background: var(--primary-color);
  color: white;
  padding: 2px 5px;
  border-radius: var(--border-radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  width: 23px;
  height: 23px;
  text-align: center;
}
#taskSection .tasks-container.kanban-view .kanban-column .column-header .column-actions {
  display: flex;
  gap: 4px;
}
#taskSection .tasks-container.kanban-view .kanban-column .column-header .column-actions button {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#taskSection .tasks-container.kanban-view .kanban-column .column-header .column-actions button:hover {
  background: var(--border);
  color: var(--text-primary);
}
#taskSection .tasks-container.kanban-view .kanban-column .column-header .column-actions button svg {
  width: 14px;
  height: 14px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item {
  background: var(--background);
  border-radius: var(--border-radius);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item.dragging {
  opacity: 0.5;
  transform: rotate(2deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item:hover {
  background: var(--surface);
  border-color: var(--primary-color);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item.due-soon {
  border-color: var(--accent-color);
  border-width: 2px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item.due-soon:hover {
  border-color: #d32f2f;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  word-break: break-word;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title span:first-child {
  flex: 1;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title .task-info-icon {
  flex-shrink: 0;
  color: var(--primary-color);
  cursor: help;
  padding: 2px;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  position: relative;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title .task-info-icon:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title .task-info-icon:hover::after {
  content: attr(data-description);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  font-size: 12px;
  font-weight: 400;
  white-space: pre-wrap;
  min-width: 200px;
  max-width: 350px;
  word-wrap: break-word;
  z-index: 1000;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title .task-info-icon:hover::after::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-title .task-info-icon svg {
  width: 14px;
  height: 14px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-due-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-due-date.overdue {
  color: var(--accent-color);
  font-weight: 600;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-due-date svg {
  width: 12px;
  height: 12px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-comments {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-comments:hover {
  color: var(--primary-color);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-comments:hover::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  border-radius: var(--border-radius);
  min-width: 250px;
  max-width: 400px;
  z-index: 1000;
  margin-bottom: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-comments:hover::after::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.95);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-comments svg {
  width: 12px;
  height: 12px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-attachments {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-meta .task-attachments svg {
  width: 12px;
  height: 12px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-bottom: 8px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-assignee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-assignee .assignee-avatar {
  width: 24px;
  height: 24px;
  border-radius: var(--border-radius-full);
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 600;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-delete-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-delete-btn:hover {
  background: var(--accent-color);
  color: white;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-footer .task-delete-btn svg {
  width: 12px;
  height: 12px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-status {
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  align-self: flex-end;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-status.status-angelegt {
  background: #fef3c7;
  color: #92400e;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-status.status-in-arbeit {
  background: #dbeafe;
  color: #1e40af;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-status.status-review {
  background: #f3e8ff;
  color: #7c3aed;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .task-status.status-abgeschlossen {
  background: #dcfce7;
  color: #166534;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  width: 100%;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info .completion-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--text-light);
  width: 100%;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info .completion-details .completion-user,
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info .completion-details .completion-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  width: 100%;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info .completion-details .completion-user svg,
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info .completion-details .completion-date svg {
  width: 12px;
  height: 12px;
  color: var(--success-color);
  flex-shrink: 0;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info .completion-details .completion-user {
  color: var(--text-secondary);
  font-weight: 600;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .completion-info .completion-details .completion-date {
  color: var(--text-light);
  font-size: 10px;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .creation-info {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  width: 100%;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .creation-info .creation-details {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  margin-bottom: 5px;
  color: var(--text-light);
  width: 100%;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .creation-info .creation-details .creation-date {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  width: 100%;
}
#taskSection .tasks-container.kanban-view .kanban-column .task-item .creation-info .creation-details .creation-date svg {
  width: 12px;
  height: 12px;
  color: var(--text-light);
  flex-shrink: 0;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.btn.btn-primary {
  background: var(--gradient-primary);
  color: white;
}
.btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}
.btn.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-1px);
}
.btn.btn-success {
  background: var(--gradient-success);
  color: white;
}
.btn.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}
.btn.btn-danger {
  background: var(--gradient-secondary);
  color: white;
}
.btn.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}
.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-content {
  background: var(--background);
  border-radius: 16px;
  box-shadow: 0 20px 60px var(--shadow-hover);
  max-width: 900px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal .modal-content .modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal .modal-content .modal-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.modal .modal-content .modal-header .close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}
.modal .modal-content .modal-header .close:hover {
  background: var(--surface);
  color: var(--text-primary);
}
.modal .modal-content .modal-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}
.modal .modal-content .modal-body .form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .modal .modal-content .modal-body .form-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.modal .modal-content .modal-body .form-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal .modal-content .modal-body .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) {
  .modal .modal-content .modal-body .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.modal .modal-content .modal-body .form-group {
  margin-bottom: 0;
}
.modal .modal-content .modal-body .form-group.full-width {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.modal .modal-content .modal-body .form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 14px;
}
.modal .modal-content .modal-body .form-group input, .modal .modal-content .modal-body .form-group textarea, .modal .modal-content .modal-body .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--background);
  transition: all 0.3s ease;
}
.modal .modal-content .modal-body .form-group input:focus, .modal .modal-content .modal-body .form-group textarea:focus, .modal .modal-content .modal-body .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}
.modal .modal-content .modal-body .form-group input::placeholder, .modal .modal-content .modal-body .form-group textarea::placeholder, .modal .modal-content .modal-body .form-group select::placeholder {
  color: var(--text-light);
}
.modal .modal-content .modal-body .form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 12px 40px 12px 10px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="12" viewBox="0 0 20 20" width="12" xmlns="http://www.w3.org/2000/svg"><path d="M5.516 7.548a.75.75 0 0 1 1.06 0L10 10.972l3.424-3.424a.75.75 0 0 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 0 1 0-1.06z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}
.modal .modal-content .modal-body .form-group input[type=date] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 11px 16px;
  box-sizing: border-box;
}
.modal .modal-content .modal-body .form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.modal .modal-content .modal-body .form-group .project-info {
  padding: 9px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}
.modal .modal-content .modal-body .form-group.dateselect {
  position: relative;
  display: inline-block;
  width: 100%;
}
.modal .modal-content .modal-body .form-group.dateselect::after {
  content: "";
  position: absolute;
  bottom: 14px;
  right: 18px;
  pointer-events: none;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23666" viewBox="0 0 24 24"><path d="M7 10h5v5H7z" opacity=".3"/><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11zm0-13H5V6h14v1z"/><path d="M7 10h5v5H7z"/></svg>');
  background-repeat: no-repeat;
  background-size: 16px 16px;
}
.modal .modal-content .modal-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.modal .modal-content .comments-container {
  margin-top: 10px;
}
.modal .modal-content .comments-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
}
.modal .modal-content .comment-item {
  padding: 10px;
  border-bottom: 1px solid var(--border-color);
}
.modal .modal-content .comment-item:last-child {
  border-bottom: none;
}
.modal .modal-content .comment-item .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}
.modal .modal-content .comment-item .comment-author {
  font-weight: 600;
  color: var(--primary-color);
}
.modal .modal-content .comment-item .comment-date {
  color: var(--text-muted);
}
.modal .modal-content .comment-item .comment-text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-primary);
  word-wrap: break-word;
}
.modal .modal-content .comment-input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal .modal-content .comment-input-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  min-height: 80px;
}
.modal .modal-content .comment-input-container textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-light);
}
.modal .modal-content .comment-input-container button {
  align-self: flex-end;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
.activity-controls {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.activity-controls .filter-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.activity-controls .filter-controls .filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.activity-controls .filter-controls .filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.activity-controls .filter-controls .filter-group .form-select {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}
.activity-controls .filter-controls .filter-group .form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.activity-controls .filter-controls .filter-group .form-select:hover {
  border-color: var(--primary-color);
}
.activity-controls .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.activity-controls .btn.btn-primary {
  background: var(--gradient-primary);
  color: white;
}
.activity-controls .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}
.activity-controls .btn.btn-primary:active {
  transform: translateY(0);
}
.activity-controls .btn svg {
  width: 16px;
  height: 16px;
}

.activity-container {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.activity-list .activity-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
}
.activity-list .activity-item:last-child {
  border-bottom: none;
}
.activity-list .activity-item:hover {
  background: var(--background);
}
.activity-list .activity-item .activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.activity-list .activity-item .activity-icon.project-created {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}
.activity-list .activity-item .activity-icon.task-created {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}
.activity-list .activity-item .activity-icon.task-completed {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}
.activity-list .activity-item .activity-icon.task-updated {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
}
.activity-list .activity-item .activity-icon.project-shared {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  color: white;
}
.activity-list .activity-item .activity-content {
  flex: 1;
}
.activity-list .activity-item .activity-content .activity-message {
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.5;
}
.activity-list .activity-item .activity-content .activity-message .username {
  font-weight: 600;
  color: var(--primary-color);
}
.activity-list .activity-item .activity-content .activity-message .project-name {
  font-weight: 600;
  color: var(--text-primary);
}
.activity-list .activity-item .activity-content .activity-message .task-name {
  font-weight: 600;
  color: var(--text-primary);
}
.activity-list .activity-item .activity-content .activity-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}
.activity-list .activity-item .activity-content .activity-meta .activity-time {
  display: flex;
  align-items: center;
  gap: 4px;
}
.activity-list .activity-item .activity-content .activity-meta .activity-time svg {
  width: 12px;
  height: 12px;
}
.activity-list .activity-item .activity-content .activity-meta .activity-type {
  background: var(--border);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.loading-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  color: var(--text-light);
}
.loading-indicator .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
.loading-indicator p {
  font-size: 14px;
  font-weight: 500;
}

.no-activities {
  padding: 60px 24px;
  text-align: center;
}
.no-activities .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
}
.no-activities .empty-state svg {
  opacity: 0.5;
}
.no-activities .empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}
.no-activities .empty-state p {
  font-size: 14px;
  margin: 0;
  max-width: 300px;
  line-height: 1.5;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .activity-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .activity-controls .filter-controls {
    justify-content: space-between;
    gap: 12px;
  }
  .activity-controls .filter-controls .filter-group {
    flex: 1;
    min-width: 0;
  }
  .activity-controls .filter-controls .filter-group .form-select {
    min-width: 0;
    width: 100%;
  }
  .activity-controls .btn {
    width: 100%;
    justify-content: center;
  }
  .activity-list .activity-item {
    padding: 16px 20px;
    gap: 12px;
  }
  .activity-list .activity-item .activity-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .activity-list .activity-item .activity-content .activity-message {
    font-size: 13px;
  }
  .activity-list .activity-item .activity-content .activity-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
.sidebar-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 12px;
  cursor: pointer;
  box-shadow: none;
  transition: all 0.3s ease;
  display: none;
}
.sidebar-toggle:hover {
  background: var(--surface);
  transform: scale(1.05);
  box-shadow: none;
}
.sidebar-toggle .hamburger-icon {
  width: 20px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sidebar-toggle .hamburger-icon .line {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.sidebar-toggle .hamburger-icon .line1 {
  transform: translateY(0);
}
.sidebar-toggle .hamburger-icon .line2 {
  opacity: 1;
}
.sidebar-toggle .hamburger-icon .line3 {
  transform: translateY(0);
}
.sidebar-toggle.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.sidebar-toggle.active .hamburger-icon .line {
  background-color: white;
}
.sidebar-toggle.active .hamburger-icon .line1 {
  transform: translateY(7px) rotate(45deg);
}
.sidebar-toggle.active .hamburger-icon .line2 {
  opacity: 0;
  transform: scaleX(0);
}
.sidebar-toggle.active .hamburger-icon .line3 {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 992px) {
  .sidebar-toggle {
    display: block;
  }
  .sidebar {
    width: 100%;
    transform: translateX(-100%);
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .content-wrapper {
    margin-left: 0;
  }
  .main {
    padding: 16px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-header {
    gap: 16px;
    align-items: flex-start;
  }
  .search-container {
    position: relative;
    flex-direction: row;
    gap: 12px;
  }
  .search-container input {
    flex: 1;
  }
}
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 16px;
}

.gap-3 {
  gap: 24px;
}

.auth-page {
  background: var(--gradient-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.auth-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.auth-container {
  background: var(--background);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 60px var(--shadow-hover);
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-secondary);
}

.auth-header {
  padding: 40px 32px 32px;
  text-align: center;
  background: var(--surface);
  position: relative;
}
.auth-header .auth-logo {
  margin-bottom: 20px;
}
.auth-header .auth-logo h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}
.auth-header .auth-logo h2::after {
  content: "MGR";
  background: var(--primary-light);
  color: var(--primary-color);
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  margin-left: 8px;
  font-weight: 600;
}
.auth-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.auth-header p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.auth-form {
  padding: 32px;
}
.auth-form .form-group {
  margin-bottom: 24px;
  position: relative;
}
.auth-form .form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 14px;
}
.auth-form .form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  font-size: 16px;
  color: var(--text-primary);
  background: var(--background);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-form .form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
  transform: translateY(-2px);
}
.auth-form .form-group input::placeholder {
  color: var(--text-light);
}
.auth-form .form-group input.error {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(239, 32, 32, 0.1);
}
.auth-form .form-group .password-input-wrapper {
  position: relative;
}
.auth-form .form-group .password-input-wrapper .password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.auth-form .form-group .password-input-wrapper .password-toggle:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}
.auth-form .form-group .password-input-wrapper .password-toggle svg {
  width: 20px;
  height: 20px;
}
.auth-form .form-options {
  margin-bottom: 24px;
}
.auth-form .form-options .checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.auth-form .form-options .checkbox-container input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
  cursor: pointer;
  margin: 0;
}
.auth-form .form-options .checkbox-container .checkmark {
  display: none;
}
.auth-form .auth-button {
  width: 100%;
  padding: 16px 24px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.auth-form .auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}
.auth-form .auth-button:active {
  transform: translateY(0);
}
.auth-form .auth-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.auth-form .auth-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.auth-form .auth-button:hover::before {
  left: 100%;
}

.error-message {
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin: 20px 24px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}
.error-message::before {
  content: "⚠️";
  font-size: 18px;
}

.success-message {
  background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
  border: 1px solid var(--success-color);
  color: var(--success-color);
  padding: 16px 20px;
  border-radius: var(--border-radius);
  margin: 20px 24px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}
.success-message::before {
  content: "✅";
  font-size: 18px;
}

.auth-footer {
  padding: 24px 32px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.auth-footer p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}
.auth-footer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.auth-footer p a:hover {
  color: #357ABD;
  text-decoration: underline;
}

.back-link-container {
  padding: 0 32px 16px;
  background: var(--surface);
}
.back-link-container .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}
.back-link-container .back-link:hover {
  color: #357ABD;
  transform: translateX(-4px);
}
.back-link-container .back-link svg {
  width: 16px;
  height: 16px;
}

.task-visibility-controls .visibility-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.task-visibility-controls .visibility-toggle .toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-bottom: 0 !important;
}
.task-visibility-controls .visibility-toggle .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.task-visibility-controls .visibility-toggle .toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary-color);
}
.task-visibility-controls .visibility-toggle .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
}
@media (max-width: 768px) {
  .task-visibility-controls .visibility-toggle .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
  }
}
.task-visibility-controls .visibility-toggle .toggle-switch input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--primary-color);
}
.task-visibility-controls .visibility-toggle .toggle-switch input:disabled + .toggle-slider {
  background-color: var(--border);
  cursor: not-allowed;
  opacity: 0.6;
}
.task-visibility-controls .visibility-toggle .toggle-switch input:disabled + .toggle-slider:before {
  background-color: #ccc;
}
.task-visibility-controls .visibility-toggle .toggle-switch input:disabled:checked + .toggle-slider {
  background-color: var(--text-light);
}
.task-visibility-controls .visibility-toggle .toggle-switch .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: 0.3s;
  border-radius: 24px;
}
.task-visibility-controls .visibility-toggle .toggle-switch .toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
.task-visibility-controls .visibility-toggle .toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}
.task-visibility-controls .user-selection {
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 16px;
  background: var(--surface);
}
.task-visibility-controls .user-selection label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-primary);
}
.task-visibility-controls .user-selection .user-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.task-visibility-controls .user-selection .user-list .user-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  background: var(--background);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}
.task-visibility-controls .user-selection .user-list .user-checkbox:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
}
.task-visibility-controls .user-selection .user-list .user-checkbox input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}
.task-visibility-controls .user-selection .user-list .user-checkbox .user-info {
  flex: 1;
}
.task-visibility-controls .user-selection .user-list .user-checkbox .user-info .username {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}
.task-visibility-controls .user-selection .user-list .user-checkbox .user-info .email {
  font-size: 12px;
  color: var(--text-light);
}

.comments-tooltip {
  background: rgba(0, 0, 0, 0.95);
  color: white;
  border-radius: var(--border-radius);
  padding: 0;
  max-width: 350px;
  min-width: 250px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  font-size: 13px;
  line-height: 1.4;
  z-index: 10000;
}
.comments-tooltip .tooltip-header {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-color);
}
.comments-tooltip .tooltip-content {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 0;
}
.comments-tooltip .tooltip-comment {
  padding: 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.comments-tooltip .tooltip-comment:last-child {
  border-bottom: none;
}
.comments-tooltip .tooltip-comment .tooltip-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}
.comments-tooltip .tooltip-comment .tooltip-author {
  font-weight: 600;
  color: var(--primary-color);
}
.comments-tooltip .tooltip-comment .tooltip-date {
  color: rgba(255, 255, 255, 0.5);
}
.comments-tooltip .tooltip-comment .tooltip-comment-text {
  font-size: 12px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  word-wrap: break-word;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
  }
}
@media (max-width: 480px) {
  .auth-page {
    padding: 16px;
  }
  .auth-container {
    border-radius: var(--border-radius-xl);
  }
  .auth-header {
    padding: 32px 24px 24px;
  }
  .auth-header .auth-logo h2 {
    font-size: 24px;
  }
  .auth-header h1 {
    font-size: 20px;
  }
  .auth-header p {
    font-size: 14px;
  }
  .auth-form {
    padding: 24px;
  }
  .auth-form .form-group input {
    padding: 14px 16px;
    font-size: 16px;
  }
  .auth-footer {
    padding: 20px 24px 24px;
  }
}
#editTaskDueDate,
#newTaskDueDate {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--background);
  transition: all 0.3s ease;
  box-sizing: border-box;
}
#editTaskDueDate:focus,
#newTaskDueDate:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

@media (max-width: 768px) {
  #editTaskDueDate,
  #newTaskDueDate {
    min-height: 44px;
    padding: 12px 16px;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
  }
  #editTaskDueDate:focus,
  #newTaskDueDate:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  }
}
@supports (-webkit-touch-callout: none) {
  #editTaskDueDate,
  #newTaskDueDate {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
  }
}

/*# sourceMappingURL=style.css.map */
