/* ============================================================
   AI TURBO TRADE — TRADING TERMINAL: RESPONSIVE + POLISH LAYER
   Loaded LAST on binary-trading and forex-trading pages.
   Pure CSS overrides — no trading logic touched.
   Page scoping: body.page-binary / body.page-fx
   ============================================================ */

/* ------------------------------------------------------------
   SHARED POLISH (all screen sizes, both terminals)
   ------------------------------------------------------------ */
* {
  -webkit-tap-highlight-color: transparent;
}
button,
.btn, .btn1, .btn2 {
  touch-action: manipulation;
}

/* Staggered entrance — opacity only, so fixed/absolute
   positioning (which lives in transforms) is never disturbed */
@keyframes term-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#forexControls        { animation: term-fade-in 0.5s ease 0.05s both; }
.container2           { animation: term-fade-in 0.5s ease 0.15s both; }
.container1           { animation: term-fade-in 0.5s ease 0.25s both; }
.box-chart-toggle     { animation: term-fade-in 0.5s ease 0.25s both; }
.box1                 { animation: term-fade-in 0.5s ease 0.35s both; }
.box2                 { animation: term-fade-in 0.5s ease 0.45s both; }
.trade-history        { animation: term-fade-in 0.6s ease 0.3s both; }
#tradingTerminal      { animation: term-fade-in 0.6s ease 0.3s both; }

/* Buy/Sell glow + press feedback */
.box1 .btn, .box1 .btn1 {
  box-shadow: 0 8px 26px rgba(124, 239, 107, 0.28);
}
.box2 .btn, .box2 .btn2 {
  box-shadow: 0 8px 26px rgba(255, 82, 82, 0.28);
}
.box1 .btn:active, .box1 .btn1:active,
.box2 .btn:active, .box2 .btn2:active {
  transform: translateY(1px) scale(0.97);
  transition: transform 0.08s ease;
}

/* Trade history items slide in as they are added */
@keyframes trade-item-in {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.trade-item { animation: trade-item-in 0.35s ease both; }

/* FX terminal rows fade in */
@keyframes term-row-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.term-table tbody tr { animation: term-row-in 0.35s ease both; }

/* Pulsing LIVE tag (forex trade panel) */
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
#priceLiveTag { animation: live-pulse 1.6s ease-in-out infinite; }

/* Numpad / preset / stepper press feedback */
.amount-panel .numpad button:active,
.amount-panel .presets button:active,
.time-panel .presets button:active,
.btn3:active,
.stepper button:active,
.preset:active {
  transform: scale(0.93);
}

/* Balance number color feedback is driven by JS classes elsewhere;
   just make any change feel smooth */
.balance-amount { transition: color 0.3s ease; }

/* Panels fade in — opacity ONLY. Never animate transform here:
   these elements (and their fixed-position children, like the
   Top up popup inside .deposit-dropdown) rely on their own
   transforms / viewport positioning, and a lingering transform
   from fill-mode would break them. */
@keyframes panel-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.amount-panel, .time-panel {
  animation: panel-fade 0.22s ease;
  border: 1px solid rgba(0, 229, 255, 0.18);
}

.deposit-dropdown { animation: panel-fade 0.2s ease; }

/* ------------------------------------------------------------
   BINARY — TABLET (≤1150px): tighten the right-hand column,
   trade history becomes a slide-in drawer (toggle button)
   ------------------------------------------------------------ */

/* History drawer toggle button (injected by js/terminal-mobile.js) */
#historyToggleBtn {
  display: none;
  position: fixed;
  top: 74px;
  right: 12px;
  z-index: 1600;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.4);
  background: rgba(13, 17, 23, 0.9);
  color: #00e5ff;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
#historyToggleBtn:hover {
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
  transform: scale(1.06);
}

@media (max-width: 1150px) {
  body.page-binary #chartContainer {
    right: 330px;
  }

  body.page-binary .container2,
  body.page-binary .container1,
  body.page-binary .box1,
  body.page-binary .box2 {
    left: auto;
    right: 165px;
    transform: translate(50%, -50%);
  }

  /* Trade history → hidden drawer sliding from the right */
  body.page-binary #historyToggleBtn { display: flex; }

  body.page-binary .trade-history {
    left: auto;
    right: 0;
    top: 60px;
    width: min(340px, 92vw);
    height: calc(100% - 60px);
    z-index: 1500;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.55);
  }
  body.page-binary.history-open .trade-history {
    transform: translateX(0);
  }
}

/* ------------------------------------------------------------
   SHARED — COMPACT TOP MENU (≤920px, both terminals)
   ------------------------------------------------------------ */
@media (max-width: 920px) {
  .top-horizontal-menu {
    flex-wrap: nowrap;
    height: 60px;
    padding: 0 10px;
    padding-bottom: 0;
    gap: 10px;
  }
  .top-menu-btn { font-size: 0; gap: 0; }        /* logo only */
  .top-menu-btn img { width: 42px; height: 42px; }

  .deposit-menu {
    position: relative;
    margin-left: auto;
    margin-top: 0;
    width: auto;
  }
  .balance-btn {
    width: 120px;
    height: 46px;
    padding: 5px 10px;
    border-radius: 10px;
  }
  .balance-header { font-size: 10px; }
  .balance-amount { font-size: 16px; margin-top: 0; }
  .arrow { bottom: 6px; right: 10px; }

  .deposit-dropdown {
    position: absolute;
    top: 64px;
    right: 0;
    left: auto;
    width: min(260px, 90vw);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }

  .profile-container { margin-right: 0; }
  .profile-btn { padding: 5px 10px; gap: 6px; }
  .profile-name, .arrow-profil { display: none; }
  .profile-img { width: 30px; height: 30px; }
  .dropdown-menu { right: 0; width: min(260px, 92vw); }

  .deposit-popup { width: min(320px, 92vw); }

  /* Left icon rail is desktop-only chrome — free the space */
  .input { display: none; }

  /* Pair/interval controls become a slim full-width strip */
  #forexControls {
    top: 60px;
    left: 0;
    right: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 6px 10px;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    z-index: 900;
    justify-content: flex-start;
  }
  #forexControls label { font-size: 12px; flex-shrink: 0; }
  #forexControls select { padding: 5px 8px; font-size: 13px; }

  /* Notifications never wider than the screen */
  #notificationBox { left: 12px; right: 12px; align-items: flex-end; }
  .notif { max-width: 100%; }
  #fxNotificationBox .fx-notif,
  .fx-notif { max-width: calc(100vw - 28px); }
}

/* ------------------------------------------------------------
   BINARY — MOBILE (≤920px): chart on top, control bar below
   ------------------------------------------------------------ */
@media (max-width: 920px) {
  body.page-binary #chartContainer {
    top: 106px;
    left: 0;
    right: 0;
    bottom: 158px;
  }

  /* Time + Amount side by side above the Buy/Sell row */
  body.page-binary .container2,
  body.page-binary .container1 {
    top: auto;
    right: auto;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: 44vw;
    z-index: 300;
  }
  body.page-binary .container2 { left: 26%; }
  body.page-binary .container1 { left: 74%; }
  body.page-binary .input3,
  body.page-binary .container2 .input4 {
    width: 100%;
    height: 42px;
  }

  /* BUY / SELL become a thumb-friendly bottom row */
  body.page-binary .box1,
  body.page-binary .box2 {
    top: auto;
    right: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: 44vw;
    z-index: 300;
  }
  body.page-binary .box1 { left: 26%; }
  body.page-binary .box2 { left: 74%; }
  body.page-binary .box1 .btn,
  body.page-binary .box2 .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 700;
  }

  /* Amount / time pickers become centered sheets */
  body.page-binary .amount-panel,
  body.page-binary .time-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.8);
  }
  body.page-binary .amount-panel { width: min(260px, 88vw); height: auto; padding-bottom: 14px; }
  body.page-binary .time-panel   { width: min(240px, 88vw); height: auto; padding-bottom: 16px; }

  /* History drawer sits above everything except menus */
  body.page-binary #historyToggleBtn { top: auto; bottom: calc(158px + env(safe-area-inset-bottom, 0px)); right: 10px; }
}

/* ------------------------------------------------------------
   FOREX — MOBILE (≤920px)
   ------------------------------------------------------------ */
@media (max-width: 920px) {
  body.page-fx #chartContainer {
    top: 106px;
    left: 0;
    right: 0;
  }
  /* Chart never shrinks sideways on mobile when panel opens */
  body.page-fx #chartContainer.panel-open { right: 0; }

  /* AI Pred + BUY + SELL float in one compact row over the chart,
     below the TradingView widget's own toolbar so it stays tappable */
  body.page-fx .box-chart-toggle {
    top: 156px;
    left: 10px;
    right: auto;
    transform: none;
    z-index: 500;
  }
  body.page-fx .chart-toggle-btn { padding: 9px 12px; font-size: 12px; }
  body.page-fx .ctb-icon { font-size: 14px; }

  body.page-fx .box1 {
    top: 156px;
    left: auto;
    right: 96px;
    transform: none;
    z-index: 500;
  }
  body.page-fx .box2 {
    top: 156px;
    right: 10px;
    transform: none;
    z-index: 500;
  }
  body.page-fx .btn1:link, body.page-fx .btn1:visited,
  body.page-fx .btn2:link, body.page-fx .btn2:visited {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* Trade panel becomes a bottom sheet */
  body.page-fx .trade-panel-container {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 72vh;
    z-index: 1800;
  }
  body.page-fx .trade-panel {
    border-radius: 16px 16px 0 0;
    border-bottom: none;
  }
  @keyframes sheet-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  body.page-fx .trade-panel-container.show {
    animation: sheet-up 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Bottom terminal drawer spans the full width */
  body.page-fx #tradingTerminal { left: 0; }

  /* Drawing-tools menu escapes the scrolling controls strip
     (overflow-x: auto on #forexControls would clip it) */
  body.page-fx #predToolsMenu {
    position: fixed;
    top: 108px;
    left: 10px;
  }

  /* Let single-finger drawing work instead of scrolling the page */
  body.page-fx #tradingChart {
    touch-action: none;
  }

  /* Account strip scrolls horizontally; keep the toggle pinned */
  body.page-fx #terminalHandle { position: relative; }
  body.page-fx .terminal-account-strip {
    overflow-x: auto;
    padding-right: 44px;
    scrollbar-width: none;
  }
  body.page-fx .terminal-account-strip::-webkit-scrollbar { display: none; }
  body.page-fx .term-toggle-btn {
    position: absolute;
    right: 8px;
    top: 14px;
    background: #161b22;
    z-index: 5;
  }
  body.page-fx .acct-block { padding: 0 10px 0 0; }
  body.page-fx .acct-divider { margin: 0 10px 0 0; }

  /* Wide tables scroll sideways instead of crushing columns */
  body.page-fx .term-panel { overflow-x: auto; }
  body.page-fx .term-table { min-width: 860px; }
}

/* ------------------------------------------------------------
   VERY SMALL PHONES (≤380px)
   ------------------------------------------------------------ */
@media (max-width: 380px) {
  body.page-binary .container2, body.page-binary .box1 { left: 25%; }
  body.page-binary .container1, body.page-binary .box2 { left: 75%; }
  body.page-binary .box1 .btn,
  body.page-binary .box2 .btn { padding: 13px 0; font-size: 14px; }

  body.page-fx .box1 { right: 84px; }
  body.page-fx .btn1:link, body.page-fx .btn1:visited,
  body.page-fx .btn2:link, body.page-fx .btn2:visited {
    padding: 9px 11px;
    font-size: 12px;
  }
  body.page-fx .chart-toggle-btn .ctb-text { display: none; }
}

/* ------------------------------------------------------------
   FX TRADE PANEL — VISUAL UPGRADE
   Pure restyle of the order panel; all IDs/classes untouched.
   ------------------------------------------------------------ */
body.page-fx .trade-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 229, 255, 0.07), transparent 55%),
    linear-gradient(180deg, #1b2534, #131b28);
  border: 1px solid rgba(0, 229, 255, 0.14);
  border-radius: 16px;
  padding: 0 16px 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

/* Direction header ribbon driven by the existing panel-buy/sell classes */
body.page-fx #tradePanel::before {
  content: 'New Order';
  display: block;
  text-align: center;
  margin: 0 -16px 14px;
  padding: 11px 14px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #9fb0cc;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 15px 15px 0 0;
}
body.page-fx #tradePanel.panel-buy::before {
  content: '▲ Buy Order';
  color: #34d980;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.03));
  border-bottom-color: rgba(34, 197, 94, 0.3);
}
body.page-fx #tradePanel.panel-sell::before {
  content: '▼ Sell Order';
  color: #ff7a90;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.03));
  border-bottom-color: rgba(239, 68, 68, 0.3);
}

/* Labels: quiet uppercase captions */
body.page-fx .trade-panel label {
  text-transform: uppercase;
  letter-spacing: 0.9px;
  font-size: 10.5px;
  font-weight: 700;
  color: #8fa3c4;
}

/* Inputs */
body.page-fx .trade-panel select {
  background: #141c29;
  border-radius: 9px;
  padding: 6px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.page-fx .trade-panel select:focus {
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.2);
}

body.page-fx .stepper {
  background: #141c29;
  border-radius: 10px;
}
body.page-fx .stepper:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.08);
}
body.page-fx .stepper button {
  color: #8fa3c4;
  font-weight: 700;
}
body.page-fx .stepper button:hover {
  background: rgba(0, 229, 255, 0.14);
  color: #00e5ff;
}
body.page-fx .stepper span { font-size: 12.5px; }

/* Info boxes: deeper glass, strong values */
body.page-fx .trade-panel .info-box {
  background: rgba(9, 14, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--primary, #00e5ff);
  border-radius: 10px;
  padding: 11px 12px;
}
body.page-fx .trade-panel .info-row span:first-child { color: #8fa3c4; }
body.page-fx .trade-panel .info-row span:last-child:not(.profit):not(.loss):not(.warning) {
  color: #eaf1ff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* TP/SL sub-sections */
body.page-fx .settings-section {
  background: rgba(0, 229, 255, 0.045);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 10px;
  padding: 10px;
}

/* Toggles glow when active */
body.page-fx .toggle.active {
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
}

/* Action buttons */
body.page-fx .trade-panel .actions .btn {
  border-radius: 11px;
  padding: 12px 10px;
  font-size: 13.5px;
}
body.page-fx .trade-panel .actions .btn.primary {
  letter-spacing: 0.8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}
body.page-fx .trade-panel .actions .btn.primary:hover {
  filter: brightness(1.1);
}
body.page-fx .trade-panel .actions .btn:active {
  transform: scale(0.97);
}

/* Status bar */
body.page-fx .status-bar {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------
   CHART SKELETON LOADER
   ------------------------------------------------------------ */
.chart-skeleton {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #0b0f16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.chart-skeleton.gone { opacity: 0; }

.skel-candles {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 42%;
  width: min(70%, 620px);
}
.skel-candles span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 3px;
  background: linear-gradient(180deg, #1d2634, #141b26);
  animation: skel-pulse 1.4s ease-in-out infinite;
  animation-delay: var(--d, 0ms);
}
@keyframes skel-pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}
.skel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6e7681;
  font-size: 13.5px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  letter-spacing: 0.4px;
}
.skel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e5ff;
  animation: skel-pulse 1.1s ease-in-out infinite;
}

/* ------------------------------------------------------------
   BALANCE COUNT-UP FLASH
   ------------------------------------------------------------ */
.balance-amount.bal-up {
  color: #00e676 !important;
  text-shadow: 0 0 14px rgba(0, 230, 118, 0.55);
}
.balance-amount.bal-down {
  color: #ff5252 !important;
  text-shadow: 0 0 14px rgba(255, 82, 82, 0.55);
}

/* ------------------------------------------------------------
   TRADE CLOSE CELEBRATION (binary)
   ------------------------------------------------------------ */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 9996;
  pointer-events: none;
  display: none;
}

.trade-toast {
  position: fixed;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  z-index: 9997;
  padding: 16px 34px;
  border-radius: 999px;
  font-family: 'Space Grotesk', 'Inter', 'Segoe UI', sans-serif;
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 700;
  letter-spacing: 1px;
  pointer-events: none;
  animation: toast-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.trade-toast.win {
  color: #04160c;
  background: linear-gradient(90deg, #00e676, #7cef6b);
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.55), 0 14px 40px rgba(0, 0, 0, 0.5);
}
.trade-toast.loss {
  color: #ffd9e0;
  background: rgba(40, 12, 18, 0.92);
  border: 1px solid rgba(255, 82, 82, 0.55);
  box-shadow: 0 0 30px rgba(255, 82, 82, 0.3), 0 14px 40px rgba(0, 0, 0, 0.5);
}
@keyframes toast-pop {
  to { transform: translate(-50%, -50%) scale(1); }
}
.trade-toast.leaving {
  animation: toast-out 0.5s ease forwards;
}
@keyframes toast-out {
  to { transform: translate(-50%, -110%) scale(0.85); opacity: 0; }
}

.loss-flash {
  position: fixed;
  inset: 0;
  z-index: 9995;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(255, 40, 70, 0.28));
  animation: loss-vignette 0.9s ease forwards;
}
@keyframes loss-vignette {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Pulse the trade-history panel when "Trades" is clicked on desktop */
.trade-history.attn {
  animation: panel-attn 1.1s ease;
}
@keyframes panel-attn {
  0%, 100% { box-shadow: none; }
  35%      { box-shadow: inset 0 0 0 2px rgba(0, 229, 255, 0.8), -12px 0 34px rgba(0, 229, 255, 0.25); }
}

/* ------------------------------------------------------------
   ONBOARDING TOUR (binary terminal)
   ------------------------------------------------------------ */
#tour-blocker {
  position: fixed;
  inset: 0;
  z-index: 2990;
  background: transparent;
}
#tour-hole {
  position: fixed;
  z-index: 2991;
  border-radius: 14px;
  box-shadow: 0 0 0 9999px rgba(4, 7, 13, 0.78), 0 0 24px rgba(0, 229, 255, 0.35);
  border: 1.5px solid rgba(0, 229, 255, 0.75);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
#tour-hole.hidden-hole {
  box-shadow: 0 0 0 9999px rgba(4, 7, 13, 0.78);
  border-color: transparent;
  width: 0 !important;
  height: 0 !important;
  left: 50% !important;
  top: 42% !important;
}
#tour-tip {
  position: fixed;
  z-index: 2992;
  width: min(340px, calc(100vw - 28px));
  background: #10151f;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  text-align: left;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
#tour-tip h3 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  color: #ffffff;
}
#tour-tip p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #b5b9c9;
}
.tour-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.tour-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.3s, transform 0.3s;
}
.tour-dots span.on {
  background: #00e5ff;
  transform: scale(1.25);
}
.tour-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.tour-skip {
  background: none;
  border: none;
  color: #7e849b;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 4px;
}
.tour-skip:hover { color: #b5b9c9; }
.tour-next {
  background: linear-gradient(90deg, #00e5ff, #0077ff);
  color: #06121c;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 22px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
}
.tour-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  #forexControls, .container1, .container2, .box1, .box2,
  .box-chart-toggle, .trade-history, #tradingTerminal,
  .trade-item, .term-table tbody tr, #priceLiveTag,
  .amount-panel, .time-panel, .deposit-dropdown {
    animation: none !important;
  }
}
