* {
	padding: 0;
	margin: 0;
	border: 0;
	box-sizing: border-box;
}

*:before,
*:after {
	box-sizing: border-box;
}

:focus,
:active {
	outline: none;
}

input,
button,
textarea {
	font-family: inherit;
}

button {
	cursor: pointer;
}

a,
a:visited {
	text-decoration: none;
}

ul li {
	list-style: none;
}

h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
}

html {
	scroll-behavior: smooth;
	overflow: hidden;
	height: 100%;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	transition: background-color 0.3s ease, color 0.3s ease;
	height: 100%;
	overflow: hidden;
	position: fixed;
	width: 100%;
	-webkit-text-size-adjust: 100%;
	touch-action: manipulation;
}


::selection {
	background: rgba(var(--brand-blue-rgb), 0.3);
	color: var(--text-primary);
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
	background: var(--border-medium);
	border-radius: 4px;
}

[x-cloak] {
	display: none !important;
}

html:not([data-theme]) {
	visibility: hidden;
}

html[data-theme] {
	visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* Payment toast notifications */
.payment-toast {
	position: fixed;
	top: 1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10000;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	border-radius: 12px;
	font-size: 0.9rem;
	font-weight: 500;
	background: var(--bg-secondary);
	color: var(--text-primary);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.payment-toast-success {
	background: #10b981;
	color: #fff;
}

.payment-toast-error {
	background: #ef4444;
	color: #fff;
}

.payment-toast-close {
	margin-left: 0.5rem;
	background: none;
	color: inherit;
	cursor: pointer;
	opacity: 0.7;
}

.payment-toast-close:hover {
	opacity: 1;
}

.toast-enter { transition: all 0.3s ease; }
.toast-enter-start { opacity: 0; transform: translateX(-50%) translateY(-1rem); }
.toast-enter-end { opacity: 1; transform: translateX(-50%) translateY(0); }
