/* MODAL
================================================== */
.modal_mb{
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;

    top: 0;
    left: 0;

    background:rgba(0,0,0,0.8);
    z-index: 9999999999;
}

.container_modal{
    max-width: 800px;
    width: 93%;
    margin: 0 auto;
    margin-top: 40px;

    position: relative;
}

.container_modal_resposta {
    background-color: var(--branco);
    min-height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 6%;
    text-align: center;
}

.container_modal_resposta .titulo-modal {
    color: var(--primario_1);
    font-family: 'Rubik-Bold';
    font-size: 33px;
    display: inline-block;
    text-align: left;
    width: 70%;
}

.container_modal_resposta p {
    color: var(--primario_1);
    font-size: 20px;
    width: 70%;
    text-align: left;
}

.close_modal, .close_modal_resposta {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    width: 15px;
    z-index: 99;
}

.close_modal path:hover, .close_modal_resposta path:hover {
    fill: var(--primario_1);
}

#modal-loading{display: none; text-align: center;}

.modal-content {
    border: 1px solid #46b270;
    border-radius: 10px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    padding:40px 15px;
    overflow-y: auto;
    max-height: 85vh;
}

.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-titulo {
    color: #184d9d;
    font-weight: 700;
    font-size: 23px;
    text-align: center;
    line-height: 1.3;
}

.modal-texto {
    color: #878787;
    font-size: 17px;
    margin: 15px 0 25px;
    line-height: 1.3;
    text-align: center;
}

.modal-content .form-control {
    border: 1px solid #46b270;
    border-radius: 10px;
    height: 50px;
    color: #164194;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.modal-submit {
    height: 50px;
    margin-left: auto;
    text-transform: uppercase;
    width: 250px;
    max-width: 100% !important;
}

.modal-titulo {color: var(--primario_1);}

.link_politica_privacidade {
    color: var(--primario_1);
    text-decoration: underline;
}

.aceite_termos {
    align-items: center;
    display: flex;
}

.aceite_termos label {
    font-size: 13px;
    font-family: 'Rubik-Medium';
}

.checkbox_aceite {margin-right: 5px;}

.aceite_termos input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #C5C5C5;
    cursor: pointer;
    background-color: white;
}

.aceite_termos:hover input ~ .checkmark {
    background-color: #ccc;
}

.aceite_termos input:checked ~ .checkmark {
    background-color: var(--primario_1);
    border: none;
}

.checkmark:after {
    content: "";
    display: none;
}

.aceite_termos input:checked ~ .checkmark:after {
    display: block;
}

.aceite_termos .checkmark:after {
    width: 10px;
    height: 10px;
    background: url('./images/check.svg');
    background-size: cover;
}

.modal-submit {max-width: 100% !important;}

.modal-submit {
    height: 50px;
    margin-left: auto;
    text-transform: uppercase;
    width: 100%;
    max-width: 100% !important;
}

.btn.modal-submit {
    padding: 10px 30px;
    margin-top: 10px;
    background: var(--secundario_1);
    font-size: 14px;
}

.radio_beneficiario {
    padding: 10px;
    border: 2px solid #E1E2E08C;
    background-color: #E1E2E08C;
    margin: 10px;
    border-radius: 10px;
    min-height: 94px;
    font-family: 'PraktikaRounded-Medium';
    color: var(--preto);
    font-size: 20px;
}


/* The container */
.radio_beneficiario_label {
  display: inline-flex;
  width: 100%;
  position: relative;
  padding-left: 45px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio_beneficiario_label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkradio {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
  border: 2px solid var(--preto);
}

/* On mouse-over, add a grey background color */
.radio_beneficiario_label:hover input ~ .checkradio {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio_beneficiario_label input:checked ~ .checkradio {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkradio:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio_beneficiario_label input:checked ~ .checkradio:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio_beneficiario_label .checkradio:after {
 	top: 7px;
	left: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
}


.modal_mb .modal-content {
    padding: 40px 5%;
}





/* Aceite de termos fora do modal */


.aceite_termos_home .checkmark.checked {
    content: url('./images/check.svg');
    background-size: cover;
    background-color: var(--primario_1);
    padding: 1px;
}



.aceite_termos_home {
  position: relative;
  display: flex; /* Or block, depending on desired layout */
  flex-direction: row;
  align-items: center;
}

.tooltip-icon {
    margin-right: 10px;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #fff;
  color: #333;
  border: 1px solid #333;
  box-shadow: 4px 4px var(--cinza-escuro);
  text-align: left;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the trigger */
  left: 50%;
  min-width: 150px;
  transform: translateX(-50%);
  transition: opacity 0.3s ease; /* Smooth transition for appearance */
  display: flex;
  flex-direction: row;
  align-items: center;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* Position the arrow below the tooltip text */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent; /* Creates a downward-pointing arrow */
}

.aceite_termos_home .checkmark.unchecked .tooltip-text {
  visibility: visible !important;
  opacity: 1;
}

.aceite_termos_home .checkmark.unchecked:hover .tooltip-text {
  visibility: hidden !important;
  opacity: 1;
}

.aceite_termos_home .checkbox_texto {
    font-size: 13px;
}

.modal-submit {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.aceite_termos {
    display: flex !important;
}

