:root {
    --primary-color: #4e73df;
    --success-color: #1cc88a;
    --dark-bg: #f8f9fc;
}

body {
    background-color: var(--dark-bg);
    font-family: 'Nunito', sans-serif;
}

/* Garante que o body não role e ocupe toda a tela */
html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* O Header fica no topo (assumindo que ele está no topo do body) */
header {
    flex-shrink: 0;
    z-index: 1030;
}

.navbar {
    background: white;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
}

/* O conteúdo central cresce para ocupar o espaço e permite scroll */
main {
    flex-grow: 1;
    overflow-y: auto;
    /* Ativa o scroll apenas aqui */
    padding-top: 20px;
    padding-bottom: 20px;
}

.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
    color: white;
}

.sidebar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 15px;
    display: block;
}

.sidebar a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    /* Permite que os botões quebrem linha se necessário */
    justify-content: center;
}

.page-link {
    padding: 0.5rem 0.75rem;
    min-width: 38px;
    text-align: center;
}

/* O Footer fica fixo na base */
footer {
    flex-shrink: 0;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.logo-style {
    /* 1. Cantos Arredondados */
    border-radius: 15px;

    /* 2. Borda (Espessura, Estilo, Cor) */
    /* border: 2px solid #333; */

    /* 3. Sombra (Deslocamento X, Deslocamento Y, Desfoque, Cor) */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    background-color: white;

    /* Mantendo o seu padding inferior */
    padding: 5px;

    /* Dica: garante que a imagem não distorça */
    display: block;
    max-width: 100%;
    height: auto;
}