/**
 * FourSides Pro — Loyalty enrollments shortcode styles.
 */

.foursides-loyalty-enrollments {
	margin: 2em 0;
	max-width: 960px;
}

.foursides-loyalty-enrollments__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.foursides-loyalty-enrollments__table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 1rem;
	line-height: 1.4;
	color: #333;
}

.foursides-loyalty-enrollments__table thead th {
	padding: 0.85em 1em;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: left;
	border-bottom: 3px solid #f1d204;
	white-space: nowrap;
}

.foursides-loyalty-enrollments__table tbody td {
	padding: 0.9em 1em;
	border-bottom: 1px solid #ebebeb;
	vertical-align: middle;
}

.foursides-loyalty-enrollments__table tbody tr:last-child td {
	border-bottom: none;
}

.foursides-loyalty-enrollments__table tbody tr:nth-child(even) {
	background: #f9f9f9;
}

.foursides-loyalty-enrollments__table tbody tr:hover {
	background: #fffbe6;
}

.foursides-loyalty-enrollments__member {
	font-weight: 600;
	color: #111;
}

.foursides-loyalty-enrollments__member--generic {
	font-weight: 400;
	font-style: italic;
	color: #888;
}

.foursides-loyalty-enrollments__phone {
	font-family: "Source Code Pro", "Consolas", monospace;
	font-size: 0.92rem;
	color: #666;
	white-space: nowrap;
}

.foursides-loyalty-enrollments__enrolled time {
	display: flex;
	flex-direction: column;
	gap: 0.15em;
}

.foursides-loyalty-enrollments__date {
	font-weight: 600;
	color: #222;
	white-space: nowrap;
}

.foursides-loyalty-enrollments__time {
	font-size: 0.85rem;
	color: #888;
	white-space: nowrap;
}

.foursides-loyalty-enrollments__col-points,
.foursides-loyalty-enrollments__points {
	text-align: right;
	white-space: nowrap;
}

.foursides-loyalty-enrollments__points {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #111;
}

.foursides-loyalty-enrollments__notice {
	margin: 1em 0;
	padding: 0.85em 1em;
	border-left: 4px solid #f1d204;
	background: #f9f9f9;
	color: #555;
}

@media only screen and (max-width: 640px) {
	.foursides-loyalty-enrollments__table thead th,
	.foursides-loyalty-enrollments__table tbody td {
		padding: 0.75em 0.85em;
	}

	.foursides-loyalty-enrollments__table {
		font-size: 0.95rem;
	}
}
