* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f9;
    color: #333333;
    min-height: 100vh;
}

/* --- NAVBAR & DROPDOWN --- */
.navbar {
    background-color: #1281ff;
    width: 100%;
    position: top;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

/* Efeito de hover nos itens do menu */
.navbar a:hover {
    background-color: #0b5ed7;
}

/* Estilo do Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1281ff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    z-index: 1000;
}

.dropdown-content a {
    padding: 12px 16px;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #0b5ed7;
}

/* Mostra o dropdown ao passar o mouse */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Ícones do Font Awesome */
.navbar i {
    margin-right: 8px;
}

/* --- CONTEÚDO PRINCIPAL --- */
#big-box {
    margin: 60px auto;
    max-width: 450px;
    min-height: 400px;
    padding: 40px;
    background-color: rgba(18, 129, 255, 0.527);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #222;
}

#input-box {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#input-txt {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    flex: 1;
}

#btn-add {
    padding: 10px 18px;
    background-color: #1281ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

#btn-add:hover {
    background-color: #0b5ed7;
}

#list-box {
    text-align: left;
}

#task-list {
    list-style: none;
}

#task-list li {
    background-color: white;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Botão de Remover Tarefa (Recurso Extra) */
.btn-remove {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    transition: background-color 0.2s;
}

.btn-remove:hover {
    background-color: #cc0000;
}
