/**
 * Copyright (c) 2026 Steve Dougherty, PLR Video Direct. All rights reserved.
 * Proprietary software. Copying, sharing, reselling, or removing this notice is not allowed.
 * See LICENSE.txt for the full terms.
 *
 * Public CSS for R2 Secure Downloads modern button styling.
 */

.r2-download-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
	color: #ffffff !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none !important;
	border-radius: 6px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	margin: 8px 0;
}

.r2-download-button:hover,
.r2-download-button:focus {
	background: linear-gradient(135deg, #005177 0%, #003650 100%);
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18), 0 2px 4px rgba(0, 0, 0, 0.12);
	outline: none;
}

.r2-download-button:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.r2-download-button .r2-btn-icon {
	display: inline-flex;
	align-items: center;
}

.r2-download-button .r2-dl-icon {
	fill: currentColor;
	transition: transform 0.2s ease;
}

.r2-download-button:hover .r2-dl-icon {
	transform: translateY(2px);
}

.r2-download-error {
	color: #dc3232;
	background: #fcf0f0;
	border: 1px solid #f5c6c6;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 13px;
}
