/* ============================================
   DESIGN 2: GLASSMORPHIC / FROSTED GLASS
   Modern glass effect with backdrop blur
   ============================================ */

:root {
  --glass-white: rgba(255, 255, 255, 0.1);
  --glass-white-strong: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --text-glass: rgba(255, 255, 255, 0.95);
  --text-glass-muted: rgba(255, 255, 255, 0.7);
}

body.glass-dashboard {
  font-family: 'Inter', -apple-system, sans-serif;
  min-height: 100vh;
  background: #1a1a2e;
  color: var(--text-glass);
  overflow-x: hidden;
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #667eea 0%, #764ba2 100%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f093fb 0%, #f5576c 100%);
  bottom: -15%;
  right: -10%;
  animation-delay: -7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #4facfe 0%, #00f2fe 100%);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* Glass Loader */
.loader-glass {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--glass-border);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Glass Alert */
.glass-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9998;
  padding: 1rem 1.5rem;
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Main Container */
.main-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: 80px;
}

.content-glass {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Glass Navigation Styles */
.glass-nav {
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  z-index: 1000;
}

.glass-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.glass-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glass-brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
}

.glass-brand-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.glass-brand-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.glass-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  padding: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.glass-select option {
  background: #1a1a2e;
  color: white;
}

.glass-brand-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.glass-brand-link:hover {
  color: white;
}

.glass-brand-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.glass-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glass-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  position: relative;
}

.glass-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.glass-notif-wrapper {
  position: relative;
}

.glass-notif-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
}

.glass-profile-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  transition: all 0.3s ease;
}

.glass-profile-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.glass-profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.glass-profile-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.glass-mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
}

.glass-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Dropdown Styles */
.glass-dropdown {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.glass-dropdown .dropdown-item {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.glass-dropdown .dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.glass-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.glass-user-info img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.glass-user-info strong {
  color: white;
  display: block;
}

.glass-user-info small {
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

/* Glass Header */
.glass-header {
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.welcome-glass {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
}

.glass-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-subtitle {
  color: var(--text-glass-muted);
  font-size: 1rem;
}

.stats-glass-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.glass-stat-card {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.glass-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
  background: var(--glass-white-strong);
}

.stat-glass-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.stat-glass-icon.my-progress {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.4), rgba(245, 87, 108, 0.4));
}

.stat-glass-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.stat-glass-label {
  font-size: 0.875rem;
  color: var(--text-glass-muted);
}

.stat-glass-value {
  font-size: 2rem;
  font-weight: 700;
}

.glass-actions {
  display: flex;
  gap: 0.5rem;
}

.glass-icon-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  color: var(--text-glass);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Glass Filters */
.glass-filters {
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.filter-glass-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-glass-wrapper::-webkit-scrollbar {
  height: 4px;
}

.filter-glass-wrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.filter-glass-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.glass-filter-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  min-width: fit-content;
}

.glass-filter-chip input {
  display: none;
}

.glass-filter-chip:has(input:checked),
.glass-filter-chip.active-bagian {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.glass-filter-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.glass-search {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.glass-search i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.125rem;
  z-index: 1;
}

.glass-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.glass-search input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.glass-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.glass-search {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glass-search i {
  font-size: 1.25rem;
  color: var(--text-glass-muted);
}

.glass-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-glass);
  font-size: 1rem;
}

.glass-search input::placeholder {
  color: var(--text-glass-muted);
}

/* Tasks Section */
.tasks-glass-section {
  padding: 2rem 0;
}

.section-glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
}

.section-glass-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-glass-header h2:before {
  content: "🚀";
  font-size: 1.5rem;
}

.glass-btn-primary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  color: white;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.glass-btn-primary:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.6));
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  color: white;
}

.glass-tasks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  min-height: 600px;
}

.glass-column {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

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

.glass-column-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.glass-column-header .task-count {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.glass-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.glass-tasks-list::-webkit-scrollbar {
  width: 6px;
}

.glass-tasks-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.glass-tasks-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* Glass Task Card */
.glass-task-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  overflow: hidden;
  cursor: pointer;
}

.glass-task-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.glass-task-link {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
}

.glass-task-status {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glass-task-status span {
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glass-task-status small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.glass-task-content {
  padding: 1.25rem;
}

.glass-task-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.glass-task-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.glass-task-header span:first-of-type {
  font-weight: 600;
  color: white;
  font-size: 0.9375rem;
}

.dept-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: auto;
}

.glass-task-content h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glass-task-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.glass-task-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-priority {
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glass-priority.priority-high,
.glass-priority.bg-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.glass-priority.priority-medium,
.glass-priority.bg-warning {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.glass-priority.priority-low,
.glass-priority.bg-info {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.glass-comments {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Empty State */
.glass-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  backdrop-filter: blur(10px);
}

.glass-empty-state img {
  max-width: 300px;
  height: auto;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.glass-empty-state h2 {
  color: white;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.glass-empty-state p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 400px;
}

/* Mobile Menu */
.glass-mobile-menu {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-mobile-user-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.glass-mobile-user-info img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.glass-mobile-user-info strong {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.glass-mobile-user-info small {
  color: rgba(255, 255, 255, 0.6);
}

.glass-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glass-mobile-nav-list li {
  margin-bottom: 0.5rem;
}

.glass-mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.glass-mobile-nav-list a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stats-glass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding-top: 70px;
  }
  
  .content-glass {
    padding: 0 15px 30px;
  }
  
  .glass-nav {
    padding: 0.5rem 0;
  }
  
  .glass-brand-content {
    display: none;
  }
  
  .glass-profile-name {
    display: none;
  }
  
  .glass-nav-actions {
    gap: 0.5rem;
  }
  
  .welcome-glass {
    padding: 1.5rem;
  }
  
  .glass-title {
    font-size: 2rem;
  }
  
  .stats-glass-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-glass-wrapper {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
  }
  
  .glass-tasks-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-glass-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .section-glass-header h2 {
    font-size: 1.5rem;
  }
  
  .glass-task-card {
    margin-bottom: 1rem;
  }
  
  .glass-empty-state {
    padding: 2rem 1rem;
    min-height: 50vh;
  }
  
  .glass-empty-state img {
    max-width: 200px;
  }
  
  .glass-empty-state h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .glass-task-content {
    padding: 1rem;
  }
  
  .glass-task-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .dept-badge {
    margin-left: 0;
    align-self: flex-end;
  }
  
  .glass-task-footer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .glass-btn-primary {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }
}

.section-glass-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-glass-header h2 {
  font-size: 2rem;
  font-weight: 700;
}

.glass-btn-primary {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--text-glass);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.glass-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
}

.glass-tasks-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.glass-column {
  display: flex;
  flex-direction: column;
}

.glass-column-header {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.glass-column-header i {
  font-size: 1.5rem;
}

.glass-tasks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 800px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.glass-tasks-list::-webkit-scrollbar {
  width: 6px;
}

.glass-tasks-list::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 999px;
}

/* Glass Task Card */
.glass-task-card {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}

.glass-task-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(31, 38, 135, 0.4);
  background: var(--glass-white-strong);
}

.glass-task-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.glass-task-status {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1rem;
  border-bottom-left-radius: 1rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 140px;
}

.glass-task-status span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}

.glass-task-status small {
  font-size: 0.7rem;
  opacity: 0.9;
}

.glass-task-content {
  padding: 1.5rem;
  padding-top: 3.5rem;
}

.glass-task-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.glass-task-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
}

.glass-task-header span:first-of-type {
  font-size: 0.875rem;
  font-weight: 600;
}

.dept-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.glass-task-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.glass-task-content p {
  font-size: 0.875rem;
  color: var(--text-glass-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.glass-task-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.glass-priority {
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.glass-priority.priority-high,
.glass-priority.bg-danger {
  background: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.glass-priority.priority-medium,
.glass-priority.bg-warning {
  background: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.glass-priority.priority-low,
.glass-priority.bg-info {
  background: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.glass-comments {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.glass-progress {
  margin-left: auto;
  font-weight: 700;
  color: rgba(102, 126, 234, 1);
}

/* Empty State */
.glass-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  text-align: center;
}

.glass-empty-state img {
  max-width: 300px;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.glass-empty-state h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .glass-tasks-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-content {
    grid-template-columns: 1fr;
  }
  
  .stats-glass-grid {
    grid-template-columns: 1fr;
  }
  
  .glass-title {
    font-size: 2rem;
  }
}
