/* GPE - SGE Asistencia: estilos del panel del tutor. */

.gpe-sge-wrap {
	max-width: 100%;
	margin: 24px 0;
	font-family: inherit;
	color: #2b2b2b;
}

.gpe-sge-title {
	margin: 0 0 12px;
	font-size: 1.25rem;
}

.gpe-sge-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.gpe-sge-table {
	border-collapse: collapse;
	width: 100%;
	min-width: 640px;
	background: #fff;
	font-size: 14px;
}

.gpe-sge-table th,
.gpe-sge-table td {
	border: 1px solid #e0e0e0;
	padding: 6px 8px;
	text-align: center;
	vertical-align: middle;
}

.gpe-sge-table thead th {
	background: #f6f7f7;
	font-size: 12px;
	font-weight: 700;
	color: #50575e;
	white-space: nowrap;
	position: sticky;
	top: 0;
	z-index: 1;
}

.gpe-sge-th-alumno {
	text-align: left !important;
	position: sticky;
	left: 0;
	z-index: 2;
	background: #fff;
	min-width: 190px;
	white-space: nowrap;
}

.gpe-sge-table thead .gpe-sge-th-alumno {
	z-index: 3;
	background: #f6f7f7;
}

.gpe-sge-th-alumno span {
	display: block;
	font-weight: 600;
}

.gpe-sge-th-alumno small {
	display: block;
	font-weight: 400;
	color: #757575;
	font-size: 11px;
}

.gpe-sge-celda {
	padding: 0 !important;
}

.gpe-sge-celda span {
	display: block;
	line-height: 32px;
	font-weight: 700;
	font-size: 13px;
}

.gpe-sge-celda.gpe-sge-sin-datos {
	background: #fafafa;
}

.gpe-sge-leyenda {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 10px 0 0;
	font-size: 12px;
	color: #555;
}

.gpe-sge-leyenda-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.gpe-sge-leyenda-item b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 4px;
	border-radius: 3px;
	font-size: 11px;
}

.gpe-sge-msg {
	margin: 16px 0;
	padding: 12px 16px;
	border-left: 4px solid #2271b1;
	background: #f0f6fc;
	border-radius: 3px;
}

.gpe-sge-msg-info {
	border-color: #2271b1;
	background: #f0f6fc;
}

.gpe-sge-msg-error {
	border-color: #b32d2e;
	background: #fcf0f1;
}

.gpe-sge-bloque-panel {
	margin-top: 24px;
}

/* Estados: mismas clases que en admin.css (el front puede cargarse solo). */
.sge-presente { background: #d7f0d8; color: #145c20; }
.sge-otras-faltas { background: #fff0c2; color: #7a5b00; }
.sge-ausente { background: #ffd7d4; color: #9b1c1c; }
.sge-justificado { background: #d9e8fb; color: #124a86; }
.sge-sin-registro { background: #f0f0f1; color: #5c5c5c; }
