/* style.css - Folha de Estilo Divertida */
body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', sans-serif;
    background-color: #f0f8ff;
    color: #333;
    margin: 0;
    padding: 20px;
}

h1, h2, h3 { text-align: center; }
h1 { color: #ff6347; font-size: 2.5em; }
h2 { color: #191970; font-size: 1.8em; margin-top: 0; border-bottom: 3px dashed #ccc; padding-bottom: 10px; }
h3 { color: #4682b4; font-size: 1.2em; text-align: left; margin: 15px 0 5px 0; border-bottom: 1px solid #eee; padding-left: 10px; }

.header { padding: 10px 20px; text-align: center; }
.main-buttons { display: flex; justify-content: center; gap: 15px; margin-top: 10px; flex-wrap: wrap; }
.btn { padding: 10px 20px; color: white; text-decoration: none; border-radius: 8px; font-size: 1em; transition: transform 0.2s; display: inline-block; }
.btn:hover { transform: scale(1.05); }
.btn-compras { background-color: #20b2aa; }
.btn-gerenciar { background-color: #778899; }
.btn-voltar { background-color: #f08080; }

.container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.container-single-column { max-width: 600px; margin: 20px auto; }

.task-column { background-color: #fff; border-radius: 15px; padding: 15px; width: 100%; max-width: 450px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.task-group { margin-bottom: 20px; }
.task-list { list-style: none; padding: 0; }
.task-item { background: #fafad2; margin-bottom: 10px; padding: 10px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; word-break: break-word; }
.task-item.completed { background: #98fb98; text-decoration: line-through; opacity: 0.7; }
.task-item span { flex-grow: 1; }
.task-time { font-size: 0.8em; color: #555; display: block; margin-top: 4px; }

.actions form { display: inline-block; margin-left: 5px; }
.actions button { background: none; border: none; cursor: pointer; font-size: 1.5em; transition: transform 0.2s; }
.actions button:hover { transform: scale(1.2); }
.btn-complete { color: #228b22; }
.btn-delete { color: #dc143c; }

.add-task-form { background: #add8e6; padding: 20px; border-radius: 15px; margin: 20px auto; max-width: 800px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.form-row input, .form-row select { flex: 1 1 180px; padding: 10px; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; font-size: 1em; }
.add-task-form button { background-color: #32cd32; color: white; border: none; padding: 12px 20px; border-radius: 8px; cursor: pointer; font-size: 1.1em; width: 100%; margin-top: 10px; }
.add-task-form button:hover { background-color: #28a745; }

