/* Estilo geral do Painel Administrativo */
.admin-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Título principal */
.admin-dashboard h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

/* Seção de estatísticas */
.stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat h2 {
    color: #555;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.stat p {
    font-size: 2rem;
    font-weight: bold;
    color: #007bff;
}

/* Seção de ações rápidas */
.admin-actions h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.admin-actions ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-actions ul li {
    flex: 1;
}

.admin-actions ul li a {
    display: block;
    text-align: center;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.admin-actions ul li a:hover {
    background-color: #0056b3;
}

/* Tabela de atividades recentes */
.recent-activities h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.recent-activities table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.recent-activities th,
.recent-activities td {
    border: 1px solid #ddd;
    text-align: left;
    padding: 8px;
}

.recent-activities th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.recent-activities tr:nth-child(even) {
    background-color: #f9f9f9;
}

.recent-activities tr:hover {
    background-color: #f1f1f1;
}

.recent-activities td {
    color: #555;
}

/* Estilo para mensagens de nenhum dado */
.recent-activities p {
    text-align: center;
    color: #777;
    font-style: italic;
    margin-top: 15px;
}

/* Responsividade */
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
    }

    .admin-actions ul {
        flex-direction: column;
    }

    .admin-actions ul li {
        flex: unset;
    }
}
