@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: inherit;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: #1a1a1a;
	color: white;
	overflow-x: hidden;
}

.receipt-card {
	max-width: 400px;
	width: 100%;
	background: #ffffff;
	border-radius: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	padding: 24px;
	margin: 20px;
	color: #333;
	border: 1px solid #e5e7eb;
}

.receipt-header {
	text-align: center;
	margin-bottom: 24px;
}

.receipt-title {
	font-size: 20px;
	font-weight: 600;
	color: #374151;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.receipt-amount {
	text-align: center;
	margin-bottom: 32px;
}

.amount-main {
	font-size: 32px;
	font-weight: 700;
	color: #10b981;
	margin-bottom: 4px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.amount-sub {
	font-size: 16px;
	color: #6b7280;
	font-weight: 500;
}

.qr-section {
	display: flex;
	justify-content: center;
	margin-bottom: 32px;
}

.qr-code {
	width: 200px;
	height: 200px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: white;
}

.qr-code svg {
	width: 100%;
	height: 100%;
}

.receipt-details {
	margin-bottom: 32px;
}

.detail-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child {
	border-bottom: none;
}

.detail-label {
	font-size: 14px;
	color: #6b7280;
	font-weight: 500;
}

.detail-value {
	font-size: 14px;
	color: #374151;
	font-weight: 600;
	text-align: right;
}

.receipt-footer {
	margin-top: 32px;
}

.receive-button {
	width: 100%;
	background: #10b981;
	color: white;
	border: none;
	padding: 16px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.receive-button:hover {
	background: #059669;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.receive-button:active {
	transform: translateY(0);
}

/* Container for the receipt */
.container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #f9fafb;
	padding: 20px;
}

/* Override body styles for this specific page */
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: #f9fafb !important;
	color: #333 !important;
	margin: 0;
	padding: 0;
}

/* Mobile responsive */
@media (max-width: 480px) {
	.receipt-card {
		margin: 10px;
		padding: 20px;
	}

	.amount-main {
		font-size: 28px;
	}

	.qr-code {
		width: 180px;
		height: 180px;
	}

	.receipt-title {
		font-size: 18px;
	}
}

/* Success Page Styles */
.success-icon {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.success-message {
	text-align: center;
	margin-bottom: 32px;
}

.message-title {
	font-size: 18px;
	font-weight: 600;
	color: #374151;
	margin: 0 0 12px 0;
	line-height: 1.4;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.message-subtitle {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

.status-processing {
	color: #f59e0b !important;
	font-weight: 600;
}

.success-button {
	background: #10b981 !important;
	color: white !important;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.success-button:hover {
	background: #059669 !important;
}

/* Mobile responsive for success page */
@media (max-width: 480px) {
	.message-title {
		font-size: 16px;
	}

	.message-subtitle {
		font-size: 13px;
	}

	.success-icon svg {
		width: 60px;
		height: 60px;
	}
}
