/* ---------- Body ---------- */
body {
    background-color: #121212; /* Dark night mode */
    font-family: 'Comic Sans MS', 'Arial Rounded MT', sans-serif; /* Fun kid-friendly font */
    color: #fff; /* Text color white */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 50px;
    margin: 0;
}

/* ---------- Container ---------- */
.container {
    background-color: #1e1e1e; /* Dark card */
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    width: 350px;
    text-align: center;
}

/* ---------- Title ---------- */
.container h1 {
    color: #ff4081; /* Bright pink title */
    margin-bottom: 20px;
    font-size: 28px;
}

/* ---------- Input container ---------- */
.input-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* ---------- Input box ---------- */
#toto-input {
    width: 70%;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid #ff80ab;
    outline: none;
    font-size: 16px;
    background-color: #2c2c2c;
    color: white;
}

#toto-input::placeholder {
    color: #bbb; /* Soft placeholder color */
}

/* ---------- Add button ---------- */
#add-task-btn {
    padding: 10px 15px;
    margin-left: 8px;
    border-radius: 12px;
    border: none;
    background-color: #ff4081;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

#add-task-btn:hover {
    background-color: #f50057; /* Darker pink on hover */
}

/* ---------- Task list ---------- */
#todo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#todo-list li {
    background-color: #2c2c2c; /* Dark gray task */
    padding: 12px;
    margin: 8px 0;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

#todo-list li:hover {
    background-color: #3d3d3d; /* Slightly lighter on hover */
}

/* ---------- Delete button inside task ---------- */
#todo-list li button {
    background-color: #ff1744; /* Red delete */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

#todo-list li button:hover {
    background-color: #d50000; /* Darker red on hover */
}
