/* Estilos para garantir layout correto com header e footer */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.wrapper {
    flex: 1;
    margin-top: 50px; /* Altura do header */
    margin-bottom: 25px; /* Altura do footer */
    position: relative;
}

/* Ajustes para o footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 14px;
    z-index: 1001;
}

/* Ajuste para conteúdo */
.content {
    padding: 20px;
    padding-bottom: 45px; /* Espaço extra para não sobrepor o footer */
}

/* Garantir que elementos com position: fixed não cubram o footer */
.sidebar, .user-menu {
    max-height: calc(100vh - 75px); /* 50px header + 25px footer */
    bottom: 25px; /* Altura do footer */
}

/* Ajustes específicos para a página de avisos */
.content-wrapper {
    margin-left: 0 !important;
    /*padding-top: 20px !important;*/
    min-height: calc(100vh - 75px); /* 50px header + 25px footer */
    position: relative;
    padding-bottom: 45px; /* Espaço extra para não sobrepor o footer */
}

.card {
    margin-bottom: 45px; /* Espaço para o footer */
}

/* Ajuste para as tabs não cobrirem o footer */
.tab-content {
    padding-bottom: 45px;
}
