/* ==========================================================
   SECCIÓN: FORMULARIO MULTIPASOS DE SOLICITUD (3 PASOS)
   Archivo independiente: formulario_postulacion.css
   ========================================================== */

.form-hero-wrapper {
  position: relative;
  padding: 150px 24px 210px 24px;
  background-color: #000000 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  overflow: hidden;
  width: 100%;
}

.form-hero-wrapper::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 255, 5, 0.15) 0%, transparent 70%);
  top: 45%;
  left: 20%;
  transform: translate(-50%, -50%);
  filter: blur(90px);
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.form-hero-container {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1.05fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Columna Izquierda: Textos Grandes y Nítidos en Fondo Negro-Gris */
.form-info-col {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  margin-top: -65px;
  max-width: 100%;
}

.info-tag-pill {
  align-self: flex-start;
  display: inline-block;
  background: linear-gradient(90deg, #90e705, #8bf105);
  color: #000000 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 5px 18px rgba(144, 231, 5, 0.35);
}

.info-main-title {
  font-family: 'Montserrat', 'Archivo', sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: #ffffff !important;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-main-title span {
  color: inherit;
}

.info-main-title .title-line-1 {
  color: #ffffff !important;
  display: block;
  white-space: nowrap;
}

.info-main-title .title-line-2 {
  color: #ffffff !important;
  display: block;
}

.highlight-neon {
  color: #86ff05 !important;
  background: linear-gradient(90deg, #86ff05 0%, #a2ff00 50%, #ffee00 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.info-description {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.8;
  color: #ececec !important;
  max-width: 620px;
  margin: 0;
}

/* Columna Derecha: Tarjeta de Formulario Multipasos Ampliada */
.form-card-col {
  display: flex;
  justify-content: center;
  width: 100%;
}

.form-hero-wrapper .container2,
.container2 {
  width: 100% !important;
  max-width: 620px !important;
  background: #111111 !important;
  border: 2px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 32px !important;
  padding: 44px 40px 38px 40px !important;
  position: relative;
  transition: all 0.35s ease;
}

.form-hero-wrapper .container2:hover,
.container2:hover {
  background: #151515 !important;
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.9), 0 0 50px rgba(52, 52, 51, 0.22) !important;
}

/* Paneles de Pasos */
.step-pane {
  display: none;
  animation: fadeInStep 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.step-pane.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-pane-header {
  text-align: center;
  margin-bottom: 26px;
}

.step-pill {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #86ff05;
  margin-bottom: 8px;
}

.step-pane-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.8px;
}

.step-pane-header p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #dcdfe1;
  margin: 0 auto;
  max-width: 440px;
  line-height: 1.55;
}

/* Inputs de Texto y Labels */
#jobStepForm .form-group {
  margin-bottom: 18px;
  position: relative;
  background: transparent;
}

#jobStepForm label {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff !important;
}

#jobStepForm label i,
#jobStepForm .label-icon {
  color: #86ff05 !important;
  margin-right: 7px;
  font-size: 13.5px;
}

#jobStepForm .form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}

#jobStepForm .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

#jobStepForm input[type="text"],
#jobStepForm input[type="tel"],
#jobStepForm input[type="email"],
#jobStepForm textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-size: 18.5px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #0f172a !important;
  background-color: #f1f5f9;
  transition: all 0.25s ease;
  outline: none;
}

#jobStepForm input::placeholder,
#jobStepForm textarea::placeholder {
  color: #242424;
  font-size: 14px;
  font-weight: 400;
}

#jobStepForm input:focus,
#jobStepForm textarea:focus {
  background-color: #ffffff;
  border-color: #86ff05;
  box-shadow: 0 0 0 3.5px rgba(134, 255, 5, 0.35);
}

#jobStepForm textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

/* Custom Dropdowns */
.custom-select-wrapper {
  position: relative;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: #f1f5f9;
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: #0f172a;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.custom-select-trigger:hover,
.custom-select-wrapper.open .custom-select-trigger {
  background-color: #ffffff;
  border-color: #86ff05;
  box-shadow: 0 0 0 3.5px rgba(134, 255, 5, 0.35);
}

.trigger-icon {
  color: #000000;
  background-color: #86ff05;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 14px;
  box-shadow: 0 0 10px rgba(134, 255, 5, 0.35);
}

.trigger-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.trigger-arrow {
  font-size: 14px;
  color: #475569;
  transition: transform 0.25s ease;
}

.custom-select-wrapper.open .trigger-arrow {
  transform: rotate(180deg);
  color: #86ff05;
}

.custom-options-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  top: auto;
  left: 0;
  right: 0;
  background-color: #0a0a0a;
  border: 1.5px solid #1c1c1c;
  border-radius: 18px;
  box-shadow: 0 -15px 45px rgba(0, 0, 0, 0.98);
  z-index: 999;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}

.custom-options-dropdown::-webkit-scrollbar {
  width: 5px;
}

.custom-options-dropdown::-webkit-scrollbar-track {
  background: #1d1d1d;
  border-radius: 8px;
}

.custom-options-dropdown::-webkit-scrollbar-thumb {
  background: #86ff05;
  border-radius: 8px;
}

.custom-select-wrapper.open .custom-options-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.opt-group-header {
  padding: 10px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #161719;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.opt-group-header i {
  color: #86ff05;
  font-size: 13px;
}

.custom-option {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #141414;
  background-color: #0a0a0a;
}

.custom-option:hover {
  background-color: #121612;
}

.custom-option.selected {
  background-color: #121612;
  border-left: 3.5px solid #86ff05;
}

.opt-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #141618;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #86ff05;
  margin-right: 12px;
  flex-shrink: 0;
  border: 1px solid rgba(134, 255, 5, 0.4);
}

.opt-text-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.opt-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.opt-text-info strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 800;
}

.opt-text-info span {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  color: #94a3b8;
}

.badge-opt {
  font-size: 9px;
  background-color: #86ff05 !important;
  color: #000000 !important;
  font-weight: 900 !important;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* File Upload Cards (Paso 3) */
.file-inputs-container {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.file-input {
  position: relative;
  flex: 1;
  min-width: 0;
}

.file-input input[type="file"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 4;
}

.file-input label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background-color: #121510;
  border: 1.5px dashed rgba(134, 255, 5, 0.7);
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 135px;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

.file-upload-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #86ff05;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 0 12px rgba(134, 255, 5, 0.35);
}

.file-upload-icon-wrapper i {
  font-size: 16px;
  color: #000000;
}

.file-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: 3px;
}

.file-hint {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  color: #94a3b8;
  font-weight: 600;
}

.file-input:hover label {
  border-color: #86ff05;
  background-color: #171c14;
  transform: translateY(-2px);
}

.file-preview-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #080808;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 14px;
  z-index: 5;
}

.file-preview-thumb.has-file {
  display: flex;
  z-index: 10;
}

.file-preview-thumb img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(134, 255, 5, 0.5);
}

.file-name {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #888888;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 5px 8px;
  background-color: #0d0d0d;
  border-radius: 6px;
  border: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.file-name.file-selected {
  color: #cbd5e1;
  font-weight: 700;
  border-color: #262626;
  background-color: #121212;
}

.file-name.file-selected i {
  color: #86ff05 !important;
}

/* Checkbox de Privacidad */
.job-checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.job-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.job-checkmark {
  height: 20px;
  width: 20px;
  background-color: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.job-checkbox-container:hover input~.job-checkmark {
  border-color: #86ff05;
}

.job-checkbox-container input:checked~.job-checkmark {
  background-color: #86ff05;
  border-color: #86ff05;
}

.job-checkbox-container .job-checkmark::after {
  content: "\f00c";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: #000000;
  font-size: 0.75rem;
  display: none;
}

.job-checkbox-container input:checked~.job-checkmark::after {
  display: block;
}

.job-checkbox-container .privacy-text {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.4;
}

.job-checkbox-container .privacy-link {
  color: #86ff05;
  text-decoration: underline;
}

/* Botones de Navegación de Pasos */
.step-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.step-nav-actions.single-action {
  justify-content: stretch;
}

.btn-step-next,
.btn-step-submit {
  flex: 1;
  background: linear-gradient(90deg, #86ff05 0%, #a2ff00 50%, #ffee00 100%);
  color: #000000 !important;
  border: none;
  padding: 15px 20px;
  font-size: 13.5px;
  font-weight: 900;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 0 25px rgba(134, 255, 5, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-step-next span,
.btn-step-next i,
.btn-step-submit span,
.btn-step-submit i {
  color: #000000 !important;
}

.btn-step-next:hover,
.btn-step-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(134, 255, 5, 0.75), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-step-prev {
  background-color: #ffffff;
  color: #000000 !important;
  border: none;
  padding: 15px 20px;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-step-prev i {
  color: #000000 !important;
  font-size: 13px;
}

.btn-step-prev:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

/* Responsividad Formulario */
@media (max-width: 992px) {
  .form-hero-wrapper {
    padding: 100px 24px 120px 24px;
  }

  .form-hero-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .form-info-col {
    padding-top: 0;
    margin-top: 0;
    text-align: center;
    align-items: center;
  }

  .info-tag-pill {
    align-self: center;
  }

  .info-main-title .title-line-1 {
    white-space: normal;
  }

  .container2 {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .form-hero-wrapper {
    padding: 80px 36px 100px 36px;
  }

  .form-info-col {
    padding: 0 10px;
    margin-top: -10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .info-tag-pill {
    font-size: 11px;
    padding: 5px 16px;
    margin-bottom: 16px;
  }

  .info-main-title {
    font-size: clamp(2.3rem, 7.8vw, 3rem);
    text-align: center;
    letter-spacing: -1.2px;
  }

  .info-description {
    font-size: 0.98rem;
    line-height: 1.65;
    padding: 0 8px;
    text-align: center;
  }

  .container2 {
    padding: 34px 24px 28px 24px !important;
    border-radius: 26px !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }

  .step-pane-header h2 {
    font-size: 1.85rem;
  }

  #jobStepForm .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .file-inputs-container {
    flex-direction: column;
    gap: 14px;
  }

  .step-nav-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .btn-step-next,
  .btn-step-prev,
  .btn-step-submit {
    width: 100% !important;
    justify-content: center;
  }

  /* Dropdown en Móvil Refinado y Proporcionado */
  .custom-options-dropdown {
    max-height: 230px;
    border-radius: 14px;
    border-color: rgba(134, 255, 5, 0.4);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.95), 0 0 15px rgba(134, 255, 5, 0.15);
  }

  .opt-group-header {
    padding: 8px 12px;
    font-size: 11px;
    gap: 7px;
    letter-spacing: 0.5px;
  }

  .opt-group-header i {
    font-size: 11.5px;
  }

  .custom-option {
    padding: 10px 12px;
    gap: 10px;
  }

  .opt-icon-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
    margin-right: 2px;
    flex-shrink: 0;
  }

  .opt-text-info {
    flex: 1;
    min-width: 0;
    gap: 3px;
  }

  .opt-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
  }

  .opt-text-info strong {
    font-size: 12.5px;
    line-height: 1.25;
  }

  .opt-text-info span {
    font-size: 10.5px;
    line-height: 1.35;
    color: #a0aec0;
  }

  .badge-opt {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 7.5px;
    padding: 2px 6px;
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .form-hero-wrapper {
    padding: 60px 28px 80px 28px;
  }

  .form-info-col {
    padding: 0 4px;
    max-width: 100%;
  }

  .info-tag-pill {
    font-size: 10.5px;
    padding: 4px 14px;
  }

  .info-main-title {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
    letter-spacing: -1px;
  }

  .info-description {
    font-size: 0.92rem;
    line-height: 1.6;
    padding: 0 4px;
  }

  .container2 {
    padding: 26px 18px 22px 18px !important;
    border-radius: 22px !important;
    max-width: 100% !important;
  }

  .step-pane-header h2 {
    font-size: 1.55rem;
  }

  .step-pane-header p {
    font-size: 13px;
  }

  .custom-options-dropdown {
    max-height: 200px;
  }

  .custom-select-trigger {
    padding: 12px 14px;
  }

  .trigger-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-right: 10px;
  }

  .trigger-text {
    font-size: 14px;
  }

  .opt-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }

  .opt-text-info strong {
    font-size: 11.8px;
  }

  .opt-text-info span {
    font-size: 9.8px;
  }
}