/**
 * Advanced Instant Win — Frontend Styles
 *
 * Prize tier cards and tier badges on the product page and My Account.
 *
 * @package RaffleForWooCommercePro
 * @since   1.0.0
 */

/* Prize tier section */
.rfwc-pro-prize-tiers {
	margin: 1.5em 0;
	padding: 1.25em;
	background: linear-gradient(135deg, #fefefe 0%, #fdf9f3 100%);
	border: 1px solid #e8dcc8;
	border-radius: 8px;
}

.rfwc-pro-prize-tiers__title {
	margin: 0 0 0.75em;
	font-size: 1.05em;
	font-weight: 600;
	color: #333;
}

.rfwc-pro-prize-tiers__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75em;
}

/* Individual tier card */
.rfwc-pro-prize-tier {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35em;
	padding: 1em 0.75em;
	text-align: center;
	background: #fff;
	border: 1px solid #e0d5c4;
	border-radius: 6px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rfwc-pro-prize-tier:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.rfwc-pro-prize-tier--1 {
	border-color: #d4a843;
	background: linear-gradient(180deg, #fffdf5 0%, #fff9e6 100%);
}

.rfwc-pro-prize-tier--2 {
	border-color: #b0b0b0;
	background: linear-gradient(180deg, #fdfdfd 0%, #f5f5f5 100%);
}

.rfwc-pro-prize-tier--3 {
	border-color: #c08a50;
	background: linear-gradient(180deg, #fdfbf8 0%, #f8f0e6 100%);
}

.rfwc-pro-prize-tier__badge {
	font-size: 1.75em;
	line-height: 1;
}

.rfwc-pro-prize-tier__label {
	font-size: 0.9375em;
	font-weight: 600;
	color: #333;
}

.rfwc-pro-prize-tier__desc {
	font-size: 0.8125em;
	color: #666;
}

/* My Account tier badges */
.rfwc-pro-tier-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25em;
	padding: 0.15em 0.5em;
	font-size: 0.75em;
	font-weight: 600;
	border-radius: 3px;
	white-space: nowrap;
}

.rfwc-pro-tier-badge--1 {
	background: #fef3c7;
	color: #92400e;
}

.rfwc-pro-tier-badge--2 {
	background: #f3f4f6;
	color: #4b5563;
}

.rfwc-pro-tier-badge--3 {
	background: #fde9d0;
	color: #7c4a15;
}

/* Two-section prize display (P3b) */
.rfwc-pro-prize-sections {
	margin: 1.5em 0;
}

.rfwc-pro-prize-tiers--iw {
	border-color: #d4a843;
}

.rfwc-pro-prize-tiers__title--iw {
	color: #92400e;
}

.rfwc-pro-main-draw-section {
	margin-top: 1em;
	padding: 0.75em 1.25em;
	background: linear-gradient(135deg, #fefefe 0%, #f0f7ff 100%);
	border: 1px solid #b8d4f0;
	border-radius: 8px;
}

.rfwc-pro-prize-tiers__title--main {
	margin: 0;
	font-size: 1.05em;
	font-weight: 600;
	color: #1a365d;
}

/* Responsive */
@media (max-width: 600px) {
	.rfwc-pro-prize-tiers {
		padding: 0.75em;
	}

	.rfwc-pro-prize-tiers__grid {
		grid-template-columns: 1fr;
	}

	.rfwc-pro-main-draw-section {
		padding: 0.5em 0.75em;
	}
}
