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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #74ebd5, #ACB6E5);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    color: #333;
}

h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #1f1f1f;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.input-container {
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

input[type="text"] {
    padding: 12px 16px;
    width: 300px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 1rem;
}

button {
    padding: 12px 20px;
    background: #ff6b6b;
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #ff4757;
    transform: scale(1.05);
}

ul {
    list-style: none;
    width: 100%;
    max-width: 500px;
}

li {
    background: white;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

li:hover {
    transform: translateY(-3px);
}

li.completed span {
    text-decoration: line-through;
    color: #2ecc71;
    font-weight: bold;
}

li input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.3);
}

li span {
    flex: 1;
    margin-left: 10px;
    font-size: 1.1rem;
}

li button {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #e74c3c;
    cursor: pointer;
}

.progress-container {
    margin-top: 40px;
    text-align: center;
}

#progressText {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

progress {
    width: 80%;
    height: 20px;
    appearance: none;
}

progress::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 10px;
}

progress::-webkit-progress-value {
    background-color: #00b894;
    border-radius: 10px;
    transition: width 0.3s ease;
}
