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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 500px;
    width: 100%;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

#todoInput {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

#todoInput:focus {
    outline: none;
    border-color: #43e97b;
}

.btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 233, 123, 0.4);
}

.todo-list {
    list-style: none;
}

.todo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #f5f5f5;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.todo-item:hover {
    background: #e8f5e9;
}

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

.todo-text {
    flex: 1;
    font-size: 1rem;
}

.todo-actions {
    display: flex;
    gap: 10px;
}

.todo-actions button {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.complete-btn {
    background: #4caf50;
    color: white;
}

.delete-btn {
    background: #f44336;
    color: white;
}

.todo-actions button:hover {
    transform: scale(1.1);
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 24px;
    background: rgba(67, 233, 123, 0.2);
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(67, 233, 123, 0.3);
    transform: translateX(-5px);
}