/* Cores GCinco */
:root {
  --gcinco-blue: #007DFF;
  --gcinco-blue-strong: #041E4D;
}

.bg-gcinco-primary {
  background-color: var(--gcinco-blue-strong);
}

.bg-gcinco-secondary {
  background-color: var(--gcinco-blue);
}

.gcinco-primary {
  color: var(--gcinco-blue-strong);
}

.gcinco-secondary {
  color: var(--gcinco-blue);
}

.btn-loader {
  justify-content: center;
}

#divLoader {
  position: fixed; /* Fixa a div em relação à janela do navegador */
  top: 0;
  left: 0;
  width: 100vw; /* Ocupa toda a largura da janela */
  height: 100vh; /* Ocupa toda a altura da janela */
  background-color: rgba(255, 255, 255, 0.8); /* Cor de fundo semitransparente */
  z-index: 999; /* Garantir que fique acima de todos os elementos */
  display: flex; /* Centralizar o loader */
  justify-content: center;
  align-items: center;
}

/* Remove as flechas nos navegadores baseados em WebKit (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Remove as flechas no Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.otp-input input {
  text-align: center;
}

.otp-input input:focus {
  border-color: var(--gcinco-blue);
  outline: none;
}

/* REMOVENDO A COR DE BACKGROUND DO DATAGRID */
/* Remove a cor de fundo das células do grid */
.dx-datagrid .dx-row, 
.dx-datagrid-rowsview {
  background-color: transparent !important;
}

/* Remove a cor de fundo do cabeçalho */
.dx-datagrid-headers .dx-header-row {
  background-color: transparent !important;
}

/* Remove a cor de fundo da linha de filtros (filter row) */
.dx-editor-cell .dx-texteditor, .dx-editor-cell .dx-texteditor .dx-texteditor-input {
  background-color: transparent !important;
}

/* Remove a cor de fundo do grid inteiro */
.dx-datagrid {
  background-color: transparent !important;
}

/* DEIXA A BORDA DO DATAGRID REDONDA */
.dx-datagrid-borders > .dx-datagrid-headers {  
  border-top-left-radius: 8px;  
  border-top-right-radius: 8px;  
}  
.dx-datagrid-borders > .dx-datagrid-total-footer,  
.dx-datagrid-borders > .dx-datagrid-rowsview {  
  border-bottom-left-radius: 8px;  
  border-bottom-right-radius: 8px;  
}

/* Remove uma linha com cor de background quando existe a possibilidade de baixar planilha no devexpress */
.dx-toolbar {
  background-color: transparent !important;
}

.widget-user-image button {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: .9rem;
  line-height: .9;
  box-shadow: 0 0 0 2px var(--custom-white);
  border-radius: 100%;
  border: none;
}

.avatar-select:hover {
  cursor: pointer;
}

.obrigatorio {
  color: var(--gcinco-blue);
  font-weight: bold;
}

.card-insc-mun {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-insc-mun:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.icon-insc-mun {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-text {
  cursor: pointer;
  color: var(--gcinco-blue);
  text-decoration: underline;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.rotating-loader {
  animation: rotate 1s linear infinite;
  display: inline-block;
}

.row-mailbox:hover, 
.row-mailbox-message:hover {
  cursor: pointer;
  box-shadow: inset 0 0 0 100vmax rgba(168, 168, 168, 0.2); 
  transition: 0.2s;
}

.row-mailbox-message-read {
  box-shadow: inset 0 0 0 100vmax rgba(168, 168, 168, 0.1); 
}

.row-mailbox-message-not-read {
  font-weight: 500;
}

.square {
  border-radius: .2em;
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-right: 10px;
}

.observation {
  font-size: .8em;
  font-style: italic;
}

.bg-grid-warning {
  background-color: #FFC10770 !important;
  font-weight: 500 !important;
}

.text-maxlines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;  
}

.rounded-dash-icon {    
  width: 37px;
  height: 37px;
  text-align: center;
  border-radius: 50%;
  inset-inline-start: 3px;
  font-size: 20px;
  line-height: 37px;
  font-size: 17px;  
}

.btn.btn-xs {
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.6rem;
}