:root {
	--bg: #80008038;
	--card: linear-gradient(180deg, var(--accent), var(--accent-2) 120%) /* #0b1220 */;
	--muted: #93a3b8;
	--accent: purple;
	--accent-2: #071022;
	--glass: rgba(255, 255, 255, 0.03);
	--glass-2: rgba(255, 255, 255, 0.02);
	--radius: 14px;
	--gap: 18px;
	--max-width: 1200px;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* Chrome, Safari, Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


* {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
	margin: 0;
}

body {
	color: #e6eef6;
	-webkit-font-smoothing: antialiased;
	padding: 28px;
	display: flex;
	justify-content: center;
}

.fund-action {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 15px;
	width: 100%;

}

.fund-qaction {
	display: flex;
	justify-content: space-between;
	/* flex-wrap: wrap; */
	/* gap: 14px; */
	margin-top: 16px;
}

.fund-qaction i {
	color: white;
}

.btn-style {
	color: white;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	gap: 10px;
}

/* .coin {
      display: flex;
    justify-content: space-between;
    }*/

.quick-action {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 15px;

}

.app {
	width: 100%;
	max-width: var(--max-width);
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: var(--gap);
	align-items: start;
	position: relative;
}

/* Sidebar */
.sidebar {
	/* background: linear-gradient(180deg, var(--card), #071025); */
	background: linear-gradient(180deg, var(--accent), var(--accent-2) 120%);
	border-radius: var(--radius);
	padding: 20px;
	min-height: 620px;
	box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.03);
	position: relative;
	z-index: 20;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.brand2 {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 18px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	/* padding: 0.8rem 1rem; */
	width: fit-content;
	position: inherit;
	margin-bottom: 18px;
}

.logo {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: #042029;
}

.nav {
	flex: 1;
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
}

.nav a {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	font-weight: 600;
	font-size: 14px;
}

.nav a:hover {
	background: var(--glass);
}

.nav a.active {
	background: linear-gradient(90deg, rgba(16, 20, 56, 0.514), rgba(125, 211, 252, 0.04));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.small {
	font-size: 12px;
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 10px;
}

/* Main */
.main {
	min-height: 620px;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
}

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

.menu-toggle {
	display: none;
	background: var(--glass);
	border: 1px solid var(--bg);
	border-radius: 10px;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.menu-toggle i {
	color: var(--accent);
}

.search {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--glass-2);
	padding: 10px 12px;
	border-radius: 12px;
	/* border: 1px solid rgba(255, 255, 255, 0.02); */
	border: 1px solid var(--accent);
	min-width: 200px;
}

.search input {
	flex: 1;
	background: transparent;
	border: 0;
	outline: none;
	/* color: inherit; */
	color: var(--accent);
	font-size: 14px;
}

.search i {
	color: var(--accent);
}

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

.btn {
	/* background: linear-gradient(90deg, var(--accent), var(--accent-2)); */
	background: linear-gradient(90deg, rgb(223, 116, 223), rgb(214, 6, 121));
	padding: 10px 14px;
	border-radius: 12px;
	color: #042029;
	font-weight: 700;
	border: none;
	cursor: pointer;
	gap: 10px;
}

.quick-menu {
	display: flex;
	background: var(--glass);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	width: 50px;
	height: 50px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.quick-item p {
	margin: 0;
	font-size: 12px;
	color: #0b1220 /* #d1d5db */;
	font-weight: 600;
	text-align: center;
}

.quick-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 70px;
}

.ghost {
	background: transparent;
	padding: 8px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	font-weight: 700;
}

.balance-info {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.balance-box {
	font-size: 18px;
	font-weight: 600;

}

.mrk-data {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

/* Cards Grid */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
}

.grid-section {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

@media (max-width: 768px) {
  .grid-section {
    grid-template-columns: 1fr;
	padding-bottom: 70px;
  }
}

@media (max-width: 768px) {
  .grid {
	padding-bottom: 70px;
  }
}

.card {
	/* background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent); */
	background: linear-gradient(180deg, var(--accent), var(--accent-2) 120%);
	padding: 16px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.03);
	box-shadow: 0 6px 24px rgba(2, 6, 23, 0.5);
}

.quick-action-card {
	background: inherit;
	padding: 16px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.03);
	/* box-shadow: 0 6px 24px rgba(2, 6, 23, 0.5); */
}

.wallet-balance {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.quick-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wallets {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wallet-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.015);
	flex-wrap: wrap;
}

.chart {
	height: 220px;
	border-radius: 12px;
	padding: 12px;
	/* background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent); */
	display: flex;
	flex-direction: column;
}

.tx-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.tx {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2px;
	border-radius: 10px;
	flex-wrap: wrap;
}

.tx .meta {
	font-size: 11px;
	color: var(--muted);
}

/* Sidebar overlay for mobile */
.overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.user-info {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 0.8rem 1rem;
	width: fit-content;
	bottom: 0;
	position: inherit;
	margin-top: auto;
	margin-bottom: 40px;
}

.avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.avatar i {
	font-size: 24px;
	color: #6ee7b7;
}

.user-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.2;
}

.user-text h4 {
	font-size: 1rem;
	margin: 0;
	color: #fff;
	font-weight: 600;
}

.verified {
	font-size: 0.85rem;
	margin: 2px 0 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.unverified {
	color: rgb(255, 94, 0);
	font-size: 0.85rem;
	margin: 2px 0 0;
	display: flex;
	align-items: center;
	gap: 4px;
}

.verified i {
	font-size: 0.8rem;
}

/* Deposit */
.deposit-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 800;
	font-size: 18px;
}

.token-symbol {
	display: flex;
	align-content: center;
	align-items: center;
	font-weight: 700;
}

.token-name {
	display: flex;
	align-content: center;
	align-items: center;
	font-weight: 800;
}

.deposit-address {
	margin-top: 12px;
	font-size: 14px;
	color: var(--muted);
	text-align: center;
}

.wallet-address {
	margin-top: 15px;
	font-size: 16px;
	font-weight: 600;
	word-break: break-all;
	overflow-wrap: anywhere;
	white-space: normal;
	text-align: center;
}

.qcode {
	display: flex;
	justify-content: center;
}

.qimage {
	display: flex;
	justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
	body {
		padding: 16px;
	}

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

	.sidebar {
		position: fixed;
		left: 0;
		top: 0;
		bottom: 0;
		width: 240px;
		height: 100vh;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		z-index: 1200;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.nav {
		flex: 1;
		overflow-y: auto;
		margin-top: 100px;
	}

	.sidebar.show {
		transform: translateX(0);
	}

	.overlay.show {
		display: block;
	}

	.menu-toggle {
		display: inline-flex;
	}
}

@media (max-width: 480px) {

	.wallet-balance,
	.wallet-row,
	.actions {
		flex-direction: row;
		align-items: stretch;
		gap: 20px;
	}

	.btn,
	.ghost {
		width: 100%;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.topbar {
		display: flex;
		flex-direction: row;
	}
}

/* Network modal */
.network-modal {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(180deg, purple, #071022 120%);
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease-in-out;
	transform: translateY(100%);
	z-index: 999;
}

.network-modal.show {
	transform: translateY(0);
}

.network-modal.hidden {
	display: none;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid #ddd;
}

.network-list {
	padding: 15px;
	overflow-y: auto;
	height: calc(100% - 60px);
}

.network-item {
	padding: 10px;
	border-bottom: 1px solid #eeeeee1c;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	transition: background 0.2s;
}

.network-item:hover {
	background: #f8f8f8;
}

.input-box {
	display: flex;
	height: 50px;
	border-color: var(--muted);
	border-width: 1px;
	border-radius: 10px;
	width: -webkit-fill-available;
	overflow-x: hidden;
	overflow-y: hidden;
	margin-top: 10px;
	background: transparent;
}

.input-option {
	margin-top: 15px;
	font-size: 16px;
	font-weight: 600;
	word-break: break-all;
	overflow-wrap: anywhere;
	white-space: normal;
}

.input-form {
  display: flex;
  align-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  transition: 0.2s;
  width: 100%;
}

.form-group {
	display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    transition: 0.2s;
	margin-top: 10px;
	gap: 10px;
}

.form-group:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00bcd4;
}

.form-group input, select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
}

.form-group option {
	background: var(--bg);
}

/* Index Css */
.topbar-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

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

.topbar-index nav {
  display: flex;
  gap: 25px;
}

.topbar-index .muted {
  text-decoration: none;
  color: white;
  font-size: 16px;
}

.menu-toggler {
  display: none; /* hidden on desktop */
}

/* Mobile */
@media (max-width: 768px) {
  .topbar-index nav {
    display: none; /* hide desktop nav */
  }
  .menu-toggler {
    display: block;
  }
}


.tickers-wrapper {
  display: flex;
  width: 100%;
  gap: 15px;
}

.ticker-item {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  padding: 12px 16px;
  border-radius: 12px;
  box-sizing: border-box;
}

.ticker-left {
  display: flex;
  flex-direction: column;
}

.ticker-left .pair {
  font-size: 12px;
}

.ticker-left .value {
  font-size: 15px;
  font-weight: 600;
}

.ticker-icon {
  font-size: 22px;
  opacity: 0.8;
}

.spaced-div{
	display: flex;
  	flex-direction: row;
  	align-items: center;
	gap: 10px;

}

.eyebrow {
    display: inline-block;
    padding: 6px 10px;
    background: var(--glass);
    border-radius: 999px;
    color: #6ee7b7;
    font-size: 13px
}

/* Bottom Navbar */
    .mobile-navbar {
      display: flex;
      justify-content: space-around;
      align-items: center;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: var(--accent-2);
      /* border-top: 1px solid #ddd; */
      box-shadow: 0 6px 24px rgba(2, 6, 23, 0.5);
      padding: 10px 0;
      z-index: 1000;
	  border-radius: 10px;
    }

    .mobile-navbar a {
      color: var(--muted);
      text-decoration: none;
      font-size: 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: color 0.2s;
    }

    .mobile-navbar a i {
      font-size: 20px;
      margin-bottom: 3px;
    }

    .mobile-navbar a.active,
    .mobile-navbar a:hover {
      color: #820682; /* active color */
    }

    /* Hide on larger screens */
    @media(min-width: 768px) {
      .mobile-navbar {
        display: none;
      }
    }


/* Blue background wrapper */
.bank-wrapper {
    padding: 12px;
    background: rgba(255, 255, 255, 0.08) /* #0d1b4c */;  
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Search bar */
.bank-search {
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #f0f4ff;
    font-size: 14px;
    width: 100%;
}

/* Dropdown */
.bank-select {
    padding: 12px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: var(--accent-2);
    font-size: 15px;
	width: 100%;
}


.withdraw-tabs {
  display: flex;
  gap: 10px;
  /* margin-bottom: 20px; */
}

.withdraw-tab {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #1e3a8a;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.withdraw-tab.active {
  background: #3b82f6;
}

.withdraw-tab-content {
  display: none;
}

.withdraw-tab-content.active {
  display: block;
}
