@charset "utf-8";
/* CSS Document */

/*ESTILOS GENERALES*/
input[type="radio"] {
	width:24px !important;
	height:24px !important;
}
input[type="checkbox"] {
	width:30px;
	height:30px;
}
input[type="file"] {
	display:none;
}
textarea {
	resize:none !important;
}


/*DIV DE RECORDAR CONTRASEÑA PARA EL index.php*/
.recordar {
	width:800px;
	float:left;
	/*margin-top:20px;
	margin-left:100px;
	margin-bottom:30px;*/
}
.textorecordar
{
	color: #7777777;
	/*font-size: 12px;*/
	width: 100px;
	float:left;
	margin-top: 3px;
}
.recordar input[type="checkbox"] {
	float:left;
	width:25px;
	height:25px;
	margin-right:10px;
}

/*ENCABEZADO*/
.encabezado
{
	width:100%;
	float:left;
	margin-bottom:20px;
}

/*LOGO DEL ENCABEZADO*/
.logo {
	display:block;
	margin-right: auto;
	margin-left: auto;
	float:none;
}


/***ESTILOS GENERADOS POR CHATGPT***/
/*ESTILO PARA LAS VARIABLES*/
:root {
	--principal-rojo: #e15100;
    --principal-verde: #009381;
    --verde-fondo: rgba(0,147,129,0.09);
    --gris-fila: #f6f6f7;
    --azul-boton: #2361d4;
    --azul-boton-hover: #16459c;
}

body {
	background: #fff;
    /*font-family: 'Segoe UI', Arial, sans-serif !important;*/
	font-family:Arial, Helvetica, sans-serif !important;
    /*margin: 0;*/
    padding: 0;
}

.container {
	margin: 0 auto;
    padding: 12px 0 30px 0;
    width: 100%;
    max-width: 1000px;
}

.logo {
	display: block;
    margin: 14px auto 6px auto;
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 18px;
    background: #fff;
}

/*ESTILOS PARA EL BOTÓN UPLOAD*/
.upload-btn {
	display: block;
    margin: 0 auto 24px auto;
    background: var(--azul-boton);
    color: #fff;
    border: none;
    padding: 15px 38px;
    font-size: 1.08em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: .5px;
    transition: background 0.18s, filter 0.12s;
	width:fit-content;
}
.upload-btn:hover {
	background: var(--azul-boton-hover);
}

/*PARA DAR FORMATO A LAS TABLAS*/
.table-wrap {
	background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(40,60,90,0.07);
    overflow-x: auto;
    padding: 15px;
    margin-bottom: 20px;
}
table {
	border-collapse: collapse;
    width: 100%;
    min-width: 750px;
    max-width: 1000px;
    margin: 0 auto;
}
tr[style*="pointer"] td {
	transition: background 0.15s;
}
tr[style*="pointer"]:hover td {
	background: #e6f4f1;
}
th, td {
	padding: 13px 8px;
    text-align: left;
}
th {
	background: var(--verde-fondo);
    color: var(--principal-rojo);
    font-size: 1em;
    font-weight: 700;
    border-bottom: 2px solid var(--principal-verde);
}
tr:nth-child(even) td {
	background: var(--gris-fila);
}
tr:nth-child(odd) td {
    background: #fff;
}
input.filter-input {
	width: 93%;
    border: 1px solid #e3ecea;
    border-radius: 5px;
    padding: 6px 8px;
    font-size: 1em;
    background: #fff;
    margin-bottom: 2px;
    color: #333;
    outline-color: var(--principal-rojo);
    transition: box-shadow 0.2s;
}
input.filter-input:focus {
	box-shadow: 0 0 0 2px rgba(225,81,0,0.11);
}


/*ESTLOS PARA LA PAGINACIÓN*/
.pagination {
	display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 1em;
	color:#000;
}
.pagination button, .pagination input[type="number"] {
	border: none;
    background: var(--verde-fondo);
    color: var(--principal-verde);
    padding: 8px 14px;
    margin: 0 3px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background 0.18s;
}
.pagination button:disabled {
	opacity: 0.45;
    cursor: default;
    color: #aaa;
}
.pagination input[type="number"] {
	width: 56px;
    text-align: center;
    border: 1px solid #bde5e0;
    background: #fff;
    color: #444;
}


/*PARA LOS QUE TIENEN RESOLUCIÓN DE 1100px*/
@media (max-width: 1100px) {
	.container, table {
		max-width: 98vw;
    }
    .table-wrap {
		padding: 5px;
    }
}

/*PARA LOS QUE TIENEN RESOLUCIÓN DE 800px*/
@media (max-width: 800px) {
        .container {
            max-width: 100vw;
        }
        .logo {
            width: 120px;
            height: 120px;
            margin-top: 10px;
        }
        .table-wrap {
            border-radius: 0;
            box-shadow: none;
            margin-bottom: 13px;
        }
        table {
            min-width: 540px;
            font-size: 0.99em;
        }
}

/*PARA LOS QUE TIENEN RESOLUCIÓN DE 560px*/
    @media (max-width: 560px) {
        .container {
            padding: 0;
        }
        .logo {
            width: 90px;
            height: 90px;
            margin-top: 3px;
        }
        .table-wrap {
            padding: 0 2px;
        }
        table {
            min-width: 370px;
            font-size: 0.96em;
        }
}


/**ESTILOS PARA LA SWEET ALERT**/
/*FORMATO TEXTO SWEET ALERT*/
.texto_sweet_alert {
	font-size:60px;
	font-family:Arial, Helvetica, sans-serif;
	line-height:30px !important;
	margin-bottom:10px !important;
}
.swal_contenido {
	font-size:30px;
	float:left;
	margin-bottom:20px;
	width:100%;
}
.swal_inputs {
    border: 1px solid #e3ecea;
    border-radius: 5px;
    padding: 6px 8px;
    background: #fff;
    margin-bottom: 2px;
    color: #333;
    outline-color: var(--principal-rojo);
    transition: box-shadow 0.2s;
	margin-left:auto;
	margin-right:auto;
	font-size:30px;
	
	/*ESTILOS POR DEFECTO*/
	width:80%;
}
/*BOTONES ACEPTAR Y CANCELAR*/
.swal_boton_aceptar, .swal_boton_cancelar {
	float:left;
	width:30%;
	font-size:25px;
	font-weight:700;
	text-align:center;
	border-radius:3px;
	color:#FFF;
	border:none;
	margin-left:12%;
	line-height:45px;
	display:block;
	cursor:pointer;
	margin-top:20px;
}
/*BOTON DE ACEPTAR*/
.swal_boton_aceptar {
	background:#2b78c1;
}
/*BOTON DE CANCELAR*/
.swal_boton_cancelar {
	background:#C3C3C3;
}


/*PARA CENTRAR EL ELEMENTO*/
.centrar {
	margin-left:auto;
	margin-right:auto;
	float:none;
}


/*ESTILOS PARA EL H2*/
.titular_2 {
	color: #1976d2;
	font-size:1.4em;
	text-align:center;
}

/*ESTILO DE LOS INPUTS*/
.inputs {
    border: 1px solid #e3ecea;
    border-radius: 5px;
    padding: 6px 8px;
    background: #fff;
    margin-bottom: 2px;
    color: #333;
    outline-color: var(--principal-rojo);
    transition: box-shadow 0.2s;
	margin-left:auto;
	margin-right:auto;
	font-size:25px;
	
	/*ESTILOS POR DEFECTO*/
	width:80%;
}

/*BOTONES ACEPTAR Y CANCELAR*/
.boton_aceptar, .boton_cancelar {
	width:80%;
	font-size:20px;
	font-weight:700;
	text-align:center;
	border-radius:3px;
	color:#FFF;
	border:none;
	margin-left:auto;
	margin-right:auto;
	line-height:45px;
	display:block;
	cursor:pointer;
	margin-top:10px;
}
/*BOTON DE ACEPTAR*/
.boton_aceptar {
	background:#2b78c1;
}
/*BOTON DE CANCELAR*/
.boton_cancelar {
	background:#C3C3C3;
}


/*ESTILOS PARA EL VISOR DE PDF*/
.visorModal {
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	background:rgba(30,60,90,0.40);
	z-index:9999;
	align-items:center;
	justify-content:center;
}
.contenido_visorModal {
	background:#fff;
	border-radius:11px;
	width:86vw;
	height:90vh;
	box-shadow:0 6px 28px #0004;
	display:flex;
	flex-direction:column;
}
.boton_cerrar_visorModal {
	align-self:flex-end;
	margin:9px 15px 0 0;
	background:var(--azul-boton);
	color:#fff;
	border:none;
	border-radius:7px;
	padding:7px 20px;
	font-size:1.1em;
	cursor:pointer;
	margin-bottom:10px;
}
#visorIframe {
	width:100%;
	flex:1;
	border:none;
	border-radius:0 0 9px 9px;
}

/*LAS ETIQUETAS QUE SE PONEN ENCIMA DE LOS INPUTS Y EN OTROS SITIOS*/
.etiquetas {
	font-size:30px;
}

.etiquetas_pequeña {
	font-size:28px;
}

input {
	font-size:25px;
}


/*ESTILOS PARA EL CHECK-IOS*/
/* Ocultar checkbox nativo */
input[type="checkbox"].ios-toggle {
  display: none;
}

/* Base del switch */
input[type="checkbox"].ios-toggle + label {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  background: #ccc;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s;
  padding:0px;
 }

/* La bolita */
input[type="checkbox"].ios-toggle + label::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Cuando está activado */
input[type="checkbox"].ios-toggle:checked + label {
  background: #4cd964; /* verde estilo iOS */
}

input[type="checkbox"].ios-toggle:checked + label::after {
  transform: translateX(22px);
}

/*BOTÓN CIRCULAR X*/
.boton_eli_x {
	background:red;
	width:35px !important;
	border-radius:25px !important;
	border:none;
	color:white !important;
	font-weight:bold;
	height:35px !important;
	line-height:35px;
	margin-left:auto;
	margin-right:auto;
	text-align:center !important;
	padding:0px !important;
	cursor:pointer;
}

/*PARA EL DIV QUE SE HARA EL SCROLL*/
.div_scroll {
	width:98%;
	overflow:auto;
	max-height:790px;
	margin-left:auto;
	margin-right:auto;
}

/*ICONO LUPA*/
.icono_lupa {
	width:45px;
	position:absolute;
	right:40px;
	cursor:pointer;
}

@media (max-width: 700px) {
	
	/*PARA LOS MOVILES HACER LA ALTURA DE LOS INPUTS (EN EL CASO DE SELECTS)*/
	.inputs {
		height:40px !important;
		padding:2px;
		font-size:20px;
	}
	
	/*LAS ETIQUETAS QUE SE PONEN ENCIMA DE LOS INPUTS Y EN OTROS SITIOS*/
	.etiquetas {
		font-size:21px;
	}
	
	.etiquetas_pequeña {
		font-size:19px;
	}
	
	/*BOTONES ACEPTAR Y CANCELAR*/
	.boton_aceptar, .boton_cancelar, .swal_boton_aceptar, .swal_boton_cancelar {
		font-size:13px;
	}
	
	/*PARA EL DIV QUE SE HARA EL SCROLL*/
	.div_scroll {
		max-height:520px;
	}
	
	.contenido_visorModal {
	height:80vh;
	}
	
	/*FORMATO TEXTO SWEET ALERT*/
	.texto_sweet_alert {
		font-size:25px !important;
	}
	
	/*ICONO LUPA*/
	.icono_lupa {
		width:40px;
		right:15px;
	}
}