:root {
  --primary: #4d9fff;
  --interactive: #22d3ee;
  --white: #eef4ff;
  --secondary: #8b9cb3;
  --secondary2: #b8c5d9;
  --surface: #0a0e14;
  --menuDark: #111822;
  --line: rgba(148, 176, 220, 0.14);
  --backdrop: #06090f;
  --red: #ff6b7a;
  --critical: #ff4d6d;
  --remake: #ffc857;
  --panel: rgba(14, 20, 30, 0.9);
  --panel-strong: rgba(18, 26, 38, 0.96);
  --glass: rgba(255, 255, 255, 0.06);
  --glow: rgba(77, 159, 255, 0.28);
  --app-width: 430px;
  --shadow1: 0 16px 48px rgba(0, 0, 0, 0.38);
  --forex-up: #26a69a;
  --forex-down: #ef5350;
}

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

html {
  background: #07110d;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(77, 159, 255, 0.14) 0%, transparent 42%),
    radial-gradient(ellipse at 85% 8%, rgba(34, 211, 238, 0.1) 0%, transparent 38%),
    linear-gradient(180deg, #0a0e14 0%, #0d1219 52%, #06090f 100%);
  color: var(--secondary);
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

::selection {
  color: #06110b;
  background: var(--primary);
}

a {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tf-container {
  width: 100%;
  max-width: var(--app-width);
  padding-left: 18px;
  padding-right: 18px;
}

.bg-surface,
.bg-menuDark {
  background: var(--panel) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-success {
  color: var(--primary) !important;
}

.text-warning,
.badge-warning {
  color: #0c130f !important;
  background: var(--remake);
  border-radius: 999px;
  padding: 4px 9px;
}

.text-danger {
  color: var(--red) !important;
}

.header.fixed-top,
.header-style2.fixed-top {
  left: 50%;
  right: auto;
  width: 100%;
  max-width: var(--app-width);
  min-height: 58px;
  padding: 12px 18px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: rgba(9, 18, 13, 0.9) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.header h3,
.header-style2 h3,
.header-style2 h5 {
  color: var(--white);
}

.header .left,
.header-style2 .left {
  color: var(--white);
}

.header .left i,
.header-style2 .left i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass);
}

.pt-45,
.pt-55,
.pt-68 {
  padding-top: 78px !important;
}

.pb-80,
.pb-90 {
  padding-bottom: 118px !important;
}

button,
.tf-btn,
input[type=button],
input[type=reset],
input[type=submit] {
  min-height: 48px;
  border: 1px solid rgba(77, 159, 255, 0.42);
  border-radius: 14px;
  background: linear-gradient(135deg, #4d9fff 0%, #3b82f6 48%, #22d3ee 130%);
  color: #06101a !important;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(77, 159, 255, 0.22);
}

button:hover,
.tf-btn:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: rgba(34, 211, 238, 0.7);
  background: linear-gradient(135deg, #22d3ee 0%, #4d9fff 100%);
  color: #06101a !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(34, 211, 238, 0.24);
}

.tf-btn.bg-danger,
a.bg-danger,
.bg-danger {
  border-color: rgba(255, 209, 102, 0.46) !important;
  background: linear-gradient(135deg, #ffd166 0%, #ff8a5b 100%) !important;
  color: #160d05 !important;
}

input[type=text],
input[type=password],
input[type=datetime],
input[type=datetime-local],
input[type=date],
input[type=month],
input[type=time],
input[type=week],
input[type=number],
input[type=email],
input[type=url],
input[type=search],
input[type=tel],
input[type=color],
textarea,
.box-auth-pass {
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: var(--white) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

input:focus,
textarea:focus,
.box-auth-pass:focus-within {
  border-color: rgba(77, 159, 255, 0.58) !important;
  box-shadow: 0 0 0 4px rgba(77, 159, 255, 0.12) !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(244, 255, 248, 0.42);
}

.search-box.style-2 input,
input[type=text].ip-style2 {
  background: rgba(255, 255, 255, 0.075) !important;
}

.label-ip p,
.text-small,
.text-xsmall {
  color: var(--secondary);
}

#login-form,
#register-form {
  width: 100%;
  max-width: 100%;
  margin-top: 30px !important;
  padding: 28px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow1);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

#login-form h2,
#register-form h2 {
  font-size: 28px;
  line-height: 36px;
  color: var(--white);
}

#login-form h2::after,
#register-form h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--interactive));
}

.box-account .avt,
.tf-list-item .box-round,
img.box-round {
  border: 2px solid rgba(55, 242, 138, 0.26);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.box-account.style-2 .search-box input,
.search-box.box-input-field input {
  min-height: 38px;
}

.box-noti {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass);
}

.accent-box,
.accent-box-v2,
.accent-box-v3,
.accent-box-v4,
.accent-box-v5,
.accent-box-v6,
.coin-item.style-1,
.noti-item,
.tf-list-item-v2,
.modal .modal-content {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    var(--panel) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.accent-box-v2,
.accent-box-v3,
.accent-box-v4,
.tf-list-item-v2 {
  border-radius: 16px;
}

.accent-box-v5 {
  min-height: 100%;
  border-radius: 18px;
}

.accent-box-v5.active {
  border-color: rgba(55, 242, 138, 0.5);
  box-shadow: 0 16px 42px rgba(55, 242, 138, 0.1), 0 14px 36px rgba(0, 0, 0, 0.22);
}

.accent-box-v5 .icon-box,
.tf-list-item .box-round,
.icon-round-check,
.bg-icon1 {
  background:
    linear-gradient(135deg, rgba(55, 242, 138, 0.92), rgba(39, 213, 255, 0.9)) !important;
  color: #06110b !important;
}

.accent-box-v5 .icon-box i,
.tf-list-item .icon {
  color: #06110b !important;
}

.tf-list-item {
  color: var(--secondary);
}

.tf-list-item:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.grid-4 .tf-list-item .box-round {
  width: 56px;
  height: 56px;
}

.grid-4.m--16 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.group-ip-select {
  overflow: hidden;
}

.group-ip-select input {
  min-width: 0;
}

.group-ip-select .select-wrapper {
  max-width: 108px;
}

.tag-money {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  color: var(--white);
  font-weight: 700;
}

.tag-money.active,
.tag-money:hover {
  border-color: rgba(55, 242, 138, 0.56);
  background: rgba(55, 242, 138, 0.13);
  color: var(--primary);
}

.menubar-footer.footer-fixed {
  left: 50%;
  right: auto;
  bottom: 12px;
  width: calc(100% - 24px);
  max-width: calc(var(--app-width) - 24px);
  padding: 8px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(9, 18, 13, 0.9) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.menubar-footer .inner-bar {
  max-width: 100%;
  gap: 4px;
}

.menubar-footer .inner-bar li a {
  min-height: 58px;
  justify-content: center;
  border-radius: 18px;
  color: rgba(244, 255, 248, 0.58);
  font-size: 12px;
}

.menubar-footer .inner-bar li.active a {
  background: rgba(77, 159, 255, 0.14);
  color: var(--white);
}

.menubar-footer .inner-bar li.active a .icon {
  color: var(--primary);
}

.menubar-footer .inner-bar > .tf-btn,
.menubar-footer .inner-bar > a.tf-btn {
  width: 100%;
  margin: 0;
}

.modal.action-sheet .modal-dialog,
.modal.modalRight .modal-dialog {
  max-width: var(--app-width);
}

.modal .modal-content {
  border-radius: 22px;
}

.modal.modalRight .modal-dialog .modal-content {
  border-radius: 0;
}

.modal.action-sheet .modal-content {
  border-radius: 24px 24px 0 0;
}

.alert-dialog {
  background: rgba(0, 0, 0, 0.68) !important;
  backdrop-filter: blur(8px);
}

.alert-dialog-content {
  border: 1px solid var(--line);
  border-radius: 20px !important;
  background: #f4fff8 !important;
  box-shadow: var(--shadow1);
}

.floating-button,
.whatsapp-button {
  right: max(16px, calc((100vw - var(--app-width)) / 2 + 14px)) !important;
}

.floating-button {
  width: 50px !important;
  height: 50px !important;
  bottom: 94px !important;
  border: 1px solid rgba(255, 209, 102, 0.4) !important;
  background: linear-gradient(135deg, #ffd166, #ff5570) !important;
  box-shadow: 0 14px 34px rgba(255, 85, 112, 0.22) !important;
}

.wheel-icon {
  width: 68px !important;
  height: 68px !important;
}

.whatsapp-button {
  bottom: 150px !important;
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(39, 213, 255, 0.34);
  background: rgba(9, 18, 13, 0.88);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.whatsapp-button img {
  width: 0 !important;
  height: 0 !important;
  opacity: 0;
}

.whatsapp-button a::before {
  content: "";
  display: block;
  width: 20px;
  height: 16px;
  background: linear-gradient(135deg, var(--interactive), var(--primary));
  clip-path: polygon(0 48%, 100% 0, 72% 100%, 47% 66%, 24% 88%);
  filter: drop-shadow(0 6px 12px rgba(39, 213, 255, 0.25));
}

.preload {
  background: #07110d;
}

.preload-logo {
  filter: drop-shadow(0 0 22px rgba(55, 242, 138, 0.35));
}

.swiper-slide {
  height: auto;
}

.table,
table {
  color: var(--secondary);
}

li > a.accent-box,
li > a.item-check-style3 {
  color: inherit;
}

.item-check-style3 .content {
  min-width: 0;
}

.item-check-style3 h4,
.item-check-style3 h5,
.accent-box-v2 h5,
.accent-box-v5 h6,
.coin-item h6 {
  color: var(--white);
}

#filter .modal-content {
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}

.forex-trade-terminal {
  border: 1px solid #2a3544;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #161b22 0%, #0d1117 55%, #0a0e14 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 34px rgba(0, 0, 0, 0.35);
}

.forex-terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #2a3544;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.forex-pair-block {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.forex-pair-flag {
  color: #e6edf3;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.forex-timeframe {
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #3d4f63;
  color: #8b9cb0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.forex-market-badge {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(38, 166, 154, 0.16);
  border: 1px solid rgba(38, 166, 154, 0.35);
  color: #3dd6c3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.forex-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.forex-bid,
.forex-ask {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.forex-bid {
  color: #ef5350;
}

.forex-ask {
  color: #26a69a;
}

.forex-spread {
  color: #6b7c90;
  font-size: 10px;
  text-transform: uppercase;
}

.forex-spread em {
  font-style: normal;
  color: #9db0c7;
  font-weight: 600;
}

.forex-chart-stage {
  position: relative;
  padding: 6px 4px 0;
  min-height: 310px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(42, 53, 68, 0.55) 39px,
      rgba(42, 53, 68, 0.55) 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(42, 53, 68, 0.35) 59px,
      rgba(42, 53, 68, 0.35) 60px
    ),
    radial-gradient(ellipse at 50% 0%, rgba(38, 166, 154, 0.06), transparent 55%),
    #0d1117;
}

.forex-chart-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.15), rgba(13, 17, 23, 0.55));
}

#filter #myChart {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 310px;
}

#filter #myChart .apexcharts-canvas,
#filter #myChart svg {
  width: 100% !important;
}

.forex-terminal-footer {
  position: relative;
  z-index: 2;
  gap: 12px;
  padding: 10px 14px 12px;
  border-top: 1px solid #2a3544;
  background: rgba(10, 14, 20, 0.92);
  color: #9db0c7;
  font-size: 11px;
}

.forex-terminal-footer span {
  min-width: 0;
}

.forex-change {
  font-weight: 700;
}

.trade-candle-tooltip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  padding: 8px 10px;
  border: 1px solid #3d4f63;
  border-radius: 8px;
  background: rgba(13, 17, 23, 0.96);
  color: #e6edf3;
  font-size: 11px;
  line-height: 14px;
  font-variant-numeric: tabular-nums;
}

.banner-boarding img,
.banner-boarding2 img {
  width: min(100%, 360px);
  border-radius: 24px;
  box-shadow: var(--shadow1);
}

.banner-boarding svg,
.banner-boarding2 svg {
  opacity: 0.22;
}

.wrap-boarding .content {
  padding: 20px 0;
}

.wrap-boarding h2 {
  color: var(--white);
}

.wheel {
  border: 10px solid rgba(244, 255, 248, 0.1) !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(55, 242, 138, 0.24);
}

.indicator {
  border-top-color: var(--remake) !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

/* ============================================================
   EasyFX dashboard
   ============================================================ */
.easyfx-dashboard {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.easyfx-dashboard .wallet-balance,
.easyfx-dashboard .stat-value,
.easyfx-dashboard .market-price,
.easyfx-dashboard .balance-chip-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Header */
.easyfx-header.fixed-top {
  left: 50%;
  right: auto;
  width: 100%;
  max-width: var(--app-width);
  min-height: 0;
  padding: 11px 16px;
  transform: translateX(-50%);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(9, 13, 20, 0.78) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  z-index: 1040;
}

.easyfx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.easyfx-header-user {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
}

.easyfx-avatar-ring {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--interactive));
}

.easyfx-avatar-ring .avt {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface);
}

.easyfx-header-greeting {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.easyfx-greeting-line {
  font-size: 11px;
  line-height: 1.25;
  color: var(--secondary);
}

.easyfx-greeting-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.easyfx-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.easyfx-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.easyfx-brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--interactive));
  box-shadow: 0 0 8px rgba(77, 159, 255, 0.8);
}

.easyfx-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--white);
  font-size: 18px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.easyfx-icon-btn:hover {
  border-color: rgba(77, 159, 255, 0.45);
  color: var(--primary);
}

.easyfx-icon-dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--surface);
}

.dashboard-section {
  margin-bottom: 16px;
}

.dashboard-section:first-of-type {
  margin-top: 4px;
}

/* Wallet hero */
.wallet-hero-card {
  position: relative;
  overflow: hidden;
  padding: 20px 18px;
  border: 1px solid rgba(148, 176, 220, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(130% 90% at 0% 0%, rgba(77, 159, 255, 0.16), transparent 52%),
    radial-gradient(130% 120% at 100% 0%, rgba(34, 211, 238, 0.1), transparent 48%),
    linear-gradient(180deg, rgba(22, 30, 45, 0.96), rgba(11, 16, 25, 0.97));
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.wallet-hero-aurora {
  position: absolute;
  top: -45%;
  left: -20%;
  right: -20%;
  height: 250px;
  pointer-events: none;
  background:
    radial-gradient(circle at 28% 40%, rgba(77, 159, 255, 0.32), transparent 60%),
    radial-gradient(circle at 72% 35%, rgba(34, 211, 238, 0.2), transparent 60%);
  filter: blur(24px);
  opacity: 0.65;
}

.wallet-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wallet-account-switch {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
}

.wallet-eyebrow {
  margin: 0;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.wallet-account-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s ease;
}

.wallet-account-pill .icon-select-down {
  font-size: 10px;
  color: var(--secondary);
  transition: transform 0.25s ease, color 0.2s ease;
}

.wallet-account-switch:hover .wallet-account-pill {
  border-color: rgba(77, 159, 255, 0.45);
}

.wallet-account-switch:hover .icon-select-down {
  transform: rotate(180deg);
  color: var(--primary);
}

.wallet-referral-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.wallet-referral-chip i {
  color: var(--primary);
}

.wallet-referral-chip:hover {
  border-color: rgba(77, 159, 255, 0.45);
  transform: translateY(-1px);
}

.wallet-balance-block {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.wallet-balance,
#wallet.wallet-balance {
  display: inline-block;
  color: #fff;
  font-size: 42px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
  text-shadow: 0 2px 30px rgba(77, 159, 255, 0.2);
}

.wallet-secondary-balance,
#other-balance.wallet-secondary-balance {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding: 5px 13px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  line-height: 1;
  cursor: pointer;
}

.wallet-secondary-balance:empty,
#other-balance.wallet-secondary-balance:empty {
  display: none !important;
}

.balance-chip-label {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(148, 176, 220, 0.14);
  color: var(--secondary2);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.balance-chip-value {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Quick actions */
.quick-actions-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.quick-action-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 21px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-action-icon .icon,
.quick-action-icon i {
  color: inherit;
  font-size: inherit;
}

.quick-action-item:hover .quick-action-icon,
.quick-action-item:active .quick-action-icon {
  transform: translateY(-3px);
}

.quick-action-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary2);
  transition: color 0.2s ease;
}

.quick-action-item:hover .quick-action-label {
  color: #fff;
}

.qa-deposit .quick-action-icon {
  color: var(--forex-up);
  background: rgba(38, 166, 154, 0.14);
  border-color: rgba(38, 166, 154, 0.3);
}

.qa-withdraw .quick-action-icon {
  color: var(--remake);
  background: rgba(255, 200, 87, 0.14);
  border-color: rgba(255, 200, 87, 0.3);
}

.qa-invite .quick-action-icon {
  color: var(--primary);
  background: rgba(77, 159, 255, 0.14);
  border-color: rgba(77, 159, 255, 0.3);
}

.qa-support .quick-action-icon {
  color: var(--interactive);
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.3);
}

/* Trade CTA */
.trade-cta-wrap {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.trade-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #4d9fff 0%, #3b82f6 52%, #22d3ee 130%) !important;
  color: #04101f !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 34px rgba(77, 159, 255, 0.32) !important;
}

.trade-cta-btn i {
  font-size: 13px;
}

.trade-cta-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #22d3ee 0%, #4d9fff 100%) !important;
  box-shadow: 0 20px 40px rgba(77, 159, 255, 0.4) !important;
}

.trade-hours-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.45;
}

.trade-hours-note i {
  font-size: 12px;
  color: var(--primary);
}

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat-card {
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.stat-label {
  display: block;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stat-value-up {
  color: var(--forex-up);
}

.stat-value-live {
  color: var(--forex-up);
}

.stat-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

.stat-status-dot.is-live {
  background: var(--forex-up);
  animation: easyfx-pulse 1.8s infinite;
}

/* Cards & section headings */
.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-heading h5 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 3px 0 0;
  color: var(--secondary);
  font-size: 11px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(77, 159, 255, 0.32);
  background: rgba(77, 159, 255, 0.1);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-tag.live-tag {
  border-color: rgba(38, 166, 154, 0.32);
  background: rgba(38, 166, 154, 0.12);
  color: var(--forex-up);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forex-up);
  animation: easyfx-pulse 1.8s infinite;
}

/* Profit calculator */
.profit-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--secondary2);
  font-size: 12px;
  font-weight: 500;
}

.profit-hint {
  color: var(--secondary);
  font-size: 11px;
  line-height: 1.5;
}

.profit-result-line {
  color: var(--secondary2);
  font-size: 13px;
}

.profit-result-line .text-primary {
  font-weight: 700;
}

.profit-divider {
  height: 1px;
  margin: 16px 0 6px;
  background: var(--line);
}

.dashboard-input-group.group-ip-select {
  display: flex;
  align-items: center;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-input-group.group-ip-select:focus-within {
  border-color: rgba(77, 159, 255, 0.5) !important;
  box-shadow: 0 0 0 4px rgba(77, 159, 255, 0.1);
}

.dashboard-input-group input {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dashboard-input-group input:focus {
  box-shadow: none !important;
}

.dashboard-input-group .select-wrapper::after {
  display: none;
}

/* Markets */
.market-block {
  padding: 0;
}

.market-block .section-heading {
  margin-bottom: 6px;
}

.market-tile {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(13, 19, 29, 0.94);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.market-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--forex-up), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.market-tile-up::before {
  opacity: 0.55;
}

.market-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 159, 255, 0.32);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.market-tile-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.market-tile-head p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.market-tile-head span {
  color: var(--secondary);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.market-tile-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.market-tile-chart {
  margin: 12px 0 10px;
  min-height: 40px;
}

.market-tile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.market-price {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.market-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.market-change i {
  font-size: 9px;
}

.market-change.up {
  color: var(--forex-up);
  background: rgba(38, 166, 154, 0.14);
}

.market-change.down {
  color: var(--forex-down);
  background: rgba(239, 83, 80, 0.14);
}

@keyframes easyfx-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

@keyframes easyfx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(38, 166, 154, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(38, 166, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 166, 154, 0); }
}

.heartbeat {
  animation: heartbeat 1s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.doodle {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--remake);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.doodle .arrow {
  width: 0;
  height: 0;
  margin: 8px auto 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--remake);
  animation: easyfx-bounce 1s infinite;
}

/* Bottom navigation polish */
.easyfx-dashboard .menubar-footer.footer-fixed {
  bottom: 14px;
  padding: 7px;
  border-radius: 22px;
  background: rgba(11, 16, 24, 0.86) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.easyfx-dashboard .menubar-footer .inner-bar li a {
  flex-direction: column;
  gap: 4px;
  min-height: 56px;
  border-radius: 16px;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 600;
}

.easyfx-dashboard .menubar-footer .inner-bar li a .icon {
  font-size: 20px;
}

.easyfx-dashboard .menubar-footer .inner-bar li.active a {
  background: linear-gradient(180deg, rgba(77, 159, 255, 0.18), rgba(77, 159, 255, 0.06));
  color: #fff;
}

.easyfx-dashboard .menubar-footer .inner-bar li.active a .icon {
  color: var(--primary);
}

hr,
.line,
.br-line,
.border-b,
.border-t {
  border-color: var(--line) !important;
}

@media (max-width: 380px) {
  .tf-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .grid-4 .tf-list-item .box-round {
    width: 50px;
    height: 50px;
  }

  .menubar-footer .inner-bar li a {
    font-size: 11px;
  }
}
