body {
    font-family: 'Arial', sans-serif;
    background-color: #1e1e1e; /* Fundo cinza escuro da página */
    color: #e0e0e0; /* Texto claro */
    display: flex;
    justify-content: center;
    margin: 10px;
}

.container {
    background: #2c2c2c; /* Cor do fundo da lista */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    max-width: 700px;
    width: 100%;
    height: auto;
}

.home-container {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    max-width: 500px;
    width: 100%;
}

.login-container {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    max-width: 500px;
    width: 100%;
}

.buttons-container {
    display: flex; 
    flex-direction: row; 
    gap: 5px;
}

h1 {
    margin-top: 0;
    font-size: 28px;
    text-align: center;
    color: #ffffff; /* Cor do texto do título */
}

.input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-direction: column;
}

#task-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #333; /* Fundo do input */
    color: #e0e0e0; /* Texto do input */
}

#task-input::placeholder {
    color: #888; /* Cor do placeholder */
}

.home-options {
    text-decoration: none;
    flex: 1;
    padding: 12px;
    margin-top: 5px;
    text-align: center;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #333; /* Fundo do input */
    color: #e0e0e0; /* Texto do input */
    transition: background-color 0.3s ease;
}

.home-options:hover {
    background-color: #555;
 }

button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.add-button {
    background-color: #6200ea; /* Cor do botão */
}

.add-button:hover {
    background-color: #3700b3; /* Cor do botão ao passar o mouse */
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #444;
    background-color: #2c2c2c; /* Fundo dos itens da lista */
}

li:last-child {
    border-bottom: none;
}

.task-checkbox {
    appearance: none; /* Remove a aparência padrão do checkbox */
    background-color: #333; /* Cor de fundo */
    border: 2px solid #444; /* Borda */
    border-radius: 6px; /* Arredondar bordas */
    width: 28px; /* Aumenta a largura do checkbox */
    height: 28px; /* Aumenta a altura do checkbox */
    margin-right: 12px;
    cursor: pointer;
    position: relative;
    outline: none; /* Remove o contorno padrão ao focar */
}

.task-checkbox:checked {
    background-color: #6200ea; /* Cor de fundo quando marcado */
    border: 2px solid #6200ea; /* Borda quando marcado */
}

.task-checkbox:checked::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    width: 16px; /* Tamanho do checkmark */
    height: 8px; /* Tamanho do checkmark */
    border: solid #fff;
    border-width: 0 0 2px 2px;
    transform: translate(-50%, -50%) rotate(-33deg);
}

.task-text {
    flex: 1;
    color: #e0e0e0; /* Cor do texto da tarefa */
}

.save-btn {
    background-color: #03a9f4; 
    width: 100%;
}

.save-btn:hover {
    background-color: #0288d1;
}

.cancel-button {
    background-color: #f44336; 
    padding: 12px;
    border: none;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    font-size: 16px;  
    transition: background-color 0.3s ease;                  
}

.cancel-button:hover {
    background-color: #d32f2f;
}

.access-btn {
    background-color: #f44336; 
    padding: 12px;
    border: none;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    font-size: 16px;  
    transition: background-color 0.3s ease;
}

.edit-btn, .delete-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    color: white;
    text-align: center;
    text-decoration: none; /* Remove o sublinhado do link */
    font-size: 14px;
    margin-left: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edit-btn {
    background-color: #03a9f4; /* Cor do botão de editar */
}

.edit-btn:hover {
    background-color: #0288d1; /* Cor do botão de editar ao passar o mouse */
}

.delete-btn {
    background-color: #f44336; /* Cor do botão de excluir */
}

.delete-btn:hover {
    background-color: #d32f2f; /* Cor do botão de excluir ao passar o mouse */
}
