/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

/* BODY BACKGROUND */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1d2671, #c33764);
}

/* CONTAINER CARD */
.container {
    background: linear-gradient(180deg, #ffffff, #f7f8fc);
    width: 380px;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* TITLE */
h1 {
    text-align: center;
    color: #222;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 22px;
}

/* INPUT GROUP */
.input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

/* INPUT (WIDTH KAM KI) */
input {
    width: 65%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #f9f9ff;
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: #c33764;
    box-shadow: 0 0 6px rgba(195, 55, 100, 0.4);
}

/* ADD BUTTON */
button {
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* TODO LIST */
.todo-list {
    list-style: none;
    margin-top: 10px;
}

/* TODO ITEM */
.todo-list li {
    background: linear-gradient(135deg, #fdfbfb, #ebedee);
    padding: 12px 14px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    transition: 0.3s;
}

.todo-list li:hover {
    transform: scale(1.02);
}

/* DELETE BUTTON */
.delete {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 8px;
}

.delete:hover {
    opacity: 0.9;
}
