/* Fuente principal */
body {
  font-family: 'Instrument Sans', sans-serif;
}

/* Fuente secundaria o para títulos */
h1,
h2,
h3 {
  font-family: 'Instrument Sans', sans-serif;
}


.bg-azul {
  background: url(../img/Inicial.png);
  background-size: cover;
  height: 100vh;
}

.color-san-jose {
  color: #7472DC;
}

.bg-san-jose {
  background: #7472DC;
}

.color-alerta {
  color: #F07F94;
}

.bg-alerta {
  background: #F07F94;
}

.fs-50 {
  font-size: 50px;
}

.fs-23 {
  font-size: 23px;
}

.fs-10 {
  font-size: 10px;
}

.fs-12 {
  font-size: 12px;
}


.fs-14 {
  font-size: 14px;
}

.fs-18 {
  font-size: 18px;
}

.w-150 {
  width: 150px;
}

.w-250 {
  width: 250px;
}

.container-400 {
  max-width: 400px;
}

.container-450 {
  max-width: 450px;
}

.cursor-pointer {
  cursor: pointer;
}

.container-600 {
  max-width: 600px;
}

.form-container {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.form-control {
  border-radius: 0.75rem;
  padding: 0.9rem;
}

.btn-postularme {
  background-color: #A69AFE;
  color: #2B2A3C;
  border: none;
  border-radius: 2rem;
  padding: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-outlined {
  background-color: #fff;
  color: #2B2A3C;
  border: solid 1px #A69AFE;
  border-radius: 2rem;
  padding: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

a:hover {
  color: #2B2A3C
}

.btn-postularme:hover {
  background-color: #8c68d4;
}

.btn-outlined:hover {
  border: solid 1px #8c68d4;
}



.form-floating>label {
  color: #aaa;

}

.form-floating>label::after {

  background: transparent !important;
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  padding: 0.75rem 0.75rem;
  background-color: #F5F6FA;
  color: #1e1b47;
  border: none;
  box-shadow: 0px 3px 6px #2323231c;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(166, 147, 255, 0.5);
  background-color: #fff;
}



.step {
  display: none;
}

.step.active {
  display: block;
}

.substep {
  display: none;
}

.substep.active {
  display: block;
}

/* Estilos para la barra de progreso con nombres */

.progress {
  height: 20px !important;
  max-height: 9px;
}

#progressBar {
  background: #a69afe;
  height: 20px !important;
}

.progress-container {
  position: relative;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  font-size: 0.9rem;
  font-weight: 500;
  color: #6c757d;
}

.progress-steps span.active {
  color: #242249;
  font-weight: 700;
}

.ico-step i {
  background: #E3DFFF;
  padding: 4px 10px;
  border-radius: 50%;
  color: #8071f1;
}

    #signatureCanvas {
      border: 2px dashed #6c757d;
      border-radius: 10px;
      width: 100%;
      height: 200px;
      background-color: #fff;
      cursor: crosshair;
    }

    .upload-box {
  background-color: #fafbff;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.upload-box:hover {
  border-color: #9c9cf8;
  background-color: #f5f6ff;
  cursor: pointer;
}

.border-dashed {
  border-style: dashed !important;
}

.bg-agradecimiento{
 background: url(../img/Final_estatua.png);
  background-size: cover;
  height: 100vh;
  background-color: #D9D9D9;
}

 /* Tarjeta azul */
.card-gracias {
      background: url(../img/Final_BloqueAzul.png) no-repeat;
    background-size: contain;
    color: #fff;
    border-radius: 20px 0 20px 0;
    max-width: 880px;
    margin: 0px auto 0;
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
    text-align: center;
    min-height: 260px;
    position: absolute;
    top: 530px;
    left: 27%;
    padding: 4rem;
}

.texto-gracias {
    transform: rotate(-2deg);
    margin-left: -50px;
    margin-top: 20px;
}
.card-gracias h1 {
  color: #f9e08c;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-gracias p {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.5;
  padding: 0 10%;
}

.card-gracias b {
  color: #fff;
  font-weight: 700;
}

    .tooltip-container {
      position: relative;
      display: inline-block;
      position: absolute;
      right: 0px;
      bottom: 0px;
    }

    .custom-tooltip {
      position: absolute;
      bottom: 60px;
      right: -20px;
      background-color: #ebe9ff;
      color: #2d2d2d;
      border-radius: 12px;
      padding: 12px 16px;
      font-size: 14px;
      width: 340px;
      text-align: center;
      display: none;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      z-index: 10;
    }

    .custom-tooltip::after {
      content: "";
      position: absolute;
      bottom: -10px;
      right: 40px;
      border-width: 10px 10px 0;
      border-style: solid;
      border-color: #ebe9ff transparent transparent transparent;
    }

    .show-tooltip {
      display: block;
      animation: fadeIn 0.3s ease-in-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(5px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .btn-help {
      background-color: #ffffff;
      color: #1c1b4d;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      cursor: pointer;
    }

    .center-step {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


.responsive-box {
  width: 100%;
  max-width: 600px;
}
@media (max-width:1024px){
  .card-gracias {
    top: 460px;
    left: 170px;
}
}


@media (max-width:768px){
  .card-gracias h1 {
    font-size: 1.5rem;
}

.card-gracias p {
    font-size: 1.1rem;
}

.card-gracias {
    top: 490px;
    left: 50px;
}

.bg-agradecimiento {
    background: url(../img/Final_estatua.png), no-repeat;
    background-size: cover;
    height: 100vh;
    background-color: #D9D9D9;
    background-position-x: -300px;
}
}


@media (max-width:600px){
 .card-gracias {
    background: #1c1b4d;
    background-size: contain;
    color: #fff;
    border-radius: 20px 0 20px 0;
    max-width: 350px;
    margin: 0px auto 0;
    position: relative;
    z-index: 2;
    transform: rotate(-2deg);
    text-align: center;
    min-height: 260px;
    position: absolute;
    top: 170px;
    left: 8%;
    padding: 2rem;
}

.card-gracias p {
    font-size: 1.2rem;
}

.card-gracias h1 {
    font-size: 1.5rem;
}

.texto-gracias {
    transform: rotate(-2deg);
    margin-left: -20px;
    margin-top: 20px;
}

.bg-agradecimiento {
    background: url(../img/Final_estatua.png) no-repeat;
    background-size: contain;
}

.ico-step i {
    background: #E3DFFF;
    padding: 7px 8px;
    border-radius: 50%;
    color: #8071f1;
    font-size: 14px !important;
    height: 30px;
}

.progress-steps span {
    font-size: 13px;
    gap: 4px !important;
    margin-bottom: 0 !important;
    line-height: 16px;
}
}

@media (max-width:450px){

  .fs-50 {
    font-size: 27px;
}
  p.fs-16.fw-semibold.mb-0 {
    font-size: 12px !important;
}

.ico-step i {
    background: #E3DFFF;
    padding: 4px 6px;
    border-radius: 50%;
    color: #8071f1;
    font-size: 12px !important;
    height: 23px;
}

.container.py-5 {
    padding: 2rem 30px !important;
}

.progress-steps span {
    font-size: 11px;
}

.w-150 {
    width: 120px;
}

.fs-14 {
    font-size: 12px;
}
}





