/* Voucher Success Notice Styles */
.spar-voucher-success-notice {
	background: linear-gradient(135deg, #4CAF50, #45a049);
	border: none;
	border-radius: 12px;
	padding: 20px;
	margin: 0 0 20px 0;
	color: white;
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.spar-voucher-content h3 {
	margin: 0 0 10px 0;
	font-size: 1.4em;
	color: white;
}

.spar-success-icon {
	font-size: 1.2em;
	margin-right: 8px;
}

.spar-voucher-content p {
	margin: 0 0 15px 0;
	opacity: 0.9;
}

.spar-voucher-success-notice .spar-voucher-code-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.spar-voucher-success-notice .spar-voucher-code {
	background: rgba(255, 255, 255, 0.25);
	border: 2px dashed rgba(255, 255, 255, 0.6);
	border-radius: 8px;
	padding: 15px 20px;
	font-family: 'Courier New', monospace !important;
	font-size: 20px !important;
	font-weight: bold !important;
	color: white !important;
	letter-spacing: 2px !important;
	flex: 1;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
}

.spar-voucher-success-notice .spar-copy-btn {
	background: rgba(255, 255, 255, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	padding: 15px 16px;
	color: white;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 16px;
	backdrop-filter: blur(5px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spar-voucher-success-notice .spar-copy-btn:hover {
	background: rgba(255, 255, 255, 0.35);
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.spar-voucher-success-notice .spar-voucher-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.spar-voucher-success-notice .spar-voucher-already-applied {
	background: rgba(255, 255, 255, 0.15);
	color: white;
	padding: 10px 16px;
	border-radius: 8px;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 8px;
	backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.spar-voucher-success-notice .spar-applied-icon {
	color: #90EE90;
	font-weight: bold;
	font-size: 16px;
}

.spar-voucher-success-notice .spar-apply-btn,
.spar-voucher-success-notice .spar-apply-to-cart-btn {
	background: white !important;
	color: #4CAF50 !important;
	border: none !important;
	padding: 12px 24px !important;
	border-radius: 8px !important;
	font-weight: bold !important;
	text-decoration: none !important;
	transition: all 0.3s !important;
	cursor: pointer !important;
	font-size: 14px !important;
	display: inline-block !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.spar-voucher-success-notice .spar-apply-btn:hover,
.spar-voucher-success-notice .spar-apply-to-cart-btn:hover {
	background: #f8f9fa !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.spar-voucher-success-notice .spar-apply-btn:disabled,
.spar-voucher-success-notice .spar-apply-to-cart-btn:disabled {
	opacity: 0.7 !important;
	cursor: not-allowed !important;
	transform: none !important;
}

.spar-voucher-success-notice .spar-go-to-cart-btn {
	background: rgba(255, 255, 255, 0.2) !important;
	color: white !important;
	border: 2px solid rgba(255, 255, 255, 0.5) !important;
	padding: 10px 20px !important;
	border-radius: 8px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: all 0.3s !important;
	display: inline-block !important;
	font-size: 14px !important;
	backdrop-filter: blur(5px) !important;
}

.spar-voucher-success-notice .spar-go-to-cart-btn:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	border-color: rgba(255, 255, 255, 0.7) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.spar-voucher-success-notice .spar-dismiss-btn {
	background: transparent !important;
	color: white !important;
	border: 2px solid rgba(255, 255, 255, 0.3) !important;
	padding: 10px 20px !important;
	border-radius: 6px !important;
}

.spar-voucher-success-notice .spar-dismiss-btn:hover {
	background: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
	.spar-voucher-success-notice {
		padding: 16px;
		margin: 0 0 16px 0;
		border-radius: 8px;
	}
	
	.spar-voucher-success-notice .spar-voucher-code-container {
		flex-direction: column;
		gap: 12px;
	}
	
	.spar-voucher-success-notice .spar-voucher-code {
		padding: 12px 16px;
		font-size: 16px;
		letter-spacing: 1px;
	}
	
	.spar-voucher-success-notice .spar-copy-btn {
		padding: 12px;
		align-self: stretch;
	}
	
	.spar-voucher-success-notice .spar-voucher-actions {
		flex-direction: column;
		gap: 10px;
	}
	
	.spar-voucher-success-notice .spar-apply-to-cart-btn,
	.spar-voucher-success-notice .spar-go-to-cart-btn {
		width: 100%;
		text-align: center;
		padding: 14px 20px !important;
	}
	
	.spar-voucher-success-notice .spar-voucher-already-applied {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}
