 /* ========================================
   Estilos para Formularios de Consulta de Aspirantes
   ======================================== */

/* Contenedor principal del formulario de continuar proceso */
.form-continuar-proceso {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  position: relative;
  border-left: 5px solid #3b8453;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Contenedor del contenido de la tarjeta */
.form-continuar-proceso .contenido-tarjeta,
.form-volante-pago .contenido-tarjeta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Icono decorativo de fondo - Continuar proceso */
.form-continuar-proceso .icono-fondo {
  position: absolute;
  right: 25px;
  top: 25px;
  opacity: 0.1;
  pointer-events: none;
}

.form-continuar-proceso .icono-fondo i {
  font-size: 70px;
  color: #3b8453;
}

/* Título del formulario de continuar proceso */
.form-continuar-proceso h3 {
  color: #004d40;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.form-continuar-proceso h3 i {
  margin-right: 12px;
  font-size: 0.9em;
}

/* Descripción del formulario */
.form-continuar-proceso p {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 25px;
  flex-grow: 0;
}

/* Grupo de formulario */
.form-continuar-proceso .form-group {
  margin-bottom: 0;
  margin-top: auto;
}

/* Label del formulario */
.form-continuar-proceso label {
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  display: block;
}

/* Input group */
.form-continuar-proceso .input-group {
  max-width: 550px;
}

/* Addon del input - Continuar proceso */
.form-continuar-proceso .input-group-addon {
  background: #3b8453;
  border-color: #b2dfdb;
  color: #ffffff;
}

/* Input del formulario - Continuar proceso */
.form-continuar-proceso input.form-control {
  border-color: #b2dfdb;
  box-shadow: none;
  font-weight: 600;
}

/* Botón del formulario - Continuar proceso */
.form-continuar-proceso .btn-primary {
  background: #3b8453;
  border-color: #3b8453;
  font-weight: bold;
  padding: 0 30px;
  height: 46px;
}

/* ========================================
   Formulario de Volante de Pago
   ======================================== */

/* Contenedor principal del formulario de volante */
.form-volante-pago {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin: 20px 0;
  border: 1px solid #c8e6c9;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  position: relative;
  border-left: 5px solid #3b8453;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Icono decorativo de fondo - Volante */
.form-volante-pago .icono-fondo {
  position: absolute;
  right: 20px;
  top: 20px;
  opacity: 0.1;
  pointer-events: none;
}

.form-volante-pago .icono-fondo i {
  font-size: 80px;
  color: #3b8453;
}

/* Título del formulario de volante */
.form-volante-pago h3 {
  color: #3b8453;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.form-volante-pago h3 i {
  margin-right: 10px;
}

/* Descripción del formulario de volante */
.form-volante-pago p {
  color: #555;
  font-size: 1.1em;
  margin-bottom: 25px;
  flex-grow: 0;
}

/* Grupo de formulario - Volante */
.form-volante-pago .form-group {
  margin-bottom: 0;
  margin-top: auto;
}

/* Label del formulario - Volante */
.form-volante-pago label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

/* Input group - Volante */
.form-volante-pago .input-group {
  max-width: 500px;
}

/* Addon del input - Volante */
.form-volante-pago .input-group-addon {
  background: #3b8453;
  border-color: #a5d6a7;
  color: #ffffff;
}

/* Input del formulario - Volante */
.form-volante-pago input.form-control {
  border-color: #a5d6a7;
  box-shadow: none;
  font-weight: bold;
  color: #3b8453;
}

/* Botón del formulario - Volante */
.form-volante-pago .btn-success {
  background: #3b8453;
  border-color: #3b8453;
  font-weight: bold;
  padding: 0 25px;
  height: 46px;
}

/* ========================================
   ESTILOS RESPONSIVE
   ======================================== */
@media (max-width:1654px){
   div#panelHome.col-xs-12.col-sm-12.col-md-12 {
    max-width: 100% !important;
  }
  .home .panel-body {
    padding: 5px !important;
    background-color: #fcfcfc;
}
  
  /* Contenedor general */
  .form-continuar-proceso .input-group {
    display: flex !important;
    flex-wrap: wrap;
    width: 100% !important;
  }
  .form-volante-pago .input-group {
    display: flex !important;
    flex-wrap: wrap;
    width: 100% !important;
  }

  /* ICONO candado */
  .form-continuar-proceso .input-group-addon {
    width: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 0 !important;
    border-right: none !important;
  }
  .form-volante-pago .input-group-addon {
    width: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 0 !important;
    border-right: none !important;
  }

  /* INPUT */
  .form-continuar-proceso .form-control {
    width: calc(100% - 50px) !important;
    border-radius: 0 12px 0 0 !important;
    border-left: none !important;
  }
  .form-volante-pago .form-control {
    width: calc(100% - 50px) !important;
    border-radius: 0 12px 0 0 !important;
    border-left: none !important;
  }

  /* Línea separadora */
  .form-continuar-proceso .form-control {
    border-bottom: 1px solid #ddd !important;
  }
  .form-volante-pago .form-control {
    border-bottom: 1px solid #ddd !important;
  }

  /* Contenedor del botón */
  .form-continuar-proceso .input-group-btn {
    width: 100% !important;
    display: block !important;
    margin-top: 12px;
  }
  .form-volante-pago .input-group-btn {
    width: 100% !important;
    display: block !important;
    margin-top: 12px;
  }

  /* BOTÓN */
  .form-continuar-proceso .input-group-btn .btn {
    width: 100% !important;
    display: block !important;
    border-radius: 12px !important;
  }
  .form-volante-pago .input-group-btn .btn {
    width: 100% !important;
    display: block !important;
    border-radius: 12px !important;
  }

}
@media (max-width:611px) {
    .home .panel-body {
    padding: 5px !important;
    background-color: #fcfcfc;
}

  /* Contenedor general */
  .form-continuar-proceso .input-group {
    display: flex !important;
    flex-wrap: wrap;
    width: 100% !important;
  }
  .form-volante-pago .input-group {
    display: flex !important;
    flex-wrap: wrap;
    width: 100% !important;
  }

  /* ICONO candado */
  .form-continuar-proceso .input-group-addon {
    width: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 0 !important;
    border-right: none !important;
  }
  .form-volante-pago .input-group-addon {
    width: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 0 0 0 !important;
    border-right: none !important;
  }

  /* INPUT */
  .form-continuar-proceso .form-control {
    width: calc(100% - 50px) !important;
    border-radius: 0 12px 0 0 !important;
    border-left: none !important;
  }
  .form-volante-pago .form-control {
    width: calc(100% - 50px) !important;
    border-radius: 0 12px 0 0 !important;
    border-left: none !important;
  }

  /* Línea separadora */
  .form-continuar-proceso .form-control {
    border-bottom: 1px solid #ddd !important;
  }
  .form-volante-pago .form-control {
    border-bottom: 1px solid #ddd !important;
  }

  /* Contenedor del botón */
  .form-continuar-proceso .input-group-btn {
    width: 100% !important;
    display: block !important;
    margin-top: 12px;
  }
  .form-volante-pago .input-group-btn {
    width: 100% !important;
    display: block !important;
    margin-top: 12px;
  }

  /* BOTÓN */
  .form-continuar-proceso .input-group-btn .btn {
    width: 100% !important;
    display: block !important;
    border-radius: 12px !important;
  }
  .form-volante-pago .input-group-btn .btn {
    width: 100% !important;
    display: block !important;
    border-radius: 12px !important;
  }
}



/* ========================================
   ESTILOS PARA EL SECCIÓN DE INSTRUCTIVO
   ======================================== */

.instructivo-container {
    background: hsl(0, 0%, 100%);
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.instructivo-container:hover {
    transform: translateY(-5px);
}

.instructivo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #3b8453, #3b8453);
}

.instructivo-content {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.instructivo-icon-wrapper {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background: #e8f5e9;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b8453;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.1);
}

.instructivo-text-content {
    flex-grow: 1;
}

.instructivo-text-content h4 {
    margin: 0 0 8px 0;
    color: #1b5e20;
    font-weight: 800;
    font-size: 1.5em;
    letter-spacing: -0.02em;
}

.instructivo-text-content p {
    margin: 0;
    color: #555;
    font-size: 1.1em;
    line-height: 1.5;
}

.instructivo-action-wrapper {
    flex-shrink: 0;
}

.btn-instructivo-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3b8453 0%, #3b8453 100%);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.25);
    border: none;
}

.btn-instructivo-premium i {
    font-size: 1.2em;
}

.btn-instructivo-premium:hover {
    background: linear-gradient(135deg, #3b8453 0%, #1b5e20 100%);
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(46, 125, 50, 0.35);
}

.btn-instructivo-premium:active {
    transform: scale(0.98);
}

/* Efecto de brillo sutil en el fondo */
.instructivo-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .instructivo-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .instructivo-icon-wrapper {
        margin: 0 auto;
    }

    .instructivo-action-wrapper {
        width: 100%;
    }

    .btn-instructivo-premium {
        width: 100%;
        justify-content: center;
    }

    .instructivo-text-content h4 {
        font-size: 1.5em;
    }

    .instructivo-text-content p {
        font-size: 1.1em;
    }
}

/* Animación de rotación para iconos de carga */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

/* ========================================
   ESTILOS PARA LA PÁGINA DE INICIO (PASOS)
   ======================================== */

.inicio-mensaje-alert {
    background: linear-gradient(135deg, #3b8453 0%, #3b8453 100%);
    border: none;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.inicio-mensaje-alert i {
    font-size: 24px;
    color: #ffffff;
}

.inicio-mensaje-alert p {
    margin: 0;
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 500;
}

.pasos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.paso-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.paso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.paso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

/* Colores por paso */
.paso-1::before { background: #3b8453; }
.paso-2::before { background: #3b8453; }
.paso-3::before { background: #3b8453; }

.paso-numero {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #999;
}

.paso-icono {
    width: 100px;
    height: 100px;
    margin: 10px auto 20px auto;
    background: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.paso-card:hover .paso-icono {
    transform: scale(1.1) rotate(5deg);
}

.paso-icono img {
    max-width: 100%;
    height: auto;
}

.paso-card h3 {
    color: #333;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-size: 1.4em;
}

.paso-1 h3 { color: #3b8453; }
.paso-2 h3 { color: #3b8453; }
.paso-3 h3 { color: #3b8453; }

.paso-descripcion {
    color: #666;
    line-height: 1.6;
    font-size: 0.95em;
    margin-bottom: 25px;
    flex-grow: 1;
}

.btn-paso {
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-block;
    align-self: center;
}

.btn-paso-1 { background: #3b8453; color: white !important; }
.btn-paso-2 { background: #3b8453; color: white !important; }
.btn-paso-3 { background: #3b8453; color: white !important; }

.btn-paso:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

/* Ajustes Responsive para pasos */
@media (max-width: 991px) {
    .pasos-container {
        flex-direction: column;
    }
    .paso-card {
        min-width: 100%;
    }
}
/* ========================================
   ESTILOS PARA EL ENCABEZADO PRINCIPAL (PANEL HOME)
   ======================================== */

.home.panel-success {
    border: none !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
    margin-top: 20px;
}

.home > .panel-heading.main-portal-header {
    background: linear-gradient(135deg, #3b8453 0%, #2d6640 100%) !important;
    padding: 10px 20px !important;
    border: none !important;
    text-align: center;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
}

/* Efecto de patrón sutil en el fondo del header */
.home > .panel-heading.main-portal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Brillo decorativo */
.home > .panel-heading.main-portal-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.header-icon-container {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.home > .panel-heading:hover .header-icon-container {
    transform: rotate(0deg) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.home > .panel-heading.main-portal-header .panel-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px 0 !important;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
}

.header-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    color: #e8f5e9;
}

.header-accent-line {
    width: 60px;
    height: 3px;
    background: #ffc107;
    margin: 12px auto 0;
    border-radius: 2px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

/* Ajustes para el cuerpo del panel en home
.home .panel-body {
    padding: 40px !important;
    background-color: #fcfcfc;
}*/

/* Responsive */
@media (max-width: 767px) {
    .home > .panel-heading.main-portal-header {
        padding: 35px 15px !important;
    }
    
    .home > .panel-heading.main-portal-header .panel-title {
        font-size: 22px !important;
    }
    
    .header-subtitle {
        font-size: 14px;
    }
    
    .header-icon-container {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin-bottom: 15px;
    }
}
