/**
 * Advanced Table — Style 4: Soft Cards
 *
 * A modern SaaS look: a rounded, shadowed container, generous spacing, a pale
 * header and pill-soft striping. Feels light and premium on landing pages.
 *
 * @package captain-widgets-kit
 * @since   1.4.0
 */

.captwiki-table.captwiki-style-4 .captwiki-table__scroll {
	background: #ffffff;
	border: 1px solid var( --captwiki-table-border );
	border-radius: 18px;
	box-shadow: 0 18px 40px -24px rgba( 17, 24, 39, 0.35 );
	overflow: hidden;
}

.captwiki-table.captwiki-style-4 .captwiki-table__th,
.captwiki-table.captwiki-style-4 .captwiki-table__cell {
	padding: 18px 22px;
}

.captwiki-table.captwiki-style-4 .captwiki-table__thead .captwiki-table__th {
	color: #374151;
	background: #f6f7fb;
	border-bottom: 1px solid var( --captwiki-table-border );
}

.captwiki-table.captwiki-style-4.captwiki-table--stripe .captwiki-table__tbody .captwiki-table__row:nth-child( even ) {
	background-color: #fafbfd;
}

.captwiki-table.captwiki-style-4 .captwiki-table__tbody .captwiki-table__row + .captwiki-table__row .captwiki-table__cell {
	border-top: 1px solid #f0f1f6;
}

.captwiki-table.captwiki-style-4 .captwiki-table__cell.is-highlight,
.captwiki-table.captwiki-style-4 .captwiki-table__th.is-highlight {
	background: rgba( 99, 102, 241, 0.06 );
}

.captwiki-table.captwiki-style-4 .captwiki-table__thead .captwiki-table__th.is-highlight {
	background: rgba( 99, 102, 241, 0.12 );
	color: var( --captwiki-table-accent );
}
