/* ============================================================
   S4T TRADING — MASTER CSS
   Stack: Bootstrap 5 + Font Awesome 6 + Exo2/Rajdhani fonts
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bg-primary:      #0a0e1a;
  --bg-secondary:    #0d1220;
  --bg-card:         #111827;
  --bg-card-hover:   #161f30;
  --sidebar-bg:      #0d1220;
  --sidebar-width:   220px;

  --gold:            #f0a500;
  --gold-light:      #ffd166;
  --gold-dark:       #c47d00;
  --green:           #00d26a;
  --red:             #ff4757;
  --purple:          #7c3aed;
  --blue:            #1d4ed8;

  --border:          rgba(240,165,0,0.12);
  --border-hover:    rgba(240,165,0,0.28);

  --text-primary:    #f0f4ff;
  --text-muted:      #8899bb;
  --sidebar-active:  rgba(240,165,0,0.12);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* scrollbar */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(240,165,0,0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(240,165,0,0.5); }

/* ── LAYOUT ── */
#s4t-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── SIDEBAR ── */
#sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1),
              width   0.3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Desktop: collapsed via class */
#sidebar.s4t-collapsed {
  width: 0;
  transform: translateX(-100%);
}

/* Mobile: hidden by default, open on demand */
@media (max-width: 991.98px) {
  #sidebar {
    transform: translateX(-100%);
  }
  #sidebar.s4t-open {
    transform: translateX(0);
  }
}

/* sidebar logo area */
.s4t-sidebar-logo {
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.s4t-logo-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #aa0000 0%, #006600 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.s4t-logo-text .brand {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
}
.s4t-logo-text .sub {
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Sidebar Core Frame */
.s4t-sidebar-nav {
	flex: 1;
	padding: 16px 8px; /* Inner padding dynamic gaps ke liye */
	overflow-y: auto;
	overflow-x: hidden;
	background: #060b13; /* Deep premium blue-black gradient canvas */
}

/* Section Separators (Menu Header Categories) */
.s4t-nav-section {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #3d4f6d; /* Soft muted structural blue-gray */
	padding: 18px 16px 6px;
	white-space: nowrap;
}

/* Default State Navigation Links */
.s4t-nav-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 16px;
	color: #8fa2bf; /* Semi-matte platinum gray default items */
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 10px; /* Image jaisa smooth rounded box cutout context */
	margin-bottom: 2px;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

	/* Vector Default Font-Awesome Sizing */
	.s4t-nav-item i {
		width: 20px;
		text-align: center;
		font-size: 15px;
		color: #7284a1; /* Matching vector contrast ratio */
		flex-shrink: 0;
		transition: color 0.25s ease;
	}

	/* Hover Interaction States */
	.s4t-nav-item:hover {
		color: #ffffff;
		background: rgba(255, 255, 255, 0.03);
	}

		.s4t-nav-item:hover i {
			color: #ffffff;
		}

	/* ── EXACT PHOTO MATCH: Active Active Highlight Tab State ── */
	.s4t-nav-item.active {
		font-weight: 600;
		/* Dark golden base coat blend with light edge highlight reflections */
		background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.04) 100%);
		border: 1px solid rgba(212, 175, 55, 0.18);
		box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 4px 15px rgba(0, 0, 0, 0.2);
	}

		/* Active State Text Dynamic Gradient Overlay */
		.s4t-nav-item.active,
		.s4t-nav-item.active i {
			background: linear-gradient(120deg, #ffeaa5 0%, #d4af37 50%, #aa7c11 100%);
			-webkit-background-clip: text;
			-webkit-text-fill-color: transparent;
			background-clip: text;
		}

			/* Gold Drop-Glow behind Vector Icons */
			.s4t-nav-item.active i {
				-webkit-text-fill-color: transparent;
				filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.5));
			}





/* sidebar footer */
.s4t-sidebar-footer {
  border-top: 1px solid var(--border);
  padding: 8px 0;
  flex-shrink: 0;
}

/* ── OVERLAY (mobile) ── */
#s4t-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1040;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
#s4t-overlay.show { display: block; }

/* ── MAIN ── */
#s4t-main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: calc(100% - var(--sidebar-width));
  transition: margin-left 0.3s cubic-bezier(.4,0,.2,1),
              width       0.3s cubic-bezier(.4,0,.2,1);
}

/* When sidebar is desktop-collapsed */
#s4t-main.s4t-full {
  margin-left: 0;
  width: 100%;
}

@media (max-width: 991.98px) {
  #s4t-main {
    margin-left: 0 !important;
    width: 100% !important;
  }
}

/* ── TOPBAR / APP HEADER ── */
.s4t-topbar {
  position: sticky; top: 0; z-index: 999;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}

.s4t-topbar-left { display: flex; align-items: center; gap: 12px; }

.s4t-topbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.s4t-topbar-center img.logo {
  height: 36px;
  object-fit: contain;
  display: block;
}
.s4t-topbar-center .tc-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
}
.s4t-topbar-center .tc-sub {
  font-size: 8px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.s4t-topbar-right { display: flex; align-items: center; gap: 8px; }

/* hamburger / toggle button */
.s4t-toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  padding: 5px 7px;
  border-radius: 8px;
  display: flex; align-items: center;
  transition: all 0.2s;
  line-height: 1;
}
.s4t-toggle-btn:hover { color: var(--gold); background: rgba(240,165,0,0.08); }

/* notification bell */
.s4t-notif-btn {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-muted); font-size: 16px;
  transition: all 0.2s;
}
.s4t-notif-btn:hover { color: var(--gold); border-color: var(--gold); }
.s4t-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--red);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* avatar button */
.s4t-avatar-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px 4px 5px;
  cursor: pointer;
  transition: all 0.2s;
}
.s4t-avatar-btn:hover { border-color: rgba(240,165,0,0.4); }
.s4t-avatar-btn img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold-dark);
}
.s4t-avatar-fallback {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #111;
  flex-shrink: 0;
}
.s4t-avatar-btn .av-name {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s4t-avatar-btn .av-caret {
  font-size: 10px;
  color: var(--text-muted);
}

/* ── PAGE CONTENT ── */
.s4t-content {
  padding: 18px;
  flex: 1;
}

/* ── HERO BANNER ── */
.s4t-hero {
  background: linear-gradient(135deg, #0d1a2e 0%, #111827 45%, #0a1520 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.s4t-hero::before {
  content: '';
  position: absolute; right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(240,165,0,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.s4t-hero-sparkline {
  position: absolute;
  right: 130px; top: 0; bottom: 0;
  width: 160px;
  opacity: 0.12;
  display: flex; align-items: flex-end;
  pointer-events: none;
}

.s4t-hero-user {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative; z-index: 1;
}
.s4t-hero-avatar {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	flex-shrink: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Rich deep dark radial tone for the avatar container canvas */
	background: radial-gradient(circle at center, #0e1726 0%, #060b13 100%);
	/* Luxury thin golden rim border with ambient outer glow */
	border: 2px solid rgba(212, 175, 55, 0.4);
	box-shadow: 0 0 14px rgba(212, 175, 55, 0.15), inset 0 0 8px rgba(0, 0, 0, 0.6);
	position: relative;
}

	/* Default vector icon design when image is absent */
	.s4t-hero-avatar i {
		font-size: 22px;
		/* Ultimate golden metallic multi-stop layer */
		background: linear-gradient(135deg, #FFEAA5 0%, #D4AF37 40%, #AA7C11 75%, #FDF6C7 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
		display: inline-block;
		filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
	}

	/* User avatar uploaded image element */
	.s4t-hero-avatar img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 50%;
	}

/* Relative baseline framework layout wrapper */
.s4t-avatar-btn-wrapper {
	position: relative;
	display: inline-block;
}

.s4t-avatar-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	cursor: pointer;
	padding: 6px 12px;
	border-radius: 20px;
	transition: background 0.2s ease;
}

	.s4t-avatar-btn:hover {
		background: rgba(255, 255, 255, 0.03);
	}

/* Caret Arrow Smooth Rotation */
.av-caret {
	font-size: 11px;
	color: #7284a1;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-caret {
	transform: rotate(180deg);
	color: #d4af37;
}

/* ── THE PROFILE POPUP OVERLAY CARD ── */
.s4t-profile-popup {
	position: absolute;
	top: 115%; /* Buttons context ke thoda niche placement */
	right: 0;
	width: 180px;
	background: #090f19; /* High contrast dark solid slate background */
	border: 1px solid rgba(212, 175, 55, 0.25); /* Premium thin gold border line */
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.56), inset 0 1px 1px rgba(255, 255, 255, 0.05);
	padding: 8px;
	z-index: 999;
	animation: s4tPopupFadeIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Top Mini-Triangular Indicator Arrow Vector Shape */
.popup-arrow {
	position: absolute;
	top: -6px;
	right: 20px;
	width: 10px;
	height: 10px;
	background: #090f19;
	border-left: 1px solid rgba(212, 175, 55, 0.25);
	border-top: 1px solid rgba(212, 175, 55, 0.25);
	transform: rotate(45deg);
}

/* Row Action Item Modifiers */
.popup-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: #8fa2bf;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.2s ease;
}

	.popup-item i {
		font-size: 14px;
		color: #7284a1;
		width: 16px;
		text-align: center;
	}

	/* Item Action Hover Highlighting rules */
	.popup-item:hover {
		color: #ffffff;
		background: rgba(212, 175, 55, 0.08);
	}

		.popup-item:hover i {
			color: #d4af37; /* Vectors turn metallic gold on element focus */
		}

/* Inside Context Division Separator line */
.popup-divider {
	border: 0;
	height: 1px;
	background: rgba(61, 79, 109, 0.25);
	margin: 6px 4px;
}

/* Logout action color safety accent matching */
.popup-item.logout-action:hover {
	background: rgba(255, 71, 87, 0.1);
	color: #ff4757;
}

	.popup-item.logout-action:hover i {
		color: #ff4757;
	}

/* Clean micro frame enter slide transitions animation engine */
@keyframes s4tPopupFadeIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
.s4t-hero-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px; font-weight: 700;
  line-height: 1;
}
.s4t-hero-id {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.s4t-hero-logo {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.s4t-hero-logo .hl-brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--gold);
}
.s4t-hero-logo .hl-sub {
  font-size: 7px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── QUICK ACTION CARDS ── */
.s4t-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 11px;
  margin-bottom: 18px;
}

.s4t-qa-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 13px 11px;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.s4t-qa-card::after {
  content: '›';
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: rgba(255,255,255,0.15);
  transition: right 0.2s, color 0.2s;
}
.s4t-qa-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: var(--bg-card-hover);
}
.s4t-qa-card:hover::after { right: 5px; color: rgba(255,255,255,0.4); }

.s4t-qa-icon {
  width: 40px; height: 40px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.s4t-qa-icon.c-blue   { background: linear-gradient(135deg, #1a3a8f, #2563eb); color: #fff; }
.s4t-qa-icon.c-green  { background: linear-gradient(135deg, #065f46, #10b981); color: #fff; }
.s4t-qa-icon.c-red    { background: linear-gradient(135deg, #7f1d1d, #ef4444); color: #fff; }
.s4t-qa-icon.c-purple { background: linear-gradient(135deg, #4c1d95, #8b5cf6); color: #fff; }
.s4t-qa-icon.c-gold   { background: linear-gradient(135deg, #78350f, #f59e0b); color: #fff; }

.s4t-qa-text { line-height: 1.25; }
.s4t-qa-text .qt { font-weight: 700; font-size: 12.5px; color: var(--text-primary); }
.s4t-qa-text .qs { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ── STAT GRID ── */
.s4t-stat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr 1fr);
	gap: 11px;
}

.s4t-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 13px;
  transition: background 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.s4t-stat-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(240,165,0,0.2);
}
/* Core Vector Container Styling */
.s4t-stat-icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Rich background gradient layer from image reference */
	background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, rgba(10, 15, 28, 0.6) 100%);
	/* Precision dynamic borders */
	border: 1px solid rgba(212, 175, 55, 0.25);
	box-shadow: inset 0 0 8px rgba(212, 175, 55, 0.1), 0 4px 8px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease-in-out;
}

	/* Gold Gradient Effect Specific to FontAwesome Vectors */
	.s4t-stat-icon i {
		font-size: 22px;
		background: linear-gradient(135deg, #FFEAA5 0%, #D4AF37 40%, #AA7C11 75%, #FDF6C7 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
		display: inline-block;
		/* Soft glow shadow behind vectors */
		filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5)) drop-shadow(0px 0px 4px rgba(212, 175, 55, 0.3));
	}

/* Highly Interactive Card Mouse Hover Glow State */
.s4t-stat-card:hover .s4t-stat-icon {
	border-color: rgba(255, 215, 0, 0.6);
	box-shadow: inset 0 0 12px rgba(255, 215, 0, 0.25), 0 0 10px rgba(255, 215, 0, 0.15);
	transform: scale(1.04);
}

.s4t-stat-info { flex: 1; min-width: 0; }
.s4t-stat-label {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s4t-stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.s4t-stat-value.v-gold  { color: var(--gold); }
.s4t-stat-value.v-green { color: var(--green); }
.s4t-stat-value.v-red   { color: var(--red); }
.s4t-stat-value.v-white { color: var(--text-primary); font-size: 18px; }

/* extras on specific cards */
.s4t-stat-badge {
  position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #065f46, #10b981);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #fff;
}
.s4t-sparkline {
  position: absolute; right: 8px; top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}

/* ── BOTTOM NAV (mobile only) ── */
.s4t-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.s4t-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 7px 0 9px;
}
.s4t-bn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  cursor: pointer;
  padding: 4px 14px;
  color: var(--text-muted);
  font-size: 10px; font-weight: 500;
  transition: color 0.2s;
  min-width: 54px;
}
.s4t-bn-item i { font-size: 20px; }
.s4t-bn-item.active { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1280px) {
  .s4t-quick-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .s4t-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .s4t-content { padding: 14px; }
  .s4t-hero { padding: 16px 16px; }
  .s4t-hero-name { font-size: 20px; }
  .s4t-hero-logo { display: none; }
}
@media (max-width: 767.98px) {
  .s4t-bottom-nav { display: block; }
  .s4t-content { padding-bottom: 80px; }
  .s4t-quick-grid { grid-template-columns: repeat(2, 1fr); }
  .s4t-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479.98px) {
  .s4t-stat-grid { grid-template-columns: 1fr 1fr; }
  .s4t-stat-value { font-size: 20px; }
  .s4t-hero-name { font-size: 17px; }
  .s4t-hero-avatar { width: 46px; height: 46px; font-size: 18px; }
}
@media (max-width: 359.98px) {
  .s4t-stat-grid { grid-template-columns: 1fr; }
  .s4t-quick-grid { grid-template-columns: 1fr 1fr; }
}

/* ── UTILITY ── */
.mb-s  { margin-bottom: 11px; }
.mb-m  { margin-bottom: 18px; }
.text-gold  { color: var(--gold); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.border-top-s { border-top: 1px solid var(--border); }




/* ── SIDEBAR ── */
#sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: var(--sidebar-width);
	height: 100vh;
	background: var(--sidebar-bg);
	border-right: 1px solid var(--border);
	z-index: 1050;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s cubic-bezier(.4,0,.2,1), width 0.3s;
	overflow-y: auto;
	overflow-x: hidden;
}

	#sidebar.collapsed {
		width: 0;
		transform: translateX(-100%);
	}

.sidebar-logo {
	padding: 20px 16px 16px;
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	gap: 10px;
}

.logo-icon {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, #c00 0%, #006600 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

	.logo-icon::after {
		content: '📈';
		font-size: 20px;
	}

.logo-text {
	line-height: 1.1;
}

	.logo-text .brand {
		font-family: 'Rajdhani', sans-serif;
		font-weight: 700;
		font-size: 18px;
		color: var(--gold);
		letter-spacing: 1px;
	}

	.logo-text .sub {
		font-size: 9px;
		color: var(--text-muted);
		letter-spacing: 2px;
		text-transform: uppercase;
	}

.sidebar-nav {
	padding: 12px 0;
	flex: 1;
}

.nav-item-s {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 20px;
	color: var(--text-muted);
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	border-left: 3px solid transparent;
	transition: all 0.2s;
	white-space: nowrap;
}

	.nav-item-s:hover {
		color: var(--text-primary);
		background: rgba(255,255,255,0.04);
	}

	.nav-item-s.active {
		color: var(--gold);
		background: var(--sidebar-active);
		border-left-color: var(--gold);
	}

	.nav-item-s i {
		width: 18px;
		text-align: center;
		font-size: 15px;
		flex-shrink: 0;
	}

.sidebar-footer {
	border-top: 1px solid var(--border);
	padding: 12px 0;
}

/* ── OVERLAY ── */
#overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.6);
	z-index: 1040;
	backdrop-filter: blur(2px);
}

	#overlay.show {
		display: block;
	}

/* ── MAIN ── */
#main {
	margin-left: var(--sidebar-width);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	transition: margin-left 0.3s cubic-bezier(.4,0,.2,1);
}

	#main.full {
		margin-left: 0;
	}

/* ── TOPBAR ── */
.topbar {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border);
	padding: 0 20px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	backdrop-filter: blur(10px);
}

.topbar-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.toggle-btn {
	background: none;
	border: none;
	color: var(--text-muted);
	font-size: 20px;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
}

	.toggle-btn:hover {
		color: var(--gold);
		background: rgba(240,165,0,0.08);
	}

.topbar-brand {
	display: flex;
	align-items: center;
	gap: 8px;
}

	.topbar-brand .t-logo {
		font-family: 'Rajdhani', sans-serif;
		font-size: 20px;
		font-weight: 700;
		color: var(--gold);
	}

	.topbar-brand .t-sub {
		font-size: 9px;
		color: var(--text-muted);
		letter-spacing: 2px;
		text-transform: uppercase;
	}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
}

.notif-btn {
	position: relative;
	background: rgba(255,255,255,0.06);
	border: 1px solid var(--border);
	border-radius: 8px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-muted);
	font-size: 16px;
	transition: all 0.2s;
}

	.notif-btn:hover {
		color: var(--gold);
		border-color: var(--gold);
	}

.badge-notif {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--red);
	color: #fff;
	font-size: 9px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.avatar-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255,255,255,0.06);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 5px 10px;
	cursor: pointer;
	transition: all 0.2s;
}

	.avatar-btn:hover {
		border-color: var(--gold);
	}

.avatar-circle {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-dark), var(--gold));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: #000;
}

.avatar-btn span {
	font-size: 13px;
	color: var(--text-muted);
}

/* ── PAGE CONTENT ── */
.page-content {
	padding: 20px;
	flex: 1;
}

/* ── HERO BANNER ── */
.hero-banner {
	background: linear-gradient(135deg, #0d1a2e 0%, #111827 40%, #0a1520 100%);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}

	.hero-banner::before {
		content: '';
		position: absolute;
		right: -40px;
		top: -40px;
		width: 200px;
		height: 200px;
		background: radial-gradient(circle, rgba(240,165,0,0.08) 0%, transparent 70%);
		border-radius: 50%;
	}

.hero-chart-bg {
	position: absolute;
	right: 120px;
	top: 0;
	bottom: 0;
	width: 200px;
	opacity: 0.15;
	display: flex;
	align-items: flex-end;
}

.hero-user {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hero-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gold-dark), var(--gold));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	color: #111;
	border: 3px solid rgba(240,165,0,0.3);
	flex-shrink: 0;
}

.hero-name {
	font-family: 'Rajdhani', sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}

.hero-id {
	color: var(--gold);
	font-size: 14px;
	font-weight: 600;
	margin-top: 4px;
}

.hero-logo-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	opacity: 0.85;
	flex-shrink: 0;
}

	.hero-logo-right .hl-icon {
		font-size: 28px;
	}

	.hero-logo-right .hl-brand {
		font-family: 'Rajdhani', sans-serif;
		font-size: 14px;
		font-weight: 700;
		color: var(--gold);
	}

	.hero-logo-right .hl-sub {
		font-size: 8px;
		color: var(--text-muted);
		letter-spacing: 2px;
		text-transform: uppercase;
	}

/* ── QUICK ACTION CARDS ── */
.quick-actions {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.qa-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 14px 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	transition: all 0.25s;
	position: relative;
	overflow: hidden;
}

	.qa-card::after {
		content: '›';
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 18px;
		color: rgba(255,255,255,0.2);
		transition: all 0.2s;
	}

	.qa-card:hover {
		transform: translateY(-2px);
		border-color: rgba(255,255,255,0.2);
	}

		.qa-card:hover::after {
			right: 6px;
			color: rgba(255,255,255,0.5);
		}

.qa-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

	.qa-icon.blue {
		background: linear-gradient(135deg, #1a3a8f, #2563eb);
		color: #fff;
	}

	.qa-icon.green {
		background: linear-gradient(135deg, #065f46, #10b981);
		color: #fff;
	}

	.qa-icon.red {
		background: linear-gradient(135deg, #7f1d1d, #ef4444);
		color: #fff;
	}

	.qa-icon.purple {
		background: linear-gradient(135deg, #4c1d95, #8b5cf6);
		color: #fff;
	}

	.qa-icon.gold {
		background: linear-gradient(135deg, #78350f, #f59e0b);
		color: #fff;
	}

.qa-text {
	line-height: 1.2;
}

	.qa-text .qt {
		font-weight: 700;
		font-size: 13px;
		color: var(--text-primary);
	}

	.qa-text .qs {
		font-size: 10px;
		color: var(--text-muted);
		margin-top: 2px;
	}

/* ── STAT GRID ── */
.stat-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.stat-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: all 0.2s;
	position: relative;
	overflow: hidden;
}

	.stat-card:hover {
		background: var(--bg-card-hover);
		border-color: rgba(240,165,0,0.2);
	}

.stat-icon-wrap {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.stat-info {
	flex: 1;
}

.stat-label {
	font-size: 11px;
	color: var(--text-muted);
	font-weight: 500;
	letter-spacing: 0.3px;
	margin-bottom: 4px;
}

.stat-value {
	font-family: 'Rajdhani', sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}

	.stat-value.gold-v {
		color: var(--gold);
	}

	.stat-value.green-v {
		color: var(--green);
	}

	.stat-value.red-v {
		color: var(--red);
	}

	.stat-value.white-v {
		color: var(--text-primary);
	}

/* Active status card */
.stat-active-badge {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #065f46, #10b981);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
}

/* Chart line on training card */
.stat-sparkline {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0.6;
}

/* ── BOTTOM NAV (mobile only) ── */
.bottom-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--bg-secondary);
	border-top: 1px solid var(--border);
	z-index: 1000;
	padding: 0;
}

.bottom-nav-inner {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.bn-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	cursor: pointer;
	padding: 4px 16px;
	color: var(--text-muted);
	font-size: 10px;
	font-weight: 500;
	transition: color 0.2s;
	min-width: 56px;
}

	.bn-item i {
		font-size: 20px;
	}

	.bn-item.active {
		color: var(--gold);
	}

		.bn-item.active i {
			color: var(--gold);
		}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
	.quick-actions {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 992px) {
	:root {
		--sidebar-width: 220px;
	}

	#sidebar {
		transform: translateX(-100%);
	}

		#sidebar.open {
			transform: translateX(0);
		}

	#main {
		margin-left: 0 !important;
	}

	.quick-actions {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.quick-actions {
		grid-template-columns: 1fr 1fr;
	}

	.hero-banner {
		padding: 16px;
	}

	.hero-name {
		font-size: 20px;
	}

	.hero-logo-right {
		display: none;
	}

	.bottom-nav {
		display: block;
	}

	.page-content {
		padding: 14px;
		padding-bottom: 80px;
	}

	.topbar {
		padding: 0 14px;
	}
}

@media (max-width: 480px) {
	.quick-actions {
		grid-template-columns: 1fr 1fr;
	}

	.stat-grid {
		grid-template-columns: 1fr 1fr;
	}

	.qa-card {
		padding: 10px 10px;
	}

	.qa-text .qt {
		font-size: 11px;
	}

	.stat-value {
		font-size: 22px;
	}
}

@media (max-width: 360px) {
	.stat-grid {
		grid-template-columns: 1fr;
	}
}

/* Scrollbar */
::-webkit-scrollbar {
	width: 4px;
}

::-webkit-scrollbar-track {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	background: rgba(240,165,0,0.3);
	border-radius: 4px;
}

/* Glow on active nav */
.nav-item-s.active i {
	filter: drop-shadow(0 0 6px var(--gold));
}

/* Section headings */
.home-section-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 10px;
	padding-left: 2px;
	border-left: 3px solid var(--gold);
	padding-left: 10px;
}

/* Total bonus card highlight */
.home-total-card {
	border-color: rgba(240,165,0,0.3) !important;
	background: rgba(240,165,0,0.05) !important;
}

	.home-total-card:hover {
		border-color: rgba(240,165,0,0.5) !important;
	}

/* ── TEAM LIST ── */
.home-team-list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px; 
}

/* Jab screen desktop/PC size (992px se badi) hogi */
@media (min-width: 992px) {
	.home-team-list {
		/* PC me automatic ek row me 3 columns dikhenge */
		grid-template-columns: repeat(3, 1fr);
	}
}

.home-team-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 13px 16px;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}

	.home-team-item:hover {
		background: var(--bg-card-hover);
		border-color: rgba(240,165,0,0.3);
		transform: translateY(-2px); /* Premium touch ke liye chota sa hover lift up effect */
	}

.home-team-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.home-team-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.home-team-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.2;
}

.home-team-sub {
	font-size: 10px;
	color: var(--text-muted);
	margin-top: 2px;
}

.home-team-value {
	font-family: 'Rajdhani', sans-serif;
	font-size: 22px;
	font-weight: 700;
}
/* ── QUICK LINKS ── */
.home-links-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 12px;
}

@media (min-width: 992px) {
	.home-links-grid {
		/* PC me automatic ek row me 3 columns dikhenge */
		grid-template-columns: repeat(2, 1fr);
	}
}


.home-link-card {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 13px 14px;
	transition: background 0.2s, border-color 0.2s;
}

.home-link-card--action {
	cursor: pointer;
}

	.home-link-card--action:hover {
		background: var(--bg-card-hover);
		border-color: rgba(240,165,0,0.2);
	}

.home-link-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #fff;
	flex-shrink: 0;
}

.home-link-info {
	flex: 1;
	min-width: 0;
}

.home-link-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.2;
}

.home-link-url {
	font-size: 10px;
	color: var(--text-muted);
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.home-link-btn {
	background: rgba(240,165,0,0.12);
	border: 1px solid rgba(240,165,0,0.25);
	color: var(--gold);
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s;
	font-family: 'Exo 2', sans-serif;
	display: flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
}

	.home-link-btn:hover {
		background: rgba(240,165,0,0.22);
	}

.home-link-btn--join {
	background: rgba(0,210,106,0.1);
	border-color: rgba(0,210,106,0.25);
	color: var(--green);
}

	.home-link-btn--join:hover {
		background: rgba(0,210,106,0.2);
	}

/* ── NEWS ── */

.home-news-list {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 12px;
}

@media (min-width: 992px) {
	.home-news-list {
		/* PC me automatic ek row me 3 columns dikhenge */
		grid-template-columns: repeat(2, 1fr);
	}
}
.home-news-item {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
}

.home-news-img {
	width: 100%;
	max-height: 180px;
	object-fit: cover;
	display: block;
}

.home-news-body {
	padding: 12px 14px;
}

.home-news-title {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 4px;
}

.home-news-desc {
	font-size: 12px;
	color: var(--text-muted);
	line-height: 1.5;
}

/* ── AWARD REWARD ── */
.home-award-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.home-award-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 13px 14px;
	transition: background 0.2s;
}

	.home-award-item:hover {
		background: var(--bg-card-hover);
	}

.home-award-index {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(240,165,0,0.12);
	border: 1px solid rgba(240,165,0,0.25);
	color: var(--gold);
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.home-award-body {
	flex: 1;
	min-width: 0;
}

.home-award-team {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 4px;
}

.home-award-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

	.home-award-meta span {
		font-size: 10px;
		color: var(--text-muted);
		background: rgba(255,255,255,0.04);
		border-radius: 4px;
		padding: 2px 7px;
	}

.home-award-right {
	text-align: right;
	flex-shrink: 0;
}

.home-award-date {
	font-size: 11px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 4px;
}

.home-award-gift {
	font-size: 10px;
	color: var(--gold);
	margin-bottom: 4px;
}

.home-award-status {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 5px;
	padding: 2px 8px;
	display: inline-block;
}

	.home-award-status.s-active {
		background: rgba(0,210,106,0.12);
		color: var(--green);
	}

	.home-award-status.s-pending {
		background: rgba(255,165,0,0.12);
		color: var(--gold);
	}

/* ── RESPONSIVE tweaks ── */
@media (max-width: 479.98px) {
	.home-team-value {
		font-size: 18px;
	}

	.home-link-url {
		display: none;
	}
}



/* ============================================================
   WALLET BALANCE REQUEST PAGE — EXTRA CSS
   Master CSS ke upar sirf yeh add karo
   ============================================================ */

/* ── PAGE TITLE ── */
.wallet-page-title {
	font-family: 'Rajdhani', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--gold);
	letter-spacing: 1px;
	margin-bottom: 18px;
	padding-left: 12px;
	border-left: 3px solid var(--gold);
	display: flex;
	align-items: center;
	gap: 10px;
}

/* ── CARD HEADER ── */
.wallet-card-header {
	padding: 14px 18px;
	border-bottom: 1px solid var(--border);
	background: rgba(240, 165, 0, 0.03);
}

.wallet-card-body {
	padding: 18px;
}

/* ── FORM LABEL ── */
.wallet-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--text-muted);
	margin-bottom: 8px;
}

/* ── SELECT & INPUT ── */
.wallet-select,
.wallet-input {
	width: 100%;
	background: var(--bg-secondary);
	border: 1px solid rgba(240, 165, 0, 0.18);
	border-radius: 9px;
	color: var(--text-primary);
	font-family: 'Exo 2', sans-serif;
	font-size: 14px;
	padding: 11px 14px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
}

.wallet-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899bb' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

	.wallet-select option {
		background: var(--bg-secondary);
	}

	.wallet-select:focus,
	.wallet-input:focus {
		border-color: rgba(240, 165, 0, 0.5);
		box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.08);
	}

.wallet-input::placeholder {
	color: rgba(136, 153, 187, 0.5);
}

/* Input with suffix (PTS) */
.wallet-input-wrap {
	position: relative;
}

.wallet-input-suffix {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	font-weight: 700;
	color: var(--gold);
	letter-spacing: 1px;
	font-family: 'Rajdhani', sans-serif;
	pointer-events: none;
}

.wallet-input-wrap .wallet-input {
	padding-right: 52px;
}

/* ── FILE INPUT ── */
.wallet-file-input {
	width: 100%;
	background: var(--bg-secondary);
	border: 1px dashed rgba(240, 165, 0, 0.3);
	border-radius: 9px;
	color: var(--text-muted);
	font-family: 'Exo 2', sans-serif;
	font-size: 13px;
	padding: 10px 14px;
	cursor: pointer;
	transition: border-color 0.2s;
	box-sizing: border-box;
}

	.wallet-file-input:hover {
		border-color: rgba(240, 165, 0, 0.55);
	}

/* ── SLIP PREVIEW ── */
.wallet-slip-preview {
	width: 100%;
	height: 140px;
	background: var(--bg-secondary);
	border: 1px solid rgba(240, 165, 0, 0.10);
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
	color: rgba(136, 153, 187, 0.5);
	font-size: 12px;
	margin-top: 10px;
	overflow: hidden;
}

	.wallet-slip-preview img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.wallet-slip-preview i {
		font-size: 28px;
		color: rgba(240, 165, 0, 0.2);
	}

/* ── WALLET ADDRESS DISPLAY BOX ── */
.wallet-addr-box {
	background: var(--bg-secondary);
	border: 1px solid rgba(240, 165, 0, 0.20);
	border-radius: 9px;
	padding: 14px 16px;
	font-size: 13px;
	color: var(--gold-light);
	word-break: break-all;
	min-height: 52px;
	line-height: 1.6;
	margin-bottom: 10px;
	font-weight: 500;
	letter-spacing: 0.3px;
}

.wallet-addr-placeholder {
	color: var(--text-muted);
	font-style: italic;
	font-weight: 400;
}

/* ── QR CODE AREA ── */
.wallet-qr-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px 0 14px;
}

.wallet-qr-box {
	width: 120px;
	height: 120px;
	background: var(--bg-secondary);
	border: 2px solid rgba(240, 165, 0, 0.20);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	overflow: hidden;
}

	.wallet-qr-box i {
		font-size: 58px;
		color: rgba(240, 165, 0, 0.25);
	}

	.wallet-qr-box img {
		width: 100%;
		height: 100%;
		object-fit: contain;
		border-radius: 10px;
	}

.wallet-qr-label {
	font-size: 10px;
	color: var(--text-muted);
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ── NETWORK BADGE (USDT BEP-20) ── */
.wallet-mode-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(0, 210, 106, 0.10);
	border: 1px solid rgba(0, 210, 106, 0.25);
	color: var(--green);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 6px;
	margin-top: 8px;
}

/* ── BUTTONS ── */
.wallet-btn-copy {
	width: 100%;
	border-radius: 9px;
	font-family: 'Rajdhani', sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 12px 16px;
	cursor: pointer;
	border: 1px solid rgba(240, 165, 0, 0.30);
	background: rgba(240, 165, 0, 0.10);
	color: var(--gold);
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

	.wallet-btn-copy:hover {
		background: rgba(240, 165, 0, 0.18);
		border-color: rgba(240, 165, 0, 0.55);
	}

.wallet-btn-submit {
	width: 100%;
	border-radius: 9px;
	font-family: 'Rajdhani', sans-serif;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 13px 16px;
	cursor: pointer;
	border: none;
	background: linear-gradient(135deg, var(--gold-dark), var(--gold));
	color: #0a0e1a;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 4px;
}

	.wallet-btn-submit:hover {
		background: linear-gradient(135deg, var(--gold), var(--gold-light));
		transform: translateY(-1px);
	}

	.wallet-btn-submit:disabled {
		opacity: 0.5;
		cursor: not-allowed;
		transform: none;
	}

/* ── HISTORY LIST ── */
.wallet-history-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(240, 165, 0, 0.07);
	cursor: pointer;
	transition: background 0.2s;
}

	.wallet-history-item:last-child {
		border-bottom: none;
	}

	.wallet-history-item:hover {
		background: rgba(240, 165, 0, 0.04);
	}

.wallet-history-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wallet-history-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(240, 165, 0, 0.09);
	border: 1px solid rgba(240, 165, 0, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: var(--gold);
	flex-shrink: 0;
}

.wallet-history-idx {
	font-size: 11px;
	color: var(--text-muted);
	font-weight: 600;
	margin-bottom: 2px;
}

.wallet-history-date {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-primary);
}

.wallet-history-amt {
	font-size: 11px;
	color: var(--gold-light);
	margin-top: 2px;
}

.wallet-history-right {
	text-align: right;
}

.wallet-history-txn {
	font-size: 12px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 5px;
}

/* Status badges */
.wallet-badge-pending {
	background: rgba(240, 165, 0, 0.12);
	color: var(--gold);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 5px;
	display: inline-block;
}

.wallet-badge-approved {
	background: rgba(0, 210, 106, 0.12);
	color: var(--green);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 5px;
	display: inline-block;
}

.wallet-badge-rejected {
	background: rgba(255, 71, 87, 0.12);
	color: var(--red);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 5px;
	display: inline-block;
}

/* ── EMPTY STATE ── */
.wallet-empty {
	text-align: center;
	padding: 30px 20px;
	color: var(--text-muted);
	font-size: 13px;
}

	.wallet-empty i {
		font-size: 36px;
		color: rgba(240, 165, 0, 0.15);
		display: block;
		margin-bottom: 10px;
	}

/* ── TOAST NOTIFICATION ── */
.wallet-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(60px);
	background: var(--bg-card);
	border: 1px solid rgba(240, 165, 0, 0.30);
	border-radius: 10px;
	padding: 12px 22px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gold);
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
}

	.wallet-toast.show {
		transform: translateX(-50%) translateY(0);
		opacity: 1;
	}

	.wallet-toast.toast-success {
		border-color: rgba(0, 210, 106, 0.35);
		color: var(--green);
	}

	.wallet-toast.toast-error {
		border-color: rgba(255, 71, 87, 0.35);
		color: var(--red);
	}

/* ── FORM GROUP SPACING ── */
.wallet-form-group {
	margin-bottom: 16px;
}

	.wallet-form-group:last-child {
		margin-bottom: 0;
	}

/* ── MAX WIDTH (center on desktop) ── */
#walletPage {
	max-width: 600px;
	margin: 0 auto;
}
