body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 0 20px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 90vh;
    overflow: hidden;
}

h1 {
    text-align: center;
    color: #007bff;
    margin: 20px 0;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

li {
    background: #f9f9f9;
    margin: 8px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

li.completed span {
    text-decoration: line-through;
    color: #999;
}

button.edit,
button.remove {
    background-color: transparent;
    border: none;
    color: #007bff;
    cursor: pointer;
    margin-left: 10px;
    font-size: 14px;
}

button.edit:hover,
button.remove:hover {
    color: #0056b3;
}

.hidden {
    display: none;
}

#notification {
    text-align: center;
    color: #28a745;
    margin-bottom: 10px;
}

#cycleCount {
    text-align: center;
    font-size: 14px;
    color: #333;
}