/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

/******CUSTOMIZAÇÃO******/
.borda-logo {
  filter: drop-shadow(1px 0 0 white) drop-shadow(0 1px 0 white) drop-shadow(-1px 0 0 white) drop-shadow(0 -1px 0 white);
}

.auth-one-bg .bg-overlay {
  opacity: 0.6;
}

.auth-one-bg {
  background-image: url("../images/custom/imagem_login.png") !important;
}

.alert-warning {
  background: #fff0c6 !important;
  color: #7a2e0d !important;
}

.font-poppins {
  font-family: "Poppins", sans-serif;
}

.font-size-logo {
  font-size: 26px;
}

.linha-head-table {
  border: 2px #ced4da;
}

.coluna-acoes {
  max-width: 100px !important;
}

/** Sobrescreve a formatação do controle de paginção do Data Table*/
.dataTables_info {
  margin-top: 15px !important;
}

.pagination {
  margin-top: 15px !important;
}

/** Fim da customização de paginação*/

/** Customização do fundo do botão secundario*/
.btn-outline-primary:hover {
  background-color: #eff2f7;
  color: var(--vz-primary);
}

/** Fim da customização do botão*/

/** Modal Customização*/
.modal-content label {
  font-weight: bold;
}

/** Fim Modal Customização*/

/** Customização do btn-outline-light*/
.btn-outline-light {
  --vz-btn-color: #495057;
  --vz-btn-bg: transparent;
  --vz-btn-border-color: #eff2f7;
  --vz-btn-hover-color: #ffffff;
  --vz-btn-hover-bg: var(--vz-primary);
  --vz-btn-hover-border-color: var(--vz-primary);
  --vz-btn-focus-shadow-rgb: var(--vz-light-rgb);
  --vz-btn-active-color: #ffffff;
  --vz-btn-active-bg: var(--vz-primary);
  --vz-btn-active-border-color: var(--vz-primary);
}

[data-bs-theme="dark"] .btn-outline-light {
  --vz-btn-color: #8d8e90;
  --vz-btn-bg: transparent;
  --vz-btn-border-color: #313437;
  --vz-btn-hover-color: #ffffff;
  --vz-btn-hover-bg: var(--vz-primary);
  --vz-btn-hover-border-color: var(--vz-primary);
  --vz-btn-focus-shadow-rgb: var(--vz-light-rgb);
  --vz-btn-active-color: #ffffff;
  --vz-btn-active-bg: var(--vz-primary);
  --vz-btn-active-border-color: var(--vz-primary);
}

/** Fim da customização do btn-outline-light*/

/**Ajusta os inputs que possuem icones dentro quando há erro de validação*/
.is-invalid+i {
  top: -20px !important;
}

/** Aplica a borda vermelha ao contêiner do Choices quando o select original tem a classe is-invalid */
.choices__inner:has(select.is-invalid) {
  border: 1px solid #f06548;
  /* Borda vermelha para indicar erro */
}

.invalid-tabs {
  border: 1px solid #f06548 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f06548'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f06548' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(2em + 0.25rem) center;
  background-size: calc(0.75em + 0.5rem) calc(0.75em + 0.5rem);
}

.invalid-big-tabs:not(:focus) {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23f06548'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f06548' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(2em + 0.25rem) center;
  background-size: calc(0.75em + 0.5rem) calc(0.75em + 0.5rem);
  color: #f06548 !important;
}

.hidden {
  display: none !important;
}

/* .choices__item {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} */

.choices__item:has(select.wrap-opcoes) {
  white-space: unset;
}

.msg-validation-choice {
  top: 70px;
  width: 100%;
  font-size: 0.875em;
  color: #f06548;
  position: absolute;
}

.is-open .choices__inner {
  box-shadow: 0px 0px 0px 2px #9bc2cf inset !important;
}

input:focus,
select:focus {
  box-shadow: 0px 0px 0px 2px #9bc2cf inset !important;
}

textarea:focus,
select:focus {
  box-shadow: 0px 0px 0px 2px #9bc2cf inset !important;
}

input:focus.is-invalid,
select:focus.is-invalid {
  box-shadow: 0px 0px 0px 2px #f0654850 inset !important;
}

.choices__inner .choices__input {
  border: none !important;
  box-shadow: none !important;
}

.switch-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#form-apontamento-funcionario-folha .choices {
  margin-bottom: 0px !important;
}

.pointer-disabled {
  pointer-events: visibleFill !important;
  cursor: not-allowed !important;
}

/*==========================================================================
* Customiza o Select2 para o tema da aplicação
*==========================================================================*/
.select2-container .select2-selection--single {
  padding: 0.25rem 3.6rem 0.1rem 0.5rem;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 37.5px;
  user-select: none;
  -webkit-user-select: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 34px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #212529;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 28px;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da;
}

.select2-dropdown {
  background-color: white;
  border: 1px solid #ced4da;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051;
}

input.select2-search__field:focus {
  outline: none;
  border: solid 1px #9bc2cf !important;
}

input.select2-search__field {
  outline: none;
  border: solid 1px #ced4da !important;
}

.select2-selection:focus {
  border: solid 1px #9bc2cf;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  box-shadow: 0px 0px 0px 2px #9bc2cf inset !important;
  outline: none;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #9bc2cf;
  color: #ffffff;
}

.select2-container--default .select2-results__option--selected {
  background-color: #eff2f7;
}

.mdi-loading {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.card-filtro-status:hover {
  cursor: pointer;
  transform: scale(1.05);
  /* aumenta 5% em ambos os eixos */
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.limita-coluna {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  /* define o tamanho máximo da célula */
}

.limita-coluna-funcionario {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
  /* define o tamanho máximo da célula */
}

.limita-coluna-codigo-funcionario {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
  /* define o tamanho máximo da célula */
}

.limita-nome-departamento-dashboard-absenteismo {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 150px !important;
  /* define o tamanho máximo da célula */
}


#assistenteVirtual {
  z-index: 9999;
}


.assistente-virtual-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
}
