/* table-2 — table-dark (Notion .responsive-table-dark / .table-dark)
 * No outer frame. Body rows same color. Accent only under header. */

.builder-table {
	overflow-x: auto;
	margin: 1em 0;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
}

.builder-table__table {
	border-collapse: collapse;
	border-spacing: 0;
	font-family: Arial, sans-serif;
	background: var(--builder-table-body-bg, linear-gradient(to right, #1a1a2e, #16213e));
	color: var(--builder-table-body-color, #fff);
	border: 0 !important;
	outline: 0 !important;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	min-width: 600px;
	width: 100%;
}

.builder-table__table thead tr {
	background: var(--builder-table-header-bg, #0f3460);
	text-align: left;
}

.builder-table__table th {
	padding: 12px;
	color: var(--builder-table-header-color, #fff);
	background: transparent;
	border: 0 !important;
	border-bottom: 2px solid var(--builder-table-border-color, #f39c12) !important;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
	text-align: left;
	vertical-align: middle;
}

.builder-table__table td {
	padding: 10px;
	font-size: 14px;
	color: var(--builder-table-body-color, #fff);
	background: transparent !important;
	border: 0 !important;
	text-align: left;
	vertical-align: middle;
}

.builder-table__table tbody tr {
	background: transparent !important;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.builder-table__table tbody tr:last-child {
	border-bottom: 0;
}

.builder-table__table tbody tr:nth-child(even),
.builder-table__table tbody tr:hover {
	background: transparent !important;
}

.builder-table__table td span {
	display: inline;
}

.builder-table__toggle {
	display: none;
}

/* Override .text_container table grid / zebra / outer frame */
.site-theme .text_container .builder-table,
.site-theme .text_container .builder-table .builder-table__table {
	border: 0 !important;
	outline: 0 !important;
}

.site-theme .text_container .builder-table .builder-table__table {
	background: var(--builder-table-body-bg, linear-gradient(to right, #1a1a2e, #16213e)) !important;
	color: var(--builder-table-body-color, #fff) !important;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.site-theme .text_container .builder-table .builder-table__table thead tr {
	background: var(--builder-table-header-bg, #0f3460) !important;
}

.site-theme .text_container .builder-table .builder-table__table th,
.site-theme .text_container .builder-table .builder-table__table td {
	border-left: 0 !important;
	border-right: 0 !important;
	border-top: 0 !important;
	box-shadow: none !important;
}

.site-theme .text_container .builder-table .builder-table__table th {
	background: transparent !important;
	color: var(--builder-table-header-color, #fff) !important;
	border-bottom: 2px solid var(--builder-table-border-color, #f39c12) !important;
}

.site-theme .text_container .builder-table .builder-table__table td {
	background: transparent !important;
	color: var(--builder-table-body-color, #fff) !important;
	border-bottom: 0 !important;
}

.site-theme .text_container .builder-table .builder-table__table tbody tr,
.site-theme .text_container .builder-table .builder-table__table tbody tr:nth-child(odd),
.site-theme .text_container .builder-table .builder-table__table tbody tr:nth-child(even),
.site-theme .text_container .builder-table .builder-table__table tbody tr:hover {
	background: transparent !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.site-theme .text_container .builder-table .builder-table__table tbody tr:last-child {
	border-bottom: 0 !important;
}

.site-theme .text_container .builder-table .builder-table__table tbody tr td,
.site-theme .text_container .builder-table .builder-table__table tbody tr:nth-child(odd) td,
.site-theme .text_container .builder-table .builder-table__table tbody tr:nth-child(even) td {
	background: transparent !important;
}
