body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    margin: 0;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 5px;
}

.days {
    display: flex;
    gap: 6px;
}

.days input[type="checkbox"] {
    transform: scale(1.2);
    cursor: pointer;
}

.progress {
    flex: 1;
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    position: relative;
    margin: 0 8px;
}

.bar {
    height: 100%;
    background: #28a745;
    border-radius: 5px;
    transition: width 0.3s;
}

.pct {
    position: absolute;
    right: 4px;
    top: -18px;
    font-size: 11px;
    color: #444;
}

.streak {
    font-size: 12px;
    color: #e55353;
    margin-left: 8px;
    margin-right: 20px;
}

.reset-btn {
    margin: 10px 0 20px;
    padding: 8px 14px;
    font-size: 14px;
    background-color: #ffc107;
    color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
  }
  