/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Roboto',sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #e8f4f8;
}

/* Container to hold Everything */
.container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0,0.1);
    width: 500px;
}

/* Heading Styling */
h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1a73e8;
    text-align: center;
}

/* Input container for task entry */
.input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Input box styling */
input[type="text"] {
    width: 70%;
    padding: 20px;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #1a73e8;
    outline: none;
    transition: 0.3s;
}

input[type="text"]:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px #0056b3;
}

/*Add button style */
button {
    padding: 12px 20px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #0056b3;
}

/* Task list styling */
ul {
    list-style: none;
    padding: 0;
}

/* Task item styling */
li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 1rem;
}

/* Task compketion button styling */
li button {
    background-color: transparent;
    color: #34a853;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    transition: 0.3s;
}

li button:hover {
    color: #0c661b;
}

/* Remove Button */
li .remove-btn {
    background-color: #ea4335;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
}

li .remove-btn:hover {
    background-color: #b71c1c;
}

/* Task Text Styling */
.completed {
    text-decoration: line-through;
    color: #6c757d;
}