/* ===================================
    Cover
====================================== */
.cover{
  width: 100%;
  min-height: 550px;
  padding-top: 100px;
  padding-bottom: 100px;
  background-image:url('../../assets/img/vacantes/cover-vacante.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cover-detalle{
  width: 100%;
  min-height: 250px;
  padding-top: 100px;
  padding-bottom: 30px;
  background-image:url('../../assets/img/vacantes/cover-detalle-vacantes.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;

}

.cover-detalle-contain{
  display: flex;
  align-items: flex-end;
  margin-bottom: 0px;
}


.cover-contain{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  "text"
  "img";
  gap:50px;
}

.text-cover{grid-area: text;}
.img-cover{grid-area: img;display: flex; justify-content: center; align-items: center;}

.main-img{
  width: 100%;
}


.speech-bubble {
  background: #0B45D8;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
  position: relative;
  width: fit-content;
  width: 200px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
}

/* Punta del globo (abajo a la derecha) */
.speech-bubble::after {
  content: "";
    position: absolute;
    bottom: -35px;
    right: 20px;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: #0B45D8;
}

.bubble-top{
  position: absolute;
  top: 55%;
  left: 0px;
}

.bubble-bottom{
  position: absolute;
  right: 0px;
  top:90%;
}

/* ===================================
    Global
====================================== */

.img-porque-solsti{
  position: relative;
bottom: 0px;
width: 100%;
border-radius: 8px;
}

/*section Pasos*/

.grid-pasos{
  display: grid;
  grid-template-columns: 1fr;
  gap:25px;
}

.img-paso{
  width: 100%;
  height: 250px;
  position: relative;
}

.img-paso img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.img-paso .num{
  position: absolute;
  width: 100%;
  height: 80%;
  bottom: 0px;
  left: 0px;
  background: linear-gradient(180deg, rgba(0, 30, 107, 0) 0%, #001E6B 100%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  flex-direction: row;
}

.img-paso .num h1{
  font-size: 40px;
  line-height: 100%;
  color: #FF5C35;
  font-weight: 700;
  margin-bottom: 0px;
  margin-right: 10px;
}


/*section vacates*/

.content-filter{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.content-filter option{
  text-transform: uppercase;
}

.content-filter select{
  width: 300px;
  text-transform: uppercase;
}

.form-select{
  border: 0px solid #ced4da;
  color: #979797;
}

.form-select:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: 0 0 0 0rem rgba(13, 110, 253, .25);
}

.content-card-vacante{
  margin-top: 30px;
}

.card-area{
  width: 100%;
  padding: 5px 15px;
  background: #EBF1F6;
  border-radius: 8px;
  margin-top: 20px;
}

.card-area h5{
  font-weight: 600;
  color: #223A5C;
  margin-bottom: 0px;
  text-transform: uppercase;
}

.card-vacante{
  padding: 30px 0px;
  border-bottom: 0.5px solid #979797;
}

.card-vacante .main-inf{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap:20px;
}

.card-vacante .content-tags{
  display: flex;
  gap:15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.tag-main{
  padding: 2px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: 1px solid #223A5C;
  border-radius: 20px;
  text-align: center;
}

.tag-main span{
  font-size: 14px;
  font-weight: 200;
  line-height: 150%;
  color: #223A5C;
}

/*Section pasos de seleccion*/

.bg-main-seleccion{
    clip-path: ellipse(150% 100% at 50% 100%);
    -webkit-clip-path: ellipse(150% 100% at 50% 100%);
  background: linear-gradient(360deg, #000C2B 23.96%, #001E6B 100.68%);
}

.grid-pasos-seleccion{
  display: grid;
  grid-template-columns: 1fr;
  gap:30px;
  margin-top: 50px;
}

.grid-pasos-seleccion .paso{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  position: relative;
}

.grid-pasos-seleccion .paso .content-img{
  width: 190px;
  height: 95px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-pasos-seleccion .paso .content-img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deco-paso{
  width: 80px;
  height: 1px;
  border-bottom: 2px dashed #FF5C35;
  position: absolute;
  top: 50%;
  right: -55px;
  display: none;
}

.deco-paso-2{
  width: 60px;
  height: 1px;
  border-bottom: 2px dashed #FF5C35;
  position: absolute;
  top: 50%;
  right: -58px;
  display: none;
}

.deco-paso-3{
  width: 75px;
  height: 1px;
  border-bottom: 2px dashed #FF5C35;
  position: absolute;
  top: 50%;
  right: -80px;
  display: none;
}

/* ===================================
    Vacante detalle
====================================== */

.stiky{
  position: sticky;
top: 100px;
}

.back-link:hover i{
  color: #FF5C34!important;
  transition: ease-in-out 0.7s!important;
  transform: translateX(5px) scale(1.1)!important;
}

.content-detalle{
  background: #EBF1F6;
  border-radius: 12px;
  padding: 20px;
  border-left: 10px solid #FF5C35;
}

.content-detalle ul{
  margin-bottom: 0px;
}

.content-detalle p{
  white-space: pre-line;
}

/*Formulario cv*/
.file-upload {
  position: relative;
  border: 3px solid #EBF1F6;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
  transition: border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap:10px;
}

.file-upload:hover {
  border-color: #ffa99c;
}

/* Oculta el input real */
.file-upload input[type="file"] {
  display: none;
}

/* Ícono circular */
.upload-icon {
  width: 50px;
  height: 50px;
  background-color: #FFDFD7;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-icon i {
  font-size: 24px;
  color: #FF5C35;
}

/* Texto principal */
.file-upload p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.4;
}

/* Texto destacado */
.file-upload .text-alt {
  color: #FF5C35;
}

/* Nombre del archivo (debajo del recuadro) */
.file-name {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  text-align: center;
  background-color: #F6F8FA;
  border-radius: 6px;
  padding: 8px 12px;
  display: inline-block;
  min-width: 240px;
}

.file-upload.dragover {
  border-color: #FF5C35;
  background-color: #FFF5F2;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-control{
  border: 3px solid #EBF1F6;
}

.form-control:hover {
  border-color: #ffa99c;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #EBF1F6;
    outline: 0;
    box-shadow: 0 0 0 0rem rgba(13, 110, 253, .25);
}

/* ===================================
    Responsive
====================================== */

/* xxs */ @media (max-width: 430px) {}
/* xs  */ @media (min-width: 431px) {

/*Cover*/
.bubble-top{top: 150px;left: 0px;}
.bubble-bottom{right: 0px;top:80%;}

} /* @media (max-width: 575px) {} */
/* sm  */ @media (min-width: 576px) {

/*Cover*/
.main-img{width: 70%;}
.bubble-top{top: 50px;left: 0px;}
.bubble-bottom{right: 0px;top:70%;}

.img-porque-solsti{width: 70%;}

/*section Pasos*/
.grid-pasos{grid-template-columns: repeat(2,1fr);}
.img-paso{height: auto;}
/*Section pasos de seleccion*/
.grid-pasos-seleccion{grid-template-columns: repeat(2,1fr);gap:40px;}

}
/* md  */ @media (min-width: 768px) {

/*Cover*/
.main-img{width: 100%;}

.speech-bubble{width: 250px;}
.bubble-top{top: 0px;left: -105px;}
.bubble-bottom{right: 0px;top:80%;}

.cover-contain{
  grid-template-columns: 50% auto;
  grid-template-areas:
  "text img";
  gap:50px;
}

.img-porque-solsti{position: absolute; bottom: 0px; width: 100%;}

/*section Pasos*/
.grid-pasos{grid-template-columns: repeat(3,1fr);}

/*Section pasos de seleccion*/
.bg-main-seleccion{clip-path: ellipse(85% 100% at 50% 100%);-webkit-clip-path: ellipse(85% 100% at 50% 100%);}
.grid-pasos-seleccion{grid-template-columns: repeat(2,1fr);gap:60px;}


} /* ipad Portrait */
/* lg  */ @media (min-width: 992px) {

/*Cover*/
.bubble-top{top: 100px;left: -105px;}
.bubble-bottom{right: -10px;top:80%;}

.img-porque-solsti{ width: 100%;}

/*Section pasos de seleccion*/
.grid-pasos-seleccion{grid-template-columns: repeat(4,1fr);gap:60px;}
.deco-paso{
  width: 85px;
  height: 1px;
  border-bottom: 2px dashed #FF5C35;
  position: absolute;
  top: 45%;
  right: -90px;
  display: inherit;
}

.deco-paso-2{
  width: 100px;
  height: 1px;
  border-bottom: 2px dashed #FF5C35;
  position: absolute;
  top: 45%;
  right: -72px;
  display: inherit;
}

.deco-paso-3{
  width: 75px;
  height: 1px;
  border-bottom: 2px dashed #FF5C35;
  position: absolute;
  top: 45%;
  right: -80px;
  display: inherit;
}

} /* ipad Landscape */
/* xl  */ @media (min-width: 1200px) {

/*Cover*/
.main-img{width: 500px;}

.bubble-top{top: 100px;left: -35px;}
.bubble-bottom{right: 0px;top:70%;}

.img-porque-solsti{ width: 85%;}

/*Section pasos de seleccion*/
.deco-paso{
  width: 80px;
  position: absolute;
  top: 50%;
  right: -55px;
}

.deco-paso-2{
  width: 60px;
  position: absolute;
  top: 50%;
  right: -58px;
}

.deco-paso-3{
  width: 75px;
  position: absolute;
  top: 50%;
  right: -80px;
}


}
/* xxl */ @media (min-width: 1400px) {

/*Section pasos de seleccion*/
.deco-paso{
  width: 115px;
position: absolute;
top: 55%;
right: -75px;
}

.deco-paso-2{
  width: 90px;
  position: absolute;
  top: 55%;
  right: -75px;
}

.deco-paso-3{
  width: 110px;
position: absolute;
top: 55%;
right: -98px;
}

}
