/**
 * TrustLens Admin Customers Styles
 *
 * @package TrustLens
 */

.wstl-customers-page .wp-heading-inline {
	font-weight: 700;
	letter-spacing: -0.02em;
}

.wstl-customers-page .wstl-customers-lead {
	margin: 10px 0 16px;
	color: #4f6075;
	font-size: clamp(13px, 1.1vw, 15px);
}

.wstl-customers-page .wstl-customers-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: clamp(13px, 1.3vw, 18px);
	background: linear-gradient(138deg, #ffffff 0%, #f2f8fd 56%, #f8f6f1 100%);
	border: 1px solid #d5e0eb;
	border-radius: 14px;
	box-shadow: 0 8px 20px rgba(16, 42, 67, 0.06);
	margin: 14px 0;
}

.wstl-customers-page .wstl-segment-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wstl-customers-page .wstl-segment-filters li {
	margin: 0;
}

.wstl-customers-page .wstl-segment-filters a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	background: #edf5fd;
	border: 1px solid #d2e4f5;
	text-decoration: none;
	font-size: 11px;
	font-weight: 600;
	color: #2b516f;
	transition: all 0.15s ease;
}

.wstl-customers-page .wstl-segment-filters a:hover {
	background: #e6f0fb;
	border-color: #c6daf0;
}

.wstl-customers-page .wstl-segment-filters a.current {
	background: var(--wstl-color-primary);
	border-color: var(--wstl-color-primary);
	color: #fff;
}

.wstl-customers-page .wstl-segment-filters a .count {
	font-size: 10px;
	opacity: 0.85;
}

.wstl-customers-page .wstl-customers-search {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wstl-customers-page .wstl-customers-search input[type="search"] {
	min-width: 300px;
	height: 38px;
	border-radius: 10px;
	border-color: #cddbe8;
	font-size: 13px;
	padding: 0 12px;
}

.wstl-customers-page .wstl-customers-actions {
	margin: 10px 0 12px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #d5e0eb;
	border-radius: 14px;
	box-shadow: 0 6px 16px rgba(16, 42, 67, 0.05);
}

.wstl-customers-page .wstl-customers-actions .actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wstl-customers-page .wstl-customers-actions select,
.wstl-customers-page .wstl-customers-actions .button {
	height: 34px;
	font-size: 12px;
}

.wstl-customers-page .wstl-customers-table-shell {
	background: #fff;
	border: 1px solid #d5e0eb;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
	overflow: hidden;
}

.wstl-customers-page .wstl-customers-table-wrap {
	overflow-x: auto;
}

.wstl-customers-page .wstl-customers-table {
	border: 0;
	box-shadow: none;
	margin: 0;
	width: 100% !important;
	min-width: 100%;
	table-layout: auto !important;
}

.wstl-customers-page .wstl-customers-table .wstl-col-28 {
	width: auto !important;
}

.wstl-customers-page .wstl-customers-table thead th,
.wstl-customers-page .wstl-customers-table tfoot th,
.wstl-customers-page .wstl-customers-table thead td,
.wstl-customers-page .wstl-customers-table tfoot td {
	background: #f2f7fc;
	border-bottom: 1px solid #dde7f1;
	color: #3a536d;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
	padding-top: 10px;
	padding-bottom: 10px;
}

.wstl-customers-page .wstl-customers-table tbody td,
.wstl-customers-page .wstl-customers-table tbody th {
	border-bottom: 1px solid #edf2f7;
	padding-top: 11px;
	padding-bottom: 11px;
	vertical-align: middle;
	font-size: 13px;
}

.wstl-customers-page .wstl-customers-table tbody tr:hover {
	background: #f9fcff;
}

.wstl-customers-page .wstl-customers-table tbody tr:nth-child(even) {
	background: #fbfdff;
}

.wstl-customers-page .wstl-customers-table thead th:not(.column-customer):not(.column-cb),
.wstl-customers-page .wstl-customers-table tfoot th:not(.column-customer):not(.column-cb),
.wstl-customers-page .wstl-customers-table tbody td:not(.column-customer):not(.check-column) {
	text-align: right;
}

.wstl-customers-page .wstl-customers-table thead th.sortable:not(.column-customer):not(.column-cb) a,
.wstl-customers-page .wstl-customers-table thead th.sorted:not(.column-customer):not(.column-cb) a {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
}

.wstl-customers-page .wstl-customers-table .column-score,
.wstl-customers-page .wstl-customers-table .column-orders,
.wstl-customers-page .wstl-customers-table .column-returns,
.wstl-customers-page .wstl-customers-table .column-rate,
.wstl-customers-page .wstl-customers-table .column-value {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.wstl-customers-page .wstl-customer-type {
	font-size: 11px;
	color: #73859a;
}

.wstl-customers-page .wstl-customers-table .column-customer a {
	font-size: 14px;
	font-weight: 600;
	color: #16324f;
	text-decoration: none;
}

.wstl-customers-page .wstl-customers-table .column-customer a:hover {
	color: var(--wstl-color-primary);
	text-decoration: underline;
}

.wstl-customers-page .wstl-customers-table .column-score .wstl-score {
	font-size: 17px;
}

.wstl-customers-page .wstl-customers-pagination {
	margin-top: 12px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #d5e0eb;
	border-radius: 14px;
	box-shadow: 0 6px 16px rgba(16, 42, 67, 0.05);
}

@media (max-width: 900px) {
	.wstl-customers-page .wstl-customers-toolbar {
		padding: 12px;
	}

	.wstl-customers-page .wstl-customers-search {
		width: 100%;
	}

	.wstl-customers-page .wstl-customers-search input[type="search"] {
		min-width: 0;
		width: 100%;
	}
}
