html {
  font-family: "Inter", sans-serif;
  height: 100%;
  margin: 0;
}

body {
  height: 100%;
  margin: 0;
  position: relative;
  overflow-y: auto;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .background-desktop {
    display: none !important;
  }

  body.page-index::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../lib/img/logobg.svg");
    background-repeat: repeat;
    background-size: 150%;
    background-position: 0 0;
    filter: blur(20px);
    z-index: -0;
    pointer-events: none;
    opacity: 0.2;
  }
}

@media (max-width: 767.98px) {
  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .mobile {
    display: none !important;
  }

  .desktop {
    display: block !important;
  }
}

.background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../../lib/img/logobg.svg") no-repeat center center fixed;
  background-size: 150%;
  filter: blur(8px);
  opacity: 0.3;
  z-index: -1;
}

.background-desktop {
  background: radial-gradient(circle, white 50%, #d0d4d9 90%, #c8cfd9 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.login-container {
  min-height: 100vh;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form {
  width: 100%;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fcefcf;
  border-radius: 12px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fbbd24;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #b6d5ff;
}

input:checked + .slider:before {
  transform: translateX(24px);
  background-color: #3084f2;
}

.login-form {
  position: relative;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px #eeeeee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.login-icon {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 50px;
  height: 50px;
}

.logoinicial {
  padding-left: 100px;
}

.text-10 {
  font-size: 10px;
}

.text-12 {
  font-size: 12px;
}

.text-14 {
  font-size: 14px;
}

.text-16 {
  font-size: 16px;
}

.max-w-100 {
  max-width: 100px !important;
}

.max-w-200 {
  max-width: 200px !important;
}

.max-w-300 {
  max-width: 300px !important;
}

.max-w-400 {
  max-width: 400px !important;
}

.max-w-500 {
  max-width: 500px !important;
}

.max-w-600 {
  max-width: 600px !important;
}

.max-w-700 {
  max-width: 700px !important;
}

.min-w-100 {
  min-width: 100px !important;
}

.min-w-200 {
  min-width: 200px !important;
}

.min-w-300 {
  min-width: 300px !important;
}

.min-w-400 {
  min-width: 400px !important;
}

.min-w-500 {
  min-width: 500px !important;
}

.min-w-600 {
  min-width: 600px !important;
}

.min-w-700 {
  min-width: 700px !important;
}

.azul {
  color: #3084f2;
}

.amarelo {
  color: #f2b90f;
}

.vermelho {
  color: #ff3a3a;
}

.vermelho:hover {
  color: #ff0000;
}

.place {
  font-size: 12px;
  height: 35px;
  color: #6d767e;
  border: none;
  border-left: 2px solid #ced4da;
  border-bottom: 2px solid #ced4da;
  background-color: #fcfcfc;
}

.btn_azul {
  background-color: #389bf2;
  border: none;
  border-left: 2px solid #2c7dcd;
  border-bottom: 2px solid #2c7dcd;
}

.btn_azul:hover {
  background-color: #ffb23e;
  border-left: 2px solid #e79314;
  border-bottom: 2px solid #e79314;
}

.btn_azul:active {
  background-color: #ff9900 !important;
  border-left: 2px solid #9e5f00 !important;
  border-bottom: 2px solid #9e5f00 !important;
}

.btn_amarelo {
  border: none;
  background-color: #ffb23e;
  border-left: 2px solid #e79314;
  border-bottom: 2px solid #e79314;
}

.btn_amarelo:hover {
  background-color: #389bf2;
  border-left: 2px solid #2c7dcd;
  border-bottom: 2px solid #2c7dcd;
}

.btn_amarelo:active {
  background-color: #0c8dff;
  border-left: 2px solid #004285;
  border-bottom: 2px solid #004285;
}

.alerta_vermelho {
  display: flex;
  min-height: 50px;
  align-items: stretch;
  gap: 10px;
  background-color: #ffebeb;
  border: 1px solid #ff7c7c;
  border-radius: 6px;
  color: #041f3f;
  font-size: 14px;
  margin-bottom: 1rem;
}

.alerta_v {
  min-width: 40px;
  background-color: #ff7c7c;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
}

.alerta_amarelo {
  display: flex;
  min-height: 50px;
  align-items: stretch;
  gap: 10px;
  background-color: #fff7eb;
  border: 1px solid #ffc978;
  border-radius: 6px;
  color: #041f3f;
  font-size: 14px;
  margin-bottom: 1rem;
}

.alerta_a {
  min-width: 40px;
  background-color: #ffc978;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
}

.alerta_texto {
  flex-grow: 1;
  text-align: left;
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
}

.blur {
  filter: blur(5px);
  transition: filter 0.3s ease;
}

.alerta_vermelho_b {
  display: flex;
  min-height: 50px;
  align-items: stretch;
  gap: 10px;
  background-color: #ff7c7c;
  border: 1px solid #ff7c7c;
  border-radius: 6px;
  color: #041f3f;
  font-size: 14px;
  margin-bottom: 1rem;
}

.alerta_texto_b {
  color: #fff;
  flex-grow: 1;
  text-align: left;
  display: flex;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 15px;
}

.alerta_vermelho_b_txt {
  background-color: #ffebeb;
  border: 1px solid #ff7c7c;
  border-radius: 10px;
}

.badge-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.info-card {
  border: 0px;
  border-left: 1px solid #ced4da;
  border-bottom: 1px solid #ced4da;
  border-radius: 6px;
  background-color: #fff;
  overflow: hidden;
}

.info-progress-container {
  height: 8px;
  background-color: #e9ecef;
}

.info-progress-bar {
  height: 100%;
}

.info-content {
  padding: 16px;
  background-color: #fcfcfc;
}

.info-icon svg,
.info-content svg {
  width: 28px;
  height: 28px;
  color: #575757;
}

.titulo-menu {
  color: #575757 !important;
  font-size: 18px;
}

.fecharmodal {
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  z-index: 1055;
}

@media (max-width: 576px) {
  .fecharmodal {
    top: -10px;
    right: -10px;
  }
}

.question {
  background: #fcfcfc;
}

.form-check-input[type="radio"] {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.2em;
  border: 2px solid #ccc;
  box-shadow: none;
  transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.form-check-input[type="radio"]:checked {
  background-color: #ffb23e;
  border-color: #ffb23e;
}

.form-check-input[type="radio"]:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 178, 62, 0.4);
}

.form-check-label {
  margin-left: 0.4rem;
  font-weight: 500;
  color: #333;
}

.btnupload {
  width: 40px;
  height: 40px;
  background-color: #fbb040;
  border-left: 3px solid #e79314;
  border-bottom: 3px solid #e79314;
  border-radius: 6px;
}

.btnupload svg path {
  fill: white !important;
}

.btnupload:hover {
  background-color: #389bf2;
  border-left: 2px solid #2c7dcd;
  border-bottom: 2px solid #2c7dcd;
}

.btnupload:active {
  background-color: #025dad !important;
  border-left: 2px solid #02315f !important;
  border-bottom: 2px solid #073c70 !important;
}

.aqvupload {
  background-color: #0c8dff;
  background-color: #ffc978;
  width: 48px;
  height: 100%;
  height: 40px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

button.btn-primary:disabled {
  background-color: #ccc !important;
  border-color: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
}

.invalid-feedback {
  display: none;
}

input.is-invalid + .invalid-feedback,
select.is-invalid + .invalid-feedback {
  display: block !important;
}

.just-validate-error-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #dc3545;
}

.icon-modal {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {
  .background-blur {
    position: absolute;
  }

  body.modal-aberto {
    overflow: hidden;
  }
}

#avs {
  overflow-y: auto;
  max-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1056;
  background: white;
}

.modal-body {
  padding: 0px 0px 0px 0px !important;
}

.card.mb-3.p-3 {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #ffffff;
}

.card.mb-3.p-3:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0px rgba(0, 0, 0, 0.15);
}

.card-title {
  color: #389bf2;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

.card-text {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card-text strong {
  color: #333333;
}

.dependente-card-editable {
  position: relative;
  margin-top: 15px;
  padding: 1.5rem 1rem 1rem 1rem;
  background: #fbf9f9;
}

.dependente-icon-corner {
  position: absolute;
  top: -18px;
  left: 15px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  padding: 4px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
}

.delete-dependente-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  padding: 0.25rem;
  line-height: 1;
}

.dependente-card-editable .card-title {
  margin-right: 30px;
}

.renda-card-editable {
  position: relative;
  margin-top: 15px;
  padding: 1.5rem 1rem 1rem 1rem;
  background: #fbf9f9;
}

.renda-icon-corner {
  position: absolute;
  top: -18px;
  left: 15px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  padding: 4px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777777;
}

.delete-renda-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  padding: 0.25rem;
  line-height: 1;
}

.renda-card-editable .card-title {
  margin-right: 30px;
}

.fileNameDisplay {
  font-size: 12px;
}
.logoff-button-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.btn-logoff {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #e80000;
  opacity: 0.5;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-left: 0;
  min-width: 28px;
  height: 28px;
  transition: padding-left 0.3s ease-out, opacity 1s ease-out;
}

.logoff-text {
  white-space: nowrap;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  padding-right: 5px;
  flex-shrink: 0;
}

.logoff-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.btn-logoff:hover .logoff-text {
  transform: translateX(0);
  opacity: 1;
}

.btn-logoff:hover {
  padding-left: 45px;
  color: #ff0000;
  opacity: 1;
}

#toastContainer {
  position: fixed;
  padding: 1rem;
  z-index: 1057;
}

#tooltip-balloon {
  position: absolute;
  background-color: rgba(56, 155, 242, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 1058;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

#tooltip-balloon.fade-in {
  opacity: 1;
}

#tooltip-balloon.fade-out {
  opacity: 0;
}

#tooltip-balloon::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #389bf2;
  opacity: 0.9;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#nome,
#naturalidade,
#escola,
#nomePai,
#nomeMae {
  text-transform: none;
}

#nome,
#naturalidade,
#escola,
#nomePai,
#nomeMae:not(:placeholder-shown) {
  text-transform: capitalize;
}

#nome,
#naturalidade,
#escola,
#nomePai,
#nomeMae::placeholder {
  text-transform: none;
}
