
    body {
      font-family: 'Montserrat', 'Segoe UI', sans-serif;
      background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%);
      min-height: 100vh;
      margin: 0;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      padding: 60px 0;
    }
    .container {
      background: rgba(255,255,255,0.97);
      padding: 35px 30px 30px 30px;
      width: 100%;
      max-width: 500px;
      border-radius: 18px;
      box-shadow: 0 8px 32px 0 rgba(31,38,135,0.2);
      position: relative;
      animation: fadeIn 1s;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(40px);}
      to { opacity: 1; transform: translateY(0);}
    }
    h1 {
      text-align: center;
      font-weight: 700;
      color: #007bff;
      letter-spacing: 1px;
      margin-bottom: 18px;
      font-size: 2.1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }
    .input-section {
      display: flex;
      gap: 10px;
      margin-bottom: 22px;
      position: relative;
    }
    input[type="text"] {
      flex: 1;
      padding: 12px 16px;
      border: 2px solid #e0e0e0;
      border-radius: 7px;
      font-size: 1rem;
      transition: border 0.2s;
      outline: none;
      background: #f7fafd;
    }
    input[type="text"]:focus {
      border-color: #007bff;
      background: #fff;
    }
    .add-btn {
      padding: 0 18px;
      border: none;
      background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
      color: white;
      border-radius: 7px;
      cursor: pointer;
      font-size: 1.1rem;
      font-weight: 600;
      transition: background 0.2s, transform 0.1s;
      box-shadow: 0 2px 8px rgba(0,123,255,0.08);
      display: flex;
      align-items: center;
      gap: 7px;
    }
    .add-btn:hover {
      background: linear-gradient(90deg, #0056b3 60%, #00aaff 100%);
      transform: translateY(-2px) scale(1.04);
    }
    .filters {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-bottom: 18px;
    }
    .filter-btn {
      padding: 7px 18px;
      border: none;
      background: #f0f4fa;
      color: #007bff;
      border-radius: 20px;
      cursor: pointer;
      font-weight: 500;
      font-size: 1rem;
      transition: background 0.2s, color 0.2s;
      outline: none;
    }
    .filter-btn.active, .filter-btn:hover {
      background: #007bff;
      color: #fff;
    }
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .task-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #f7fafd;
      border-radius: 8px;
      margin-bottom: 12px;
      padding: 13px 16px;
      box-shadow: 0 2px 8px rgba(0,123,255,0.04);
      transition: box-shadow 0.2s, background 0.2s;
      position: relative;
      animation: fadeInTask 0.4s;
    }
    @keyframes fadeInTask {
      from { opacity: 0; transform: translateY(20px);}
      to { opacity: 1; transform: translateY(0);}
    }
    .task-item.completed {
      background: #e6f7ff;
      text-decoration: line-through;
      color: #aaa;
      opacity: 0.7;
    }
    .task-text {
      flex: 1;
      cursor: pointer;
      font-size: 1.08rem;
      transition: color 0.2s;
      user-select: none;
      padding-right: 10px;
    }
    .task-text.editing {
      display: none;
    }
    .edit-input {
      flex: 1;
      font-size: 1.08rem;
      padding: 7px 10px;
      border: 1.5px solid #007bff;
      border-radius: 5px;
      outline: none;
      margin-right: 10px;
    }
    .actions {
      display: flex;
      gap: 8px;
    }
    .icon-btn {
      background: none;
      border: none;
      color: #007bff;
      font-size: 1.1rem;
      cursor: pointer;
      padding: 5px;
      border-radius: 50%;
      transition: background 0.2s, color 0.2s;
    }
    .icon-btn:hover {
      background: #e6f7ff;
      color: #0056b3;
    }
    .icon-btn.delete {
      color: #ff4d4f;
    }
    .icon-btn.delete:hover {
      background: #ffeaea;
      color: #b30000;
    }
    .empty-state {
      text-align: center;
      color: #aaa;
      margin-top: 30px;
      font-size: 1.1rem;
      letter-spacing: 0.5px;
      opacity: 0.8;
    }
    .progress-bar-bg {
      width: 100%;
      height: 10px;
      background: #e0e7ef;
      border-radius: 6px;
      margin: 18px 0 10px 0;
      overflow: hidden;
    }
    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, #007bff 60%, #00c6ff 100%);
      border-radius: 6px;
      transition: width 0.4s;
    }
    .stats {
      display: flex;
      justify-content: space-between;
      font-size: 0.98rem;
      color: #555;
      margin-bottom: 10px;
      margin-top: 5px;
    }
    @media (max-width: 600px) {
      .container { max-width: 98vw; padding: 18px 5vw 20px 5vw;}
      h1 { font-size: 1.3rem;}
    }
