.kxt-sms {
	--kxt-blue-900: #123b55;
	--kxt-blue-800: #173f59;
	--kxt-blue-700: #1f526f;
	--kxt-blue-100: #eaf1f5;
	--kxt-blue-050: #f4f7f9;
	--kxt-ink: #17212b;
	--kxt-muted: #607080;
	--kxt-line: #d7e0e6;
	--kxt-white: #ffffff;
	--kxt-font: Arial, "Helvetica Neue", Helvetica, sans-serif;

	width: 100%;
	margin: 0;
	padding: 54px 0 24px;
	color: var(--kxt-ink);
	font-family: var(--kxt-font) !important;
	font-size: 15px;
	line-height: 1.5;
	scroll-margin-top: 120px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.kxt-sms,
.kxt-sms *,
.kxt-sms *::before,
.kxt-sms *::after {
	box-sizing: border-box;
}

/* Keep the selector independent from Elementor and theme typography. */
.kxt-sms :where(h2, p, label, input, select, button, table, th, td, a, output, strong, span, abbr) {
	font-family: var(--kxt-font) !important;
}

.kxt-sms__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--kxt-line);
}

.kxt-sms__heading {
	min-width: 0;
}

.kxt-sms__eyebrow {
	margin: 0 0 7px;
	color: var(--kxt-blue-700);
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.kxt-sms h2 {
	margin: 0;
	color: var(--kxt-ink);
	font-size: clamp(26px, 2.1vw, 30px) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: -.02em;
}

.kxt-sms__description {
	max-width: 780px;
	margin: 12px 0 0;
	color: var(--kxt-muted);
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.6 !important;
}

.kxt-sms__total {
	flex: 0 0 auto;
	min-width: 120px;
	padding-left: 24px;
	text-align: right;
	border-left: 1px solid var(--kxt-line);
}

.kxt-sms__total strong {
	display: block;
	color: var(--kxt-blue-900);
	font-size: 38px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: -.025em;
	font-variant-numeric: tabular-nums lining-nums;
}

.kxt-sms__total span {
	display: block;
	margin-top: 7px;
	color: var(--kxt-muted);
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-transform: uppercase;
	letter-spacing: .055em;
}

.kxt-sms__filters {
	margin: 24px 0 0;
	padding: 18px;
	background: var(--kxt-blue-050);
	border: 1px solid var(--kxt-line);
}

.kxt-sms__fieldset {
	display: grid;
	grid-template-columns: minmax(250px, 1.65fr) repeat(4, minmax(145px, 1fr));
	gap: 12px;
	align-items: end;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.kxt-sms__sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.kxt-sms__field {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
}

.kxt-sms__field > label {
	color: #536575;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .045em;
	text-transform: uppercase;
}

.kxt-sms input[type="search"],
.kxt-sms select,
.kxt-sms__reset {
	width: 100%;
	height: 48px;
	margin: 0;
	border: 1px solid #bdcbd4;
	border-radius: 0;
	background: var(--kxt-white);
	color: var(--kxt-ink);
	font-family: var(--kxt-font) !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	box-shadow: none;
}

.kxt-sms input[type="search"] {
	padding: 0 14px;
}

.kxt-sms select {
	padding: 0 38px 0 13px;
	cursor: pointer;
}

.kxt-sms input[type="search"]:focus,
.kxt-sms select:focus,
.kxt-sms__reset:focus-visible,
.kxt-sms__action-column a:focus-visible,
.kxt-sms__pagination button:focus-visible {
	outline: 2px solid rgba(31, 82, 111, .28);
	outline-offset: 2px;
	border-color: var(--kxt-blue-700);
}

.kxt-sms__reset {
	width: auto;
	min-width: 126px;
	padding: 0 16px;
	color: var(--kxt-blue-900);
	font-size: 11.5px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: .025em;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.kxt-sms__reset:hover {
	background: var(--kxt-blue-900);
	border-color: var(--kxt-blue-900);
	color: var(--kxt-white);
}

.kxt-sms__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 52px;
	padding: 0 2px;
}

.kxt-sms__toolbar p {
	margin: 0;
	color: var(--kxt-muted);
	font-size: 13px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
}

.kxt-sms__toolbar strong,
.kxt-sms__toolbar output {
	color: var(--kxt-blue-900);
	font-weight: 700 !important;
	font-variant-numeric: tabular-nums lining-nums;
}

.kxt-sms__table-wrap {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--kxt-line);
	background: var(--kxt-white);
	-webkit-overflow-scrolling: touch;
}

.kxt-sms__table {
	width: 100%;
	min-width: 980px;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: auto;
	font-variant-numeric: tabular-nums;
}

.kxt-sms__table caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.kxt-sms__table thead th {
	padding: 14px 12px;
	background: var(--kxt-blue-900);
	color: var(--kxt-white);
	border: 0;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .035em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
}

.kxt-sms__table thead abbr {
	color: inherit;
	text-decoration: none;
	cursor: help;
}

.kxt-sms__table tbody th,
.kxt-sms__table tbody td {
	padding: 12px 10px;
	background: var(--kxt-white);
	color: var(--kxt-ink);
	border: 0;
	border-bottom: 1px solid #e2e8ec;
	font-size: 13.5px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	font-variant-numeric: tabular-nums lining-nums;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

.kxt-sms__table tbody tr:last-child th,
.kxt-sms__table tbody tr:last-child td {
	border-bottom: 0;
}

.kxt-sms__table tbody tr:hover th,
.kxt-sms__table tbody tr:hover td {
	background: #f7fafc;
}

.kxt-sms__model-column {
	position: sticky;
	left: 0;
	z-index: 2;
	min-width: 190px;
	text-align: left !important;
}

.kxt-sms__table thead .kxt-sms__model-column {
	z-index: 4;
	background: var(--kxt-blue-900);
}

.kxt-sms__table tbody .kxt-sms__model-column {
	background: var(--kxt-white);
	box-shadow: 1px 0 0 #e2e8ec;
}

.kxt-sms__table tbody tr:hover .kxt-sms__model-column {
	background: #f7fafc;
}

.kxt-sms__model-column strong {
	color: #0f3148;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	letter-spacing: .005em;
}

.kxt-sms__action-column {
	min-width: 150px;
}

.kxt-sms__action-column a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 13px;
	border: 1px solid var(--kxt-blue-700);
	color: var(--kxt-blue-900);
	background: var(--kxt-white);
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: .035em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.kxt-sms__action-column a:hover {
	background: var(--kxt-blue-900);
	border-color: var(--kxt-blue-900);
	color: var(--kxt-white);
}

.kxt-sms__pagination {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	min-height: 58px;
}

.kxt-sms__pagination button,
.kxt-sms__pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 11px;
	border: 1px solid var(--kxt-line);
	background: var(--kxt-white);
	color: var(--kxt-blue-900);
	font-family: var(--kxt-font) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1;
}

.kxt-sms__pagination button {
	cursor: pointer;
}

.kxt-sms__pagination button:hover,
.kxt-sms__pagination button[aria-current="page"] {
	background: var(--kxt-blue-900);
	border-color: var(--kxt-blue-900);
	color: var(--kxt-white);
}

.kxt-sms__pagination button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.kxt-sms__no-results td {
	padding: 28px 16px !important;
	color: var(--kxt-muted) !important;
	text-align: center !important;
	white-space: normal !important;
}

.kxt-sms__notice,
.kxt-sms__empty {
	width: 100%;
	padding: 18px;
	border: 1px solid var(--kxt-line);
	background: var(--kxt-blue-050);
	color: var(--kxt-ink);
	font-family: var(--kxt-font) !important;
}

.kxt-sms__empty h3 {
	margin: 0 0 6px;
	font-size: 18px;
}

.kxt-sms__empty p,
.kxt-sms__notice {
	font-size: 13px;
}

.kxt-sms__noscript {
	margin: 12px 0 0;
	color: var(--kxt-muted);
	font-size: 12px;
}

@media (max-width: 1200px) {
	.kxt-sms__fieldset {
		grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(145px, 1fr));
	}
}

@media (max-width: 900px) {
	.kxt-sms {
		padding-top: 42px;
	}

	.kxt-sms__fieldset {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kxt-sms__field--search {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.kxt-sms {
		padding-top: 34px;
		scroll-margin-top: 88px;
	}

	.kxt-sms__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.kxt-sms h2 {
		font-size: 25px !important;
	}

	.kxt-sms__description {
		font-size: 14px !important;
	}

	.kxt-sms__total {
		display: flex;
		align-items: baseline;
		gap: 9px;
		min-width: 0;
		padding-left: 0;
		text-align: left;
		border-left: 0;
	}

	.kxt-sms__total strong {
		font-size: 32px !important;
	}

	.kxt-sms__total span {
		margin-top: 0;
	}

	.kxt-sms__filters {
		padding: 14px;
	}

	.kxt-sms__fieldset {
		grid-template-columns: minmax(0, 1fr);
	}

	.kxt-sms__field--search {
		grid-column: auto;
	}

	.kxt-sms__toolbar {
		align-items: stretch;
		flex-direction: column;
		min-height: 48px;
		padding: 12px 0;
	}

	.kxt-sms__reset {
		width: 100%;
	}

	.kxt-sms__table-wrap {
		border-right: 0;
	}

	.kxt-sms__pagination {
		justify-content: center;
		flex-wrap: wrap;
	}
}
