/* ============================================================
   ESTILOS DO BOTÃO FECHAR E CAMADAS (Z-INDEX)
   ============================================================ */

.publicacao-buttons-container {
    position: absolute !important;
    top: 10px;
    right: 10px;
    z-index: 1060 !important; /* Mantém acima das setas */
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity .25s ease-in-out;
}

.hover-area:hover .publicacao-buttons-container {
    opacity: 1 !important;
}

.btn-fechar-publicacao {
    background-color: #ff0000 !important;
    border: none !important; /* Removida a borda do botão também */
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.btn-fechar-publicacao i {
    color: #fff !important; /* X Branco no fundo vermelho */
    font-size: 18px;
}

/* Libera espaço lateral para o clique */
.carousel-control-prev,
.carousel-control-next {
    width: 5% !important;
    z-index: 1000 !important;
}

/* ============================================================
   AJUSTES SWEETALERT (SEM BORDAS E BOTÕES VISÍVEIS)
   ============================================================ */

.swal-sem-borda {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* Garante que o botão cancelar seja nítido sobre o fundo azul */
.botao-cancelar-fixo {
    display: inline-block !important;
    opacity: 1 !important;
    font-weight: bold !important;
    border: none !important;
}