/* Configurações Gerais */
html {
  font-size: 14px !important;
}

body {
  font-family: "Poppins-Regular", sans-serif !important;
  font-size: 1rem !important;
  background-color: #e8eae9 !important;
}

a {
  text-decoration: none !important;
  color: #145a32 !important;
}

a:hover {
  color: #28b463 !important;
}

/* Tipografia */
h1 {
  font-size: 2rem !important;
}

h2 {
  font-size: 1.5rem !important ;
}

h3,
h4,
h5 {
  font-size: 1.3rem !important;
}

h6 {
  font-size: 1.1rem !important;
}

p {
  font-size: 1rem !important;
}

.small-text {
  font-size: 0.75rem !important;
}

/* Fonte Personalizada */
@font-face {
  font-family: "Poppins-Regular";
  src: url("../src/Poppins-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* Layout */
.image-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.div-login {
  background-image: url("/assets/images/background-login-form.webp");
  background-size: cover; /* Faz com que a imagem cubra toda a área do elemento */
  background-position: center; /* Centraliza a imagem */
  background-repeat: no-repeat; /* Impede a repetição da imagem */
  background-attachment: fixed; /* Faz com que a imagem de fundo fique fixa na tela durante o rolar da página */
  height: 100vh; /* Ajusta a altura do elemento */
  width: 100%; /* Ajusta a largura do elemento */
}

.login-form {
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Cor de fundo semi-transparente */
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra externa suave */
  /* backdrop-filter: blur(20px); Efeito vidro (desfoque) */
  border: 0px solid rgba(0, 0, 0, 0.1); /* Borda sutil */
}

/* Input e Ícones */
.input-container {
  position: relative;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 10px; /* Ajuste a distância do ícone do lado esquerdo do campo de input */
  transform: translateY(-50%);
  pointer-events: none; /* Faz com que o ícone não interfira na interação com o input */
}

.input-icon-eye {
  position: absolute;
  top: 50%;
  right: 10px; /* Ajusta a distância do ícone do lado direito do campo de input */
  transform: translateY(-50%);
  cursor: pointer; /* Adiciona um cursor de ponteiro para indicar que é clicável */
  pointer-events: auto; /* Garante que o ícone do olho possa ser clicado */
}

.ps-5 {
  padding-left: 40px; /* Espaço suficiente para o ícone dentro do campo de input */
}

div.dt-container .dt-paging .dt-paging-button:hover {
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}

#loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
#loader p {
  margin-top: 10px;
}

.step {
  display: none;
}
.step.active {
  display: block;
}
.navigation-buttons {
  margin-top: 20px;
}

.dt-buttons .btn-primary {
  color: #fff !important;
  background-color: #3361ff !important;
  border-color: #3361ff !important;
}
.dt-buttons .btn-primary:hover {
  background-color: #0c36c4 !important;
  border-color: #0c36c4 !important;
}

.custom-cancel-button {
  color: #fff !important;
  background-color: #de3c5e !important;
  border-color: #de3c5e !important;
}
.custom-cancel-button:hover {
  background-color: #830e26 !important;
  border-color: #830e26 !important;
}

.titleModal {
  color: #0e8356;
}

.modal-title {
  font-weight: 500;
  color: #ff5733;
}

.responsive-text {
  display: flex;
  justify-content: space-between;
}

::placeholder {
  font-size: 12px;
}

.obrigatorio {
  color: #ff0033 !important;
}

.page-slug {
  color: #015d25;
}

.form-control.required,
.form-select.required,
textarea.required {
  border-color: #ff0000;
}

.form-control.filled,
.form-select.filled,
textarea.filled {
  border-color: #28a745; /* Cor verde */
}

.form-label.required::after,
.form-group > label.required::after {
  content: " *";
  color: #ff0000;
}

label[for].required > span.asterisk {
  color: #ff0000;
}

/* Estilo para labels de grupos de radio buttons */
.form-group > label.required::after {
  content: " *";
  color: #ff0000;
}

/* Estilo para labels de campos inválidos */
.form-label.is-invalid,
.form-group > label.is-invalid,
label[for].is-invalid > span.asterisk {
  color: #dc3545;
}

#pacienteSugestoes {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 72%;
  max-height: 200px;
  overflow-y: auto;
  border: none;
  border-radius: 0.5rem;
  background-color: white;
}

#pacienteSugestoes .list-group-item {
  cursor: pointer;
}

#pacienteSugestoes .list-group-item:hover {
  background-color: #f8f9fa;
}

.status-legend {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.status-legend h5 {
  margin-bottom: 10px;
}

.legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.legend-items span {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.legend-items i {
  margin-right: 5px;
  font-size: 1.2em;
}

.textarea-short {
  height: 35px !important;
}

.autocomplete-suggestions {
  position: absolute;
  border: 1px solid #ccc;
  background: white;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}
.autocomplete-suggestions div {
  padding: 5px;
  cursor: pointer;
}
.autocomplete-suggestions div:hover {
  background-color: #f0f0f0;
}

.alert h6 i {
  color: inherit;
}

.disabled {
  pointer-events: none;
}
span.d-inline-block.disabled {
  opacity: 0.6;
}
.disabled i.fas.fa-trash-alt {
  color: #6c757d !important;
}

@media (min-width: 992px) {
  /* lg breakpoint */
  .responsive-text {
    justify-content: flex-end;
  }
}
