html {
  font-size: 14px;
}

[data-bs-theme=light] {
    --bs-app-sidebar-dark-separator-color: none;
    --bs-app-sidebar-width: 306px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/*INICIO ESTILO DATATABLE*/
.page-item.active .page-link {
    background-color: #E40520 !important;
    border-color: #E40520 !important;
}

.table-dfl th {
    background-color: #e1e1e1 !important;
}
/*FIM ESTILO DATATABLE*/

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.btn-sofia-dfl {
    background: var(--surface-neutral-default, #423E3E) !important;
}

    .btn-sofia-dfl:hover {

        background: var(--surface-neutral-default, #423E3E) ;
    }

.btn-sofia-red, .btn-sofia-red:hover, .btn-sofia-red:after{
    display: flex;
    height: 40px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    border:none;
    background: var(--danger-Lightest3, #FFEAEB);
}

.btn-sofia-red-text, .btn-sofia-red-text:hover, .btn-sofia-red-text:after {
    color: var(--danger-Light, #FF4C56);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.14px;
}

.table-responsive-sm thead th {
    position: sticky;
    top: 0;
    background-color: #fff; 
    z-index: 10; 
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4); 
}

.btn-sofia-white {
    display: flex;
    height: 40px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: var(--radius-radius-sm, 0.25rem);
    border: 1.5px solid var(--border-neutral-disabled, #D5D2D2);
    background-color:white;
}

.btn-sofia-white-text {
    color: var(--text-neutral-disabled, #BCB8B8);
    font-family: Inter;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.00875rem;
}


.btn-gray {
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    background: var(--Neutral-Lightest-2, #E9E9E9);
    border: none;
}

.btn-gray-text {
    color: var(--Neutral-Mid, #4A4A49);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16px;
}


.sf-menu-font {
    font-size: 16px !important;
}

.sf-menu-scroll-x-force-hidden {
    overflow-x: hidden !important;
}

.sf-menu-btn-toogle {
    background-color: #FF0000 !important;
}

.sf-menu-logo-sesi {
    width: 99.14;
    height: 32px;
}

.sf-menu-logo-sofia-mobile {
    margin-left: 10px;
    width: 75.35;
    height: 16px;
}

.sf-menu-logo-sofia {
    margin-left: 10px;
    width: 75,35;
    height: 16px;
}

.dataTable tbody tr {
    border-bottom: 1px solid #d1d1d1 !important;
    white-space: nowrap !important;
}

.tagify__dropdown {
    z-index: 9999 !important; /* Ensure it appears above other elements */
    position: absolute !important; /* Proper positioning */
    display: block !important; /* Always visible when open */
    background-color: #ffffff; /* Match the input field style */
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    pointer-events: auto; /* Ensure it is interactive */
}

    .tagify__dropdown:hover {
        display: block !important; /* Prevent hiding on hover */
    }


    /* Modal Spotlight */
.modal-spotlight {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px;
  width: 600px; max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal-spotlight.ativo {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
body.modal-aberto {
  overflow: hidden;
}

#inputPesquisa {
  border: none; outline: none; font-size: 1.25rem;
  width: 100%; background: transparent;
  padding: 10px 0;
}

#containerResultados {
  max-height: 0; overflow-y: auto;
  transition: max-height 0.3s ease;
}
#containerResultados.expanded {
  max-height: 300px;
}

#listaResultados {
  max-height: 250px; overflow-y: auto;
}
#listaResultados::-webkit-scrollbar {
  width: 6px;
}
#listaResultados::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.resultado-item {
  padding: 10px; border-radius: 6px;
  cursor: pointer; transition: background 0.2s;
}
.resultado-item:hover,
.resultado-item.selecionado {
  background-color: #f1f1f1;
}

.resultado-titulo {
  font-weight: 500;
}
.resultado-url {
  font-size: 0.875rem; color: #555;
}

.botao-fechar {
  position: absolute; top: 10px; right: 16px;
  font-size: 1.5rem; cursor: pointer; color: #888;
}
.botao-fechar:hover {
  color: #000;