/* Oculta o scroll do body quando o modal estiver visível */
body.modal-open {
    overflow: hidden;
}

/* Modal cobrindo a tela inteira */
.modal {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    background-color:  var(--color-primary);
    z-index: 9999;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Caixa do modal */
.modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Conteúdo centralizado e ocupando a tela toda */
#modal-content-custom {
    border: none;
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Corpo do modal com centralização do texto e cards */
.modal-body {
    background-color:  var(--color-primary);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    overflow-y: auto;
}

.modal-body h2 {
    color: #fff;
}

/* Evita que o backdrop do Bootstrap atrapalhe */
.modal-backdrop {
    display: none !important;
}

.painel-cards {
    display: flex;
    gap: 1rem;
}