@charset "UTF-8";
body {
  background-color: #fbeee6;
}

/* Telas de cadastro */
.btn-primary {
  background-color: #f6f6f6 !important;
  color: black !important;
  border: #f6f6f6 !important;
  border-radius: 50px;
}

.more {
  background-color: #f6f6f6;
  border: 1px solid black;
  border-radius: 5px;
  width: 250px;
}

.btn-secondary {
  background-color: #bf5922 !important;
  border: #bf5922 !important;
  border-radius: 50px;
  margin-left: 20px;
}

.link-brown {
  text-decoration: none;
  color: #bf5922 !important;
}

.form-horizontal {
  display: block;
  width: 90%;
  margin: 0 auto;
}

.required > label:after {
  content: " *";
  color: #bf5922;
}

#cadastroNacional .form {
  padding: 18px;
}

.form-content {
  margin-bottom: 8px;
  padding-bottom: 18px;
  position: relative;
}

.form-content label {
  display: inline-block;
  margin-bottom: 4px;
}

.form-content input {
  display: block;
  width: 100%;
  border-radius: 8px;
  padding: 8px;
  border: 2px solid #dfdfdf;
}

.form-content a {
  position: absolute;
  bottom: -8px;
  left: 0;
  visibility: hidden;
}

.form-content > p {
  display: none;
}

.form-content.error > label {
  color: #ff3b25;
}

.form-content.error input {
  border-color: #ff3b25;
}

.form-content.error a {
  color: #ff3b25;
  visibility: visible;
}

.form-content.error > p {
  display: block;
  color: #ff3b25;
}

.form-content.error > span.select2 > span > span.select2-selection {
  border-color: #ff3b25;
}

.form-check > p {
  display: none;
}

.form-check.error > p {
  display: block;
  color: #ff3b25;
}

.form-check.error input {
  border-color: #ff3b25;
}

.button-size {
  width: 25%;
  font-size: 17px;
}

.pattern-size {
  width: 36%;
}

.link-width {
  width: 50%;
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  margin-right: 5px;
}

.custom-checkbox:checked {
  background-color: #bf5922;
  border-color: #bf5922;
}

.custom-toggle .form-check-input[type=checkbox] {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 40px;
  height: 20px;
  background-color: #fbeee6; /* Cor do fundo */
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-toggle .form-check-input[type=checkbox]::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #bf5922; /* Cor do interruptor */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: left 0.3s;
}

.custom-toggle .form-check-input[type=checkbox]:checked::after {
  left: 21px; /* Ajuste para o interruptor quando estiver ativado */
}

@media only screen and (max-width: 745px) {
  .mobile-view {
    width: 95%;
  }
}
@media only screen and (max-width: 608px) {
  .link-width {
    width: 90%;
  }
  .button-size {
    width: 100%;
    font-size: 14px;
  }
}
/* Telas de cadastro */
/* Telas de Perfil */
.btn-outline-brown {
  background-color: transparent;
  color: #bf5922 !important;
  border-color: #bf5922 !important;
  border-radius: 50px;
}

.btn-brown {
  color: #bf5922 !important;
  background: #fbeee6 !important;
  border-radius: 50px !important;
}

.nav-tabs {
  border-bottom: 0px solid transparent;
}

.nav-tabs .nav-link {
  border: 0px solid transparent;
}

.btn-grey {
  background: #f0f1f7;
  color: #878787;
  border-radius: 50px;
}

.btn-brown-dark {
  background: #bf5922 !important;
  color: white !important;
  border-radius: 50px;
}

.btn-outline-grey {
  background-color: #f0f1f7;
  color: #474747;
  border-radius: 50px;
}

.btn-outline-grey:hover {
  background: #f0f1f7;
  color: #474747;
}

/* Temporário */
.padding-0 {
  padding-right: 0;
  padding-left: 0;
}

.inline-icon {
  vertical-align: bottom;
  font-size: 18px;
}

.light-brown {
  background-color: #fbeee6;
}

.icon,
.accordion-button {
  color: #bf5922;
}

.dotted {
  border-style: dotted;
  border-radius: 10px;
  color: #828282;
}

textarea.field-message {
  border: dashed 2px #c9c9c9;
  width: 580px;
  height: 200px;
  resize: none;
}

textarea[placeholder] {
  left: 0;
  line-height: 175px;
  border-radius: 10px;
  text-align: center;
}

/* Fim Temporário */
.overflowAuto {
  overflow-x: hidden;
  overflow-y: auto;
  height: calc(70vh - 163px);
}

.dark-brown {
  color: #bf5922;
}

.profile {
  font-size: 30px;
}

.modal-title,
.modal p {
  font-size: 14px;
}

.circle-wrap {
  margin: 5px 40px;
  width: 65px;
  height: 65px;
  background: #e1e1e1;
  border-radius: 50%;
  border: 1px solid #cdcbd0;
}

.circle-wrap .circle .mask,
.circle-wrap .circle .fill {
  width: 65px;
  height: 65px;
  position: absolute;
  border-radius: 50%;
}

.mask .fill {
  clip: rect(0px, 50px, 100px, 0px);
  background-image: linear-gradient(#e95101, #ffb55e);
}

.circle-wrap .circle .mask {
  clip: rect(0px, 100px, 100px, 50px);
}

.mask.full,
.circle .fill {
  animation: fill ease-in-out 3s;
  transform: rotate(90deg);
}

@keyframes fill {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(90deg);
  }
}
.circle-wrap .inside-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  line-height: 45px;
  text-align: center;
  margin-top: 7px;
  margin-left: 7px;
  position: absolute;
  z-index: 100;
  font-weight: 700;
  font-size: 1em;
}

.nav-link.active {
  text-decoration: underline;
  color: #bf5922 !important;
}

.nav-link.active strong {
  color: #495057;
}

.nav-link.active h6 {
  text-decoration: underline;
  color: #bf5922;
  text-decoration: none;
}

/* End */
/* Tags */
.btn-select {
  background-color: #f0f1f7;
  border: none;
  border-radius: 0.5rem;
  font-size: 12px;
  color: #828282;
}

.btn-select:hover {
  background-color: #f0f1f7;
  color: #828282;
}

.btn-selected {
  background-color: #f9eee9;
  color: #bf5922;
  border: none;
  border-radius: 0.5rem;
  font-size: 12px;
}

.btn-selected:hover {
  background-color: #f9eee9;
  color: #bf5922;
}

/* End Tags */
.upload {
  width: 50px;
}

.upload img {
  border-radius: 50%;
  border: 3px solid #1e90ff;
}

.upload-center {
  display: block;
  width: 50px;
  margin-left: 145px;
}

.upload-center img {
  border-radius: 50%;
  border: 3px solid #1e90ff;
}

.standard-title {
  font-size: 14;
  font-weight: 500;
}

.standard-sub {
  font-size: 12px;
  font-weight: 400;
}

input[type=text].field-name {
  border: dashed 2px #c9c9c9;
  width: 300px;
}

.lh {
  margin-bottom: -15px;
}

.fs-12 {
  font-size: 14px;
  font-weight: 400;
}

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

.file-img {
  height: 103px;
  width: 104px;
  position: relative;
  border: 5px solid #e1e1e1;
  border-radius: 50%;
  background: url("../images/perfil.png");
  background-size: 100% 100%;
  margin: auto;
  overflow: hidden;
}

.my_file {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  outline: none;
  color: transparent;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 116px;
  cursor: pointer;
  transition: 0.5s;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.my_file::-webkit-file-upload-button {
  visibility: hidden;
}

.my_file::after {
  content: "Trocar imagem";
  font-family: "arial";
  font-weight: bold;
  color: #fff;
  display: block;
  top: 8px;
  right: 150px;
  font-size: 10px;
  position: absolute;
}

.my_file:hover {
  opacity: 1;
}

/* Select fields */
.select2-container .select2-selection--single,
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 2px solid #dcdcdc;
  border-radius: 10px;
  height: 40px;
}

.select2-container .select2-selection--single {
  display: flex;
  align-items: center;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: normal;
  color: #474747;
  font-size: 14px;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
  color: #8c8c8c;
}

.select2-container .select2-selection--single .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
}

/* Mensagens de informação/aviso/erro/sucesso — do form (ex.: "Usuário ou senha inválidos")
   ou de qualquer outro contexto (banners de página, confirmações). Não existia equivalente
   no Design System: o form.non_field_errors do Django renderizava só texto puro, sem nenhum
   destaque visual. */
.mensagem, ul.errorlist {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 18.8px;
  letter-spacing: 0;
}

.mensagem .material-symbols-outlined, ul.errorlist .material-symbols-outlined {
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}

.mensagem-conteudo {
  flex: 1;
  min-width: 0;
}

.mensagem-conteudo > :first-child {
  margin-top: 0;
}

.mensagem-conteudo > :last-child {
  margin-bottom: 0;
}

.mensagem-conteudo ul {
  margin: 0;
  padding-left: 18px;
}

.mensagem--informacao {
  background-color: #eceefd;
  border-color: rgba(74, 81, 243, 0.25);
  color: #4a51f3;
}

.mensagem--aviso {
  background-color: #fcf1e3;
  border-color: rgba(146, 64, 14, 0.3);
  color: #92400e;
}

.mensagem--erro, ul.errorlist {
  background-color: #fbeceb;
  border-color: rgba(199, 49, 48, 0.3);
  color: #c73130;
}

.mensagem--sucesso {
  background-color: #e7f5ee;
  border-color: rgba(18, 139, 73, 0.3);
  color: #128b49;
}

/* Django renderiza form.non_field_errors e field.errors como <ul class="errorlist"> sem
   nenhuma classe pra diferenciar — estiliza direto, assim qualquer form em qualquer projeto
   que use o tema já sai correto, sem precisar envolver manualmente em .mensagem--erro. */
ul.errorlist {
  list-style: none;
}

ul.errorlist li {
  display: block;
}

ul.errorlist li + li {
  margin-top: 4px;
}

/* .errorlist dentro de .form-content (erro de campo específico) não precisa do destaque
   cheio de uma mensagem de form inteiro — fica compacto, sem fundo/borda, igual já era. */
.form-content ul.errorlist,
.form-check ul.errorlist {
  background: none;
  border: none;
  padding: 0;
  margin: 4px 0 0;
  color: #ff3b25;
}
