@charset "utf-8";
/* CSS Document */

.simple-table {
	border-collapse: collapse;
	width: 100%;
}
.simple-table-header {
	background-color: #aaa;
	font-weight: bold;
}
.simple-table tr {
	background-color: #fff;
}
.simple-table td {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	padding: 10px;
}
.simple-table tr:last-child {border-bottom: 1px solid #ccc;}
.simple-table td:last-child {border-right: 1px solid #ccc;}

/*-----------------------------------------------------------------------*/
/*  Freeze 1st column on mobile
/*-----------------------------------------------------------------------*/

.custom-table-container {
	width: 100%;
	overflow-x: auto;
}

.custom-table {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	min-width: 1250px; /* Ensures proper display on large screens */
}

.custom-row {
	display: contents;
}

.custom-cell {
	padding: 10px;
	border: 1px solid #ddd;
	background: #f9f9f9;
}

.valign-center-left {
	display: flex;               /* Enables flexible alignment */
	align-items: center;         /* Centers content vertically */
	justify-content: flex-start; /* Aligns content to the left */
	text-align: left;            /* Ensures text remains left-aligned */
	word-break: break-word;      /* Prevents long text from overflowing */
}

.valign-center-center {
	display: flex;           /* Added for vertical centering */
	align-items: center;     /* Centers content vertically */
	justify-content: center; /* Ensures horizontal centering */
	text-align: center;
}

.custom-header {
	font-weight: bold;
	background: #ccc;
	text-align: center;
}

.custom-sticky {
	position: sticky;
	left: 0;
	background: #efefef;
	z-index: 2;
	font-weight: 600;
}

.custom-sticky-header {background: #ccc;}

/* Responsive Design */
@media (max-width: 768px) {
	.simple-table td {
		padding: 10px 5px;
	}
	.custom-table {
		grid-template-columns: repeat(5, 160px);
		min-width: 1250px;
	}
	.custom-sticky {
		min-width: 160px;
		max-width: 160px;
	}
}