/* Public Styles for Supreme Rewards Hub */

.srh-wheel-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 500px;
	margin: 0 auto;
	padding: 20px;
	position: relative;
	font-family: inherit;
}

.srh-wheel-wrapper {
	position: relative;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1 / 1;
	margin-bottom: 30px;
}

#srh-wheel-canvas {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
	transition: transform 5s cubic-bezier(0.25, 0.1, 0.25, 1);
	transform-origin: center center;
}

.srh-wheel-pointer {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	background-color: #ef4444;
	clip-path: polygon(50% 100%, 0 0, 100% 0);
	z-index: 10;
	filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.2));
}

.srh-wheel-actions {
	text-align: center;
	width: 100%;
}

.srh-btn {
	background-color: #bd0013;
	color: #fff;
	border: none;
	padding: 12px 30px;
	font-size: 18px;
	font-weight: bold;
	border-radius: 50px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	width: 100%;
}

.srh-btn:hover {
	background-color: #8f000e;
	transform: translateY(-2px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.srh-btn:disabled {
	background-color: #9ca3af;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.srh-btn-outline {
	background-color: transparent;
	color: #4b5563;
	border: 2px solid #e5e7eb;
}

.srh-btn-outline:hover {
	background-color: #f3f4f6;
	color: #1f2937;
}

.srh-spin-notice {
	margin-top: 15px;
	font-size: 0.85em;
	color: #6b7280;
}

/* Modal */
.srh-modal {
	display: none;
	position: fixed;
	z-index: 99999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.6);
	backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
}

.srh-modal.srh-show {
	display: flex;
	animation: srhFadeIn 0.3s ease;
}

.srh-modal-content {
	background-color: #fff;
	padding: 40px 30px;
	border-radius: 16px;
	max-width: 450px;
	width: 90%;
	text-align: center;
	position: relative;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	animation: srhPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.srh-close-modal {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	color: #9ca3af;
	cursor: pointer;
	transition: color 0.2s;
}

.srh-close-modal:hover {
	color: #4b5563;
}

#srh-win-title {
	margin-top: 0;
	color: #1f2937;
	font-size: 28px;
	margin-bottom: 10px;
}

#srh-win-message {
	color: #4b5563;
	font-size: 16px;
	margin-bottom: 25px;
}

.srh-coupon-box {
	background-color: #f3f4f6;
	border: 2px dashed #d1d5db;
	padding: 20px;
	border-radius: 12px;
	margin-bottom: 25px;
}

.srh-coupon-code-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.srh-coupon-code {
	font-size: 24px;
	font-weight: 800;
	font-family: monospace;
	color: #111827;
	letter-spacing: 2px;
}

.srh-btn-small {
	background-color: #3b82f6;
	color: #fff;
	border: none;
	padding: 6px 12px;
	border-radius: 6px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.2s;
}

.srh-btn-small:hover {
	background-color: #2563eb;
}

.srh-auto-apply-notice {
	color: #059669;
	font-size: 0.85em;
	font-weight: 500;
}

.mt-4 { margin-top: 1rem; }

@keyframes srhFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes srhPopIn {
	from { opacity: 0; transform: scale(0.9); }
	to { opacity: 1; transform: scale(1); }
}

.srh-notice {
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: 500;
}

.srh-notice.srh-error {
	background-color: #fee2e2;
	color: #991b1b;
	border-left: 4px solid #ef4444;
}
