/* select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 37px !important;

}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 37px !important;
}

/* select2 */

.countPendingSignatures {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgb(255, 0, 0);
    z-index: 10;
}

.notification-count {
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    line-height: 18px;
}

.notification-group {
    position: relative;
    max-height: 600px; /* Ajuste conforme necessário */
    overflow-y: auto; /* Habilita rolagem nas notificações */
    padding-bottom: 50px; /* Espaço extra para o botão não sobrepor conteúdo */
}

.notifications-container {
    padding-bottom: 60px; /* Garante espaço para o botão */
}

.floating-button {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}


.countPendingNotify {
    position: absolute;
    top: -3px;
    right: 5px;
    margin-bottom: 5px;
}

.countPendingSignatures {
    position: absolute;
    top: -1px;
    left: -5px;
}

.icon-block {
    position: relative;
}


.notify div {
    display: flex;
    align-items: start;
    flex-direction: column;
}

.notify-message {
    font-size: 0.9em;

}

.read {
    opacity: 0.70;

}

.read .notify-title .notify-date {
    font-weight: 500;

}

.unread {
    font-weight: 600;
}

.loading-overlay-component {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.196);
    z-index: 9999;
}

.loading-overlay-component .spinner-border {
    width: 10vh;
    height: 10vh;
    border-width: 0.6em;
}

    .table-sticky {
    max-height: 600px;
    overflow-y: auto;
}

.table-sticky thead th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.pagination {
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    align-items: center;
}

.link-underline-hover {
    position: relative;
    transition: color 0.2s ease;
}

.link-underline-hover::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.link-underline-hover:hover::after {
    transform: scaleX(1);
}

.page-item.active .link-underline-hover::after,
.page-item.disabled .link-underline-hover::after {
    display: none;
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.5);
    border-radius: 4px;
}

/* Ícone "?" de ajuda ao lado do rótulo — mesmo padrão do x-filter.panel e do
   fluxo de caixa (popover, não modal). Ver resources/views/components/filter/panel.blade.php. */
.fp-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    margin-left: 4px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.45;
    cursor: help;
    vertical-align: middle;
}

.fp-help:hover {
    opacity: 1;
}

/* Ações somente-leitura (ex.: visualizar/baixar PDF) que devem continuar
   clicáveis mesmo dentro de um <fieldset disabled> (formulário travado por
   aprovação) — sobrepõe o fieldset:disabled .btn do Tabler (pointer-events:none). */
.pdf-actions-toggle,
fieldset:disabled .pdf-actions-toggle {
    pointer-events: auto !important;
    opacity: 1 !important;
}