.auth-nav-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.vx-nav-deposit-btn {
  background: linear-gradient(135deg, #f7a600, #ffc247);
  color: #0a0b0e;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}
.vx-nav-deposit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(247, 166, 0, 0.4);
}

.vx-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.vx-nav-link-btn {
  background: transparent;
  border: none;
  color: #9aa3b2;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  transition: color 0.15s;
}
.vx-nav-link-btn:hover, .vx-nav-dropdown:hover .vx-nav-link-btn {
  color: #fff;
}

.vx-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #0e1422;
  border: 1px solid #222e44;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 1000;
  margin-top: 8px;
  user-select: none;
}

.vx-nav-dropdown:hover .vx-dropdown-menu,
.vx-dropdown-menu:hover {
  display: block;
}

/* Assets Dropdown (Screenshot 1 Match) */
.assets-dropdown-menu {
  width: 320px;
  padding: 16px;
}

.assets-dd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #9aa3b2;
  margin-bottom: 6px;
}

.assets-dd-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.assets-dd-val span { font-size: 12px; color: #9aa3b2; }

.assets-dd-btc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #6b7383;
  margin-top: 2px;
}
.assets-dd-delay-note {
  font-size: 10px;
  color: #6b7383;
  margin: 6px 0 12px;
}

.assets-dd-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-dd-deposit {
  background: linear-gradient(135deg, #f7a600, #ffc247);
  color: #0a0b0e;
  border: none;
  padding: 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-dd-withdraw {
  background: #141b29;
  border: 1px solid #222e44;
  color: #fff;
  padding: 7px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-dd-withdraw:hover { background: #1c2638; border-color: #f7a600; }

.assets-dd-section-title {
  font-size: 11px;
  color: #6b7383;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.assets-dd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.assets-dd-item:hover {
  background: #151d2d;
  color: #f7a600;
}

/* Orders Dropdown (Screenshot 3 Match) */
.orders-dropdown-menu {
  width: 200px;
  padding: 8px 0;
}
.orders-dd-item {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.orders-dd-item:hover {
  background: #151d2d;
  color: #f7a600;
}

/* Profile Dropdown (Screenshot 2 Match) */
.profile-dropdown-menu {
  width: 260px;
  padding: 16px 0 10px;
}

.profile-dd-user-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 14px;
  border-bottom: 1px solid #232835;
}

.profile-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f7a600, #ffc247);
  color: #0a0b0e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}

.profile-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-username {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.badge-main-account {
  font-size: 10px;
  font-weight: 800;
  background: rgba(247, 166, 0, 0.18);
  color: #f7a600;
  border: 1px solid rgba(247, 166, 0, 0.4);
  padding: 1px 5px;
  border-radius: 3px;
}

.profile-uid-line {
  font-size: 11px;
  color: #9aa3b2;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-switch-account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  font-size: 12px;
  color: #f7a600;
  border-bottom: 1px solid #232835;
  cursor: pointer;
  background: rgba(247, 166, 0, 0.04);
}
.profile-switch-account-bar:hover {
  background: rgba(247, 166, 0, 0.08);
}

.profile-dd-links-list {
  padding: 6px 0;
}

.profile-dd-link {
  display: block;
  padding: 8px 18px;
  font-size: 12.5px;
  color: #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.profile-dd-link:hover {
  background: #151d2d;
  color: #fff;
}

.profile-dd-logout {
  display: block;
  padding: 10px 18px 4px;
  border-top: 1px solid #232835;
  font-size: 12.5px;
  color: #f0546a;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.profile-dd-logout:hover {
  text-decoration: underline;
}

.btn-auth-login {
  background: transparent;
  color: #f2f4f8;
  border: 1px solid #2d384e;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-auth-login:hover {
  background: #1e2638;
  border-color: #f7a600;
}

.btn-auth-signup {
  background: linear-gradient(135deg, #f7a600, #ffc847);
  color: #000;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(247, 166, 0, 0.25);
}
.btn-auth-signup:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(247, 166, 0, 0.4);
}

/* Top Notification Bell & Icon */
.nav-icon-badge {
  position: relative;
  color: #9aa3b2;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
}
.nav-icon-badge:hover { color: #fff; }
.nav-badge-pill {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #f0546a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 10px;
}


/* Auth Modal */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.auth-modal-card {
  background: #0f141f;
  border: 1px solid #2d3443;
  border-radius: 14px;
  width: 420px;
  max-width: 92vw;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}
.auth-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: #6b7383;
  font-size: 20px;
  cursor: pointer;
}
.auth-close-btn:hover { color: #fff; }

.auth-tabs {
  display: flex;
  border-bottom: 1px solid #232835;
  margin-bottom: 22px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #9aa3b2;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.auth-tab.active {
  color: #f7a600;
  border-bottom-color: #f7a600;
}

.auth-form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form-group label {
  font-size: 12px;
  color: #9aa3b2;
  font-weight: 500;
}
.auth-input {
  background: #141b2b;
  border: 1px solid #232835;
  border-radius: 6px;
  padding: 11px 14px;
  color: #f2f4f8;
  font-size: 14px;
  font-family: inherit;
}
.auth-input:focus {
  outline: none;
  border-color: #f7a600;
}

.auth-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #f7a600, #ffc847);
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s;
}
.auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(247, 166, 0, 0.4);
}

.auth-notice {
  font-size: 11px;
  color: #6b7383;
  margin-top: 14px;
  text-align: center;
  line-height: 1.4;
}

/* pro Interactive Puzzle Slider Captcha Modal */
.captcha-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

.captcha-card {
  background: #111318;
  border: 1px solid #2d3443;
  border-radius: 12px;
  width: 340px;
  padding: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 20px rgba(247, 166, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  user-select: none;
}

.captcha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.captcha-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.captcha-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-tool-btn {
  background: transparent;
  border: none;
  color: #6b7383;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.15s;
}
.captcha-tool-btn:hover { color: #fff; }

.captcha-subtitle {
  font-size: 12px;
  color: #9aa3b2;
  margin-top: -6px;
}

.captcha-canvas-wrap {
  position: relative;
  width: 300px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0b0e;
  border: 1px solid #232835;
}

#captchaBgCanvas {
  display: block;
  width: 300px;
  height: 160px;
}

#captchaPieceCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 160px;
  pointer-events: none;
}

/* Slider Track */
.captcha-slider-track {
  position: relative;
  height: 42px;
  background: #141b29;
  border: 1px solid #232835;
  border-radius: 21px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2px;
}

.captcha-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: rgba(247, 166, 0, 0.2);
  border-radius: 21px 0 0 21px;
  pointer-events: none;
}

.captcha-slider-text {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #6b7383;
  font-weight: 600;
  pointer-events: none;
  z-index: 1;
}

.captcha-slider-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #f7a600, #ffc247);
  color: #0a0b0e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  font-size: 14px;
  font-weight: 900;
  z-index: 2;
  transition: box-shadow 0.15s;
}

.captcha-slider-knob:active {
  cursor: grabbing;
  box-shadow: 0 0 14px rgba(247, 166, 0, 0.7);
}

.captcha-status-msg {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  min-height: 18px;
  color: #9aa3b2;
}
.captcha-status-msg.success { color: #1fc58e; }
.captcha-status-msg.error { color: #f0546a; }


/* Cloudflare Turnstile human check inside the sign-in / sign-up forms (shown only when a check is needed) */
.vx-turnstile { display: flex; justify-content: center; margin: 4px 0 12px; }
.vx-turnstile:empty { margin: 0; }


/* Signed-in header: menus also open on click; real KYC chip; phones keep only bell, avatar and menu */
.vx-nav-dropdown.open .vx-dropdown-menu { display: block; }
.vx-dd-arrow { color: #6b7383; font-size: 13px; }
.vx-kyc-chip { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.vx-kyc-chip.ok { color: #1fc58e; background: rgba(31, 197, 142, .12); }
.vx-kyc-chip.warn { color: #f7a600; background: rgba(247, 166, 0, .12); }
.vx-kyc-chip.bad { color: #f0546a; background: rgba(240, 84, 106, .12); }
.profile-uid-line { font: 500 12px 'JetBrains Mono', monospace; color: #8b93a7; margin-top: 3px; }
button.profile-avatar-circle { cursor: pointer; font: inherit; }
@media (max-width: 900px) {
  .vx-wide-only { display: none !important; }
  .auth-nav-group { gap: 8px; }
  .vx-profile-dd .vx-dropdown-menu { display: none !important; }
}


/* Continue with Google */
.vx-google { display: grid; gap: 14px; margin-bottom: 16px; }
.vx-google-btn { min-height: 44px; display: flex; justify-content: center; }
.vx-or { display: flex; align-items: center; gap: 12px; color: #6b7686; font-size: 12px; }
.vx-or::before, .vx-or::after { content: ""; flex: 1; height: 1px; background: #232c3b; }

.vx-invite { margin: -4px 0 14px; padding: 9px 12px; border-radius: 8px; background: rgba(247,166,0,.1); border: 1px solid rgba(247,166,0,.3); color: #f7c35a; font-size: 12.5px; line-height: 1.45; }
