/* General Page Style */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f9ff;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
}

/* Title */
h1 {
    color: #2563eb;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Input + Button */
input {
    padding: 10px;
    width: 250px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
    margin-right: 10px;
    transition: 0.3s;
}
input:focus {
    border-color: #1e40af;
    box-shadow: 0px 0px 6px #93c5fd;
}

button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
button:hover {
    background: #1e40af;
    transform: scale(1.05);
}

/* Todo List */
ul {
    list-style-type: none;
    margin-top: 20px;
    padding: 0;
    width: 320px;
}
li {
    background: white;
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 💡 Stronger shadow */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.3s;
}
li:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Delete Button - changed color */
.delete {
    background: #d946ef; /* purple-pink */
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.delete:hover {
    background: #a21caf; /* darker shade */
    transform: scale(1.1);
}
