/**
 * StarzMeet — "Show more providers".
 *
 * The numbered pagination is hidden only when the button is live
 * (body.szm-loadmore-on, set by starzmeet-loadmore.js once it has found a second
 * page and built the control). If the script never runs, or gives up, the
 * numbers are visible and work exactly as the theme intended.
 */

.szm-more {
	margin: 8px 0 40px;
	text-align: center;
}

.szm-more-count {
	margin: 0 0 14px;
	font-size: 15px;
	color: #5B6172;
}

.szm-more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 260px;
	min-height: 52px;
	padding: 14px 32px;
	border: 1.5px solid #7c3aed;
	border-radius: 999px;
	background: #fff;
	color: #7c3aed;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.szm-more-btn:hover,
.szm-more-btn:focus-visible {
	background: #7c3aed;
	color: #fff;
	box-shadow: 0 6px 18px rgba(124, 58, 237, .25);
}

.szm-more-btn[disabled] {
	opacity: .7;
	cursor: default;
	box-shadow: none;
}

/* A spinner on the button itself, so the wait is where the click was. */
.szm-more.is-busy .szm-more-btn::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: szm-more-spin .7s linear infinite;
}

@keyframes szm-more-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.szm-more.is-busy .szm-more-btn::before { animation: none; }
	.szm-more-btn { transition: none; }
}

/* The theme's pagination: kept in the page as the source of the next page's
   link (the script clicks it), but never shown while the button is in charge. */
body.szm-loadmore-on #lp-pages-in-cats,
body.szm-loadmore-on .lp-pagination.lp-filter-pagination-ajx {
	display: none !important;
}

@media (max-width: 480px) {
	.szm-more-btn {
		width: 100%;
		min-width: 0;
	}
}
