/* CSS Document */

/* ======== PÁGINA DE BIENVENIDA PRE-MATRÍCULA ======== */

.bienvenida_fondo {
  background-color: #f0f0f0; /* Fondo gris claro */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Si luego deseas usar una imagen de fondo, descomenta esto:
  background: url('configuraciones/plantilla/fondos/fondo1.jpg') no-repeat center center fixed;
  background-size: cover;
  */
}

.bienvenida_caja {
  margin-top: 0;
}

.bienvenida_logo img {
  max-width: 250px;
}

.bienvenida_card {
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

.bienvenida_cardBody {
  text-align: center;
  padding: 30px 25px;
}

.bienvenida_titulo {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.bienvenida_captcha {
  display: inline-block;
  margin: 15px 0 20px 0;
}

.bienvenida_boton {
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.bienvenida_boton:disabled {
  background-color: #999 !important;
  border-color: #999 !important;
  cursor: not-allowed;
}

/* Placeholder visual para cuando el captcha está desactivado */
.temporal_captcha {
  background-color: #f9f9f9;
  border: 1px dashed #ccc;
  border-radius: 6px;
  padding: 20px;
  margin: 15px 0 25px 0;
}




/*PARA LOGIN*/

/*.login-box .card {
  border-radius: 10px;
  padding: 20px;
}*/

.login-box .card-body {
  border-radius: 10px; /* Agregamos bordes redondeados al recuadro */
}

.card-body, .card, .login-card-body{
 /*background: #FF0004;	*/
 /*background: rgba(255, 255, 255, 0.3);*/
 /*background: rgba(255, 255, 255, 0.8);*/
} 

.login-page,
.register-page {
	background: url(../../configuraciones/plantilla/logos/fondo.jpg) !important;
	background-size: cover !important;
}



th { font-size: 15px; }
td { font-size: 14px; }


/*Aqui se ejecuta cuando pasa el mouse  :hover es para pasar el cursos y active es cuando le da uno click*/
.boton-reniec:active{
	
	background-color: #000000;
  	color: azure;
	cursor: pointer;
}

.boton-reniec{
	
	background-color: #701b40;
	color: azure;
}


/* Para resaltar Texto al buscar PERO QUEDARA EL MISMO COLOR */

table.dataTable span.highlight {
  background-color:#001f3f;/*#FFFF88;*/
  color:azure;
  font-weight: bold;
  border-radius: 0.28571429rem;
}

table.dataTable span.column_highlight {
  background-color: #ffcc99;
  color: azure;
  font-weight: bold;
  border-radius: 0.28571429rem;
}

/*CAMBIANDO COLOR A LAS FECHAS*/


/* Cambiar el color de la fecha seleccionada al pasar el mouse */
.daterangepicker td.active:hover {
  background-color: black;
  color: white;
}

/* Cambiar el color de todo lo seleccionado en el calendario */
.daterangepicker .drp-calendar .day.in-range {
  background-color: yellow;
  color: black;
}

/* Cambiar el color de Hoy y Fecha personalizada al pasar el mouse */
.daterangepicker .ranges li.active:hover {
  background-color: black;
}


/*CAMBIAR TEXTO VERTICAL A TABLAS*/
.vertical-th {
	writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.day-abbreviation-row {
        text-align: center;
    }
    .day-abbreviation {
        font-weight: bold;
        font-size: 12px;
    }

/*#tablaAsisAlumnos tbody td {
  font-size: 13px;
}*/

.my-custom-panel {
  width: 100% !important;
  padding: 10px !important;
  margin: 0 !important;
  border: none !important;
}

/*PARA EL ICONO CARGANDO*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Para alto de input ajustado */
.input-alto-ajustado {
    height: 30px !important;
}

/* Para Ocultar scroll de MENU */
.select2-container .select2-selection--single {
    padding-top: 14px !important; /* Ajusta el espacio superior */
    padding-bottom: 8px !important; /* Asegúrate de que no haya padding inferior */
    height: auto; /* Permite un ajuste dinámico si es necesario */
    box-sizing: border-box; /* Para evitar problemas de dimensión */
}

/* Para reducir el tamaño del texto */
.swal2-title {
  font-size: 22px !important;
  font-weight: 600; /* más ligero que el bold por defecto */
  margin-bottom: 0.5rem;
}

/* =============== AJUSTES DE BARRA ================== */

/* Ajustar mi circulo verticalmente a la barra */
.navbar-nav .user-menu > a {
  padding-top: 8px;      /* Ajusta verticalmente */
  padding-bottom: 8px;
  margin-left: 10px;     /* Separa de la campana */
  display: flex;
  align-items: center;
}

/* Centro la foto en el circulo claro un poco mas abajo para que no se vea cortada */
.navbar-nav .user-menu img {
  height: 35px;
  width: 35px;
  object-fit: cover;
  object-position: center top; /* ← esto enfoca más abajo en la imagen */
  border-radius: 50%;          /* Asegura que siga redondo */
}

/* Pagrandamos iconos */
.navbar-nav .nav-link i.far.fa-comments,
.navbar-nav .nav-link i.far.fa-bell,
.navbar-nav .nav-link i.far.fa-envelope {
  font-size: 1.4rem; /* o el tamaño que estés usando */
}

/* Agrandamos numeros de los iconos */
.navbar-badge {
  font-size: 0.8rem;       /* Por defecto es como 0.6rem, puedes subir más si deseas */
  padding: 3px 6px;        /* Ajusta el tamaño interno del círculo */
  top: 0;                  /* Opcional: ajusta verticalmente si lo necesitas */
}

/* Separacion entre la foto y elicono de notificaciones */
.navbar-nav .user-menu {
  margin-left: 10px; /* Puedes subir a 16px o 20px si quieres más separación */
}



/* ======== NAVBAR SIMPLIFICADO PARA PRE-MATRÍCULA ======== */
.bienvenida_navbar {
  border: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
}

.bienvenida_navbar .btn {
  border-radius: 20px;
  background-color: #fff;
  color: #001f3f;
  transition: all 0.2s ease-in-out;
}

.bienvenida_navbar .btn:hover {
  background-color: #f1f1f1;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#fondo_imagen {
  width: 100%;
  height: 100%;
  background-image: url('../../configuraciones/plantilla/fondos/fondo_bienvenida.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ======== FLECHA DE SELECCIÓN DEBAJO DEL BOTÓN ACTIVO ======== */
.btn-seleccionado {
  background: #222 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
  position: relative;
}

/* Flecha hacia abajo debajo del botón seleccionado */
.btn-seleccionado::after {
  content: "▼";
  position: absolute;
  bottom: -14px; /* mueve la flecha debajo del botón */
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  color: #001f3f; /* azul institucional */
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}


/* ======== SECCIÓN DE TIPO DE PRE-MATRÍCULA ======== */
.contenedor-tipo-matricula {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  background-color: #f8f9fa;
  padding: 40px 0;
}

/* --- Título elegante centrado --- */
.titulo-tipo-matricula {
  font-size: 2rem;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.titulo-tipo-matricula::after {
  content: "";
  position: absolute;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, #001f3f, #007bff);
  left: 20%;
  bottom: -10px;
  border-radius: 2px;
}

/* --- Contenedor principal de las opciones --- */
.contenedor-opciones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  width: 70%;
  flex-wrap: wrap;
}

/* --- Cada tarjeta (imagen + botón) --- */
.opcion {
  text-align: center;
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* === Imagen uniforme para ambos === */
.img-tipo-matricula {
  width: 350px;              /* ancho fijo para ambas imágenes */
  height: 480px;             /* alto fijo uniforme */
  object-fit: cover;         /* recorta y mantiene proporción */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover */
.img-tipo-matricula:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* --- Botón debajo de la imagen --- */
.btn-tipo-matricula {
  margin-top: 15px;
  background-color: #001f6b;
  color: #fff !important; /* texto siempre blanco */
  font-weight: 600;
  border-radius: 6px;
  width: 200px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Estado hover */
.btn-tipo-matricula:hover {
  background-color: #002b90; /* tono más claro o más oscuro */
  color: #fff !important;    /* 🔥 forzamos blanco también en hover */
  transform: translateY(-2px); /* ligero efecto de elevación opcional */
}


/* --- Ajuste para pantallas grandes --- */
@media (min-width: 1400px) {
  .img-tipo-matricula {
    max-width: 340px;
  }
}

/* --- Ajuste para pantallas pequeñas --- */
@media (max-width: 768px) {
  .contenedor-opciones {
    flex-direction: column;
    width: 90%;
    gap: 30px;
  }
  .opcion {
    width: 100%;
  }
}

.img-tipo-matricula:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* ======== FONDO GENERAL PARA PÁGINA DE PRE-MATRÍCULA ======== */
body {
  background-color: #f8f9fa !important; /* gris claro uniforme */
}

/* Evita que algún card o wrapper blanco sobrescriba el fondo */
.wrapper,
.content-wrapper {
  background-color: transparent !important;
}


/* --- Estado bloqueado visualmente (como si fuera disabled) --- */
.form__input2.locked {
  background-color: #e9ecef !important;  /* gris claro */
  color: #495057 !important;
  border: 1px solid #ced4da !important;
  cursor: not-allowed !important;
}

/* Permite focus visual (borde azul o estilo de tu tema) */
.form__input2.locked:focus {
  outline: none !important;
  border-color: #007bff !important;  /* azul institucional (puedes ajustar) */
  box-shadow: 0 0 0 0.1rem rgba(0, 123, 255, 0.25);
}


/* ======== SECCIÓN DE TIPO DE PRE-MATRÍCULA- FINNNNNNN AQUI ======== */







