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

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: Arial, sans-serif;
    padding: 50px 20px;
    min-height: 100vh;
}

.container {
    background-color: white;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.subtitulo {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.input-area {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: #667eea;
}

button {
    padding: 12px 24px;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #5568d3;
}

.acoes {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.btn-limpar {
    background-color: #ff9800;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-limpar:hover {
    background-color: #f57c00;
}

ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #667eea;
    transition: all 0.3s;
}

li:hover {
    background-color: #ebebeb;
    transform: translateX(5px);
}

.item-texto {
    flex: 1;
    font-size: 16px;
    color: #333;
}

.btn-remover {
    padding: 8px 16px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-remover:hover {
    background-color: #d32f2f;
}

.info {
    text-align: center;
    color: #999;
    font-size: 14px;
    font-style: italic;
    margin-top: 20px;
}

/* Animação quando item é adicionado */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

li {
    animation: slideIn 0.3s ease-out;
}