body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards legend {
	font-size: 34px !important;
	line-height: 1.15 !important;
	font-weight: 800 !important;
	color: #111827 !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards .rp-checkout-rewards-summary {
	margin-top: 10px !important;
	padding: 12px !important;
	border: 1px solid #eceff4 !important;
	border-radius: var(--rpress-default-control-radius, 100px) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards .rp-checkout-rewards-copy {
	display: inline-flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	min-width: 0 !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards .rp-checkout-rewards-copy strong {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #111827 !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards .rp-checkout-rewards-copy .rewards_user_note {
	font-size: 14px !important;
	color: #6b7280 !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards .rp-checkout-redeem-wrap {
	margin-top: 10px !important;
	padding: 12px !important;
	border: 1px solid #eceff4 !important;
	border-radius: var(--rpress-default-control-radius, 100px) !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 8px !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards .rp-checkout-redeem-fields {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto !important;
	gap: 8px !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards #rpress-rewards-error-wrap {
	margin-top: 8px !important;
}

body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards #rpress-rewards-error-wrap .rpress_error {
	display: block !important;
	padding: 8px 0 !important;
	color: #d9534f !important;
	font-size: 14px !important;
}

.earned_reward_points {
	margin-bottom: 20px;
	display: block;
}

/* Order Confirmation Earned Rewards Highlight Banner */
.rp-rewards-earned-banner {
	margin: 20px 0 !important;
	padding: 18px 20px !important;
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%) !important;
	border: 1px solid #a7f3d0 !important;
	border-radius: 14px !important;
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08) !important;
	box-sizing: border-box !important;
}

.rp-rewards-earned-badge {
	width: 48px !important;
	height: 48px !important;
	background: #10b981 !important;
	border-radius: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25) !important;
}

.rp-rewards-earned-badge .rp-rewards-icon {
	font-size: 24px !important;
	line-height: 1 !important;
}

.rp-rewards-earned-content {
	flex: 1 !important;
	min-width: 0 !important;
}

.rp-rewards-earned-title {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #065f46 !important;
	margin: 0 0 4px 0 !important;
	line-height: 1.3 !important;
}

.rp-rewards-points-count {
	display: inline-block !important;
	background: #059669 !important;
	color: #ffffff !important;
	padding: 2px 8px !important;
	border-radius: 20px !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	margin: 0 2px !important;
}

.rp-rewards-earned-subtitle {
	font-size: 13px !important;
	color: #047857 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

@media only screen and (max-width: 767px) {
	body.rpress-checkout #rpress_checkout_wrap #rpress_checkout_rewards .rp-checkout-redeem-fields {
		grid-template-columns: 1fr !important;
	}
}

/* RestroPress Rewards How It Works Modal */
.rp-rewards-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.rp-rewards-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(17, 24, 39, 0.6);
	backdrop-filter: blur(4px);
}

.rp-rewards-modal-container {
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	max-width: 540px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	z-index: 2;
	padding: 24px;
	font-family: inherit;
	box-sizing: border-box;
}

.rp-rewards-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 16px;
	border-bottom: 1px solid #f3f4f6;
	margin-bottom: 20px;
}

.rp-rewards-modal-title {
	font-size: 20px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 !important;
	line-height: 1.3 !important;
}

.rp-rewards-modal-close {
	background: #f3f4f6;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.rp-rewards-modal-close:hover {
	background: #e5e7eb;
	color: #111827;
}

.rp-rewards-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 20px;
}

.rp-rewards-info-card {
	background: #f9fafb;
	border: 1px solid #f3f4f6;
	border-radius: 12px;
	padding: 14px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.rp-rewards-info-icon {
	font-size: 22px;
	line-height: 1;
	flex-shrink: 0;
}

.rp-rewards-info-content h4 {
	font-size: 14px !important;
	font-weight: 600 !important;
	margin: 0 0 4px 0 !important;
	color: #111827 !important;
}

.rp-rewards-info-content p {
	font-size: 13px !important;
	color: #4b5563 !important;
	margin: 0 !important;
	line-height: 1.4 !important;
}

.rp-rewards-steps-wrap {
	background: #f0f9ff;
	border: 1px solid #e0f2fe;
	border-radius: 12px;
	padding: 16px;
}

.rp-rewards-steps-wrap h4 {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #0369a1 !important;
	margin: 0 0 8px 0 !important;
}

.rp-rewards-steps {
	margin: 0 !important;
	padding-left: 20px !important;
	color: #0c4a6e;
	font-size: 13px;
	line-height: 1.5;
}

.rp-rewards-steps li {
	margin-bottom: 4px;
}

.rp-rewards-steps li:last-child {
	margin-bottom: 0;
}

@media (max-width: 540px) {
	.rp-rewards-info-grid {
		grid-template-columns: 1fr;
	}
}

 
