/* Всплывающее окно */

.stp-open-button,
.stp-continue-button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	background: #e91e63;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.stp-open-button:hover,
.stp-continue-button:hover {
	background: #c2185b;
	color: #fff;
}

.stp-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.stp-modal[hidden] {
	display: none;
}

.stp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .65);
}

.stp-modal__box {
	position: relative;
	z-index: 1;
	max-width: 430px;
	width: calc(100% - 32px);
	background: #fff;
	border-radius: 14px;
	padding: 28px;
	text-align: center;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.stp-modal__close {
	position: absolute;
	top: 8px;
	right: 12px;
	background: none;
	border: 0;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.stp-modal__text {
	margin: 12px 0 20px;
	color: #444;
}

.stp-note {
	margin-top: 14px;
	font-size: 12px;
	color: #777;
}

/* Страница статистики в админке */

.stp-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 20px 0 24px;
}

.stp-stat-box {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 16px 24px;
	min-width: 150px;
	text-align: center;
}

.stp-stat-box strong {
	display: block;
	font-size: 24px;
	margin-bottom: 4px;
}

.stp-stat-box span {
	color: #646970;
	font-size: 12px;
}

.stp-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.stp-filter-form input[type="search"],
.stp-filter-form input[type="date"],
.stp-filter-form select {
	min-width: 170px;
}