* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    min-height: 100vh;
    background: url('./images/background.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
  }
  
  .todo-app {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }
  
  h1 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
  }
  

  .progress-wrapper {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .progress-text {
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
  }
  
  .progress-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    width: 75%;
    border-radius: 5px;
    overflow: hidden;
  }
  
  #progress-fill {
    height: 100%;
    width: 0%;
    background: #00c853;
    transition: width 0.3s ease;
  }
  
  .counter-bubble {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08); /* Bigger & more transparent */
    border: 2px solid #ff4e78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 0 12px #ff4e78aa;
    line-height: 1.1;
    text-align: center;
    user-select: none;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease;
  }
  
  
  .counter-bubble.pop {
    transform: scale(1.2);
  }
  
    
  
  
  #todo-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
  }
  
  #todo-input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
  }
  
  button {
    background-color: #00c853;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .todos-container {
    text-align: left;
  }
  
  #task-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    color: white;
  }
  
  .task-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .task-text {
    flex: 1;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .task-text::after {
    content: '';
    position: absolute;
    height: 2px;
    background: #00c853;
    width: 0%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: width 0.3s ease;
  }
  
  .task-completed {
    color: rgba(255, 255, 255, 0.5);
  }
  
  .task-completed::after {
    width: 100%;
  }
  
  .task-check {
    transform: scale(1);
    transition: transform 0.3s ease;
  }
  
  .task-check:checked {
    transform: scale(1.2);
  }
  
  .edit-input {
    flex: 1;
    padding: 5px;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
  }
  
  .action-buttons {
    display: flex;
    gap: 8px;
  }
  
  .edit-btn, .delete-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .edit-btn:hover {
    color: #4fc3f7;
  }
  
  .delete-btn:hover {
    color: #ff5252;
  }
  
  #empty-list-image {
    display: none;
    width: 120px;
    margin: 30px auto;
    opacity: 0.7;
  }
  
  .auth-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    max-width: 400px;
    margin: auto;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
  }
  
  .auth-form h1 {
    color: white;
    margin-bottom: 20px;
  }
  
  .auth-form label {
    display: block;
    margin-top: 15px;
    color: white;
    text-align: left;
  }
  
  .auth-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 6px;
    border: none;
    outline: none;
  }
  
  .auth-form button {
    margin-top: 20px;
    padding: 10px 25px;
    background: #00c853;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
  }
  
  #error-msg {
    margin-top: 15px;
    color: #ff1744;
    font-weight: bold;
  }
  .progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  width: 75%;
  border-radius: 5px;
  overflow: hidden;
}
.logout-btn {
    background: #ff5252;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: background 0.3s ease;
  }
  
  .logout-btn:hover {
    background: #ff1744;
  }
  