.field-validation-error {
    color: #e01d1d;
}

.close-alert {
    position: absolute;
    right: -10px;
    top: -15px;
    border-radius: 15px;
    width: 30px;
    height: 31px;
}

.ui-autocomplete {
    position: relative;
    border-radius: 3px;
    top: 0;
    left: 0;
    cursor: default;
    min-width: 100px;
    max-width: 100%;
    max-height: 100px;
    background: #ffffff;
    color: #000000;
    z-index: 9999999 !important;
    overflow-y: auto;
    overflow-x: hidden;
}

.icon-raio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border: 2px solid red;
    background-color: yellow;
    border-radius: 50%;
    font-size: 10px;
    color: black;
}
 

.hidden {
    display: none;
}

.size-15 {
    height: 15px;
    line-height: 15px;
    width: 15px;
}

.submit-progress {
    z-index: 999 !important;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 50%;
}

.submit-progress-bg {
    background-color: lightgray;
    opacity: .5;
}

.progress-box {
    z-index: 99 !important;
    position: fixed;
    top: 50%;
    left: 50%;
    height: 4.5em;
    padding-top: 1.3em;
    /* The following rules are the
    ones most likely to change */
    width: 20em;
    /* Set 'margin-left' to a negative number
    that is 1/2 of 'width' */
    margin-left: -10em;
    padding-left: 2.1em;
    background-color: #0d6efd;
    color: white;
    -webkit-border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    border-radius: 0.4em;
    box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -webkit-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
    -moz-box-shadow: 0.4em 0.4em rgba(0,0,0,0.6);
}

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: rgb(217, 212, 212);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgb(158, 158, 158);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgb(100, 100, 100);
        border-radius: 10px;
    }

html::-webkit-scrollbar-thumb:active {
    background: rgb(68, 68, 68);
    border-radius: 10px;
}

.table td, .table th {
    padding: .25rem;
}


@media print {
    @page {
        margin: 0;
        size: 50mm 30mm;
    }

    body.receipt {
        width: 50mm;
        height: 30mm;
    }

    body.receipt .sheet {
        width: 50mm;
        height: 30mm;
    }
   
    .tabela-print {
        margin: 0 !important;
    }

    body {
        margin: 0;
        padding: 0;
    }
}

.btn-exclamacao {
    position: relative;
}

.btn-exclamacao::after {
    content: "!";
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    font-size: 14px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
@keyframes tarefa-notificacao-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.18);
        opacity: .65;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#tarefas-notificacao.tarefas-pendente .fa-bell {
    color: #dc3545;
    animation: tarefa-notificacao-pulse 1s infinite;
}

.tarefas-notificacao-menu {
    min-width: 330px;
    max-width: 380px;
    border-radius: 8px;
}

.tarefas-notificacao-lista {
    max-height: 360px;
    overflow-y: auto;
}

.tarefas-notificacao-link {
    white-space: normal;
    padding: 10px 14px;
}

.tarefas-notificacao-link:hover {
    background: #f4f8ff;
}

.tarefas-notificacao-row {
    display: flex;
    gap: 10px;
}

.tarefas-notificacao-icon {
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    margin-top: 2px;
    width: 34px;
}

.tarefas-notificacao-content {
    min-width: 0;
    display: block;
}

.tarefas-notificacao-content strong,
.tarefas-notificacao-content small,
.tarefas-notificacao-content span {
    display: block;
}

.tarefas-notificacao-content strong {
    color: #1f2937;
    font-size: 13px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tarefas-notificacao-content small {
    color: #4b5563;
    font-size: 12px;
    line-height: 1.3;
    margin-top: 2px;
}

.tarefas-notificacao-content span {
    color: #6b7280;
    font-size: 11px;
    line-height: 1.3;
    margin-top: 4px;
}

.tarefas-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 12px;
}

.tarefas-coluna {
    min-height: 420px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #f8f9fa;
}

.tarefas-coluna-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid #dee2e6;
    font-weight: 700;
}

.tarefas-lista {
    min-height: 360px;
    padding: 10px;
}

.tarefa-card {
    cursor: pointer;
    border-left: 4px solid #6c757d;
    margin-bottom: 10px;
}

.tarefa-card[data-prioridade="0"] {
    border-left-color: #6c757d;
}

.tarefa-card[data-prioridade="1"] {
    border-left-color: #17a2b8;
}

.tarefa-card[data-prioridade="2"] {
    border-left-color: #ffc107;
}

.tarefa-card[data-prioridade="3"] {
    border-left-color: #dc3545;
}

.tarefa-card .card-body {
    padding: 10px;
}

.tarefa-card-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.tarefa-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tarefa-drop-hover {
    background: #e9f5ff;
}

.tarefa-detalhe-lista {
    max-height: 260px;
    overflow-y: auto;
}

@media (max-width: 991px) {
    .tarefas-board {
        grid-template-columns: 1fr;
    }
}
