/*GENERAL STYLES */
:root{
    --primary-color: #21D7FD;
    --secondary-color: #101828;
    --light-grey-color: #F4F2EF;
    --grey-100-color: #F2F4F7;
    --input-border-color: #D0D5DD;
    --input-placeholder-color:#667085; 
    
}

.open-form-btn{
	cursor:pointer;
}

.multistep-form-container .grey-text{
    color: var(--secondary-color) !important;
}

.multistep-form-container .green-text{
    color: var(--primary-color) !important;
}
.multistep-form-container .general-btn{
    border-radius:100px;
    padding:16px 24px;
    font-size:16px;
    background-color:var(--secondary-color);
    color:white;
    width:fit-content;
    opacity:1;
    text-decoration:none !important;
    border: none !important;
}
.multistep-form-container .general-btn:hover{
    background-color:var(--primary-color);
    color: var(--secondary-color);
    border: none !important;
}
.multistep-form-container .general-btn:disabled, .general-btn-2:disabled{
  opacity:0.2;
  color: white;
  background-color:#979BA1;
}
.multistep-form-container .general-btn:disabled:hover{
  background-color:#979BA1;
}
.multistep-form-container .general-btn-2{
    border:1px solid rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.8);
    border-radius:100px;
    padding:16px 24px;
    font-size:16px;
    background-color: transparent;
    border: none !important;
}
.multistep-form-container .general-btn-2:hover{
    background-color:var(--secondary-color);
    color:white;
    border: none !important;
}

.multistep-form-container .general-btn-2:disabled:hover{
    background-color: transparent;
    border:1px solid rgba(0,0,0,0.1);
    color: rgba(0,0,0,0.8);
}

.multistep-form-container{
    /*position:fixed;*/
    height:100vh;
    width:100%;
    top:0;
    left:0;
    background-color:white;
    z-index:9999;
    font-family: 'Work Sans';
    /*display:none;*/
    margin-top:-80px;
}
.multistep-form-container .popup-header{
    position:absolute;
    width:100%;
    /*min-height:80px;
    height:8vw;*/
    display:flex;
    padding: 36px;
    justify-content: space-between;
    align-items: center;
    z-index:4;
    background-color:white;
}
.multistep-form-container .popup-header img{
    width:172px;
}

/*CTA SECTION (SCREEN 1) */
.multistep-form-container .cta-section{
    width:100%;
    height:100%;
    position:absolute;
    z-index:2;
    top:0;
    left:0;
    background-color:white;
    display:flex;
    align-items: center;
    justify-content: center;
}

.multistep-form-container .cta-section .flex-container{
    display:flex;
    align-items:flex-start;
    justify-content: center;
    gap:2%;
    padding:0 5vw;
    height:50%;
    min-height: 420px;
    width:1280px;
    max-width:90%;
}

.multistep-form-container .cta-section h2{
    font-size:58px;
    width:49%;
    max-width:505px;
    line-height: 1;
    font-weight: normal;
}
.multistep-form-container .cta-section .box{
    width:49%;
    max-width:505px;
    background-color: var(--grey-100-color);
    border-radius:24px;
    padding:44px;
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    height:100%;
}
.multistep-form-container .cta-section .box .list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.multistep-form-container .cta-section .box .list .list-item{
    font-size:16px;
    display:flex;
    gap:8px;
    align-items: center;
}
.multistep-form-container .cta-section .box .list .list-item img{
    width:20px;
    flex-shrink: 0;
}
.multistep-form-container .cta-section .box h3{
  font-size:30px;
  margin-bottom:4vh;
}
.multistep-form-container .start-form-btn{
  display:flex;
  justify-content: center;
  gap:10px;
  align-items: center;
}
.multistep-form-container .start-form-btn svg{
  height:12px;
  width:16px;
}
.multistep-form-container .start-form-btn:hover svg path{
  stroke: white;
}


/*FORM STATE*/
.multistep-form-container .form-state{
    position:absolute;
    bottom:0;
    width:100%;
    left:0;
    z-index:1;
    min-height:80px;
}

.multistep-form-container .form-state .flex-container{
    display:flex;
    justify-content: space-between;
    padding:36px;
    background-color:white;
}
.multistep-form-container .form-state .flex-container .submit-btn{
    display:none;
    position:absolute;
    right:36px;
    top:50%;
    transform:translateY(-50%);
}
/*
.multistep-form-container .form-state .progress-bar{
    height:4px;
    background-color:rgba(28, 75, 66, 0.1);
    overflow:hidden;
    position:relative;
}
.multistep-form-container .progress-bar-active{
    position:absolute;
    left:0;
    top:0;
    height:100%;
    background-color:var(--primary-color);
}*/

.multistep-form-container .form-state .progress-bar {
  display: flex;
  gap: 4px;
  height: 4px;
}

.multistep-form-container .form-state .step-bar {
  flex: 1;
  background-color: rgba(28, 75, 66, 0.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.multistep-form-container .form-state .step-bar.filled::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--primary-color);
}


/*FORM STEPS*/

.multistep-form-container form{
    height:100%;
    padding:9vw 36px;
    overflow-y:auto;
}

.multistep-form-container .step {
    display: none;
    width:630px;
    max-width:80%;
    margin:auto;
    padding-bottom:20px;
}
/*
.multistep-form-container .step-2, .multistep-form-container .step-3, .multistep-form-container .step-2, .multistep-form-container .step-4 {
    width:630px;
}*/
.multistep-form-container .step-3 .flex-container {
    display:flex;
    gap: 1.5rem; 
    align-items: center;
}
.multistep-form-container .step-3 .flex-container label{
  display: flex; 
  align-items: center; 
  font-weight: 500;
}
.multistep-form-container .step-3 .flex-container input{
  accent-color: var(--primary-color); 
  margin-right: 0.5rem;
}

.multistep-form-container .step.active {
    display: block;
}

.multistep-form-container .step .step-counter{
    border:1px solid #0000001A;
    color: var(--secondary-color);
    border-radius:16px;
    padding:5px 20px;
    font-size:11px;
    font-weight: 500;
    background-color: transparent;
}
.multistep-form-container .step h3{
    margin:20px 0;
    color:var(--secondary-color);
    font-size:42px;
    font-weight: normal;
}

/*RADIO CARDS STYLES*/
.multistep-form-container .radio-card-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  height:280px;
  margin-top: 44px;
}

.multistep-form-container .radio-card {
  display: block;
  cursor: pointer;
  flex: 0 0 calc((100% - 64px) / 5);
}

.multistep-form-container .radio-card input[type="radio"] {
  display: none;
  visibility: hidden;
}


.multistep-form-container .radio-card .card-content {
  border: 1px solid #dfdfdf;
  border-radius: 24px;
  padding: 30px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  transition: all 0.3s ease;
  background-color: white;
}

.multistep-form-container .radio-card .icon {
  background-color: var(--primary-color);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.multistep-form-container .radio-card .icon svg path{
    stroke: var(--secondary-color);
}

.multistep-form-container .radio-card input[type="radio"]:checked + .card-content,
.multistep-form-container .radio-card:hover .card-content {
  background-color: var(--primary-color);
}

.multistep-form-container .radio-card input[type="radio"]:checked + .card-content .icon,
.multistep-form-container .radio-card:hover .card-content .icon {
  background-color: var(--secondary-color);
}
.multistep-form-container .radio-card input[type="radio"]:checked + .card-content .icon svg path,
.multistep-form-container .radio-card:hover .card-content .icon svg path {
  stroke: white;
}

.multistep-form-container .radio-card .text {
  text-align: left;
  color: var(--secondary-color);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

.multistep-form-container .input-date {
  /* Ícono como background */
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
  background-repeat: no-repeat;
  background-position: 20px 50%;   
  background-size: 18px 18px;    

  padding-left: 44px !important;
}

/*STEP 2 STYLES*/
.multistep-form-container .form-group {
  margin-bottom: 20px;
}

.multistep-form-container label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color:black;
}

.multistep-form-container .required {
  color: var(--primary-color);
}

.multistep-form-container input[type="text"],
.multistep-form-container input[type="date"],
.multistep-form-container select {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid var(--input-border-color);
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s;
  outline-color: var(--secondary-color) !important;
  color: #344054 !important;
  font-family:'Work Sans';
}

.multistep-form-container input::placeholder,
.multistep-form-container input[type="text"]::placeholder,
.multistep-form-container select::placeholder,
.multistep-form-container input::-ms-input-placeholder,
.multistep-form-container input[type="text"]::-ms-input-placeholder,
.multistep-form-container select::-ms-input-placeholder
 {
  color: var(--input-placeholder-color) !important;
}

/* Campo con ícono a la izquierda */
.multistep-form-container .with-icon .input-wrapper {
  position: relative;
}

.multistep-form-container .with-icon .icon {
  position: absolute;
  top: 0;
  left: 0;
  color: #555;
  font-size: 16px;
  pointer-events: none;
  border-right:1px solid var(--input-border-color);
  width:42px;
  height:100%;
  display:flex;
  justify-content: center;
  align-items: center;
}

.multistep-form-container .with-icon input {
  padding-left: 50px !important;
}

/*checkbox step 3*/
.multistep-form-container .policy-checkbox {
  margin-top: 20px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.multistep-form-container .policy-checkbox input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
  vertical-align: top;
  margin-top: 4px;
}

.multistep-form-container .policy-checkbox .label-title {
  font-weight: 600;
  display: inline;
}

.multistep-form-container .policy-checkbox .policy-text {
  display: block;
  margin-left: 26px;
  color: #666;
  font-weight: 400;
  margin-top: 6px;
}

.multistep-form-container .policy-checkbox a {
  color: #666;
  text-decoration: underline;
}

.multistep-form-container .policy-checkbox input[type="checkbox"]:checked, 
.multistep-form-container .policy-checkbox input[type="checkbox"]:hover:checked, 
.multistep-form-container .policy-checkbox input[type="checkbox"]:focus:checked {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

/*STEP 4 STYLES*/
.multistep-form-container .step-4{
  width:1200px;
}

.multistep-form-container .step-4 p{
  margin-bottom:64px;
}

.multistep-form-container .step-4 .flex-container{
  display: flex; 
  gap: 1.5rem; 
  align-items: center;
}
.multistep-form-container .step-4 .flex-container label{
  display: flex; 
  align-items: center; 
  font-weight: 500;
}
.multistep-form-container .step-4 .flex-container input{
  accent-color: var(--primary-color); 
  margin-right: 0.5rem;
}

.multistep-form-container .step-4 h5{
  display: block; 
  font-weight: 600; 
  font-size: 1.125rem; 
  margin-bottom: 0.25rem; 
  color: var(--secondary-color);
}
.multistep-form-container .form-group.file-info-box {
      border: 1px solid #E4E7EC;
      background-color: #F9FAFB;
      border-radius: 24px;
      padding: 44px;
  }

  .multistep-form-container .form-group.file-info-box p {
      margin-bottom:24px;
  }

  .multistep-form-container .form-group.file-info-box label{
    color: #101828;
    font-family: "Work Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
  }

 .multistep-form-container .form-group.file-info-box input[type=radio] {
    width: 20px;
    height: 20px;
    color: #D0D5DD;
}

/*INPUT TYPE FILE*/
.multistep-form-container .file-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 2px dashed #667085;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s ease;
  margin-bottom:20px;
}

.multistep-form-container .file-upload-box:hover {
  border-color: var(--input-placeholder-color);
}

.multistep-form-container .upload-icon {
  background-color: #F2F4F7;
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 15px;
  width: 58px;
  height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom:10px;
}

.multistep-form-container .file-upload-box strong {
  color: #000;
}

.multistep-form-container .file-upload-box small {
  margin-top: 8px;
  color: #000;
  font-weight: bold;
}

 .multistep-form-container .file-preview-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 100%;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05);
    position: relative;
}

 .multistep-form-container .file-preview-card .file-icon {
   width: 40px;
   height:40px;
    
}

 .multistep-form-container .file-preview-card .file-info {
    flex-grow: 1;
}

 .multistep-form-container .file-preview-card .file-name {
    font-weight: 500;
    color: var(--secondary-color);
    line-height: 1.3;
}

 .multistep-form-container .file-preview-card .file-size {
    font-size: 12px;
    color: #475467;
}

 .multistep-form-container .file-preview-card .progress-bar {
    height: 6px;
    background: #eee;
    border-radius: 4px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}

 .multistep-form-container .file-preview-card .progress-fill {
    background: var(--primary-color);
    height: 100%;
    width: 0%;
    transition: width 0.2s ease;
}

 .multistep-form-container .file-preview-card .progress-label {
  
    position: absolute;
    right: 2px;
    bottom: 5px;
    font-size: 12px;
    color: #475467;
}

 .multistep-form-container .file-preview-card .delete-btn {
    cursor: pointer;
    width:20px;
    height:20px;
    
}

/*RESPONSE SECTION*/
.multistep-form-container #msf-response{
  display:none;
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  font-family: 'Work Sans';
}
.multistep-form-container #msf-response .flex-container{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  width: 700px;
  margin: auto;
  gap: 20px;
}

.multistep-form-container #msf-response .flex-container h3{
    color:var(--secondary-color);
    font-size:42px;
    margin:0 0 20px 0;
    font-weight: normal;
}

.multistep-form-container #msf-response .flex-container p{
    color:var(--secondary-color);
    font-size:16px;
    margin-bottom:3rem;
}
.multistep-form-container #msf-response .flex-container .general-btn{
  align-self:center;
}
.multistep-form-container #msf-response .flex-container .general-btn:visited{
  color:white;
}
.multistep-form-container input.input-error{
  border-color: red !important;
  box-shadow: 0 0 4px red !important;
  outline: none;
}

/* CUSTOM CHECKBOX */
.multistep-form-container .custom-checkbox input {
  display: none;
}

.multistep-form-container  .custom-checkbox .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #E4E7EC;
  border: 1px solid #E4E7EC;
  border-radius: 4px;
  position: relative;
  cursor:pointer;
  top:4px;
}

.multistep-form-container  .custom-checkbox input:checked + .checkmark {
  background-color: var(--primary-color);
  border-color:var(--primary-color);
}

.multistep-form-container  .custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.multistep-form-container  .custom-checkbox input:checked + .checkmark::after {
  display: block;
}

/* CUSTOM RADIO */
.multistep-form-container  .radio-wrapper {
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  color: #0f172a; /* texto dark */
}

.multistep-form-container  .radio-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.multistep-form-container  .custom-radio {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 1px solid #D0D5DD; 
  border-radius: 50%;
  box-sizing: border-box;
}

.multistep-form-container  .radio-wrapper input:checked ~ .custom-radio {
  border: 6px solid var(--primary-color);
}

/*CUSTOM SELECT*/
.multistep-form-container  .custom-select {
  appearance: none;           /* Oculta el estilo nativo */
  -webkit-appearance: none;
  -moz-appearance: none;

  /*
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 40px 12px 14px;
  font-size: 16px;
  color: #374151;
  width: 100%;
  */
  line-height: 20px;

  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%23374151' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/></svg>");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 10px;
  cursor: pointer;
}


.multistep-form-container .error-message{
  font-size:14px;
  color:red;
}
.multistep-form-container .sign-terms{
  font-size:12px;
  line-height: 1.1;
}

.multistep-form-container .loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
  padding-left:45px;
}
.multistep-form-container .loading::after {
  /*
  content: '⏳';
  margin-left: 8px;*/
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/*iframe styles*/
/*
estilos popup
.multistep-form-container #iframe-container{
  width:90vw;
  height:90%;
}
.multistep-form-container #iframe-container iframe{
  height:100%;
}

.multistep-form-container .iframe-container{
  position: fixed;
  background-color:rgba(0,0,0,0.5);
  width:100vw;
  height:100vh;
  top:0;
  left:0;
  display:flex;
  justify-content: center;
  align-items: center;
  z-index:999999;
}
  */

.multistep-form-container .step-4{
  width:90vw;
  max-width:90vw;
  margin:auto;
}
/*
.multistep-form-container #iframe-container iframe{
  height:140vw;
}*/

.iframe-message {
    max-width: 80%;
    width: 630px;
    margin: auto;
    min-height: calc(100vh - 300px);
}

.multistep-form-container .iframe-message .flex-container {
  display:flex;
  flex-direction:column;
  gap:10px;
  justify-content: center;
  margin-top:4rem;
}
.multistep-form-container .iframe-message img{
  background-color: var(--primary-color);
  border-radius:50%;
  padding:20px;
}
.multistep-form-container .iframe-message h4{
  font-size: 30px;
  color: var(--primary-color);
}

.multistep-form-container .iframe-message p{
  font-size: 16px;
  color: var(--secondary-color);
}

.multistep-form-container.is-pandadoc-step form {
  padding-bottom: 0;
}

.multistep-form-container.is-pandadoc-step .form-state {
  position: static; /* o 'static' si querés máxima compatibilidad */
}


@media screen and (max-width:768px){
  .multistep-form-container .popup-header {
      padding: 20px;
  }
  /*CTA*/
  .multistep-form-container .cta-section .flex-container{
    flex-direction: column;
    max-width:100%;
    padding:0 20px;
  }
  .multistep-form-container .cta-section h2 {
      font-size: 44px;
      width: 100%;
  }
  .multistep-form-container .cta-section .box {
    width: 100%;
    gap:64px;
    padding:32px;
  }
  .multistep-form-container .cta-section .box h3 {
      font-size: 20px;
      margin-bottom: 32px;
  }
  .multistep-form-container .cta-section .box .list .list-item {
      align-items: flex-start;
  }
  .multistep-form-container .cta-section .box .list .list-item img {
      margin-top: 4px;
  }
  /*STEPS*/
  .multistep-form-container form {
      padding: 100px 5vw 120px 5vw;
  }
  .multistep-form-container .step {
      width: 100%;
      max-width:100%;
  }
  .multistep-form-container .step h3 {
      font-size: 7.5vw;
  }
  .multistep-form-container .radio-card-group {
      height: auto;
      flex-direction: column;
  }
  .multistep-form-container .radio-card {
      flex: 1;
  }
  .multistep-form-container .step .step-counter {
      font-size: 10px;
  }
  .multistep-form-container .form-state .flex-container {
      padding: 20px;
  }
  .multistep-form-container .radio-card .text {
      font-size:16px;
      max-width: 200px;
  }
  .multistep-form-container .radio-card .card-content {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
  }
  .multistep-form-container .radio-card .icon {
    margin-bottom: 0;
    height:64px;
    width:64px;
  }


  .multistep-form-container .step-5 .center-container {
      width: 100%;
  }
   .multistep-form-container .form-group.file-info-box {
      padding: 32px;
  }
  .multistep-form-container .step-5 .flex-container {
      gap: 10px;
      align-items: flex-start;
      flex-direction: column;
  }
   .multistep-form-container .policy-checkbox label {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
  }
  .multistep-form-container .policy-checkbox .policy-text {
      width: 100%;
  }
  .multistep-form-container .policy-checkbox .label-title {
      flex: 1;
  }
  .multistep-form-container #msf-response .flex-container {
      width: 100%;
      padding: 20px;
  }
  .multistep-form-container #msf-response .flex-container h3 {
    font-size: 32px;
  }
  .multistep-form-container #msf-response .flex-container .general-btn {
      align-self: flex-start;
  }
  .multistep-form-container #iframe-container{
    height:80%;
    padding-bottom:4rem;
  }

  .multistep-form-container .form-state .flex-container .submit-btn {
    top: 22px;
    transform: none;
    right:20px;
  }

  .multistep-form-container #iframe-container iframe{
    /*height:calc(100vh - 240px);*/
    height: calc((var(--vh, 1vh) * 100) - 240px);
  }

  .multistep-form-container{
    height: calc(var(--vh, 1vh) * 100);
  }

  .iframe-message{
    width:100%;
    max-width:100%;
  }

}