* {
  margin: 0px;
  padding: 0px;
}

@font-face {
  font-family: "My-font";
  src: url("./fonts/logasa.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

html {
  font-family: "My-font", sans-serif;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

button,
input,
optgroup,
select,
textarea {
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/*Modal*/
.modal {
  position: fixed;
  inset: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.modal-content {
  width: 35%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 10px;
  margin: 15% auto;
  text-align: center;
  border: 1px solid #ee0b0b;
}

.modal-ticket-criado {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-ticket-criado p {
  margin: 15px 0px;
}

.voltar-pagina-inicial {
  align-self: center;
  border: none;
  color: #fff;
  background-color: rgb(242, 160, 49);
  padding: 9px;
  margin-top: 50px;
  border-radius: 5px;
  width: 17vw;
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  min-width: 400px;
}

.modal-form input {
  padding: 8px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #af411f;
}

.modal-form select {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #87929d;
  margin-bottom: 15px;
}

.modal-confirma-endereco-button {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 28px;
}

.modal-confirma-endereco-content button {
  padding: 10px;
  width: 30%;
  border-radius: 5px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  background-color: rgb(242, 160, 49);
}

.modal-form button {
  padding: 10px;
  border-radius: 5px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  background-color: rgb(242, 160, 49);
}

.title-modal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-modal h2 {
  cursor: pointer;
  margin-bottom: 0;
  color: #87929d;
}

.circle {
  border: 1px solid #87929d;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.container-form {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1160px) {
  .container {
    padding: 0;
    width: 90%;
    margin-left: 60px;
  }
}

.container-title-steps {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 50px;
}

@media screen and (max-width: 1200px) {
  .container-title-steps {
    justify-content: center;
  }
}

.container-title-steps p {
  color: rgb(242, 160, 49);
  font-size: 20px;
  font-weight: 600;
}

.container-steps {
  display: grid;
}

.container-step-number {
  display: flex;
  gap: 25px;
  justify-content: space-evenly;
}

.border-step {
  display: flex;
  border: none;
  background-color: #d9d9d9;
  height: 15px;
  border-radius: 10px;
  align-items: center;
  width: 150px;
}

/*Form*/
.form {
  width: 100%;
  margin: 0 auto;
}

#paragrafo,
#endereco-correto {
  text-align: center;
}

.page {
  text-align: center;
}

.form-step {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 350px;
  color: #f72525;
  margin-left: 20px;
}
.form-step label {
  margin-top: 20px;
  color: rgb(242, 160, 49);
  font-weight: bold;
  text-align: left;
}
.form-step textarea {
  height: 200px;
  width: 620px;
  color: #524f4f;
  border: 1px solid #87929d;
  border-radius: 4px;
  padding: 10px;
}

@media screen and (max-width: 1200px) {
  .form-step textarea {
    width: 350px;
  }
}

.anexo-label {
  margin: 0 auto;
  max-width: 620px;
  margin-top: 20px;
  margin-bottom: 2px;
  color: rgb(242, 160, 49);
  font-weight: bold;
  text-align: left;
}

@media screen and (max-width: 1200px) {
  .anexo-label {
    max-width: 350px;
  }
}

.opt-in-LGPD {
  margin: 0 auto;
  width: 620px;
  display: grid;
  grid-template-columns: 0.1fr 580px;
  margin-top: 20px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.opt-in-LGPD p {
  text-align: justify;
}

.file-message-anexo {
  margin-top: 0px;
  margin-left: 5px;
  font-style: italic;
  font-size: 12px;
  display: none;
  color: red;
}

.anexo-input {
  height: 25px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #87929d;
  cursor: pointer !important;
}

.anexo-input input {
  border: none;
  cursor: pointer;
  opacity: 0;
  width: 605px;
  height: 32px;
  position: absolute;
}

.opt-in-LGPD input[type="checkbox"] {
  height: 20px;
  width: 20px;
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
}

.anexo-input:hover {
  text-transform: none !important;
}
.anexo-input label {
  font-size: 14px;
  padding-top: 3px;
}

.fake-input {
  position: absolute;
  cursor: pointer !important;
}

.form-step-assunto input {
  width: 620px;
  display: grid;
  color: #524f4f;
  font-size: 14px;
  height: 37px;
  border-radius: 4px;
  border: 1px solid #87929d;
}
.form-step-assunto label {
  margin-top: 20px;
  color: rgb(242, 160, 49);
  font-weight: bold;
}

.form-step select {
  width: 100%;
  color: #524f4f;
  border-radius: 4px;
  border: 1px solid #87929d;
  padding: 8px 30px 8px 10px;
}
.form-step input {
  max-width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  height: 37px;
  border-radius: 4px;
  border: 1px solid #87929d;
  color: #524f4f;
  transition: border 0.12s ease-in-out;
  line-height: 1.15;
}
.form h1 {
  margin-top: 40px;
  color: rgb(242, 160, 49);
}

.form-step-cep input {
  display: grid;
  width: 350px;
  font-size: 14px;
  height: 37px;
  border-radius: 4px;
  border: 1px solid #87929d;
  color: #524f4f;
}

.label {
  display: block;
  margin-bottom: 10px;
  color: rgb(242, 160, 49);
}

.form-step-cep {
  display: grid;
  color: rgb(242, 160, 49);
  font-weight: bold;
  margin: 20px 0px 0px 20px;
  text-align: left;
}

.form-step-cep span {
  color: rgb(242, 160, 49);
  font-size: 11px;
  cursor: pointer;
}

.form-cep label {
  margin-top: 20px;
  color: rgb(242, 160, 49);
  font-weight: bold;
}

.form-cep h2 {
  margin-top: 20px;
}

.form-column {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.form-column button {
  padding: 10px;
  border-radius: 5px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
}

.form-column-assunto {
  display: flex;
  justify-content: center;
}

.form-step-assunto {
  text-align: left;
}

.description-step {
  max-width: 620px !important;
  margin-left: 0px !important;
}

@media screen and (max-width: 1200px) {
  .description-step {
    max-width: 350px !important;
  }
}

.endereco {
  display: none;
  margin: 20px 0px 0px 20px;
}

.endereco label {
  color: rgb(242, 160, 49);
  font-weight: bold;
  text-align: left;
}

.endereco input {
  color: #524f4f;
  font-weight: 400;
  width: 350px;
  font-size: 14px;
  height: 37px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #87929d;
  display: block;
}

.page:not(.page:first-child) {
  display: none;
}

.step-control-button {
  border-top: 1px solid #d9d9d9;
  margin: 70px 130px;
  padding-top: 25px;
  display: flex;
  justify-content: flex-end;
}

.step-control-button .control.next,
.step-control-button .control.send {
  color: #fff;
  background-color: rgb(242, 160, 49);
  padding: 10px;
  border-radius: 5px;
}
.step-control-button .control.next:hover,
.step-control-button .control.send:hover {
  background-color: rgb(242, 160, 49);
}

.step-control-button .control.next:disabled,
.step-control-button .control.send:disabled {
  color: #524f4f;
  background-color: #dcdbdb;
}

.step-control-button .control.back {
  background-color: transparent;
  color: rgb(242, 160, 49);
  border: 1px solid rgb(242, 160, 49);
  padding: 10px;
  border-radius: 5px;
  display: none;
}

.step-control-button .control.back:hover {
  color: #2c4484;
}

.modal-ticket-criado {
  display: none; /* Oculta o modal por padrão */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.privacity-message p {
  font-size: 11px;
  display: flex;
  justify-content: center;
}

.step-control-button .control {
  padding: 10px;
  border-radius: 5px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
}

.error-message {
  color: red !important;
  position: relative;
  font-weight: 400 !important;
  margin-left: 88px;
  margin-left: 0;
  font-size: 12px;
  z-index: 999;
}

.modal-confirma-endereco {
  position: fixed;
  inset: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.modal-confirma-endereco-content {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 10px;
  font-size: 18px;
  width: 420px;
}

.complementos {
  display: grid;
  grid-template-columns: 140px 140px;
  gap: 20px;
  align-items: baseline;
  color: #524f4f;
  text-align: left;
}

.complementos label {
  color: rgb(242, 160, 49);
  font-weight: bold;
}

.complementos input {
  width: 130px;
}

.step-indicator {
  height: 15px;
  width: 50px;
}

.step-indicator.active {
  border-radius: 10px;
  background-color: rgb(242, 160, 49);
}

.files-selected {
  display: grid;
  gap: 5px;
  margin-top: 15px;
}

.arquivo-select {
  width: 20vw;
  padding: 8px 30px 8px 10px;
  margin-top: 5px;
  border-radius: 7px;
  border: 1px solid #888;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #524f4f;
  border-radius: 2px;
  margin-right: 5px;
  width: 100%;
  padding: 4px;
}

.file-item button {
  border: 1px solid white;
  border-radius: 5px;
  background-color: #ff2d2d;
  color: white;
  width: 37px;
  height: 36px;
  font-size: 25px;
  margin-right: 14px;
  align-items: center;
  display: flex;
  justify-content: center;
  font-weight: 400;
}

.file-item img {
  height: 50px;
  width: 50px;
}

.file-item span {
  max-width: 120px;
  overflow: hidden;
}

.trash-icon img {
  height: 24px;
  width: 24px;
  filter: invert(1);
}

@media screen and (max-width: 1200px) {
  .endereco-correto {
    display: none;
  }
  .endereco {
    grid-template-columns: 1fr !important;
  }
  .step-control-button {
    width: 80%;
    margin: 0 auto;
    margin-top: 50px;
    padding-top: 25px;
    display: flex;
    justify-content: end;
  }
  .form-step-assunto input {
    width: 350px;
  }
  .opt-in-LGPD {
    grid-template-columns: 0.1fr 300px;
    justify-content: center;
    width: 0px;
  }
  .trash-icon img {
    width: 25px !important;
    height: 25px !important;
  }
  .file-item img {
    width: 50px;
    height: 50px;
  }
  .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .file-item span {
    max-width: 300px;
  }
  .arquivo-select {
    width: 300px;
    margin: 0px 10px;
  }
  .file-item button {
    margin-top: 10px;
  }
}

@media screen and (max-width: 600px) {
  .trash-icon {
    margin-top: 0px !important;
  }
  .file-item {
    background: none;
  }

  .file-item button {
    margin: 0px 10px;
  }
  .opt-in-LGPD {
    width: 50%;
  }
}

.pagination-controls {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(241, 241, 241);
  border-radius: 5px;
  padding: 10px;
  display: none;
}

.pagination-controls button {
  background: none;
  border: 1px solid rgb(208, 208, 208);
  background-color: white;
  padding: 5px 15px;
  cursor: pointer;
}
