.button-modal-cadastro {
  cursor: pointer;
}

.modal-success,
.modal,
.modal-termo {
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
  height: 100%;
  z-index: 9999;
}

.modal-success {
  width: auto;
}

.modal_inner_success,
.modal_inner {
  width: 300px;
  padding: 30px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s;
  overflow-y: auto;
  max-height: calc(100vh - 50px);
}

@media screen and (min-width: 600px) {
  .modal_inner {
      width: 500px;
  }
  .modal_inner_success {
    width: 500px;
  }
}

@media screen and (min-width: 1000px) {
  .modal_inner {
      width: 900px;
  }
  .modal_inner_success {
    width: 500px;
  }
}

.modal-success.-open,
.modal.-open,
.modal-termo.-open {
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-success.-open .modal_inner_success,
.modal.-open .modal_inner,
.modal-termo.-open .modal_inner {
  opacity: 1;
  transform: scale(1);
}

.stop-scroll {
  overflow: hidden;
}

.modal ::-webkit-scrollbar {
  width: 2px;
}

.modal ::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: #CCCCCC; 
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.modal-termo ::-webkit-scrollbar {
  width: 2px;
}

.modal-termo ::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: #CCCCCC; 
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.button-close-modal-termo,
.button-close-modal-success,
.button-close-modal {
  position: absolute;
  top: 10px;
  right: 5px;
  width: 30px;
  height: 30px;
  color: rgba(50, 50, 50, 0.80);
  font-weight: 900;
  background-color: #fff;
  border-radius: 50px;
  padding-top: 2px;
  text-align: center;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.50);
  -moz-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.50);
  box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.50);
}

.modal-box-success {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.open-termo{
  text-decoration: underline;
  color: #212529;
  cursor: pointer;
  font-size: 16px;
}

.label-termo{
  color: #212529;
  cursor: pointer;
  font-size: 16px;
}

.iframe-termo {
  width: 100%;
  height: 450px;
  border: none;
}