#vocational-form {
  border-radius: 20px;
  border: 2px solid #B6E1F9;
  background: linear-gradient(155deg, #EBF7FE 0%, #FFFFFF 100%);
}

@media (min-width: 1024px) {
  #vocational-form {
    max-width: 650px;
    margin: 0 auto;
  }
}

#vocational-form .form_body {
  position: relative;
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(1,1fr);
  padding: 30px 25px 0;
  overflow: hidden;
  transition: all .4s ease-in-out;
}

@media (min-width: 1024px) and (max-width: 1439px) {
  #vocational-form .form_body { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1440px) {
  #vocational-form .form_body { grid-template-columns: repeat(2,1fr); }
}

#vocational-form .form_body > h2 {
  font-family: var(--font-outfit);
  font-size: 20px;
  font-weight: 600;

  color: #134C8F;
  line-height: 1.3em;
  max-width: unset;

  margin: 0 0 10px; padding: 0;
}

@media (min-width: 1024px) {
  #vocational-form .form_body > h2 { font-size: 22px; grid-column: span 2; }
}

#vocational-form .form_body button[type="submit"] {
  display: block;
  width: 100%;
  margin: 10px auto;
  font-weight: 500;
  text-transform: initial;
}

@media (min-width: 1024px) {
  #vocational-form .form_body button[type="submit"] {
    width: max-content;
    grid-column: span 2;
 }
}

#vocational-form .form_body button[type="submit"][disabled] {
  opacity: .6;
  pointer-events: none;
}

#vocational-form .form_column {
  position: relative;
  overflow: hidden;
}

#vocational-form .form_column:has(input:focus) label, #vocational-form .form_column:has(input.fill) label { top: -10px; }

#vocational-form .form_column:has(span.show) input { border: 1px solid #ff00008c; }

@media (min-width: 1024px) and (max-width: 1239px) {
  #vocational-form .form_column:has(p), #vocational-form .form_column:has(#termsPF), #vocational-form .form_column:has(#level-list) { grid-column: span 2; }
}

@media (min-width: 1240px) {
  #vocational-form .form_column:has(p), #vocational-form .form_column:has(#termsPF), #vocational-form .form_column:has(#level-list) { grid-column: span 2; }
}

#vocational-form .form_column:has(p) label, #vocational-form .form_column:has(#termsPF) label, #vocational-form .form_column:has(#level-list) label {
  display: inline;
  margin: 0;
  position: initial;
  top: unset;
  left: unset;
  bottom: unset;
  right: unset;
  font-size: 15px;
  color: #134C8F;
}

#vocational-form .form_column:has(p) label a, #vocational-form .form_column:has(#termsPF) label a, #vocational-form .form_column:has(#level-list) label a {
  font-weight: 600;
  text-decoration: underline;
  color: #45B8AC;
}

#vocational-form .form_column:has(p) input, #vocational-form .form_column:has(#termsPF) input, #vocational-form .form_column:has(#level-list) input {
  display: inline-block;
  width: max-content;
}

#vocational-form .form_column:has(p) input#termsPF, #vocational-form .form_column:has(#termsPF) input#termsPF, #vocational-form .form_column:has(#level-list) input#termsPF {
  margin: 10px 0 0;
}

#vocational-form .form_column:has(p) p, #vocational-form .form_column:has(#termsPF) p, #vocational-form .form_column:has(#level-list) p {
  margin: 20px 0 0;
}

#vocational-form .form_column:has(ul) {
  overflow: visible;
}

#vocational-form .form_column img {
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 25px;
  left: 15px;
  transform: translate(0,-50%);
  filter: brightness(0) saturate(100%) invert(23%) sepia(96%) saturate(2040%) hue-rotate(186deg) brightness(98%) contrast(97%);
  pointer-events: none;
}

#vocational-form .form_column label {
  position: absolute;
  top: 25px;
  left: 40px;
  transform: translate(0,-50%);
  font-family: var(--font-outfit);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-primary-mid);
  line-height: 1;
  cursor: text;
  transition: all .15s ease-in-out;
}

#vocational-form .form_column input {
  font-family: var(--font-outfit);
  font-size: 16px;
  font-weight: 500;
  background: #FFFFFF;
  border: 2px solid #B6E1F9;
  border-radius: 12px;
  width: 100%;
  max-height: 50px;
  padding: 10px 12px;
  color: var(--color-primary-mid);
  transition: all .15s ease-in-out;
}

#vocational-form .form_column input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #FFFFFF inset;
  -webkit-text-fill-color: var(--primary-color);
}

#vocational-form .form_column input[disabled] {
  opacity: .5;
  pointer-events: none;
  cursor: initial;
}

#vocational-form .form_column > span:not(.class-error) {
  display: flex;
  align-items: center;
  font-family: var(--font-outfit);
  font-size: 16px;
  font-weight: 500;
  background: #FFFFFF;
  border: 2px solid #B6E1F9;
  border-radius: 12px;
  width: 100%;
  min-height: 50px;
  max-height: 50px;
  padding: 10px 15px 10px 40px;
  color: var(--color-primary-mid);
  cursor: pointer;
  transition: all .15s ease-in-out;
}

#vocational-form .form_column > span:not(.class-error)::after {
  content: '';
  position: absolute;
  top: 25px;
  right: 10px;
  transform: translate(0,-50%);
  width: 12px;
  height: 8px;
  background-image: url('/wp-content/themes/templatePLG/resources/assets/images/icono-flecha-verde-dropdown.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#vocational-form .form_column > span:not(.class-error)#phone-code-text { background: #E3F5FF; }

#vocational-form .form_column > span:not(.class-error).loading {
  opacity: .5;
  pointer-events: none;
}

#vocational-form .form_column span.class-error {
  display: block;
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 500;
  color: #FF00008C;
  padding: 0 10px 0;
  min-height: 0;
  max-height: 0;
  line-height: 14px;
  transition: all .15s ease-in-out;
}

#vocational-form .form_column span.class-error.show {
  padding: 10px 10px 0;
  max-height: 100%;
}

#vocational-form .form_column span#view-more-conditions, #vocational-form .form_column span#view-less-conditions {
  display: inline;
  padding: 0;
  color: var(--color-primary-mid);
  font-weight: 700;
}

#vocational-form .form_column ul {
  padding: 0px 22px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0px 3px 6px #00000029;
  font-size: 16px;
  font-weight: 400;
  list-style: none;
  color: #134c8f;
  position: absolute;
  transform: translate(0px,10px);
  width: 100%;
  height: max-content;
  max-height: 300px;
  overflow-y: scroll;
  user-select: none;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: all ease-in-out .3s;

  scrollbar-color: var(--color-primary-mid) transparent;
}

#vocational-form .form_column ul.show {
  opacity: 1;
  pointer-events: all;
}

#vocational-form .form_column ul#phone-code-list { width: 300%; gap: 0; margin: 0; }

@media (min-width: 1440px) {
  #vocational-form .form_column ul#phone-code-list { width: 275%; }
}

#vocational-form .form_column ul li {
  padding: 8px 0;
  font-size: 15px;
  line-height: 17px;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

#vocational-form .form_column ul li:hover {
  background-color: #B6E1F938;
  margin-inline: -22px;
  padding-inline: 22px;
}

#vocational-form .form_column p {
  display: block;
  font-family: var(--font-outfit);
  font-size: 15px !important;
  font-weight: 400;
  color: #134C8F;
  
  line-height: 1.2em;
  text-align: start;
}

#vocational-form .form_column p#textConditionsPF { margin: 0 0 30px; }

#vocational-form .form_column p a {
  font-weight: 600;
  text-decoration: underline;
  color: #45B8AC;
}

#vocational-form .phone_column {
  display: flex;
  gap: 15px;
  position: relative; z-index: 2;
}

#vocational-form .phone_column .form_column { flex: 1; }

#vocational-form .phone_column .form_column:first-of-type {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 33%;
  height: 100%;
}

@media (min-width: 1440px) {
  #vocational-form .phone_column .form_column:first-of-type { width: 36%; }
}

#vocational-form .phone_column .form_column select { display: none; }

#vocational-form .phone_column .form_column label { left: calc(33% + 20px); }

@media (min-width: 1440px) {
  #vocational-form .phone_column .form_column label { left: 120px; }
}

#vocational-form .phone_column .form_column input {
  border: 2px solid #B6E1F9;
  padding-left: calc(33% + 20px);
}

@media (min-width: 1440px) {
  #vocational-form .phone_column .form_column input { padding-left: 120px; }
}

#vocational-form .phone_column + span {
  display: none;
  font-family: var(--font-outfit);
  font-size: 14px;
  font-weight: 500;
  color: #FF00008C;
  padding: 0 10px 0;
  min-height: 0;
  max-height: 0;
  line-height: 14px;
  transition: all .15s ease-in-out;
}

@media (min-width: 1024px) and (max-width: 1239px) {
  #vocational-form .phone_column + span { grid-column: span 2; }
}

@media (min-width: 1240px) {
  #vocational-form .phone_column + span { grid-column: span 1; }
}

@media (min-width: 1440px) {
  #vocational-form .phone_column + span { grid-column: span 2; }
}

#vocational-form .phone_column + span.show {
  display: block;
  padding: 0 10px 0;
  max-height: 100%;
}

#vocational-form .phone_column:has(+ span.show) input, #vocational-form .phone_column:has(+ span.show) span#phone-code-text {
  border: 1px solid #ff00008c;
}

#vocational-form .country_column .form_column select,
#vocational-form .province_column .form_column select { display: none; }

#vocational-form .country_column .form_column ul,
#vocational-form .province_column .form_column ul { width: 100%; }

#vocational-form .province_column .form_column ul { margin: 0; gap: 0; }

#vocational-form .country_column { min-height: 50px; position: relative; }

#vocational-form .country_column .form_column {
  position: absolute; z-index: 1;
  
  display: flex;
  flex-direction: column;
  
  width: 100%; min-height: 50px;
  max-height: 50px;
  
  background-color: #FFFFFF;
  border: 2px solid #B6E1F9;
  border-radius: 12px;
  
  overflow: hidden;
  transition: all .3s ease-in-out;
}

#vocational-form .country_column .form_column:has(ul.show) {
  max-height: 290px;
  transition: all .3s ease-in-out;
}

#vocational-form .country_column .form_column > img:first-of-type { top: 23px; }

#vocational-form .country_column .form_column > input#findCountry {
  font-weight: 500;
  position: relative; line-height: 1;
  
  width: auto;
  margin: 0 15px; padding: 6px 40px 6px 20px;
  
  border-radius: 17px;
  border: 2px solid #B6E1F9;
  color: #134C8F;

  &::placeholder {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 400;

    color: #134C8F;
  }
}

#vocational-form .country_column .form_column ul { position: initial; box-shadow: unset; margin: 0 0 10px 0; gap: 0; }

#vocational-form .country_column .form_column span {
  background: unset;
  border: none;
  border-radius: unset;

  min-height: 46px; max-height: 46px;
}

@media (min-width: 1024px) { min-height: 50px; max-height: 50px; }

#vocational-form .form_column img.loupe {
  position: absolute;
  top: calc(50px + (35px / 2) - 4px); right: 30px; left: unset;
  
  width: 16px; height: 16px;
  pointer-events: none;
}

@media (min-width: 1024px) { top: calc(50px + (45px / 2) - 4px); }

@media (min-width: 1024px) {
  #vocational-form .degree_column { grid-column: span 2; }
}

#vocational-form .degree_column .form_column select { display: none; }

#vocational-form .degree_column .form_column ul {
  width: 100%;
  max-height: 250px;
}
