/* Estilos Globais */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    text-align: center;
}

h2 {
    color: #333;
}

/* Mensagens de Sucesso e Erro */
.sucesso {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.erro {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Links e Botões */
a, button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    border: none;
    cursor: pointer;
}

a:hover, button:hover {
    background-color: #0056b3;
}

/* Tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f4f4f4;
}

/* Formulários */
form {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button[type="submit"] {
    width: auto;
    background-color: #28a745;
}

button[type="submit"]:hover {
    background-color: #218838;
}

/* Mensagem de Boas-Vindas */
.welcome-message {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #333;
}

/* Estilos para Impressão */
@media print {
    .no-print {
        display: none;
    }

    table {
        width: 100%;
    }

    th, td {
        padding: 8px;
    }
}