/* ============================ */
/*  Estilos para o Common Modal */
/* ============================ */

/* Modal Content (conteúdo do modal) */
#common-modal .modal-content {
    background-color: #ffffff;       /* fundo branco */
    border-radius: 1rem;            /* cantos arredondados */
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
    border: none;                   /* remove borda padrão */
}

/* Cabeçalho do modal */
#common-modal .modal-header {
    font-size: 6rem;
    border-bottom: 1px solid #ddd;
    padding: 2rem;
    background-color: #f8f9fa;      /* cor de fundo levemente cinza */
}

#common-modal-header {
    margin: 2rem 0;
    font-size: 6rem;
    font-weight: bold;
    color: #333333;               /* remove margens extras */
}

/* Corpo do modal */
#common-modal .modal-body {
    padding: 3rem;
}

#common-modal-body-dynamic {
    font-size: 1.6rem;
    color: #555555;
    line-height: 1.5;
}

/* Rodapé do modal */
#common-modal .modal-footer {
    border-top: 1px solid #ddd;
    padding: 2rem;
    display: flex;
    justify-content: flex-end;
}

/* Botão de fechar (Close) no rodapé */
#common-modal .modal-footer .btn {
    font-size: 3rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
}

#common-modal-close {
    font-size: 3rem;
    background-color: var(--button-background-secondary) !important;
    color: var(--button-background-primary) !important;
    border: 0.5rem solid #4a90e2;
}

#common-modal-close:hover {
    background-color: var(--button-background-secondary-hover);
}
