/* General Reset and Body Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 50px;
}

.application-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.application-title {
    color: #333333;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

/* Input Section Styling */
.input-section-container {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.todo-input-field {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.todo-input-field:focus {
    outline: none;
    border-color: #007bff;
}

.add-todo-button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Todo List Styling */
.todo-list-container {
    list-style: none;
}

.todo-item-container {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #fafafa;
    border-bottom: 1px solid #eeeeee;
    transition: background-color 0.2s ease;
}

.todo-item-container:last-child {
    border-bottom: none;
}

.todo-item-container:hover {
    background-color: #f1f1f1;
}

.todo-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
}

.todo-item-title {
    flex: 1;
    font-size: 16px;
    color: #333333;
    cursor: pointer;
}

.todo-item-title.completed {
    text-decoration: line-through;
    color: #888888;
}

.delete-todo-button {
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.delete-todo-button:hover {
    background-color: #c82333;
}
