body {
    font-family: 'Inter', sans-serif; color: #495057 !important;
}

/* Suavizar o efeito do negrito */
b, strong {
    font-weight: 700; /* Menos intenso que o 700 padrão */
}

body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+/Edge */
    user-select: none;         /* Standard */
}

/* Estilo rotativo */
.rotating {
    display: inline-block;
    animation: rotate 2s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Tamanho e rótulos customizados */
.custom-font-size {
    font-size: 12px;
    color: #495057;
}
.custom-font-label {
    font-size: 12px;
    font-weight: bold;
    height: 30px;
    color: #495057;
}

.custom-font-label0 {
    font-size: 12px;
    font-weight: bold;
    height: auto;
    margin-left: 3px;
    margin-bottom: 5px;
    color: #495057;
}


.custom-textarea, .custom-input {
    border: 1px solid #dcdcdc; /* Força a borda cinza */
    border-radius: 5px !important;        /* Força a borda arredondada */
    color: #495057 !important;             /* Força o texto preto */
    font-size: 12px;          /* Força o tamanho da fonte */
    resize: none;                        /* Só afeta textareas */
}


/* === Container principal (fixado definitivamente) === */
.bootstrap-select {
    display: inline-block !important;
    width: 100% !important; /* largura original fixa */
    position: relative !important;
    box-sizing: border-box !important;
    min-width:0% !important; 
    color: #495057;
}

/* === Botão fechado (perfeito alinhamento vertical) === */
.bootstrap-select .dropdown-toggle {
    line-height: 1.85; 
    font-size: 12px;
    color: #495057 !important;
    background-color: #fff !important;
    border: 0.5px solid #dcdcdc !important;
    border-radius: 5px !important;
    height: 36px !important;
    padding: 7px 36px 5px 10px !important;
    display: flex !important;
    align-items: flex-start !important;
    text-align: left !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.bootstrap-select.dropup .dropdown-menu {
    top: auto !important;
    bottom: 100% !important;
    margin-top: 0 !important;
    color: #495057;
    margin-bottom: 0.125rem !important;
    transform: none !important;
}

.bootstrap-select .bs-searchbox {
    padding: 8px 8px 0 8px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
}

.bootstrap-select .bs-searchbox input {
    margin: 0 !important;
    padding: 5px 10px !important; /* 👈 padding confortável */
    width: 100% !important;
    font-size: 12px;
    min-height: 36px !important;  /* 👈 Altura igual ao botão, resolve o corte */
    line-height: 1.4 !important; /* 👈 Ajuste de alinhamento de texto */
    box-sizing: border-box !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
}

.bootstrap-select .dropdown-toggle.disabled {
    background-color: #e9ecef !important;
    cursor: default !important;
    color: #6c757d !important;
    opacity: 1 !important; /* evita que fique "lavado" demais */
}

.bootstrap-select.disabled,
.bootstrap-select .dropdown-toggle.disabled {
    cursor: default !important;
}

/* === FOCO azul padrão Bootstrap === */
.bootstrap-select .dropdown-toggle:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25) !important;
    outline: none !important;
}

/* === Texto interno com ELLIPSIS correto (sem mexer no botão) === */
.bootstrap-select .filter-option-inner-inner {
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    color: #495057;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    justify-content: flex-start !important;
}

/* === Ícone dropdown ampliado (40%) === */
.bootstrap-select .dropdown-toggle::after {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) scale(1.4) !important;
    pointer-events: none !important;
}

/* === Dropdown-menu aberto (fixado corretamente) === */
.bootstrap-select .dropdown-menu {
    min-width: 0% !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 !important;
    color: #495057;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* === Dropdown-menu com scroll único (busca + itens) === */
.bootstrap-select .dropdown-menu {
    max-height: 340px !important; /* Ajusta conforme seu gosto */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0 !important;
    color: #495057;
    margin: 0 !important;
    box-sizing: border-box !important;

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: #adb5bd #f8f9fa;
}

/* Chrome, Edge, Safari */
.bootstrap-select .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.bootstrap-select .dropdown-menu::-webkit-scrollbar-track {
    background: #f8f9fa;
}
.bootstrap-select .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #adb5bd;
    border-radius: 4px;
}
.bootstrap-select .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: #868e96;
}

/* Remove scroll interno da lista */
.bootstrap-select .dropdown-menu .inner {
    max-height: none !important;
    overflow: visible !important;
}

/* === Itens internos com quebra natural === */
.bootstrap-select .dropdown-item {
    padding: 4px 10px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    color: #495057;
}

/* Remove a cor padrão nos estados onde o Bootstrap define highlight */
.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:active,
.bootstrap-select .dropdown-item.selected {
   color: #fff; /* ou simplesmente remova 'color' daqui e deixe o Bootstrap aplicar */
}

.bootstrap-select > select {
    position: absolute !important;
    top: 0 !important;     
    left: 0 !important;
    width: 100% !important; 
    height: 36px !important; 
    color: #495057;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important; 
    padding: 5px 36px 5px 10px !important; 
    margin: 0 !important;
    box-sizing: border-box !important;
    border: none !important;
}

/* 🔴 Ajuste para selects normais */
select {
    border: 0.5px solid #dcdcdc !important; /* Mantém a borda fina */
    border-radius: 5px !important;          /* Bordas arredondadas */
    font-size: 12px;             /* Define tamanho da fonte */
    color: #495057 !important;                /* Texto preto */
    background-color: white !important;     /* Fundo branco */
    min-height: 36px !important;            /* Ajusta altura */
    line-height: 1.5 !important;            /* Espaçamento interno */
    padding: 5px 30px 5px 10px !important;  /* 🔴 Ajusta espaço interno (30px à direita) */
    appearance: none !important;            /* 🔴 Remove o estilo padrão do select */
    text-overflow: ellipsis !important;     /* Adiciona "..." se o texto for longo */
    overflow: hidden !important;            /* Oculta texto extra */
    white-space: nowrap !important;         /* Impede que o texto quebre */
}

/* 🔴 Adiciona um ícone de seta manual para substituir o padrão */
select::after {
    content: "▼";  /* Ícone da seta */
    font-size: 12px;
    position: absolute;
    right: 10px !important;
    color: #495057;
    pointer-events: none; /* Impede que clique na seta */
}


/* 🔴 Garante que o `select` dentro de um `.form-control` funcione corretamente */
.form-control select {
    min-width:0% !important; 
    width: 100% !important;
}

/* Tabela moderna "afundada" */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); /* Sombra interna para o efeito afundado */
    border-radius: 5px;
    overflow: visible;
}
.modern-table th, .modern-table td {
    padding: 7px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
}
.modern-table thead th {
    background-color: #6c757d;
    color: white;
}
.modern-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}
.modern-table.table-hover tbody tr:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

/* Estilo do Kanban Board */
.kanban-board {
    display: flex;
    overflow-x: auto;
    padding-top: 20px;
}
.kanban-column {
    flex: 1;
    min-width: 184px;
    margin-right: 15px;
}
.kanban-column-header {
    background-color: #6c757d;
    color: white;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    border-radius: 5px 5px 0 0;
}
.kanban-card {
    background-color: white;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 10px;
    cursor: move;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.sortable {
    min-height: 100px;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 0 0 5px 5px;
}

/* Cores para cada status */
.bg-planejadas { background-color: #6c757d; }
.bg-preparacao { background-color: #ffc107; }
.bg-agendadas { background-color: #007bff; }
.bg-feitas { background-color: #28a745; }
.bg-concluidas { background-color: #000000; }
.bg-canceladas { background-color: #dc3545; }

/* Estilos para avatar */
.avatar-stack {
    display: flex;
    align-items: center;
}
.imagem-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    position: relative;
    z-index: 1;
    margin-left: 0px;
}

/* Menu suspenso */
.dropdown-menu {
    position: absolute;
    z-index: 1055;
    top: 100%;
    left: 0;
    color: #495057;
    font-size: 12px;
    display: none;
}
.dropdown-menu.show {
    display: block;
}

/* Customizações de navegação e botões */
.navbar { margin-bottom: 20px; }
.card { box-shadow: 0 2px 4px rgba(0,0,0,0.1); border: none; }
.card-title { font-size: 1.25rem; font-weight: bold; }
.form-control { font-size: 12px; }
.btn-group { position: relative; }

/* Customizações de abas */
.custom-tab {
    background-color: #6c757d;
    color: white;
    border-radius: 0.25rem;
    border: none;
    margin-right: 2px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.custom-tab.active,
.custom-tab:hover,
.custom-tab:focus {
    background-color: #5a6268;
    color: white;
}
.custom-tab:disabled {
    background-color: #c0c0c0;
    color: #6c757d;
    cursor: not-allowed;
}

/* Estilos para select */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    font-size: 12px;
    background-color: white;
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 6"%3E%3Cpath fill="%23000" d="M0 0l5 5 5-5z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    color: #495057;
    height: 35px;
    padding-right: 25px;
}

/* Drop-down personalizado */
.custom-dropdown {
    position: relative;
    display: inline-block;
    z-index: auto;     
}

/* Drop-down personalizado */
.custom-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f8f9fa;
    color: #495057;
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 99999 !important; 
    top: 100%;
    right: 0;
    border-radius: 4px;
    overflow: visible; 
}


.custom-dropdown-content a {
    color: #495057;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    font-size: 12px;
    z-index: 99999 !important; 
}
.custom-dropdown-content a:hover {
    background-color: #d3d3d3;
}
.custom-dropdown-content .dropdown-divider {
    height: 1px;
    margin: 0;
    background-color: #e9ecef;
}
.custom-dropdown:hover .custom-dropdown-content {
    display: block;
}
.custom-dropdown:hover .custom-dropdown-button {
    background-color: #d3d3d3;
}

.custom-dropdown-button {
    background-color: transparent; /* O background inicial será transparente */
    color: #495057;                  /* Define a cor do texto como preta */
    padding: 0.25rem 0.5rem;       /* Padding padrão do botão sm */
    font-size: 0.875rem;           /* Tamanho de fonte padrão do botão sm */
    border: 1px solid transparent; /* Borda de 1px, transparente por padrão */
    cursor: pointer;               /* Define o cursor como 'pointer' */
    height: 31px;                  /* Altura padrão do botão sm */
    line-height: 1.5;              /* Altura da linha padrão */
    text-align: center;            /* Centraliza o texto */
    border-radius: 0.2rem;         /* Borda levemente arredondada (padrão sm) */
    
    /* Flexbox para centralização */
    display: flex;                 /* Define o display como flex */
    justify-content: center;       /* Centraliza o conteúdo horizontalmente */
    align-items: center;           /* Centraliza o conteúdo verticalmente */
}

.custom-dropdown-button:hover {
    background-color: #d3d3d3; /*rgba(211, 211, 211, 0.3);*/ /* Cor exibida ao passar o mouse */
    transform: scale(1.05); /* Aumenta um pouco no hover */
}

/* Estilo para tarefas */
.task-container {
    max-width: 250px;
    max-height: 400px;
    overflow-y: auto;
    margin-right: 20px;
    border-radius: 5px;
}
.task-container-header {
    background-color: #f8f9fa;
    color: #000;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0;
}
.task-content {
    padding: 10px;
    font-size: 12px;
    background-color: #ffffff;
}
.task-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}


.custom-scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #6c757d transparent;
}

/* Estilo para navegadores baseados em WebKit */
.custom-scroll::-webkit-scrollbar {
    width: 12px; /* Largura da barra */
    height: 12px; /* Altura da barra horizontal */
}

.custom-scroll::-webkit-scrollbar-track {
    background: rgba(240, 240, 240, 0.5); /* Fundo da barra visível com leve tom */
    border-radius: 4px; /* Faz o fundo do trilho arredondado */
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.4); /* Polegar translúcido (cinza claro) */
    border-radius: 4px; /* Faz o polegar arredondado */
    transition: background 0.3s ease; /* Suavidade ao interagir */
}

/* Ao passar o mouse */
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(120, 120, 120, 0.6); /* Polegar mais visível no hover (cinza médio) */
}

/* Drop-down Filter */
.drop-down-filter .dropdown-toggle {
    border: 1px solid #dcdcdc !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    color: #495057 !important;
    height: 35px !important;
    font-family: 'Inter', sans-serif; color: #495057 !important;
    font-weight: 500 !important;
    padding: 0 10px !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drop-down-filter .dropdown-toggle:hover {
    border-color: #b3b3b3;
    color: #495057 !important;
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.drop-down-filter .dropdown-menu {
    width: auto;
    max-width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #495057 !important;
}

.drop-down-filter .dropdown-menu li {
    padding: 5px 0;
    color: #495057 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

/* Aumentar o tamanho do checkbox e afastá-lo da borda esquerda */
.drop-down-filter .form-check-input {
    margin-right: 10px;
    margin-left: 5px;
    width: 25px;
    height: 25px;
    color: #495057 !important;
    flex-shrink: 0;
    vertical-align: middle;
}

.drop-down-filter .dropdown-menu label {
    color: #495057 !important;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: flex;
    align-items: center;
    line-height: 25px;
    margin-bottom: 0;
    margin-right:10px;
    padding: 0;
    height: 25px;
}

/* Container para alinhar os botões */
.drop-down-filter {
    display: flex;
    align-items: center; /* Alinha verticalmente os itens no centro */
}

/* Estilo para o botão de exclusão */
.drop-down-filter .clear-selection {
    cursor: pointer;
    font-size: 18px;
    color: #999;
    padding: 4px 10px; /* Ajusta o padding para uma aparência consistente */
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background-color: #f8f9fa;
    height: 35px; /* Define a altura do botão de exclusão para corresponder à do dropdown */
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o conteúdo do botão */
    box-sizing: border-box; /* Garante que padding e bordas sejam incluídos na altura */
}

.drop-down-filter .clear-selection:hover {
    color: #ff0000;
    background-color: #e0e0e0;
}

.drop-down-filter .clear-selection:active {
    background-color: #cccccc;
}


#loading-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(33, 37, 41, 0.5); /* tom neutro mais leve */
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-in, transform 200ms ease-in;
  transform: scale(1.01); /* leve estiramento que dá suavidade */
  z-index: 9999;
  visibility: visible; /* sempre visível */
}

#loading-overlay.active {
  opacity: 1;
  pointer-events: all;
  transform: scale(1); /* suaviza o fade com contração */
}


.loading-content {
  display: flex;
  flex-direction: column; /* Alinha o spinner e a mensagem verticalmente */
  align-items: center; /* Centraliza o conteúdo horizontalmente */
}

#loading-message {
  margin-top: 10px; /* Espaço entre o spinner e a mensagem */
  font-size: 1.5rem;
  color: white; /* Cor branca */
  text-align: center; /* Centraliza a mensagem */
  opacity: 0.8; /* Um pouco de transparência na mensagem */
}


.close-button {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: 12px;
    color: red; /* Cor vermelha para indicar exclusão */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Suaviza as transições de escala e sombra */
}

.close-button:hover {
    color: darkred; /* Cor ao passar o mouse */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra no hover */
    border-radius: 5px; /* Borda arredondada */
    transform: scale(1.05); /* Aumenta um pouco no hover */
}

/* Adiciona a transição suave de cor */
.close-button i {
    color: currentColor; /* Ícone herda a cor do botão ou contêiner */
    transition: color 0.3s ease; /* Suaviza a transição de cor */
}

.close-button:hover i {
    color: currentColor; /* Ícone continua herdando a cor, respeitando o hover */
}

/* 🔒 Impede que o Swal afete o scroll da página */
.swal2-container {
    position: fixed !important;
    inset: 0 !important;
    overflow: hidden !important;
    z-index: 200000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swal2-icon {
    transform: scale(0.75);
}

.swal2-popup.swal-blocked {
    border-radius: 5px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
    background-color: #ffffff !important;
    padding: 0.5rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    width: 100% !important;*/
    min-width: 450px !important;
    max-width: 450px !important;  /* limite para desktop */
    /*max-width: 90vw; */
    margin: 0 !important;
    max-height: 90vh !important;
    overflow: auto !important;
    z-index: inherit !important;
    transform: scale(0.75);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    position: relative;
}

/* ✨ Aplicado automaticamente quando o Swal abre */
.swal2-popup.swal-blocked.swal2-show {
    transform: scale(1);
    opacity: 1;
}

/* ✅ Título */
.swal2-title {
    font-size: 1.25rem !important;
    font-weight: bold !important;
    color: #495057 !important;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.75rem !important;
}

/* ✅ Conteúdo */
.swal2-html-container {
    font-size: 0.8rem !important;
    color: #495057 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin-bottom: 0.25rem !important;
    font-family: 'Inter', sans-serif;
}

/* ✅ Botões */
.swal2-confirm,
.swal2-cancel,
.swal2-deny {
    border-radius: 3px !important;
    font-size: 13px !important;
    padding: 0.25rem 1rem !important;
    min-height: 35px !important;
    font-weight: bold !important;
    min-width: 85px !important;
}

/* 📏 Espaço entre botões e fundo */
.swal2-actions {
    margin-bottom: 25px !important;
    gap: 0px !important;
}

/* 🖼️ Marca T4T no canto superior direito da modal */
.swal2-popup.swal-blocked::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-image: url('./img/t4t_ico.png'); /* ajuste o path se necessário */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
}



.custom-button-hover {
    background-color: transparent; /* Sempre transparente */
    border: none; /* Sem borda */
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
    color: inherit; /* Herda a cor do contêiner onde o botão está */
}

.custom-button-hover:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra no hover */
    border-radius: 5px; /* Borda arredondada */
    transform: scale(1.05); /* Aumenta um pouco no hover */
}

.custom-button-hover i {
    color: currentColor; /* Ícone herda a cor do botão ou contêiner */
    transition: color 0.3s ease; /* Suaviza a transição de cor */
}

.custom-button-hover:hover i {
    color: currentColor; /* Continua herdando a cor, mas respeita o hover */
}

td button.custom-button-hover {
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 30px;
    max-width: 30px;
    width: 30px;
    height: 30px;
    padding: 0 !important;
    margin: 0 2px;
    overflow: hidden;
    white-space: nowrap;
}

.icon-hover {
    color: #6c757d;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-block;
    padding-right: 1px; 
    padding-left: 1px;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    vertical-align: middle;
    margin-right: 5px;
}

.icon-hover:hover {
    transform: scale(1.3);
    color: #495057;
    border-radius: 2px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
}




// para nav do cockpit de reuniões

    /* Remover a cor azul padrão do foco */
    .list-group-item:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: #6c757d !important; /* Borda preta */
    }

    /* Aplicar estilo para o botão ativo (remover azul) */
    .list-group-item.custom-active {
        background-color: #6c757d !important; /* Cor btn-secondary */
        color: white !important;
        border-color: #6c757d !important; /* Borda preta */
    }

    /* Remover o hover e o foco azul para o botão ativo */
    .list-group-item.custom-active:hover,
    .list-group-item.custom-active:focus {
        background-color: #5a6268 !important; /* Cor mais escura para hover */
        border-color: #6c757d !important;
        color: white !important;
    }

/* Estilos do card */
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; /* Necessário para que o z-index funcione */
    z-index: 1; /* Valor base para o card */
    overflow: visible; /* Permite que os elementos transbordem */
}

/* Estilo específico para o card ativo */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 2; /* Garante que o card em hover fique acima dos outros cards */
}

.card h5 {
    font-size: 16px;
    color: #333;
}

.card img {
    border-radius: 50%;
}

.card-body {
    padding: 15px;
}

.card p {
    margin: 0;
}

/* Estilo moderno para a modal de chat Tyfor */
.modaltyfor .modal-content {
    height: 870px; /* Altura fixa */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modaltyfor .modal-header {
    border-bottom: none;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modaltyfor .modal-title {
    font-size: 18px;
    font-weight: bold;
}

.modaltyfor .chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto; /* Rolagem para o conteúdo de mensagens */
}

.modaltyfor .chat-messages {
    flex: 1;
    overflow-y: auto;
    font-size: 12px;
    padding: 10px;
}

.modaltyfor .chat-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #f2f2f2;
    max-width: 100%; /* Limita a largura das mensagens */
}

.modaltyfor .chat-message strong {
    font-weight: 600;
}

.modaltyfor .modal-footer {
    background-color: #f2f2f2;
    border-top: none;
    padding: 10px;
}

.modaltyfor #chat-input-field {
    border-radius: 20px;
    padding: 10px;
    font-size: 14px;
}

.modaltyfor .btn-close {
    /*filter: invert(1);*/ /* Deixa o X branco */
    /*opacity: 1; *//* Mantém o botão visível */
    background-color: transparent; /* Remove o fundo */
    border: none; /* Remove qualquer borda ao redor */
    box-shadow: none; /* Remove sombras */
    outline: none; /* Remove o contorno ao focar */
}

#chat-messages {
    font-size: 12px !important;
}

#chat-messages h1,
#chat-messages h2,
#chat-messages h3,
#chat-messages h4,
#chat-messages h5,
#chat-messages h6 {
    font-size: 12px !important; /* Ajuste todos os títulos para 12px */
    font-weight: bold; /* Mantém a distinção visual sem aumentar o tamanho */
}

/* Classe para aplicar o efeito de transição */
.fade-transition {
    opacity: 1;
    transition: opacity 0.5s ease; /* Transição suave */
}

.fade-hidden {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.no-print {
    display: block;
}

@media print {
    .no-print {
        display: none !important;
    }
}

.popover {
     border-radius: 10px; /* Bordas arredondadas */
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Sombra leve */
     background-color: #f8f9fa; /* Fundo claro */
     color: #212529; /* Texto escuro */
}

.popover-header {
     background-color: #007bff; /* Fundo do título */
     color: white; /* Cor do texto do título */
     font-weight: bold;
        border-bottom: none; /* Remove a borda do header */
}

.tooltip {
    font-size: 12px !important; /* Define o tamanho da fonte */
    max-width: 100% !important; /* Limita a largura a 100% da tela */
    word-wrap: break-word !important; /* Quebra as palavras longas */
    white-space: normal !important; /* Permite quebra de linha */
    background-color: #f5f5f5 !important; /* Fundo cinza claro */
    color: #495057 !important; /* Texto preto suave */
    border: 1px solid #ced4da !important; /* Borda cinza mais clara */
    border-radius: 0.25rem; /* Borda arredondada */
    padding: 0.5rem; /* Espaçamento interno */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adiciona leve sombra */
    text-align: left !important; /* Alinha o texto à esquerda */
}

.tooltip-inner {
    max-width: 100% !important; /* Garantir que o conteúdo também seja limitado */
    white-space: normal !important; /* Permite quebra de linha */
    word-break: break-word !important; /* Quebra palavras longas */
    background-color: #f5f5f5 !important; /* Fundo cinza claro */
    color: #495057 !important; /* Texto preto suave */
    border-radius: 0.25rem; /* Mesma borda do container */
    text-align: left !important; /* Alinha o texto à esquerda */
}

/* Deixa a barra de ferramentas (toolbar) cinza claro */
.ql-toolbar.ql-snow {
    background-color: #f8f9fa; /* Cinza bem claro */
    border: 1px solid #e2e6ea; /* Um pouco mais escuro */
    border-radius: 5px 5px 5px 5px; 
    padding: 5px;
}

    .ql-editor {
        font-size: 12px;
        color: #495057;
    }

/* Deixa o container do editor (caixa de texto) com borda + espaçamento */
.ql-container.ql-snow {
    border: 1px solid #e2e6ea; /* Mesma borda que a toolbar */
    border-top: none; /* Remove borda duplicada entre toolbar e editor */
    border-radius: 0 0 5px 5px; /* Só embaixo */
    margin-top: 10px; /* Espaço entre barra e caixa de texto */
}

/* Deixa os botões da toolbar menores */
.ql-toolbar.ql-snow .ql-formats {
    margin-right: 8px;
}

.ql-toolbar.ql-snow button,
.ql-toolbar.ql-snow .ql-picker {
    height: 24px;
    padding: 2px 4px;
    font-size: 12px;
    line-height: 1;
}

/* Reduz altura da toolbar */
.ql-toolbar.ql-snow {
    padding: 4px 6px;
}

/* Reduz ícones SVG */
.ql-toolbar.ql-snow svg {
    width: 14px;
    height: 14px;
}

.filtro-expressao {
    position: relative;
    display: inline-block;
    width: 100%;
    
}

.filtro-expressao .campo-expressao {
    width: 100%;
    padding-right: 50px;
    height: 36px !important;
    font-size: 12px;
}

.filtro-expressao .btn-aplicar,
.filtro-expressao .btn-limpar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 4px;
    border: none;
    background: none;
    height: 36px !important;
    font-size: 18px;
    cursor: pointer;
    color: #495057;
}

.filtro-expressao .btn-aplicar {
    right: 25px;
}

.filtro-expressao .btn-limpar {
    right: 5px;
}

.filtro-expressao .btn-aplicar:hover {
    color: #0d6efd;
}

.filtro-expressao .btn-limpar:hover {
    color: #dc3545;
}

/* Card sendo arrastado */
.sortable-enc-board .sortable-chosen {
    opacity: 0.8;
    transform: rotate(2deg);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.2);
}

/* Espaço onde será solto */
.sortable-enc-board .sortable-ghost {
    opacity: 0.3;
    border: 2px dashed #6c757d;
    background: #f8f9fa;
}