* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #e8f4f8;
}

.container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #1a73e8;
}

.input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input {
    flex: 1;
    padding: 12px;
    border: 2px solid #1a73e8;
    border-radius: 8px;
}

input:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 5px #0056b3;
}

button {
    padding: 10px 15px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #0056b3;
}

ul {
    list-style: none;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.2s;
}

li:hover {
    transform: scale(1.02);
}

li span {
    flex: 1;
    margin: 0 10px;
    word-break: break-word;
}

li button {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.completed {
    text-decoration: line-through;
    color: gray;
    opacity: 0.6;
}

.remove-btn {
    background: #ea4335;
    padding: 5px 10px;
    border-radius: 5px;
}

.remove-btn:hover {
    background: #b71c1c;
}

#emptyMsg {
    text-align: center;
    color: #888;
    margin-bottom: 10px;
}