/* ReadPress frontend buttons */

.rp-buttons-wrap {
	display: flex;
	margin: 10px 0 16px;
	clear: both;
}
.rp-buttons-block {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}
.rp-pos-top-left, .rp-pos-bottom-left, .rp-pos-top-bottom-left {
	justify-content: flex-start;
}
.rp-pos-top-right, .rp-pos-bottom-right, .rp-pos-top-bottom-right {
	justify-content: flex-end;
}

.rp-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: #f5f6f8;
	color: #333;
	border: 1px solid #d8d8d8;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.15s ease, transform 0.1s ease;
	cursor: pointer;
}
.rp-btn:hover {
	background: #ebedf0;
	color: #111;
	text-decoration: none;
}
.rp-btn:active {
	transform: scale(0.98);
}
.rp-btn-pdf {
	background: linear-gradient(180deg, #fff7f7, #ffeded);
	border-color: #f7c0c0;
	color: #7a1a1a;
}
.rp-btn-pdf:hover {
	background: linear-gradient(180deg, #ffeded, #ffd8d8);
}
.rp-btn-print {
	background: #f8f8f8;
}
.rp-btn-epub {
	background: linear-gradient(180deg, #f0f8ff, #e3f0ff);
	border-color: #bcd6f5;
	color: #1a3e7a;
}
.rp-btn-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
.rp-btn-label {
	font-weight: 500;
}
