/* Alkayan Tables – front end. --akt-head / --akt-accent come from the Houzez colours. */
.akt-wrap {
	--akt-border: #e3e6ea;
	--akt-stripe: #f7f8fa;
	--akt-hover: #eef3f5;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 1.5em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--akt-border);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(16, 24, 40, .06);
	background: #fff;
}

.akt-wrap > table.akt-table {
	width: 100% !important;
	height: auto !important;
	min-width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: auto;
	font-size: 15px;
	line-height: 1.7;
	color: #2b2f33;
	background: transparent;
}

.akt-table th,
.akt-table td {
	padding: 12px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--akt-border) !important;
	text-align: start;
	vertical-align: middle;
	height: auto !important;
	width: auto;
	min-width: 110px;
	word-break: normal;
	overflow-wrap: anywhere;
	background: transparent;
}

.akt-table td + td,
.akt-table th + th,
.akt-table td + th,
.akt-table th + td {
	border-inline-start: 1px solid var(--akt-border) !important;
}

.akt-table thead th,
.akt-table thead td {
	background: var(--akt-head, #1f2d3a);
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
	border-bottom: 3px solid var(--akt-accent, #bf1e2e) !important;
}

.akt-table thead th + th {
	border-inline-start-color: rgba(255, 255, 255, .18) !important;
}

/* Header rows can still wrap when the table has many columns. */
.akt-table thead th:only-child,
.akt-table thead th[colspan] {
	white-space: normal;
}

.akt-table tbody tr:nth-child(even) td,
.akt-table tbody tr:nth-child(even) th {
	background: var(--akt-stripe);
}

.akt-table tbody tr:hover td,
.akt-table tbody tr:hover th {
	background: var(--akt-hover);
}

.akt-table tbody tr:last-child td,
.akt-table tbody tr:last-child th {
	border-bottom: 0 !important;
}

/* Header cells inside the body (row labels). */
.akt-table tbody th {
	font-weight: 700;
	color: #1f2d3a;
}

/* First column reads as the row label. */
.akt-table tbody td:first-child {
	font-weight: 600;
	color: #1f2d3a;
}

.akt-table p {
	margin: 0 0 .5em;
}

.akt-table p:last-child {
	margin-bottom: 0;
}

.akt-table caption {
	caption-side: top;
	padding: 12px 16px;
	font-weight: 700;
	text-align: start;
}

.akt-table img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.akt-wrap {
		border-radius: 8px;
		margin: 1.2em 0;
	}

	.akt-wrap > table.akt-table {
		font-size: 14px;
		line-height: 1.6;
	}

	.akt-table th,
	.akt-table td {
		padding: 10px 12px !important;
		min-width: 120px;
	}

	.akt-table thead th {
		white-space: normal;
	}
}

@media print {
	.akt-wrap {
		overflow: visible;
		box-shadow: none;
	}
}
