/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Header */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h2 {
    font-size: 20px;
    font-weight: bold;
    color: #ecf0f1;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #1abc9c;
}

/* Informações do usuário */
header .user-info {
    font-size: 14px;
}

header .user-info a {
    margin-left: 10px;
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

header .user-info a:hover {
    color: #c0392b;
}

/* Conteúdo principal */
main {
    padding: 20px;
}

/* Dashboard */
.dashboard-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.card h2 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 16px;
}

.card canvas {
    width: 100% !important;
    height: 200px !important; /* altura reduzida e padronizada */
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    font-size: 14px;
}
/* Tabelas estilizadas */
.table-container {
    width: 95%;
    margin: 20px auto;
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.styled-table thead {
    background-color: #2c3e50;
    color: #ecf0f1;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    text-align: center;
}

.styled-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.styled-table tbody tr:hover {
    background-color: #f1f1f1;
}
.btn {
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    margin: 0 3px;
    transition: background 0.3s;
}

.btn-entry {
    background: #2ecc71;
    color: #fff;
}

.btn-entry:hover {
    background: #27ae60;
}

.btn-exit {
    background: #e74c3c;
    color: #fff;
}

.btn-exit:hover {
    background: #c0392b;
}
