body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: white;
}

.container {
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 20px;
  width: 380px;
  text-align: center;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

h1 {
  margin-bottom: 20px;
  font-size: 28px;
}

.input-section {
  display: flex;
  gap: 10px;
}

input {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
}

button {
  padding: 10px 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: bold;
}

button:hover {
  transform: scale(1.1);
}

/* Habit Cards */
li {
  background: rgba(255,255,255,0.2);
  padding: 14px;
  margin-top: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.3s ease;
  transition: 0.2s;
}

li:hover {
  background: rgba(255,255,255,0.3);
}

small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

#emptyMsg {
  margin-top: 20px;
  opacity: 0.7;
}

/* Buttons */
.add-btn {
  background: #ff7eb3;
  color: white;
}

.done-btn {
  background: #00c853;
  color: white;
}

.delete-btn {
  background: #ff1744;
  color: white;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.progress-container {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  margin-top: 15px;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: #00e676;
  transition: 0.3s;
}

#progressText {
  font-size: 12px;
  margin-top: 5px;
  opacity: 0.8;
}