/* Reset e corpo */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    min-height: 100vh;   /* garante altura mínima */
    display: block;      /* remove flex que limitava o quadro */
}

/* Cabeçalhos */
h2 {
    color: #1877f2;
    margin-bottom: 1em;
}

/* Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Botões */
button {
    width: 100%;
    padding: 10px;
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background-color: #166fe5;
}

/* Links */
a {
    color: #1877f2;
    text-decoration: none;
    display: inline-block;
    margin-top: 1em;
}

a:hover {
    text-decoration: underline;
}

/* Mensagens */
.message {
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 4px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Cabeçalho da página de boas-vindas */
.header {
    margin-bottom: 20px;
}

.header h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 5px;
}

.header p {
    color: #666;
    margin: 0;
}

.header .fa-user-circle {
    font-size: 60px;
    color: #1877f2;
    margin-bottom: 10px;
}

/* Seção de informações */
.info-section {
    text-align: left;
    margin-bottom: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #444;
}

.info-item i {
    font-size: 20px;
    color: #1877f2;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}

.info-item p {
    margin: 0;
}

/* Botões de ação */
.footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button {
    background-color: #1877f2;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button:hover {
    background-color: #166fe5;
}

.button i {
    margin-right: 8px;
}

.logout-button {
    background-color: #dc3545;
}

.logout-button:hover {
    background-color: #c82333;
}

/* Container principal */
.container { 
    width: 95%;           /* ocupa quase toda a largura da tela */
    max-width: 1400px;    /* limite máximo em telas grandes */
    padding: 30px;        /* mais espaço interno */
    background: #fff; 
    box-shadow: 0 0 15px rgba(0,0,0,0.15); 
    margin: 40px auto;    /* mais espaço vertical */
    border-radius: 8px;
}

/* Tabela */
table { 
    border-collapse: collapse; 
    width: 100%;          /* tabela ocupa toda a largura do container */
    min-width: 1000px;    /* garante que colunas não fiquem apertadas */
}

.table-wrapper table {
    border-collapse: collapse;
    width: 100%;
    min-width: 1000px;
}
