body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Cor de fundo padrão */
    color: #333; /* Cor do texto padrão */
    transition: background-color 0.3s, color 0.3s; /* Transição suave */
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s; /* Transição suave */
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    transition: background-color 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.goals-list {
    margin-top: 20px;
}

.goal-item {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.goal-item h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
}

.goal-item p {
    margin: 5px 0;
    color: #666;
}

.goal-item button {
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.goal-item button:hover {
    background-color: #0056b3;
}

.form-group {
    margin-bottom: 20px;
    margin-right: 10px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="date"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    height: 100px;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Modo Escuro */
body.dark-mode {
    background-color: #333;
    color: #fff;
}

.container.dark-mode {
    background-color: #444;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

button.dark-mode {
    background-color: #007bff;
    color: #fff;
}

button.dark-mode:hover {
    background-color: #0056b3;
}

.modal.dark-mode {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content.dark-mode {
    background-color: #333;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.close.dark-mode {
    color: #fff;
}

.goal-item.dark-mode {
    background-color: #666;
}

.goal-item.dark-mode h3 {
    color: #fff;
}

.goal-item.dark-mode p {
    color: #ccc;
}

.goal-item button.dark-mode {
    background-color: #007bff;
    color: #fff;
}

.goal-item button.dark-mode:hover {
    background-color: #0056b3;
}

button[type="submit"].dark-mode {
    background-color: #007bff;
    color: #fff;
}

button[type="submit"].dark-mode:hover {
    background-color: #0056b3;
}
