﻿
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 50%, #FDF4FF 100%);
      color: #1F2937;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      font-size: 14px;
      overflow-x: hidden;
    }

    .glass {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .glass-strong {
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(36px);
      -webkit-backdrop-filter: blur(36px);
      border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .glass-max {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(48px);
      -webkit-backdrop-filter: blur(48px);
      border: 1px solid rgba(255, 255, 255, 0.5);
    }

    .glass-input {
      background: rgba(255, 255, 255, 0.65);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(209, 213, 219, 0.5);
      transition: all 0.3s ease;
    }

    .glass-input:focus {
      background: rgba(255, 255, 255, 0.95);
      border-color: rgba(79, 70, 229, 0.5);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
      outline: none;
    }

    .glass-tab {
      background: rgba(255, 255, 255, 0.65);
      backdrop-filter: blur(60px);
      -webkit-backdrop-filter: blur(60px);
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-top: 1px solid rgba(255, 255, 255, 0.6);
      box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .bg-orb {
      position: fixed;
      border-radius: 50%;
      filter: blur(100px);
      opacity: 0.1;
      pointer-events: none;
      z-index: 0;
      animation: orbFloat 20s ease-in-out infinite;
    }

    @keyframes orbFloat {

      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      33% {
        transform: translate(30px, -30px) scale(1.1);
      }

      66% {
        transform: translate(-20px, 20px) scale(0.95);
      }
    }

    .fade-in {
      animation: fadeIn 0.4s ease-out;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(15px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .slide-in-right {
      animation: slideInRight 0.35s ease-out;
    }

    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(30px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .float {
      animation: float 3s ease-in-out infinite;
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-8px);
      }
    }

    .task-card {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(229, 231, 235, 0.5);
      transition: all 0.3s ease;
    }

    .task-card:hover {
      border-color: rgba(79, 70, 229, 0.3);
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
      transform: translateY(-2px);
    }

    .task-card.completed {
      opacity: 0.6;
    }

    .task-card.completed h3 {
      text-decoration: line-through;
      color: #6B7280;
    }

    .task-card.selected {
      ring: 2px solid #4F46E5;
      background-color: rgba(79, 70, 229, 0.05);
    }

    .task-actions {
      display: flex;
      align-items: center;
      gap: 6px;
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .task-card:hover .task-actions {
      opacity: 1;
    }

    .task-action-btn {
      width: 30px;
      height: 30px;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      line-height: 1;
      flex-shrink: 0;
      transition: all 0.2s ease;
    }

    .task-action-btn i {
      display: block;
      font-size: 14px;
      line-height: 1;
      pointer-events: none;
    }

    .task-action-btn:hover {
      transform: scale(1.1);
    }

    .task-action-btn.share {
      color: #3B82F6;
    }

    .task-action-btn.share:hover {
      background-color: rgba(59, 130, 246, 0.1);
      color: #2563EB;
    }

    .task-action-btn.copy {
      color: #10B981;
    }

    .task-action-btn.copy:hover {
      background-color: rgba(16, 185, 129, 0.1);
      color: #059669;
    }

    .task-action-btn.delete {
      color: #EF4444;
    }

    .task-action-btn.delete:hover {
      background-color: rgba(239, 68, 68, 0.1);
      color: #DC2626;
    }

    .btn-primary-glass {
      background: rgba(79, 70, 229, 0.9);
      color: white;
      font-weight: 500;
      padding: 10px 20px;
      border-radius: 12px;
      transition: all 0.3s ease;
    }

    .btn-primary-glass:hover {
      background: #4F46E5;
      box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
    }

    .btn-primary-glass:active {
      background: #4338CA;
    }

    .btn-secondary-glass {
      background: rgba(255, 255, 255, 0.65);
      color: #374151;
      font-weight: 500;
      padding: 10px 20px;
      border-radius: 12px;
      border: 1px solid rgba(229, 231, 235, 0.5);
      transition: all 0.3s ease;
    }

    .btn-secondary-glass:hover {
      background: rgba(255, 255, 255, 0.85);
      border-color: rgba(79, 70, 229, 0.3);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .btn-secondary-glass:active {
      background: rgba(255, 255, 255, 0.95);
    }

    .input-glass {
      width: 100%;
      padding: 10px 16px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.65);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(209, 213, 219, 0.5);
      transition: all 0.3s ease;
    }

    .input-glass:focus {
      outline: none;
      background: rgba(255, 255, 255, 0.95);
      border-color: rgba(79, 70, 229, 0.5);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
    }

    .tag-work {
      background-color: rgba(59, 130, 246, 0.1);
      color: #3B82F6;
    }

    .tag-study {
      background-color: rgba(139, 92, 246, 0.1);
      color: #8B5CF6;
    }

    .tag-life {
      background-color: rgba(236, 72, 153, 0.1);
      color: #EC4899;
    }

    .tag-health {
      background-color: rgba(16, 185, 129, 0.1);
      color: #10B981;
    }

    .tag-primary {
      background-color: rgba(79, 70, 229, 0.1);
      color: #4F46E5;
    }

    .tag-secondary {
      background-color: rgba(124, 58, 237, 0.1);
      color: #7C3AED;
    }

    .sidebar-tag-icon {
      width: 14px;
      text-align: center;
      margin-right: 10px;
      font-size: 12px;
    }

    .sidebar-tag-work { color: #3B82F6; }
    .sidebar-tag-study { color: #8B5CF6; }
    .sidebar-tag-life { color: #EC4899; }
    .sidebar-tag-health { color: #10B981; }
    .sidebar-tag-primary { color: #4F46E5; }
    .sidebar-tag-secondary { color: #7C3AED; }

    .priority-high {
      border-left: 4px solid #EF4444;
    }

    .priority-medium {
      border-left: 4px solid #F59E0B;
    }

    .priority-low {
      border-left: 4px solid #10B981;
    }

    .sidebar-item-active {
      background-color: rgba(79, 70, 229, 0.1);
      color: #4F46E5;
      border-left: 4px solid #4F46E5;
    }

    .sidebar-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 12px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      color: #374151;
      transition: all 0.2s ease;
    }

    .sidebar-item:hover {
      background-color: rgba(243, 244, 246, 0.8);
    }

    .dropdown-menu {
      z-index: 99999 !important;
      opacity: 0;
      transform: translateY(-10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      pointer-events: none;
    }

    .dropdown-menu.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    #sort-filter-menu {
      width: 212px;
      min-width: 212px;
      padding-top: 6px;
      padding-bottom: 6px;
    }

    #sort-filter-menu [data-sort] {
      display: flex !important;
      flex-direction: row !important;
      align-items: center;
      gap: 8px;
      white-space: nowrap !important;
      word-break: keep-all;
      writing-mode: horizontal-tb;
      text-orientation: mixed;
      font-size: 13px;
      line-height: 1.2;
      padding: 8px 12px;
    }

    #sort-filter-menu [data-sort] i {
      width: 14px;
      flex: 0 0 14px;
      text-align: center;
      margin-right: 0 !important;
    }

    .notification-toast {
      position: fixed;
      top: 100px;
      right: 24px;
      z-index: 10000;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.6);
      border-radius: 16px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
      padding: 16px;
      min-width: 320px;
      max-width: 400px;
      animation: toastSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      display: flex;
      align-items: center;
      gap: 12px;
    }

    @keyframes toastSlideIn {
      from {
        transform: translateX(400px);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    .notification-toast.toastOut {
      animation: toastSlideOut 0.3s ease-in forwards;
    }

    @keyframes toastSlideOut {
      from {
        transform: translateX(0);
        opacity: 1;
      }

      to {
        transform: translateX(400px);
        opacity: 0;
      }
    }

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.35);
      backdrop-filter: blur(8px);
      z-index: 999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }

    .modal-overlay:not(.hidden) {
      display: flex !important;
    }

    .modal-content {
      background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9));
      backdrop-filter: blur(42px);
      -webkit-backdrop-filter: blur(42px);
      border: 1px solid rgba(255, 255, 255, 0.7);
      border-radius: 28px;
      box-shadow: 0 28px 64px rgba(15, 23, 42, 0.2);
      padding: 24px;
      width: 100%;
      max-width: 512px;
      max-height: 90vh;
      overflow-y: auto;
      animation: taskDetailModalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .modal-content::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }

    body.task-modal-open {
      overflow: hidden;
    }

    @keyframes taskDetailModalIn {
      from {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .task-detail-section {
      border: 1px solid rgba(148, 163, 184, 0.18);
      background: rgba(255, 255, 255, 0.7);
      border-radius: 16px;
      padding: 12px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .task-detail-scrollbar-hide {
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .task-detail-scrollbar-hide::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }

    .detail-datetime-shell {
      position: relative;
    }

    .detail-datetime-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      border-radius: 14px;
      border: 1px solid rgba(79, 70, 229, 0.22);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 242, 255, 0.86));
      color: #374151;
      font-size: 13px;
      transition: all 0.25s ease;
    }

    .detail-datetime-trigger:hover {
      border-color: rgba(79, 70, 229, 0.4);
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(79, 70, 229, 0.16);
    }

    .detail-datetime-trigger i:last-child {
      transition: transform 0.25s ease;
    }

    .detail-datetime-shell.open .detail-datetime-trigger i:last-child {
      transform: rotate(180deg);
    }

    .detail-datetime-panel {
      position: absolute;
      left: 0;
      right: 0;
      top: calc(100% + 8px);
      z-index: 60;
      border-radius: 14px;
      padding: 12px;
      border: 1px solid rgba(199, 210, 254, 0.9);
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(20px);
      box-shadow: 0 16px 34px rgba(79, 70, 229, 0.16);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px) scale(0.98);
      transition: all 0.26s ease;
      pointer-events: none;
    }

    .detail-datetime-shell.open .detail-datetime-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
      pointer-events: auto;
    }

    .detail-datetime-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .datetime-select-shell {
      position: relative;
    }

    .datetime-select-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid rgba(209, 213, 219, 0.9);
      border-radius: 12px;
      padding: 8px 10px;
      font-size: 12px;
      background: rgba(255, 255, 255, 0.92);
      transition: all 0.2s ease;
      color: #374151;
    }

    .datetime-select-trigger i {
      color: #6B7280;
      font-size: 10px;
      transition: transform 0.2s ease;
    }

    .datetime-select-shell.open .datetime-select-trigger i {
      transform: rotate(180deg);
    }

    .datetime-select-trigger:hover {
      border-color: rgba(79, 70, 229, 0.55);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
      transform: translateY(-1px);
    }

    .datetime-select-menu {
      position: absolute !important;
      left: 0 !important;
      right: auto !important;
      top: calc(100% + 6px) !important;
      width: 100% !important;
      padding: 6px !important;
      max-height: 220px;
      overflow-y: auto !important;
      border-radius: 12px;
      border: 1px solid rgba(199, 210, 254, 0.95);
      background: rgba(255, 255, 255, 0.97);
      box-shadow: 0 14px 32px rgba(79, 70, 229, 0.18);
      z-index: 80;
    }

    .datetime-select-option {
      width: 100%;
      border: 0;
      background: transparent;
      text-align: left;
      padding: 8px 10px;
      font-size: 12px;
      color: #374151;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .datetime-select-option:hover {
      background: rgba(79, 70, 229, 0.08);
      color: #312E81;
    }

    .datetime-select-option.active {
      background: rgba(79, 70, 229, 0.14);
      color: #3730A3;
      font-weight: 600;
    }

    .datetime-select-menu.date-calendar-menu {
      width: min(320px, calc(100vw - 36px)) !important;
      max-height: none !important;
      padding: 8px !important;
      overflow: hidden !important;
    }

    .datetime-select-menu.date-calendar-menu.show {
      max-height: none !important;
      overflow: visible !important;
    }

    .datetime-select-menu.time-custom-menu {
      padding: 8px !important;
      max-height: 320px !important;
    }

    .datetime-select-menu.time-custom-menu.show {
      overflow: hidden !important;
    }

    .datetime-calendar {
      animation: unifiedDropdownOptionSlideIn 0.26s ease-out both;
    }

    .datetime-calendar-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      margin-bottom: 8px;
    }

    .datetime-calendar-navs {
      display: inline-flex;
      gap: 4px;
    }

    .datetime-calendar-nav {
      width: 26px;
      height: 26px;
      border-radius: 8px;
      border: 1px solid rgba(199, 210, 254, 0.9);
      background: rgba(255, 255, 255, 0.92);
      color: #4F46E5;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      transition: all 0.2s ease;
    }

    .datetime-calendar-nav:hover {
      border-color: rgba(79, 70, 229, 0.55);
      box-shadow: 0 6px 16px rgba(79, 70, 229, 0.14);
      transform: translateY(-1px);
    }

    .datetime-calendar-title {
      border: 0;
      background: transparent;
      color: #312E81;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.01em;
      padding: 3px 8px;
      border-radius: 8px;
      transition: all 0.2s ease;
    }

    .datetime-calendar-title:hover {
      background: rgba(224, 231, 255, 0.7);
    }

    .datetime-calendar-weekdays {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 4px;
      margin-bottom: 4px;
    }

    .datetime-calendar-weekday {
      text-align: center;
      font-size: 11px;
      font-weight: 600;
      color: #6B7280;
      padding: 4px 0;
    }

    .datetime-calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, minmax(0, 1fr));
      gap: 4px;
    }

    .datetime-calendar-day {
      border: 1px solid transparent;
      background: transparent;
      color: #1F2937;
      border-radius: 8px;
      min-height: 30px;
      font-size: 12px;
      font-weight: 500;
      transition: all 0.2s ease;
    }

    .datetime-calendar-day:hover {
      border-color: rgba(79, 70, 229, 0.3);
      background: rgba(224, 231, 255, 0.72);
      color: #3730A3;
      transform: translateY(-1px);
    }

    .datetime-calendar-day.other-month {
      opacity: 0.45;
    }

    .datetime-calendar-day.today {
      border-color: rgba(79, 70, 229, 0.48);
      background: rgba(224, 231, 255, 0.82);
      color: #3730A3;
    }

    .datetime-calendar-day.selected {
      border-color: rgba(79, 70, 229, 0.9);
      background: rgba(79, 70, 229, 0.18);
      color: #312E81;
      box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.32);
      font-weight: 700;
    }

    .datetime-calendar-actions {
      margin-top: 8px;
      padding-top: 8px;
      border-top: 1px solid rgba(224, 231, 255, 0.95);
      display: flex;
      justify-content: space-between;
      gap: 6px;
    }

    .datetime-calendar-action {
      border: 1px solid rgba(199, 210, 254, 0.9);
      background: rgba(255, 255, 255, 0.92);
      color: #4F46E5;
      border-radius: 999px;
      font-size: 11px;
      padding: 4px 10px;
      transition: all 0.2s ease;
    }

    .datetime-calendar-action:hover {
      border-color: rgba(79, 70, 229, 0.52);
      background: rgba(224, 231, 255, 0.75);
      transform: translateY(-1px);
    }

    .datetime-time-panel {
      display: flex;
      flex-direction: column;
      gap: 8px;
      animation: unifiedDropdownOptionSlideIn 0.26s ease-out both;
    }

    .datetime-time-custom {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .datetime-time-field {
      width: 52px;
      height: 30px;
      border-radius: 8px;
      border: 1px solid rgba(199, 210, 254, 0.9);
      background: rgba(255, 255, 255, 0.95);
      text-align: center;
      font-size: 12px;
      color: #1F2937;
      transition: all 0.2s ease;
      outline: none;
    }

    .datetime-time-field:focus {
      border-color: rgba(79, 70, 229, 0.58);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
    }

    .datetime-time-sep {
      color: #6B7280;
      font-weight: 600;
      font-size: 13px;
    }

    .datetime-time-pill {
      border: 1px solid rgba(199, 210, 254, 0.9);
      background: rgba(255, 255, 255, 0.92);
      color: #4F46E5;
      border-radius: 999px;
      font-size: 11px;
      padding: 4px 10px;
      transition: all 0.2s ease;
    }

    .datetime-time-pill:hover {
      border-color: rgba(79, 70, 229, 0.52);
      background: rgba(224, 231, 255, 0.75);
      transform: translateY(-1px);
    }

    .datetime-time-quick-row {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .datetime-time-options {
      border-top: 1px solid rgba(224, 231, 255, 0.95);
      padding-top: 8px;
      max-height: 180px;
      overflow-y: auto;
      overflow-x: hidden;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 4px;
    }

    .datetime-time-options .datetime-select-option {
      border-radius: 8px;
      text-align: center;
      padding: 7px 8px;
      font-size: 12px;
    }

    .datetime-quick-actions {
      margin-top: 10px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .datetime-quick-btn {
      border: 1px solid rgba(79, 70, 229, 0.22);
      background: rgba(238, 242, 255, 0.75);
      color: #4F46E5;
      border-radius: 999px;
      padding: 5px 10px;
      font-size: 11px;
      transition: all 0.2s ease;
    }

    .datetime-quick-btn:hover {
      background: rgba(224, 231, 255, 0.92);
      transform: translateY(-1px);
    }

    .subtask-item {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border-radius: 12px;
      border: 1px solid rgba(209, 213, 219, 0.55);
      background: rgba(255, 255, 255, 0.72);
      transition: all 0.2s ease;
    }

    .subtask-item:hover {
      border-color: rgba(79, 70, 229, 0.32);
      box-shadow: 0 6px 16px rgba(79, 70, 229, 0.1);
      transform: translateY(-1px);
    }

    .subtask-action {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(209, 213, 219, 0.6);
      background: rgba(255, 255, 255, 0.82);
      color: #6B7280;
      transition: all 0.2s ease;
    }

    .subtask-action:hover {
      color: #4F46E5;
      border-color: rgba(79, 70, 229, 0.36);
      background: rgba(238, 242, 255, 0.8);
    }

    .subtask-compose {
      display: flex;
      align-items: center;
      border: 1px solid rgba(79, 70, 229, 0.2);
      border-radius: 16px;
      padding: 4px;
      background: rgba(255, 255, 255, 0.88);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
      transition: all 0.24s ease;
    }

    .subtask-compose:focus-within {
      border-color: rgba(79, 70, 229, 0.48);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
    }

    .subtask-compose-input {
      flex: 1;
      border: 0;
      background: transparent;
      padding: 9px 10px;
      font-size: 14px;
      color: #1F2937;
      outline: none;
    }

    .subtask-compose-input::placeholder {
      color: #9CA3AF;
    }

    .subtask-compose-btn {
      width: 40px;
      height: 40px;
      border: 0;
      border-radius: 12px;
      background: linear-gradient(135deg, #4F46E5, #6366F1);
      color: #FFFFFF;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
      box-shadow: 0 8px 18px rgba(79, 70, 229, 0.22);
    }

    .subtask-compose-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 12px 22px rgba(79, 70, 229, 0.28);
    }

    .subtask-compose-btn:disabled {
      opacity: 0.65;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .tab-item {
      position: relative;
      transition: all 0.3s ease;
    }

    .tab-item:hover {
      transform: scale(1.1);
    }

    .tab-item.active .tab-indicator {
      opacity: 1;
      transform: scale(1);
    }

    .tab-indicator {
      position: absolute;
      top: -4px;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 4px;
      background: #4F46E5;
      border-radius: 50%;
      opacity: 0;
      transform: scale(0);
      transition: all 0.3s ease;
    }

    .priority-btn {
      border: 1px solid #E5E7EB;
      color: #6B7280;
      padding: 10px 12px;
      border-radius: 12px;
      font-size: 14px;
      transition: all 0.2s ease;
    }

    .priority-btn.active {
      border: 2px solid #EF4444;
      background-color: rgba(239, 68, 68, 0.1);
      color: #EF4444;
    }

    .modal-tag-btn {
      opacity: 0.7;
      transform: scale(1);
      transition: all 0.2s ease;
    }

    .modal-tag-btn.active {
      opacity: 1;
      transform: scale(1.05);
    }

    .modal-tag-color-btn {
      transition: all 0.2s ease;
    }

    .modal-tag-color-btn.active {
      transform: scale(1.1);
      border-color: #4F46E5 !important;
    }

    .custom-checkbox {
      position: relative;
      width: 20px;
      height: 20px;
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      background: rgba(255, 255, 255, 0.8);
      border: 2px solid rgba(209, 213, 219, 0.8);
      border-radius: 6px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(4px);
    }

    .custom-checkbox:hover {
      border-color: rgba(79, 70, 229, 0.6);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    }

    .custom-checkbox:checked {
      background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
      border-color: transparent;
      animation: checkPop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .custom-checkbox:checked::after {
      content: '✓';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-size: 12px;
      font-weight: bold;
    }

    @keyframes checkPop {
      0% {
        transform: scale(1);
      }

      50% {
        transform: scale(1.2);
      }

      100% {
        transform: scale(1);
      }
    }

    #user-dropdown.dropdown-menu {
      position: absolute;
      right: 0;
      width: 12rem;
      border-radius: 0.5rem;
      padding: 0.5rem 0;
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(48px);
      -webkit-backdrop-filter: blur(48px);
      border: 1px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
      z-index: 99999;
    }

    #user-dropdown a {
      display: block;
      padding: 0.5rem 1rem;
      font-size: 0.875rem;
      color: #374151;
      transition: all 0.2s ease;
      pointer-events: auto;
    }

    #user-dropdown a:hover {
      background: rgba(79, 70, 229, 0.1);
      color: #4F46E5;
    }

    #user-dropdown a.text-danger {
      color: #ef4444;
    }

    #user-dropdown a.text-danger:hover {
      background: rgba(239, 68, 68, 0.12);
      color: #ef4444;
    }

    body.theme-night #user-dropdown.dropdown-menu {
      background: rgba(15, 23, 42, 0.94);
      border-color: rgba(148, 163, 184, 0.28);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    }

    body.theme-night #user-dropdown a {
      color: #e2e8f0;
    }

    body.theme-night #user-dropdown a:hover {
      background: rgba(71, 85, 105, 0.5);
      color: #f8fafc;
    }

    body.theme-night #user-dropdown .border-gray-200 {
      border-color: rgba(148, 163, 184, 0.26) !important;
    }

    .card-shadow {
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    }

    .card-hover {
      transition: all 0.3s ease;
    }

    .card-hover:hover {
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
      transform: translateY(-2px);
    }

    ::-webkit-scrollbar {
      width: 6px;
    }

    ::-webkit-scrollbar-track {
      background: rgba(243, 244, 246, 0.5);
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(79, 70, 229, 0.3);
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(79, 70, 229, 0.5);
    }

    .theme-header-icon {
      display: inline-flex;
      width: 1.6rem;
      justify-content: center;
      align-items: center;
    }
    .theme-header-icon--moon {
      display: none;
    }
    html.unified-dark-mode .theme-header-icon--sun,
    body.theme-night .theme-header-icon--sun {
      display: none;
    }
    html.unified-dark-mode .theme-header-icon--moon,
    body.theme-night .theme-header-icon--moon {
      display: inline-flex;
    }
  
