@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* General */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}


body,
html {
	height: 100%;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


.menu,
.separador,
.title1,
.content,
.abajo {
	width: 100%;
}

.menu,
.separador,
.content,
.abajo {
	background-color: #ffffff;
	padding: 10px;
}

.menu {
	height: 10%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.separador {
	height: 1%;
}

.logo img {
	max-height: 80px;
}

.logo {
	position: absolute;
	left: 20px;
	/* Ajusta la distancia del borde derecho */
	top: 50%;
	/* Centra verticalmente */
	transform: translateY(-50%);
	/* Ajuste para centrar verticalmente */
}

/* Scroll horizontal para tablas */
.tabla-scroll {
	width: 100%;
	overflow-x: auto;
}



.title1 {
	height: 15%;
	background-color: #23a4cc;
	position: relative;
	/* Necesario para position: absolute */
	text-align: center;
	color: white;
}

.title-content {
	text-align: center;
	/* Centra el texto dentro de este contenedor */
	flex-grow: 1;
	/* Asegura que ocupa el espacio disponible */
}

h2 {
	color: #000;
	font-size: 1.5rem;
	margin: 10px 0;
	text-align: center;
}

/* Botón */
.form-btn {
	padding: 0.5em 1em;
	font-size: 1rem;
	text-align: center;
	color: #fff;
	cursor: pointer;
	border: 1px solid #0d3d6a;
	background: linear-gradient(to bottom, #23a4cc, #0d3d6a);
	border-radius: 5px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.7);
	transition: background 0.3s;
}

.form-btn:active {
	background: linear-gradient(to bottom, #0d3d6a, #23a4cc);
	box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.7), 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Select */
select {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1rem;

	max-width: 600px;
	margin: 0 auto;
	padding: 0.5em;
}

form .input-responsable {
	width: 300px;
	height: 40px;
	padding: 5px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

/* Group Containers */
.group,
.group1,
.groupusr {
	border: 1px solid #036;
	padding: 20px;
	border-radius: 8px;
	background: linear-gradient(to bottom, #ffffff 0%, #f0f0f0 100%);
	margin: 20px auto;
	max-width: 90%;
}

.group {
	max-width: 1100px;

}


.group1 {
	max-width: 600px;
}

.groupusr {
	max-width: 400px;
}

/* Tablas */
/* Tablas */
table,
.table1,
.table2 {
	width: 90%;
	margin: auto;
	border-collapse: collapse;
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	text-align: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
	/* Para aplicar bordes redondeados a la tabla completa */
}

table thead th,
.table1 thead th,
.table2 thead th {
	background-color: #23a4cc;
	color: white;
	padding: 10px;
	font-weight: bold;
	text-transform: uppercase;
}

table tbody td,
.table1 tbody td,
.table2 tbody td {
	padding: 8px 10px;
	border-bottom: 1px solid #ddd;
}

table tbody tr:nth-child(even) {
	background-color: #f9f9f9;
}

table tbody tr:hover {
	background-color: #e6f7ff;
	/* Efecto de hover */
}

table th,
table td {
	text-align: left;
	/* Ajustar según tus necesidades */
}

.table1,
.table2 {
	width: 80%;
	/* Ajusta el ancho según sea necesario */
}

.td1,
.td2 {
	border: 1px solid #ccc;
	padding: 10px;
	border-radius: 4px;
	/* Bordes redondeados */
}

.th1,
.th2 {
	font-weight: bold;
	text-transform: uppercase;
	padding: 10px;
	background-color: #0d3d6a;
	color: #fff;
}

/* Espaciado más compacto */
table td,
table th {
	padding: 8px 12px;
	line-height: 1.4;
}

/* Responsive Design para tablas */


/* Responsive Design */
@media (max-width: 768px) {

	.menu,
	.separador,
	.title1,
	.content,
	.abajo {
		padding: 5px;
	}

	h2 {
		font-size: 1.2rem;
	}

	.form-btn {
		font-size: 0.9rem;
		padding: 0.4em 0.8em;
	}

	.group,
	.group1,
	.groupusr {
		padding: 15px;
	}

	table,
	.table1,
	.table2 {
		width: 100%;
		font-size: 14px;
	}

	.table-container {

		width: 100%;
	}

	table {
		display: block;
		width: 100%;
	}

	table td,
	table th {
		padding: 6px 8px;
	}


	.group,
	.group1,
	.groupusr {
		padding: 8px;
		max-width: 100%;
	}

	.group {
		max-height: 80vh;
		/* Ajusta el alto máximo según tu preferencia */
		overflow-x: auto;
		/* Habilita el scroll vertical */
	}

	.tabla-scroll table {
		min-width: 480px;
		font-size: 13px;
	}

	select,
	.input-responsable {

		font-size: 14px;
	}

	.form-btn {
		width: 100%;
		font-size: 1rem;
	}

	.group,
	.group1,
	.groupusr {
		margin: 10px 0;
	}

	h2 {
		font-size: 1.1rem;
	}

	.tabla-scroll select {
		width: 65px;
	}

	.logo {
        margin-left: 100;
        padding-right: 5px;
        height: 32px;
    }
    .logo img {
        max-height: 32px;
    }

}



@media (max-width: 480px) {

	.tabla-scroll table,
	.tabla-scroll tr,
	.tabla-scroll th,
	.tabla-scroll td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}

	.tabla-scroll tr {
		margin-bottom: 10px;
		border-bottom: 2px solid #eee;
	}

	.tabla-scroll th,
	.tabla-scroll td {
		text-align: left !important;
		padding: 8px 6px;
	}

	.tabla-scroll td select {


		font-size: 15px;
	}

	/* Opcional: para que el label (pregunta) se vea arriba del select */
	.tabla-scroll td:first-child {
		font-weight: bold;
		background: #f9f9f9;
	}
}