:root {
	--bg-body: #020617;
	--text-main: #ffffff;
	--text-muted: #64748b;
	--text-placeholder: #334155;
	--bg-container: rgba(15, 23, 42, 0.5);
	--border-container: rgba(59, 130, 246, 0.15);
	--bg-box: rgba(3, 7, 18, 0.4);
	--border-box: rgba(255, 255, 255, 0.04);
	--border-box-focus: rgba(0, 242, 254, 0.3);
	--bg-select: rgba(255, 255, 255, 0.04);
	--border-select: rgba(255, 255, 255, 0.08);
	--bg-arrow: #020617;
	--shadow-container: rgba(0, 0, 0, 0.6);
	--glow-1: rgba(0, 242, 254, 0.12);
	--glow-2: rgba(29, 78, 216, 0.18);
	--modal-bg: #0b1329;
	--modal-border: rgba(59, 130, 246, 0.2);
	--modal-overlay: rgba(2, 6, 23, 0.7);
	--logo-start: #00f2fe;
	--logo-end: #2563eb;
	--badge-bg: rgba(255, 255, 255, 0.02);
	--badge-border: rgba(255, 255, 255, 0.05);
	--badge-hover: rgba(0, 242, 254, 0.05);
	--nav-link: #94a3b8;
	--nav-active: #00f2fe;

	--status-pending: #eab308;
	--status-success: #22c55e;
	--status-refund: #22c55e;
	--status-error: #ef4444;
	--status-finished: #a855f7;
	--info-border: #1E599B;
	--success-border: #1F4E22;
	--success-text-bg: 	rgba(28, 118, 12, 0.5);
	--error-text-bg: rgba(200, 0, 19, 0.5);
	--error-border: #911328;
	--warning-border: rgba(234, 179, 8, 0.2);
	--warning-bg: rgba(234, 179, 8, 0.03);
	--qr-bg: #ffffff;
	--qr-fg: #0f172a;
}

html {
	background: var(--bg-body);
    background-image: url('../img/dark.jpeg');
	background-repeat: repeat;
	background-position: left top;
	background-size: cover;
}

html.light-theme {
    background-image: url('../img/light.jpeg');
}

.light-theme {
	--bg-body: #f8fafc;
	--text-main: #0f172a;
	--text-muted: #64748b;
	--text-placeholder: #cbd5e1;
	--bg-container: #ffffff;
	--border-container: #e2e8f0;
	--bg-box: #f1f5f9;
	--border-box: #e2e8f0;
	--border-box-focus: #38bdf8;
	--bg-select: #ffffff;
	--border-select: #e2e8f0;
	--bg-arrow: #ffffff;
	--shadow-container: rgba(15, 23, 42, 0.06);
	--glow-1: rgba(0, 242, 254, 0.06);
	--glow-2: rgba(29, 78, 216, 0.04);
	--modal-bg: #ffffff;
	--modal-border: #e2e8f0;
	--modal-overlay: rgba(15, 23, 42, 0.4);
	--logo-start: #0284c7;
	--logo-end: #1d4ed8;
	--badge-bg: #f8fafc;
	--badge-border: #e2e8f0;
	--badge-hover: #f1f5f9;
	--nav-link: #64748b;
	--nav-active: #1d4ed8;

	--info-border: #1E599B;
	--success-border: #1F4E22;
	--success-text-bg: 	rgba(133, 218, 117, 0.3);
	--error-text-bg: rgba(255, 129, 141, 0.2);
	--error-border: #911328;
	--warning-border: rgba(234, 179, 8, 0.4);
	--warning-bg: rgba(234, 179, 8, 0.05);
	--qr-bg: #f1f5f9;
	--qr-fg: #0f172a;
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
	color: var(--text-main);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	overflow-x: hidden;
	position: relative;
	padding: 16px;
	transition: background 0.3s ease, color 0.3s ease;
}

.main-wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	z-index: 1;
	transition: filter 0.3s ease;
}

body.modal-open .main-wrapper {
/*	filter: blur(12px);
	pointer-events: none;*/
}

header {
	width: 100%;
	max-width: 1200px;
	padding: 20px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 40px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 1px;
	background: linear-gradient(45deg, var(--logo-start), var(--logo-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.logo a {
	text-decoration: none;
}

.img-mid, .logo img {
    vertical-align: middle;
}

.nav-links {
	display: flex;
	gap: 24px;
	list-style: none;
}

.nav-links a img {
    vertical-align: middle;
    max-width:24px;
    max-height:24px;
    height:auto;
}

.nav-links a {
	color: var(--nav-link);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
	color: var(--nav-active);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.slogan h1 {
	display:block;
	margin: 20px auto 40px auto;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 1px;
	background: linear-gradient(45deg, var(--logo-start), var(--logo-end));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.connect-btn, a.connect-btn {
	background: transparent;
	border: 1px solid var(--nav-active);
	color: var(--nav-active);
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.2s;
	white-space: nowrap;
}

.connect-btn:hover, a.connect-btn:hover {
	background: var(--nav-active);
	color: var(--bg-arrow);
	box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
	transform: translateY(-1px);
}

.theme-toggle-btn {
	background: var(--bg-box);
	border: 1px solid var(--border-box);
	color: var(--text-main);
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
	border-color: var(--nav-active);
	background: var(--bg-select);
}

.theme-toggle-btn .sun-icon { display: none; }
.theme-toggle-btn .moon-icon { display: block; }
.light-theme .theme-toggle-btn .sun-icon { display: block; }
.light-theme .theme-toggle-btn .moon-icon { display: none; }

.swap-wrapper {
	width: 100%;
	max-width: 460px;
	padding: 0 10px;
}

.swap-wrapper-two {
	max-width: 1040px;
}

.info-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 32px;
	color: var(--text-muted);
}

.swap-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	/*align-items: center;*/
	align-items: start;
}

.swap-grid-type1 .info-container {
	order: 2; /* Moves info text to the top */
}
.swap-grid-type1 .swap-container {
	order: 1; /* Moves swap box below the info text */
}

.swap-grid-type2 .info-container {
	order: 1; /* Moves info text to the top */
}
.swap-grid-type2 .swap-container {
	order: 2; /* Moves swap box below the info text */
}

@media (min-width: 840px) {
	.swap-grid {
		grid-template-columns: 460px 1fr;
	}
}


.swap-container {
	background: var(--bg-container);
	backdrop-filter: blur(25px);
	border: 1px solid var(--border-container);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 25px 60px var(--shadow-container);
	position: relative;
	transition: all 0.3s ease;
    width: 100%;
}

.swap-container::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #00f2fe, #1d4ed8, transparent);
}

.swap-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}

.swap-header h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--text-main);
	letter-spacing: 0.5px;
}

.input-box {
	background: var(--bg-box);
	border: 1px solid var(--border-box);
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 8px;
	transition: all 0.2s;
}

.input-box:focus-within {
	border-color: var(--border-box-focus);
	background: var(--bg-container);
	box-shadow: 0 0 15px rgba(0, 242, 254, 0.03);
}

.box-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.box-top label {
	font-size: 12px;
	color: var(--text-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.balance {
	font-size: 12px;
	color: var(--text-muted);
}

.box-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.amount-input {
	background: transparent;
	border: none;
	outline: none;
	color: var(--text-main);
	font-size: 28px;
	font-weight: 600;
	width: 60%;
}

.amount-input::placeholder {
	color: var(--text-placeholder);
}

.text-input-field {
	width: 100%;
	background: transparent;
	border: none;
	outline: none;
	color: var(--text-main);
	font-size: 14px;
	font-weight: 400;
	padding: 4px 0;
}

.text-input-field::placeholder {
	color: var(--text-muted);
}

.token-select {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--bg-select);
	padding: 8px 14px;
	border-radius: 8px;
	cursor: pointer;
	user-select: none;
	transition: all 0.2s;
	border: 1px solid var(--border-select);
	white-space: nowrap;
}

.token-select:hover {
	background: var(--badge-hover);
	border-color: var(--text-muted);
}

.token-icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
}

.token-symbol {
	font-weight: 700;
	font-size: 15px;
	color: var(--text-main);
}

.arrow-container {
	display: flex;
	justify-content: center;
	margin: -16px 0;
	position: relative;
	z-index: 2;
}

.arrow-btn {
	background: var(--bg-arrow);
	border: 1px solid var(--border-container);
	color: var(--nav-active);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s;
	box-shadow: 0 4px 10px var(--shadow-container);
}

.arrow-btn:hover {
	border-color: var(--nav-active);
	transform: scale(1.05) rotate(180deg);
}

.rate-container {
	padding: 12px 6px;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--text-muted);
}

.two-container {
	padding: 12px 6px;
	display: inline-flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--text-muted);
}

.two-next {
	margin-left: 12px;
}

.action-btn {
	width: 100%;
	background: linear-gradient(90deg, #1d4ed8, #00f2fe);
	border: none;
	border-radius: 8px;
	color: #ffffff;
	padding: 16px;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	margin-top: 10px;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
	transition: all 0.2s;
}

a.action-btn {
	text-decoration:none;
}

.action-btn:hover {
	box-shadow: 0 6px 20px rgba(29, 78, 216, 0.5);
	opacity: 0.95;
	transform: translateY(-0.5px);
}

.action-btn-small {
	font-size: 12px;
	width:100%;
	margin-bottom: 10px;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--modal-overlay);
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	padding: 16px;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.coin-modal {
	background: var(--modal-bg);
	border: 1px solid var(--modal-border);
	border-radius: 16px;
	width: 100%;
	max-width: 440px;
	max-height: 85%;/*85vh;*/
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
	transform: scale(0.96);
	transition: transform 0.25s ease, background 0.3s;
}

.modal-overlay.active .coin-modal {
	transform: scale(1);
}

.modal-header {
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--border-box);
}

.modal-header h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--text-main);
}

.close-modal {
	background: transparent;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	transition: color 0.2s;
}

.close-modal:hover {
	color: var(--nav-active);
}

.search-container {
	padding: 16px 20px;
}

.search-input, .search-input-field {
	width: 100%;
	background: var(--bg-box);
	border: 1px solid var(--border-box);
	border-radius: 8px;
	padding: 12px 16px;
	color: var(--text-main);
	font-size: 14px;
	outline: none;
	transition: all 0.2s;
}

.search-input:focus {
	border-color: var(--border-box-focus);
	background: var(--bg-container);
}

.coin-list {
	flex: 1;
	overflow-y: auto;
	padding: 0 20px 20px 20px;
}

.coin-list::-webkit-scrollbar {
	width: 5px;
}
.coin-list::-webkit-scrollbar-thumb {
	background: var(--text-placeholder);
	border-radius: 10px;
}

.list-section-headline {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-muted);
	padding: 16px 0 8px 2px;
	font-weight: 700;
}

.popular-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-bottom: 8px;
}

.popular-badge-item {
	background: var(--badge-bg);
	border: 1px solid var(--badge-border);
	border-radius: 8px;
	padding: 12px 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	transition: all 0.2s;
}

.popular-badge-item:hover {
	background: var(--badge-hover);
	border-color: var(--nav-active);
}

.popular-badge-item .badge-symbol {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-main);
}

.popular-badge-item .badge-network {
	font-size: 9px;
	color: var(--text-muted);
	text-transform: uppercase;
	white-space: nowrap;
}

.all-coins-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.coin-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	border: 1px solid transparent;
}

.coin-item:hover {
	background: var(--badge-bg);
}

.coin-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.coin-name-wrapper {
	display: flex;
	flex-direction: column;
}

.coin-name-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.coin-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-main);
}

.coin-fullname {
	font-size: 12px;
	color: var(--text-muted);
}

.network-tag {
	font-size: 10px;
	color: #2563eb;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 1px;
}


@media (max-width: 840px) {
	.popular-badge-item {
		border-radius: 8px;
		padding: 6px 3px;
		gap: 0;
	}
	.swap-grid-type2 {
		display: flex;
		flex-direction: column;
	}
	.coin-modal {
		max-height: 95%;/*95vh;*/
	}
	.swap-grid-type2 .info-container {
		order: 2; /* Moves info text to the top */
	}
	.swap-grid-type2 .swap-container {
		order: 1; /* Moves swap box below the info text */
	}
	.slogan {
		display:none;
	}
	.modal-overlay {
		align-items: flex-start;
	}
	.modal-overlay-mob .message-modal-card {
		margin-top: 45px;
	}
}

@media (max-width: 800px) {
	.logo a span {
		display: none;
	}
}

@media (max-width: 640px) {
	.logo a span {
		display: inline-block;
	}

	header {
		padding: 10px 0;
		margin-bottom: 24px;
	}
	.nav-links {
		display: none;
	}
	.swap-container {
		padding: 20px 16px;
	}
	.amount-input {
		font-size: 24px;
	}
	.popular-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.info-container h1, .article h1 {
		font-size: 28px;
	}
}

.message-modal-card {
    background: var(--modal-bg);
    border: 1px solid var(--modal-border);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    transform: scale(0.96);
    transition: transform 0.25s ease, background 0.3s;
}

.modal-overlay.active .message-modal-card {
    transform: scale(1);
}

.message-body {
    padding: 30px 24px 20px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.message-icon-status {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-box);
    border: 1px solid var(--border-box);
    color: var(--nav-active);
    border-color: var(--border-box-focus);
    box-shadow: 0 0 20px var(--glow-1);
}

.message-footer {
    padding: 0 24px 24px 24px;
}


.status-layout {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 24px;
	width: 100%;
	max-width: 960px;
	margin-bottom: 40px;
}

.status-panel {
	background: var(--bg-container);
	backdrop-filter: blur(25px);
	border: 1px solid var(--border-container);
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 25px 60px var(--shadow-container);
	position: relative;
}

.status-panel::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #00f2fe, #1d4ed8, transparent);
}

.order-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border-box);
}

.order-id-block h2 {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-main);
}

.order-id-block p {
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 2px;
}

.badge-status {
	background: rgba(234, 179, 8, 0.1);
	border: 1px solid var(--status-pending);
	color: var(--status-pending);
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.badge-status-success {
	background: rgba(232, 238, 234, 0.1);
	border: 1px solid var(--status-finished);
	color: var(--status-finished);
}

.badge-status-error {
	background: rgba(246, 215, 217, 0.1);
	border: 1px solid var(--status-error);
	color: var(--status-error);
}

.badge-status-refund {
	background: rgba(237, 230, 243, 0.1);
	border: 1px solid var(--status-refund);
	color: var(--status-refund);
}

.warning-box {
	display: block;
	background: rgba(255, 0, 20, 0.1);
	border: 1px solid rgba(255, 0, 20, 0.8);
	color: var(--text-main);
	margin: 14px 8px 8px 8px;
	padding: 6px;
	text-align: justify;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.light-warning-box {
	display: block;
	background: rgba(255, 0, 20, 0.03);
	border: 1px solid rgba(255, 0, 20, 0.3);
	color: var(--text-main);
	margin: 14px 8px 8px 8px;
	padding: 6px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-align: justify;
	transition: all 0.3s ease;
}

.info-box {
	display: block;
	background: rgba(114, 181, 255, 0.1);
	border: 1px solid rgba(114, 181, 255, 0.8);
	color: var(--text-main);
	text-align: justify;
	margin: 14px 8px 8px 8px;
	padding: 6px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.light-info-box {
	display: block;
	background: rgba(114, 181, 255, 0.03);
	border: 1px solid rgba(114, 181, 255, 0.3);
	color: var(--text-main);
	margin: 14px 8px 8px 8px;
	padding: 6px;
	text-align: justify;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.success-text {
	display: block;
	background: var(--success-text-bg);
	border: 1px solid rgba(28, 118, 12, 0.9);
	color: var(--text-main);
	margin: 14px 14px;
	padding: 16px;
	text-align: justify;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.error-text {
	display: block;
	background: var(--error-text-bg);
	border: 1px solid rgba(200, 0, 19, 0.9);
	color: var(--text-main);
	margin: 14px 14px;
	padding: 16px;
	text-align: justify;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.warning-box img, .light-warning-box img, .info-box img, light-info-box img, .error-text img, .success-text img {
    vertical-align: middle;
}

.warning-box svg, .light-warning-box svg, .info-box svg, light-info-box svg, .error-text svg, .success-text svg {
    vertical-align: middle;
}

.success-text a, .error-text a {
	color: var(--text-main)!important;
}

.message-body2 {
	padding: 10px 24px 20px 24px;
}

.message-body2 p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.bubble-box {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap:8px;
	justify-content: center;
}

.bubble-link {
	text-decoration:none;
	background: #335D8C;
	border: 1px solid #2E4053;
	color: white;
	margin: 2px;
	padding: 8px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.bubble-link:hover {
	background: #5D8BBF;
	border: 1px solid #3C5E81;
	color: white;
}

.warning-box a, .info-box a, .light-info-box a, .light-warning-box a {
	color: white!important;
}

.warning-banner {
	background: var(--warning-bg);
	border: 1px solid var(--warning-border);
	text-align: justify;
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 24px;
	display: flex;
	gap: 12px;
}

.warning-banner svg {
	color: var(--status-pending);
	flex-shrink: 0;
	margin-top: 2px;
}

.warning-banner p {
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-main);
}

.warning-banner strong {
	color: var(--status-pending);
}

.detail-row {
	background: var(--bg-box);
	border: 1px solid var(--border-box);
	border-radius: 10px;
	padding: 16px;
	margin-bottom: 12px;
}

.detail-row-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.detail-row-item:last-child {
	margin-bottom: 0;
}

.detail-label {
	font-size: 12px;
	color: var(--text-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.detail-value {
	font-family: monospace;
	font-size: 14px;
	font-weight: 700;
	color: var(--text-main);
	display: flex;
	align-items: center;
	gap: 6px;
	text-align:left;
}

.value-address, .value-light, .value-address a {
	font-family: monospace;
	font-size: 14px;
	font-weight: 700;
	color: var(--text-main);
	word-break: break-all;
	text-align: left;
	max-width: 240px;
}

.value-light, .value-light a {
	color: var(--text-muted);
}

.value-memo {
	font-family: monospace;
	font-size: 14px;
	font-weight: 700;
	color: #FF7F00;
	word-break: break-all;
	text-align: left;
	max-width: 240px;
}

.copy-btn {
	background: transparent;
	border: none;
	color: var(--text-muted);
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: color 0.15s;
}

.copy-btn:hover {
	color: var(--nav-active);
}

.qr-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: var(--bg-box);
	border: 1px solid var(--border-box);
	border-radius: 10px;
	margin-bottom: 12px;
}

.qr-wrapper {
	background: white;/*var(--qr-bg);*/
	padding: 12px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.qr-wrapper svg {
	fill: var(--qr-fg);
}

.qr-timer {
	margin-top: 14px;
	font-size: 13px;
	color: var(--text-muted);
	font-weight: 600;
}

.qr-timer span {
	color: var(--status-pending);
	font-family: monospace;
	font-size: 14px;
}

.timeline-box {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 8px 4px;
	position: relative;
}

.timeline-box::before {
	content: '';
	position: absolute;
	left: 11px;
	top: 20px;
	bottom: 20px;
	width: 2px;
	background: var(--border-box);
	z-index: 0;
}

.timeline-step {
	display: flex;
	gap: 16px;
	position: relative;
	z-index: 1;
}

.timeline-node {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--bg-body);
	border: 2px solid var(--border-box);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 700;
	transition: all 0.3s;
}

.timeline-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.timeline-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-muted);
}

.timeline-desc {
	font-size: 12px;
	color: var(--text-muted);
	margin-top: 2px;
}

.timeline-step.complete .timeline-node {
	border-color: var(--status-success);
	background: var(--status-success);
	color: #ffffff;
}
.timeline-step.complete .timeline-title {
	color: var(--text-main);
}

.timeline-step.active .timeline-node {
	border-color: var(--nav-active);
	box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
	color: var(--nav-active);
	background: var(--bg-body);
}
.timeline-step.active .timeline-title {
	color: var(--text-main);
	font-weight: 800;
}

.timeline-step.error-state.active .timeline-node {
	border-color: var(--status-error);
	box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
	color: var(--status-error);
}
.timeline-step.error-state.active .timeline-title {
	color: var(--status-error);
}

.timeline-step.refund-state.active .timeline-node {
	border-color: var(--status-refund);
	box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
	color: var(--status-refund);
}
.timeline-step.refund-state.active .timeline-title {
	color: var(--status-refund);
}

.hidden-svg {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

@media (max-width: 840px) {
	.status-layout {
		grid-template-columns: 1fr;
	}
}

.loading-div {
	height: 32px;
	width:auto;
}

.no-scroll {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px); 
}

#waiter2 {
	z-index: 100000000000;
    position: fixed;
    left:0;
    right: 0;
    top: 0;
    bottom: 0;
    width:100%;
    height: 100%;
    background-color: black;
    opacity: 0.9;
}


#waiter {
    z-index: 9999999999;
    position: fixed;
    left:0;
    right: 0;
    top: 0;
    bottom: 0;
    width:100%;
    height: 100%;
    background-color: black;
    opacity: 0.9;
}

#waiterimg {
    max-width:250px;
    height: 120px!important;
    margin: auto auto;
    position: relative;
    top:30%;
    left:45%;
}

.menu-toggle-btn {
    display: none;
    background: var(--bg-box);
    border: 1px solid var(--border-box);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

svg.menu-toggle-btn {
    background: var(--bg-box);
    color: var(--text-main);
    border: 1px solid var(--border-box);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-toggle-btn:hover {
	border-color: var(--nav-active);
	background: var(--bg-select);
}

.mob-only {
	display:none;
}

.no-mob-only {
	display:block;
}

@media (max-width: 640px) {
    .mob-only {
		display:block;
    }

	.no-mob-only {
		display:none;
	}
    
    .menu-toggle-btn {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 16px;
        right: 16px;
        background: var(--modal-bg);
        border: 1px solid var(--modal-border);
        border-radius: 12px;
        padding: 20px;
        gap: 16px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        z-index: 999;
        
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    
    .nav-links .connect-btn {
		display:block;
    }

    .nav-links.mobile-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

footer {
	width: 100%;
	max-width: 1040px;
	padding: 40px 10px 20px 10px;
	margin-top: 60px;
	border-top: 1px solid var(--border-select);
	display: flex;
	flex-direction: column;
	gap: 20px;
	z-index: 1;
}

.footer-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.footer-links {
	display: inline-block;
	gap: 24px;
	list-style: none;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: var(--nav-active);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--text-muted);
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 640px) {
	.footer-links {
		display: none;
	}
}
        
.clipboard-txt-span {
	cursor: pointer;
}

.blink {
  /* Durations can be adjusted; infinite loops the animation forever */
  animation: fadeBlink 1.5s linear infinite; 
}

@keyframes fadeBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.red-blink {
  padding: 2px 5px;
  border-radius: 3px;
  border: 1px solid red; /* Base border */
  animation: blink-fade 1.5s linear infinite;
}

@keyframes blink-fade {
  0%, 100% {
	border-color: red;
  }
  50% {
	border-color: transparent;
  }
}

.red {
	color:red;
}

.blink_me {
  animation: blinker 2.5s linear infinite;
}
@keyframes blinker {
  50% {
    opacity: 0.1;
  }
}

.blink_me2 {
	background: linear-gradient(-45deg, #6355a4, #6355a4, #e89a3e, #e89a3e);
	background-size: 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: animated_text 2s ease-in-out infinite;
	-moz-animation: animated_text 2s ease-in-out infinite;
	-webkit-animation: animated_text 2s ease-in-out infinite;
}

@keyframes animated_text {
	0% { background-position: 0px 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0px 50%; }
}

/* page Content Layout */
.page-container {
	width: 100%;
	max-width: 800px;
	background: var(--bg-container);
	backdrop-filter: blur(25px);
	border: 1px solid var(--border-container);
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 25px 60px var(--shadow-container);
	position: relative;
	margin-bottom: 40px;
}

.page-container::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #00f2fe, #1d4ed8, transparent);
}

.page-container h2 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.page-container .is-size-4 {
	font-size: 18px;
	font-weight: 700;
	padding-top: 16px;
	padding-bottom: 8px;
}

.page-container .is-size-5 {
	font-size: 16px;
	font-weight: 700;
	padding-top: 8px;
	padding-bottom: 8px;
}

.page-container a, .page-container a:hover {
	color: var(--text-muted);
}

.page-subtitle {
	color: var(--text-muted);
	font-size: 15px;
	margin-bottom: 32px;
}

/* Support Content Layout */
.support-container {
	width: 100%;
	max-width: 800px;
	background: var(--bg-container);
	backdrop-filter: blur(25px);
	border: 1px solid var(--border-container);
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 25px 60px var(--shadow-container);
	position: relative;
	margin-bottom: 40px;
}

.support-container::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 20px;
	right: 20px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #00f2fe, #1d4ed8, transparent);
}

h2.support-container {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}

.support-subtitle {
	color: var(--text-muted);
	font-size: 15px;
	margin-bottom: 32px;
}

/* FAQ Accordion Configuration */
.faq-section, .help-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.help-section a, .help-section a:hover {
	color: var(--text-muted);
	text-decoration: none;
}

.faq-item {
	background: var(--bg-box);
	border: 1px solid var(--border-box);
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.2s;
}

.faq-trigger {
	width: 100%;
	background: transparent;
	border: none;
	outline: none;
	padding: 18px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	text-align: left;
}

.faq-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--text-main);
}

.faq-arrow {
	color: var(--text-muted);
	transition: transform 0.2s ease;
}

.faq-item.active .faq-arrow {
	transform: rotate(180deg);
	color: var(--nav-active);
}

.faq-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease-out;
}

.faq-content-inner {
	padding: 0 20px 20px 20px;
	color: var(--text-muted);
	font-size: 14px;
	line-height: 1.6;
}

/* Form Configuration */
.ticket-form {
	margin-top: 40px;
	border-top: 1px solid var(--border-box);
	padding-top: 32px;
}

.form-group, .page-group {
	margin-bottom: 16px;
}

.form-group label, .page-group label {
	display: block;
	font-size: 12px;
	color: var(--text-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.page-group label {
	font-size: 16px;
	color: var(--text-main);
}

.form-input, .form-textarea {
	width: 100%;
	background: var(--bg-box);
	border: 1px solid var(--border-box);
	border-radius: 8px;
	padding: 14px;
	color: var(--text-main);
	font-size: 14px;
	outline: none;
	transition: all 0.2s;
}

.form-textarea {
	height: 120px;
	resize: vertical;
}

.form-input:focus, .form-textarea:focus {
	border-color: var(--border-box-focus);
	background: var(--bg-select);
}

.submit-btn {
	background: linear-gradient(90deg, #1d4ed8, #00f2fe);
	border: none;
	border-radius: 8px;
	color: #ffffff;
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
	transition: all 0.2s;
}

.submit-btn:hover {
	box-shadow: 0 6px 20px rgba(29, 78, 216, 0.5);
	opacity: 0.95;
	transform: translateY(-0.5px);
}

.hidden-svg {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

@media (max-width: 640px) {
	.support-container { padding: 20px 16px; }
}

#modal1 {
	z-index: 99999999;
}


.celebration-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0); 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  pointer-events: none;
  z-index: 9999;
}

.finish-message {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 3rem;
  color: var(--status-finished);
  font-weight: 800;
  opacity: 0;
  transform: scale(0.5);
  margin: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align:center;
  text-shadow: 
	-1px -1px 0 #ffffff,  
	 1px -1px 0 #ffffff,
	-1px  1px 0 #ffffff,
	 1px  1px 0 #ffffff;
}

.confetti-cluster {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
}

.confetti {
  position: absolute;
  width: 12px;
  height: 25px;
  border-radius: 3px;
  transform: translate(0, 0) rotate(0deg);
}

.p1 { background-color: #f1c40f; } /* Yellow */
.p2 { background-color: #e74c3c; } /* Red */
.p3 { background-color: #3498db; } /* Blue */
.p4 { background-color: #9b59b6; } /* Purple */
.p5 { background-color: #e67e22; } /* Orange */

body.job-finished .celebration-overlay {
  animation: flash-fade 2.5s forwards;
}

body.job-finished .finish-message {
  opacity: 1;
  transform: scale(1);
  animation: text-float 2.5s forwards;
}

body.job-finished .confetti-cluster {
  opacity: 1;
}

body.job-finished .p1 { animation: burst-1 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; }
body.job-finished .p2 { animation: burst-2 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; }
body.job-finished .p3 { animation: burst-3 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; }
body.job-finished .p4 { animation: burst-4 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; }
body.job-finished .p5 { animation: burst-5 1.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; }

@keyframes flash-fade {
  0% { background: var(--flash-color); }
  15% { background: rgba(46, 204, 113, 0.05); }
  80% { opacity: 1; }
  100% { opacity: 0; background: rgba(0, 0, 0, 0); }
}

@keyframes text-float {
  0% { transform: scale(0.6); opacity: 0; }
  12% { transform: scale(1.05); opacity: 1; }
  18% { transform: scale(1); }
  80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-40px); }
}

@keyframes burst-1 { 100% { transform: translate(-200px, -150px) rotate(350deg); opacity: 0; } }
@keyframes burst-2 { 100% { transform: translate(200px, -170px) rotate(120deg); opacity: 0; } }
@keyframes burst-3 { 100% { transform: translate(-110px, -260px) rotate(240deg); opacity: 0; } }
@keyframes burst-4 { 100% { transform: translate(110px, -240px) rotate(-90deg); opacity: 0; } }
@keyframes burst-5 { 100% { transform: translate(0px, -310px) rotate(45deg); opacity: 0; } }

.article-wrapper{
    position:relative;
    max-width:900px;
    margin:auto;
}

.article{
    overflow:hidden;
    transition:max-height .5s ease;
	color: var(--text-muted);
    line-height: 1.6;
    text-align: justify;
}

.article h1 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 8px;
}

.article h2 {
	font-size: 17px;
	padding: 8px 0;
	color: var(--text-muted);
}

.article p, .article ul {
	font-size: 14px;
	line-height: 1.6;
	padding: 4px 0;
}

.article.collapsed{
    max-height:400px;
}

.article.expanded{
    max-height:5000px;
}

.article .action-btn {
	z-index: 888;
	clear:both;
}

.fade{
	z-index: 77;
    position:absolute;
    left:0;
    right:0;
    bottom:55px;
    height:120px;
    pointer-events:none;
    background:linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        color-mix(in srgb, var(--bg-body) 40%, transparent) 45%,
        color-mix(in srgb, var(--bg-body) 70%, transparent) 70%,
        var(--bg-body) 100%
    );
}

.fade.hide{
    display:none;
}

.bigger {
	font-size: 24px!important;
}

.big {
	font-weight: 600;
	font-size: 16px;
}

.theme-switch-toast {
	opacity:0.7;
	position: fixed;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 300px;
	padding: 10px 12px;
	padding-right: 34px;
	background: #222;
	color: #fff;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0,0,0,.2);
	font-size: 13px;
	z-index: 9999;
}

.theme-switch-toast p {
	margin: 0;
	flex: 1;
	line-height: 1.3;
}

.theme-switch-toast button.switch-btn {
	border: none;
	background: #2563eb;
	color: white;
	padding: 7px 10px;
	border-radius: 6px;
	font-size: 12px;
	cursor: pointer;
	white-space: nowrap;
}

.theme-switch-toast button.switch-btn:hover {
	background: #1d4ed8;
}

.close-btn {
	position: absolute;
	top: 5px;
	right: 7px;
	width: 20px;
	height: 20px;
	border: none;
	background: transparent;
	color: #bbb;
	font-size: 18px;
	line-height: 18px;
	cursor: pointer;
	padding: 0;
}

.close-btn:hover {
	color: #fff;
}

@media (max-width: 480px) {
	.theme-switch-toast {
		  left: 12px;
		  right: 12px;
		  bottom: 12px;
		  max-width: none;
	}
}

