@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #2f2c2c;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    margin: 50px auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    color: #c0163e;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.area-entrada {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

#inputTarefa {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

#inputTarefa:focus {
    outline: none;
    border-color: #c0163e;
    box-shadow: 0 0 0 4px rgba(192, 22, 62, 0.1);
}

.btnListaTarefas {
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #c0163e 0%, #cc434a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(192, 22, 62, 0.4);
}

.btnListaTarefas:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 22, 62, 0.6);
}

.btnListaTarefas:active {
    transform: translateY(0);
}

.divTarefas {
    background: linear-gradient(135deg, #f5f7fa 0%, #b7c6c7 100%);
    border-radius: 16px;
    padding: 24px;
}

.divTarefas strong {
    display: block;
    color: #333;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

#listaTarefas {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    padding-right: 8px;
}

#listaTarefas::-webkit-scrollbar {
    width: 8px;
}

#listaTarefas::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

#listaTarefas::-webkit-scrollbar-thumb {
    background: #c0163e;
    border-radius: 10px;
}

.item-tarefa {
    background: white;
    padding: 18px 20px;
    margin-bottom: 12px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: aparecer 0.3s ease-out;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.item-tarefa:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(192, 22, 62, 0.2);
}

.item-tarefa span {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.divLixeira {
    display: flex;
    gap: 5px;
}

.btnLixeira {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s ease;
    opacity: 0.6;
}

.btnLixeira:hover {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
}

.divBtn {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}