
:root
{
	--verde : #00A688;
	--azul  : #002856;
	--azul_claro  : #0090CA;
	--azul_rey : #1E4C9A;
}
*, *::before, *::after
{
	box-sizing: border-box;
}

html, body
{
	height: 100%;
}

body.fondo_azul_fuerte
{
	margin: 0;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;

	background: var(--azul);
}

body.fondo_azul_claro
{
	margin: 0;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;

	background: var(--azul_claro);
}

body.fondo_lima_azul
{
	margin: 0;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;

	background:
		linear-gradient(180deg, #C1D000 0%, #C1D000 34%, #1E4C9A 100%) top / 100% 1400px no-repeat,
		#1E4C9A;
}

.hero
{
	flex: 0 0 auto;
	width: 100%;
	line-height: 0;
}

.imagenEncabezado
{
	display: block;
	width: 100%;
	height: auto;
}

.imagenEncabezadoPC
{
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 945px)
{
	.imagenEncabezadoPC
	{
		width: 65%;
		margin: 0 auto;
	}
}

.content
{
	position: relative;
	overflow: hidden;
	flex: 1 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: clamp(28px, 6vw, 56px) 20px clamp(48px, 8vw, 80px);

	background: var(--azul);
}

.content-inner
{
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 640px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(28px, 6vh, 48px);
	text-align: center;
}

#resultado,
#resultado *
{
	text-align: left !important;
}

/* Los títulos del menú (las pestañas de Requisitos/Costos/Fechas y
   Horarios) sí se quedan centrados -- solo el contenido de cada
   pestaña se fuerza a la izquierda arriba. */
#resultado nav,
#resultado nav *,
#resultado .nav-tabs,
#resultado .nav-tabs *
{
	text-align: center !important;
}

.content::after
{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 260px;
	background: #0090CA;
	-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	        mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
	pointer-events: none;
}

.result-info
{
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.nombre-aspirante
{
	margin: 0;
	color: #ffffff;
	font-weight: 700;
	font-size: clamp(24px, 4.4vw, 34px);
	line-height: 1.25;
}
.carrera-aspirante
{
	margin: 2px 0 0;
	color: rgba(193, 208, 0, 0.85);
	font-weight: 500;
	font-size: clamp(15px, 2.6vw, 19px);
}

.status-aspirante
{
	display: inline-block;
	margin: 10px 0 0;
	padding: 6px 18px;
	background: rgba(193, 208, 0, 0.14);
	border: 1px solid rgba(193, 208, 0, 0.4);
	border-radius: 999px;
	color: #C1D000;
	font-weight: 700;
	font-size: clamp(24px, 1.9vw, 14px);
	letter-spacing: 0.5px;
}

.felicidades-wrap
{
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 14px;
}

.txt-felicidades
{
	margin: 0;
	color: #C1D000;
	font-weight: 800;
	font-size: clamp(30px, 6vw, 46px);
	letter-spacing: 0.5px;
	line-height: 1.15;
	text-shadow: 0 2px 12px rgba(193, 208, 0, 0.3);
}

body.estado-no-aceptado
{
	color: rgba(229, 57, 53, 0.9);
}
body.estado-no-aceptado .status-aspirante
{
	background: rgba(229, 57, 53, 0.14);
	border-color: rgba(229, 57, 53, 0.4);
	color: #E53935;
}
body.estado-no-aceptado .carrera-aspirante
{
	color: #FFFFFF;
	text-shadow: 0 2px 12px rgba(255, 255, 255, 0.3);
}

.aviso-aspirante
{
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
	font-size: clamp(20px, 2.4vw, 18px);
	line-height: 1.55;
}

.aviso-aspirante strong,
.aviso-aspirante b
{
	font-weight: 600;
}

.info-dir
{
	width: 100%;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
}
.info-dir table
{
	width: 100%;
	border-collapse: collapse;
}
.info-dir td,
.info-dir th
{
	padding: 8px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	text-align: left;
}

#imgs_botones_inscripcion.botones-inscripcion
{
	display: none;
}
.botones-inscripcion
{
	justify-content: center;
	width: 100%;
}

#btn_inscribir.btn-degradado-lima
{
	max-width: 420px;
}
#btn_inscribir.btn-degradado-lima:hover
{
	transform: scale(1.03);
}

.link-regresar
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 600;
	text-decoration: none !important;
	padding: 10px 20px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	transition: all 0.25s ease;
}
.link-regresar:hover,
.link-regresar:focus
{
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.6);
	color: #ffffff;
}

.link-whatsapp
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #ffffff;
	font-weight: 600;
	text-decoration: none !important;
	padding: 10px 20px;
	border: 1px solid #25D366;
	background: rgba(37, 211, 102, 0.12);
	border-radius: 999px;
	transition: all 0.25s ease;
}
.link-whatsapp:hover,
.link-whatsapp:focus
{
	background: #25D366;
	border-color: #25D366;
	color: #ffffff;
}

.link-whatsapp,
.link-regresar
{
	min-width: 160px;
	justify-content: center;
}
.icono-salir
{
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

footer
{
	text-align: center;
}
#footer
{
	width: 100%;
	flex: 0 0 auto;
}

#footer #myFooter
{
	background: var(--azul);
}
#footer #myFooter .footer-copyright
{
	background-color: #001A3D;
}

@media (max-width: 640px)
{
	.content::after
	{
		height: 160px;
	}
}

@media (max-height: 480px) and (max-width: 900px)
{
	.content
	{
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.content-inner
	{
		gap: 16px;
	}
}

#login-modal .modal-content,
#login-modal-validacion .modal-content
{
	border-radius: 20px;
	overflow: hidden;
}
@media (min-width: 641px)
{
	#login-modal .modal-dialog,
	#login-modal-validacion .modal-dialog
	{
		max-width: 420px;
	}
}

.btn-degradado-lima
{
	animation: pulse 1.5s infinite;
}
.btn-degradado-lima
{
	display: inline-block;
	width: 100%;
	max-width: 700px;
	text-align: center;
	padding: 18px 30px;
	font-size: 28px;
	font-weight: bold;
	color: var(--azul);
	text-decoration: none !important;
	border-radius: 40px;

	background: linear-gradient(180deg, #C1D000, #7C8600);

	box-shadow: 0px 8px 15px rgba(0,0,0,0.4);

	transition: all 0.3s ease;
}

.btn-degradado-lima:hover
{
	transform: scale(1.03);
	box-shadow: 0px 10px 20px rgba(0,0,0,0.5);
	color: var(--azul);
}
.btn-degradado-lima::before
{
	content: "";
	position: absolute;
	top: 0;
	left: 10%;
	width: 80%;
	height: 40%;
	background: rgba(0, 167, 134, 0.2);
	border-radius: 40px;
}
.btn-degradado-lima
{
	position: relative;
	overflow: hidden;
}
@media (max-width: 600px)
{
	.btn-degradado-lima
	{
		font-size: clamp(20px, 6vw, 26px);
		padding: clamp(18px, 5.5vw, 24px) clamp(20px, 6vw, 28px);
	}
}
.btn-degradado 
{
	animation: pulse 1.5s infinite;
}
.btn-degradado 
{
	display: inline-block;
	width: 100%;
	max-width: 700px;
	text-align: center;
	padding: 18px 30px;
	font-size: 28px;
	font-weight: bold;
	color: #ffffff;
	text-decoration: none !important;
	border-radius: 40px;

	/* ðŸ”¥ Degradado */
	background: linear-gradient(180deg, #2E63B8, #153B78);

	/* ðŸ”¥ sombra */
	box-shadow: 0px 8px 15px rgba(0,0,0,0.4);

	/* transiciÃ³n */
	transition: all 0.3s ease;
}

/* Hover */
.btn-degradado:hover 
{
	transform: scale(1.03);
	box-shadow: 0px 10px 20px rgba(0,0,0,0.5);
	color: white;

}
.btn-degradado::before 
{
	content: "";
	position: absolute;
	top: 0;
	left: 10%;
	width: 80%;
	height: 40%;
	background: rgba(0, 167, 134, 0.2);
	border-radius: 40px;
}
.btn-degradado 
{
	position: relative;
	overflow: hidden;
}
@media (max-width: 600px) 
{
	.btn-degradado 
	{
		font-size: 18px;
		padding: 14px 20px;
	}
}


/*Complemento de cropper*/
:root{
    --primary-color: rgb(58,79,105);
    --secundary-color: rgb(157,167,180);
    --thir-color: rgb(233,95,133);
    --primary-color-hover: rgb(30, 50, 75);
    --secundary-color-hover:rgb(110, 116, 124);
}

.cropper-view-box,
.cropper-face {
  border-radius: 50%;
}

/* The css styles for `outline` do not follow `border-radius` on iOS/Safari (#979). */
.cropper-view-box {
    outline: 0;
    box-shadow: 0 0 0 1px #39f;
}

.contenedor{
    width: 200px;
    margin: 10px auto;
    padding: 0;
}
.group{
    position: relative;
    width: 100%;
    height: 200px;
    padding: 0;
    outline: 1px solid var(--secundary-color);
    border-radius: 50%;
    overflow: hidden;
}
.group .crop-image{
    width: 100%;
}
.group #input-file{
    display: none;
}
.group .label-file{
    position: absolute;
    text-align: center;
    width: 100%;
    margin: auto;
    /*background-color: rgba(157, 167, 180, 0.74);*/
    padding: 30px 30px;
    font-size: 15px;
    bottom: -100%;
    left: 0;
    cursor: pointer;
    transition: all 150ms ease-in-out;
    /*color: var(--primary-color);*/
    color: #fff;
    background: #00A78680;
    font-weight: bold;
}
.group:hover .label-file{
    bottom: -1;
}

/* ==== Modal estilos ==== */

.crop-modal{
    background-color: rgba(0, 0, 0, 0.247);
    backdrop-filter: blur(0px);
    position: fixed;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 150ms ease-in-out;
    overflow: auto;
    padding: 20px;
}
.crop-modal-content{
    width: 1200px;
    margin: auto;
    background-color: rgb(250, 250, 250);
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: 400ms 300ms all ease;
}
.crop-modal-content .crop-modal-header{
    width: 100%;
    padding: 20px 10px;
    text-align: center;
    background-color: rgb(249,249,249);
    box-shadow: 0px -2px 7px 1px rgba(0, 0, 0, 0.281);
    font-size: 18px;
}
.crop-modal-body {
    display: flex;
    flex-direction: row; /* Desktop por defecto */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
}
.crop-modal-body .content-imagen-cropper {
    flex-grow: 1; 
    width: 100%;
    height: 500px; /* Altura más generosa en desktop */
    outline: 2px solid var(--thir-color);
    background-color: #f0f0f0;
}
.content-imagen-cropper .img-cropper{
    width: 100%;
}
.crop-modal-body .content-imagen-sample{
    height: 200px;
    width: 200px;
    outline: 1px solid var(--thir-color);
    border-radius: 100%;
    border: solid 3px var(--verde);
    overflow: hidden;
}
.crop-modal-body .content-imagen-sample .img-sample{
    height: 100%;
    width: 100%;
}
.crop-modal-content .crop-modal-footer{
    width: 100%;
    padding: 10px 10px;
    text-align: center;
    background-color: rgb(249,249,249);
    box-shadow: 0px 2px 7px 1px rgba(0, 0, 0, 0.281);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}
.crop-modal-footer .crop-btn{
    border: none;
    padding: 12px 70px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    color: #fff;
    transition: background-color 300ms ease;
}
.crop-modal-footer .crop-primary{
    background-color: var(--primary-color);
}
.crop-modal-footer .crop-secundary{
    background-color: var(--secundary-color);
}
.crop-modal-footer .crop-primary:hover{
    background-color: var(--primary-color-hover);
}
.crop-modal-footer .crop-secundary:hover{
    background-color: var(--secundary-color-hover);
}

/* ==== Modal estilos active ==== */

.crop-modal.active{
    opacity: 1;
    backdrop-filter: blur(3px);
    visibility: visible;
    z-index: 99999 !important;
}
.crop-modal-content.active{
    transform: scale(1);
    opacity: 1;
}
.crop-modal.remove{
    opacity: 0;
    backdrop-filter: blur(0px);
    visibility: hidden;
    transition: 150ms 150ms all ease-in-out;
}
.crop-modal-content.remove{
    transform: scale(0.9);
    opacity: 0;
    transition: 150ms all ease;
}

/*CONTROLS*/
.spn-move-img
{
    margin-top: 1.5rem; 
    font-size: 10px;
}

.content-imagen-controls
{
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 120px;
    height: 120px;
}

.controls-zoom img,
.controls-move img
{
    width: 100%;
}

.controls-zoom
{
    display: flex;
    justify-content: space-around;
}

.btn-zoom
{
    user-select: none;
    cursor: pointer;
    text-align: center;
    width: 2rem;
    height: 2rem;
}

.btn-move
{
    user-select: none;
    position: fixed;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
}

/*.btn-zoom:hover,
.btn-move:hover
{
    transform: scale(0.9);
}*/

.btn-zoom:active,
.btn-move:active
{
    transform: scale(1.1);
}
.btn-up {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.btn-down {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.btn-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media screen and (max-width: 1200px) {
    .crop-modal-content{
        width: 100%;
    }
    .contenedor{
        width: 90%;
    }
    .group{
        width: 400px;
        height: 400px;
        margin: auto;
    }
    .group .label-file{
        padding: 10px 10px 30px 10px;
    }
    
    .crop-modal-footer .crop-btn{
        border: none;
        padding: 6px 35px;
        border-radius: 5px;
        font-size: 10px;
        cursor: pointer;
        color: #fff;
        transition: background-color 300ms ease;
    }
}
@media screen and (max-width: 1200px) 
{
    .content-imagen-sample
	{
        display: block;
    }
    
    .crop-modal-body .content-imagen-sample
	{
        height: 5rem;
        width: 5rem;
        position: absolute;
        top: 4px;
    }
    
    .crop-modal-body .content-imagen-cropper
	{
        width: 100%;
        height: 10rem;
    }
    .crop-modal-content .modal-footer
	{
        flex-direction: column;
        gap: 5px;
    }
    .crop-modal-footer .btn
	{
        width: 100%;
    }
    .contenedor
	{
        width: 90%;
    }
    .group
	{
        width: 200px;
        height: 200px;
        margin: auto;
    }
    
    .crop-modal-footer .crop-btn
	{
        border: none;
        padding: 6px 35px;
        border-radius: 5px;
        font-size: 10px;
        cursor: pointer;
        color: #fff;
        transition: background-color 300ms ease;
    }
}
.cropper-container 
{
	width: 100% !important;
	height: 100% !important;
}

.cropper-wrap-box,
.cropper-canvas 
{
	width: 100% !important;
	height: 100% !important;
}

.content-imagen-cropper 
{
	cursor: grab;
}

.content-imagen-cropper:active 
{
	cursor: grabbing;
}
.cropper-move {
    cursor: move;
    cursor: grab;
}
.cropper-move:active {
    cursor: grabbing;
}
@media (max-width: 768px) 
{

	/*.content-imagen-controls 
	{
		right: 10px;
		bottom: 80px;
		width: 120px;
		height: 120px;
		z-index: 9999;
	}*/
	.crop-modal-content {
        width: 95%;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    .crop-modal-body {
        flex-direction: column; /* Apilar previsualización y cropper */
        align-items: center;
        overflow-y: auto;
    }

    .crop-modal-body .content-imagen-cropper {
        height: 60vh; /* Se adapta al alto de la pantalla del celular */
        width: 100%;
    }

    .crop-modal-body .content-imagen-sample {
        order: -1; /* Pone la previsualización circular arriba */
        margin-bottom: 10px;
        width: 100px;
        height: 100px;

    }

    /* Ocultar definitivamente los controles viejos si no se usan */
    .content-imagen-controls {
        display: none !important;
    }
	.btn-up {
		right: 50%;
		bottom: 140px;
		transform: translateX(50%);
	}

	.btn-down {
		right: 50%;
		bottom: 20px;
		transform: translateX(50%);
	}

	.btn-left {
		right: 90px;
		bottom: 80px;
	}

	.btn-right {
		right: 20px;
		bottom: 80px;
	}
	table.sinmargen2{
        margin-top:0 !important;
    }
}


/*Termina Complemento de cropper*/

/*FOOTER*/

#myFooter 
{
	color:white;
}

#myFooter .footer-copyright
{
	background-color: #383737;
	padding-top:1px;
	padding-bottom:1px;
	text-align: center;
}

#myFooter .footer-copyright p
{
	margin:9px;
	color: #ccc;
}

#myFooter a{
	color:#d2d1d1;
	text-decoration: none;
}

#myFooter a:hover, #myFooter a:focus
{
	text-decoration: none;
	color:white;
}

@media screen and (max-width: 767px){
	#myFooter 
	{
		text-align: center;
	}
}

/* CSS used for positioning the footers at the bottom of the page. */
/* You can remove this. */

#myFooter
{
	flex: 0 0 auto;
	-webkit-flex: 0 0 auto;
}
/* FIN FOOTER*/ 

.btn-whatsapp {
	background-color: #25D366;
	color: #fff !important;
}

.btn-whatsapp:hover 
{
	background-color: #1ebe5d;
	transform: scale(1.05);
}

/* REGRESAR (mismo estilo visual) */
.btn-salir 
{
	background-color: #192D4E;
	color: #fff !important;
}

.btn-salir:hover 
{
	background-color: #0f1e36;
	transform: scale(1.05);
}
.barra-acciones 
{
	width: 80%;
	max-width: 600px;
	margin: 30px auto 40px;
	display: flex;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
}
/* AnimaciÃ³n */
@keyframes pulse 
{
	0% { transform: scale(1); }
	50% { transform: scale(1.03); }
	100% { transform: scale(1); }
}


.contenedor-pdf {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.contenedor-pdf iframe {
	width: 100%;
	height: 70vh; /* altura adaptable a pantalla */
	border: none;
}

.shell-navy.bg-light
{
	background: transparent !important;
}
.shell-navy.container
{
	max-width: 100% !important;
	width: 100% !important;
}
.shell-navy.mt-4.mb-4
{
	margin: 0 !important;
}
.shell-navy
{
	border-radius: 0 !important;
	box-shadow: none;
}
.shell-navy .imagenEncabezadoPC
{
	border-radius: 0;
}

.shell-navy > .row:not(.m-0),
.shell-navy > #resultado
{
	max-width: 1100px;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none;
}

.panel-datos
{

	background: rgba(0, 20, 45, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 20px;
	width: 100%;
	margin: 12px 0 0;
	box-shadow: 0 16px 32px rgba(0, 10, 25, 0.25);
}

.panel-unificado
{
	display: flex;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
}
.panel-unificado .col-datos
{
	flex: 1 1 56%;
	min-width: 0;
	padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 28px);
	display: flex;
	align-items: center;
}
.panel-unificado .col-datos > .row
{
	width: 100%;
	min-width: 0;
	align-items: center;
}

.panel-unificado .col-estatus.alerta-tramite
{
	flex: 1 1 44%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: rgba(0, 0, 0, 0.16) !important;
	padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 28px) !important;
}

.panel-datos .contenedor
{
	width: 130px;
	height: 130px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid rgba(193, 208, 0, 0.55);
	box-shadow: 0 10px 24px rgba(0, 10, 25, 0.35);
	margin: 0 auto;
}
@media (min-width: 768px)
{
	.panel-datos .contenedor
	{
		width: 160px;
		height: 160px;
	}
}
.panel-datos .crop-image
{
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	object-position: center 20% !important;
	transform: scale(1.35);
	border-radius: 50% !important;
}

.panel-datos table.table
{
	background: transparent !important;
	margin-bottom: 0;
	display: block;
}
.panel-datos table.table tbody,
.panel-datos table.table tr
{
	display: block;
	width: 100%;
}
.panel-datos table.table th,
.panel-datos table.table td
{
	display: block;
	width: 100%;
}
.panel-datos table.table th
{
	background: transparent !important;
	border: none !important;
	color: #C1D000 !important;
	font-weight: 600 !important;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-align: left !important;
	padding: 0 0 2px !important;
}
.panel-datos table.table td.fw-bold
{
	background: transparent !important;
	border: none !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	font-size: clamp(15px, 2.2vw, 18px);
	text-align: left !important;
	padding: 0 !important;
}
.panel-datos table.table tbody
{
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.panel-datos table.table tbody:first-of-type
{
	padding-top: 0;
}
.panel-datos table.table tbody:last-of-type
{
	border-bottom: none;
	padding-bottom: 0;
}

.panel-header
{
	border-radius: 16px 16px 0 0 !important;
	background: rgba(0, 20, 45, 0.32) !important;
	border-bottom: 3px solid #C1D000 !important;
	padding: 14px 10px !important;
}
.panel-header .EtiquetaEncabezado
{
	font-size: 16px;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}
.panel-body.px-0
{
	background: rgba(255, 255, 255, 0.05);
	border-radius: 0 0 16px 16px;
	padding: 20px 12px !important;
}
.panel-body .EtiquetaInput
{
	color: #ffffff;
}

.alerta-tramite
{
	border: none !important;
	border-left: 5px solid #C1D000 !important;
	border-radius: 16px !important;
	background: rgba(0, 20, 45, 0.45) !important;
	box-shadow: 0 16px 32px rgba(0, 10, 25, 0.25);
	padding: 26px 28px !important;
}

.alerta-tramite.alert-success
{
	border-left-color: #00A688 !important;
}
.alerta-tramite.alert-warning
{
	border-left-color: #FFC107 !important;
}
.alerta-tramite.alert-danger
{
	border-left-color: #E53935 !important;
}

.estatus-fila
{
	display: flex;
	align-items: center;
	gap: 20px;
	text-align: left;
}
.estatus-icono
{
	flex: 0 0 auto;
	width: 60px;
	height: 60px;
	object-fit: contain;
}
.estatus-texto
{
	flex: 1 1 auto;
	min-width: 0;
}
.estatus-titulo
{
	color: #C1D000;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.estatus-texto .texto-estatus
{
	color: #ffffff !important;
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 4px;
}
.estatus-link
{
	display: inline-block;
	margin-top: 10px;
	color: #C1D000 !important;
	font-weight: 700;
	text-decoration: underline;
}
.estatus-fecha
{
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
}
.estatus-fecha b
{
	color: #C1D000;
	font-weight: 700;
}

@media (max-width: 560px)
{
	.alerta-tramite
	{
		padding: 22px 20px !important;
	}
	.estatus-fila
	{
		text-align: center;
		flex-direction: column;
		gap: 12px;
	}
	.estatus-fecha
	{
		text-align: center;
	}
}

.btn-salir-pill
{
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 10px 24px rgba(0, 10, 25, 0.35);
}
.btn-salir-pill:hover
{
	transform: scale(1.03);
}

@media (max-width: 767px)
{
	.panel-datos
	{
		text-align: center;
	}
	.panel-datos table.table th,
	.panel-datos table.table td.fw-bold
	{
		text-align: center !important;
	}
	.panel-unificado
	{
		flex-direction: column;
	}
	.panel-unificado .col-datos > .row
	{
		flex-direction: column;
		align-items: center;
	}
	.panel-unificado .col-datos .contenedor
	{
		margin: 0 auto 16px;
	}
	.panel-unificado .col-estatus.alerta-tramite
	{
		border-left: none !important;
		border-top: 5px solid #C1D000 !important;
	}
	.panel-unificado .col-estatus.alerta-tramite.alert-success
	{
		border-top-color: #00A688 !important;
	}
	.panel-unificado .col-estatus.alerta-tramite.alert-warning
	{
		border-top-color: #FFC107 !important;
	}
	.panel-unificado .col-estatus.alerta-tramite.alert-danger
	{
		border-top-color: #E53935 !important;
	}
}

nav > div a.nav-item.nav-link
{
    animation: pulseTab 2s infinite;
}

@keyframes pulseTab
{
    0%
	{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(193, 208, 0, 0);
    }
    50%
	{
        transform: scale(1.05);
        box-shadow: 0 0 0 0 rgba(193, 208, 0, 0);
    }
    100%
	{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(193, 208, 0, 0);
    }
}
nav > .nav.nav-tabs
{
	border:none;
	color:#fff;
	border-radius:0;
	display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
	padding: 0 15px;
    box-sizing: border-box;
	margin-top: 10px;
}

nav > div a.nav-item.nav-link,
nav > div a.nav-item.nav-link.active
{
  	padding: 18px 25px;
  	color:#fff;
 	background: linear-gradient(180deg, #0b3c78, #082346);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
}
nav > div a.nav-item.nav-link.active
{
    animation: none !important;
    border-color: #fff;
}

nav > div a.nav-item.nav-link.active:after
{
  	content: "";
  	position: relative;
  	bottom: -60px;
  	border: 15px solid transparent;
  	border-top-color: #FFF;

}

.tab-content
{
	color: var(--azul);
	padding-left: 0;
	padding-right: 0;
	margin: 0;
}
.bordes_tab
{
	position: relative;
	padding-top: 20px;
	border-top: 3px solid #FFF;
  	border-bottom: 3px solid #FFF;
	margin: 10px;
	padding-left: 3%;
	border-bottom-left-radius: 20px;
  	border-bottom-right-radius: 20px;
	border-top-left-radius: 20px;
  	border-top-right-radius: 20px;
}

nav > div a.nav-item.nav-link:hover,
nav > div a.nav-item.nav-link:focus
{
  	border: solid;
  	border-color: #fff;
    background: #C1D000;
    color: #fff;
    transition: background 0.20s linear, border-color 0.20s linear;
	border-top-left-radius: 20px;
  	border-top-right-radius: 20px;
}

.btn-cerrar-tab
{
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.btn-cerrar-tab:hover,
.btn-cerrar-tab:focus
{
	background: #E53935;
	transform: scale(1.1);
}

@media (min-width: 992px)
{
	.modal-doctos-dialog
	{
		max-width: 1240px;
	}
}
.modal-content.modal-doctos
{
	background: linear-gradient(180deg, #0B3E7A 0%, #002856 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: 20px !important;
	color: #fff !important;
}
.modal-doctos .modal-body
{
	background: transparent !important;
	color: #fff !important;
}
.modal-doctos .modal-header
{
	background: rgba(0, 20, 45, 0.35);
	border-bottom: 3px solid #C1D000;
	border-radius: 20px 20px 0 0;
}
.modal-doctos .modal-title
{
	font-size: 16px;
	letter-spacing: 0.3px;
}
.modal-doctos .modal-footer
{
	background: rgba(0, 20, 45, 0.25);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0 0 20px 20px;
}

.tabla-doctos
{
	background: #F4F6FA !important;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(0, 10, 25, 0.3);
}
.tabla-doctos thead tr.bg-blue-dark,
.tabla-doctos thead tr.bg-secondary
{
	background: #153B78 !important;
}
.tabla-doctos thead tr.bg-blue-dark th
{
	color: #C1D000 !important;
	font-weight: 700;
	letter-spacing: 0.4px;
}
.tabla-doctos thead tr.bg-secondary th
{
	color: rgba(255, 255, 255, 0.9) !important;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.tabla-doctos tbody
{
	background: transparent !important;
}
.tabla-doctos tbody tr
{
	background: #ffffff !important;
	border-bottom: 1px solid #E4E9F2;
}
.tabla-doctos tbody tr:nth-child(even)
{
	background: #F8FAFD !important;
}
.tabla-doctos tbody tr:hover
{
	background: #EEF3FB !important;
}
.tabla-doctos tbody td,
.tabla-doctos tbody th
{
	background: transparent !important;
	color: #16305C !important;
	vertical-align: middle !important;
	padding: 18px 14px !important;
	font-size: 14px;
}
.tabla-doctos thead tr.bg-blue-dark th,
.tabla-doctos thead tr.bg-secondary th
{
	padding: 14px !important;
}
.modal-doctos .modal-body
{
	padding: 24px !important;
}

.btn-especificaciones
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(21, 59, 120, 0.06);
	border: 1px solid rgba(21, 59, 120, 0.35);
	color: #153B78 !important;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(21, 59, 120, 0.12);
	transition: all 0.2s ease;
}
.btn-especificaciones::after
{
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 11px;
	margin-left: 2px;
	transition: transform 0.2s ease;
}
.btn-especificaciones:hover,
.btn-especificaciones:focus
{
	background: #153B78;
	border-color: #153B78;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(21, 59, 120, 0.3);
	transform: translateY(-1px);
}
.btn-especificaciones:hover::after,
.btn-especificaciones:focus::after
{
	transform: translateX(2px);
}

.btn-cambiar-doc
{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #C1D000;
	border: 1px solid #C1D000;
	color: #16305C !important;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
}
.btn-cambiar-doc:hover,
.btn-cambiar-doc:focus
{
	background: #A8B400;
	border-color: #A8B400;
	color: #16305C !important;
	transform: translateY(-1px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.btn-doc-accion
{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-doc-ver
{
	background: rgba(21, 59, 120, 0.1);
	color: #153B78;
}
.btn-doc-ver:hover
{
	background: #153B78;
	color: #ffffff;
	transform: scale(1.08);
}
.btn-doc-subir
{
	background: rgba(0, 149, 126, 0.14);
	color: #00795F;
}
.btn-doc-subir:hover
{
	background: #00957E;
	color: #ffffff;
	transform: scale(1.08);
}

.status-badge
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 12.5px;
	white-space: nowrap;
}
.status-espera
{
	background: rgba(255, 193, 7, 0.16);
	color: #9A6D00;
}
.status-aceptado
{
	background: rgba(0, 149, 126, 0.14);
	color: #00795F;
}
.status-rechazado,
.status-falta
{
	background: rgba(229, 57, 53, 0.12);
	color: #C62828;
}

.tabla-doctos tbody td[data-label="RECHAZADO POR"],
.tabla-doctos tbody td[data-label="COMENTARIOS"]
{
	color: #5A6B85 !important;
	font-size: 13px;
}
.tabla-doctos tbody td[data-label="COMENTARIOS"] a
{
	color: #153B78;
	font-weight: 600;
}

@media (max-width: 767px)
{
	.tabla-doctos
	{
		background: transparent !important;
		box-shadow: none;
	}
	.tabla-doctos thead
	{
		display: none;
	}
	.tabla-doctos,
	.tabla-doctos tbody
	{
		display: block;
		width: 100%;
	}
	.tabla-doctos tbody tr
	{
		display: flex;
		flex-wrap: wrap;
		margin-bottom: 14px;
		padding: 14px;
		background: #ffffff !important;
		border-radius: 16px;
		box-shadow: 0 8px 20px rgba(0, 10, 25, 0.18);
	}
	.tabla-doctos tbody tr
	{
		min-width: 0;
	}
	.tabla-doctos tbody td,
	.tabla-doctos tbody th
	{
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 6px 2px !important;
		min-width: 0;
	}
	.tabla-doctos tbody td > *,
	.tabla-doctos tbody th > *
	{
		min-width: 0;
	}
	.tabla-doctos tbody td::before,
	.tabla-doctos tbody th::before
	{
		content: attr(data-label);
		color: #00957E;
		font-weight: 700;
		font-size: 10px;
		letter-spacing: 0.4px;
		text-transform: uppercase;
	}

	.tabla-doctos tbody td[data-label="DOCUMENTO"],
	.tabla-doctos tbody th[data-label="DOCUMENTO"]
	{
		flex: 1 1 100%;
		flex-wrap: wrap;
		flex-direction: column;
		align-items: flex-start;
		font-weight: 700;
		padding-bottom: 10px !important;
		border-bottom: 1px solid #E4E9F2;
		margin-bottom: 8px;
	}
	.tabla-doctos tbody td[data-label="DOCUMENTO"] > br,
	.tabla-doctos tbody th[data-label="DOCUMENTO"] > br
	{
		display: none;
	}
	.tabla-doctos tbody td[data-label="DOCUMENTO"]::before,
	.tabla-doctos tbody th[data-label="DOCUMENTO"]::before
	{
		display: none;
	}
	.tabla-doctos tbody td[data-label="STATUS"]::before,
	.tabla-doctos tbody td[data-label="COMENTARIOS"]::before,
	.tabla-doctos tbody td[data-label="SUBIR / VER"]::before
	{
		display: none;
	}

	.tabla-doctos tbody td[data-label="VER"],
	.tabla-doctos tbody td[data-label="SUBIR / ACTUALIZAR"]
	{
		flex: 1 1 calc(50% - 4px);
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 8px 6px !important;
		background: #F4F6FA;
		border-radius: 10px;
	}
	.tabla-doctos tbody td[data-label="VER"]
	{
		margin-right: 4px;
	}
	.tabla-doctos tbody td[data-label="SUBIR / ACTUALIZAR"]
	{
		margin-left: 4px;
	}
	.tabla-doctos tbody td[data-label="VER"]::before,
	.tabla-doctos tbody td[data-label="SUBIR / ACTUALIZAR"]::before
	{
		font-size: 9px;
	}

	.tabla-doctos tbody td[data-label="STATUS"],
	.tabla-doctos tbody td[data-label="RECHAZADO POR"],
	.tabla-doctos tbody td[data-label="COMENTARIOS"],
	.tabla-doctos tbody td[data-label="SUBIR / VER"]
	{
		flex: 1 1 100%;
		flex-wrap: wrap;
		row-gap: 8px;
		justify-content: center;
		text-align: center;
		border-top: 1px solid #E4E9F2;
		margin-top: 4px;
		padding-top: 10px !important;
	}

	.tabla-doctos tbody td[data-label="STATUS"] .btn-cambiar-doc
	{
		flex: 1 1 100%;
		justify-content: center;
		text-align: center;
		margin-top: 0;
	}

	.tabla-doctos tbody td[data-label="RECHAZADO POR"]:empty,
	.tabla-doctos tbody td[data-label="COMENTARIOS"]:empty
	{
		display: none;
	}

	.tabla-doctos tbody tr.fila-aprobada td[data-label="VER"]
	{
		flex: 1 1 calc(50% - 4px);
		margin-right: 4px;
	}
	.tabla-doctos tbody tr.fila-aprobada td[data-label="STATUS"]
	{
		flex: 1 1 calc(50% - 4px);
		margin-left: 4px;
		justify-content: center;
		border-top: none;
		margin-top: 0;
		padding: 8px 10px !important;
		background: #F4F6FA;
		border-radius: 10px;
	}
	.tabla-doctos tbody tr.fila-aprobada td[data-label="STATUS"] .status-badge
	{
		background: transparent;
		padding: 0;
	}
}
/* ===== Tabla de directores (dentro de #tbl_info_dir / .info-dir) ===== */
.tabla-directores
{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background: rgba(0, 20, 45, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-bottom: 3px solid #C1D000;
	border-radius: 16px;
	overflow: hidden;
	margin: 16px 0;
	font-size: 15px;
	box-shadow: 0 12px 28px rgba(0, 10, 25, 0.35);
}
.tabla-directores thead tr
{
	background: rgba(0, 10, 25, 0.55);
}
.tabla-directores thead th
{
	color: #C1D000;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 14px 16px;
}
.tabla-directores tbody td
{
	color: #ffffff;
	padding: 16px;
	vertical-align: middle;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	line-height: 1.6;
}
.tabla-directores tbody tr:hover td
{
	background: rgba(255, 255, 255, 0.06);
}
.tabla-directores tbody td a,
.tabla-directores tbody td[href]
{
	color: #C1D000;
}

/* ----- Celular: cada columna se apila con su propia etiqueta ----- */
@media (max-width: 640px)
{
	.tabla-directores,
	.tabla-directores thead,
	.tabla-directores tbody,
	.tabla-directores tr,
	.tabla-directores th,
	.tabla-directores td
	{
		display: block;
		width: 100%;
	}
	.tabla-directores thead
	{
		display: none;
	}
	.tabla-directores tbody tr
	{
		margin-bottom: 14px;
		border-radius: 14px;
		overflow: hidden;
	}
	.tabla-directores tbody tr:last-child
	{
		margin-bottom: 0;
	}
	.tabla-directores tbody td
	{
		text-align: left !important;
		padding: 10px 16px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	.tabla-directores tbody td:first-child
	{
		border-top: none;
	}
	.tabla-directores tbody td::before
	{
		content: "Dirección de División";
		display: block;
		color: #C1D000;
		font-weight: 700;
		font-size: 11px;
		letter-spacing: 0.4px;
		text-transform: uppercase;
		margin-bottom: 4px;
	}
	.tabla-directores tbody td:nth-of-type(2)::before
	{
		content: "Datos de contacto";
	}
}