/* Presentation only: no dimensions, trade rules or payment behavior are changed. */
/* Raised withdrawal form surfaces; keep fields, hit areas and layout intact. */
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane :is(form,.withdraw-form){
  background:radial-gradient(ellipse at 15% 0,#4389a329,transparent 65%),linear-gradient(150deg,#263f56,#15263d 65%,#102033)!important;
  border:1px solid #6588a16b!important;border-radius:18px!important;
  box-shadow:inset 0 2px 1px #d7f6ff4d,inset 0 -4px 7px #0005,0 7px 0 #06152288,0 17px 26px #0006!important;
}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane button:not(:disabled){
  background:radial-gradient(ellipse at 18% 0,#8ecfe03d,transparent 65%),linear-gradient(155deg,#315570,#19354d 65%,#122a40)!important;
  box-shadow:inset 0 2px 1px #c6eeff66,inset 0 -4px 4px #0005,0 4px 0 #071928,0 9px 14px #0005!important;
}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane button:not(:disabled):active{box-shadow:inset 0 3px 6px #0007,0 1px 0 #071928!important}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane button[class*="border-sky"]:not(:disabled){background:radial-gradient(ellipse at 15% 0,#77f7c844,transparent 70%),linear-gradient(150deg,#20535a,#143846)!important;border-color:#40e9bd!important;box-shadow:inset 0 2px 1px #c0ffdf66,inset 0 -4px 4px #0005,0 4px 0 #071928,0 0 13px #1dd9a82b!important}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane input{
  background:linear-gradient(180deg,#07111f,#142d42)!important;
  box-shadow:inset 0 4px 8px #0009,inset 0 -1px 0 #9fe9ff24,0 1px 0 #ffffff26!important;
}
.trader-theme:not(.theme-light) .trade-asset-tab {
  background:linear-gradient(155deg,#344458,#1b293b 54%,#111c2c)!important;
  border-color:#56748d80!important;border-radius:9px!important;
  box-shadow:inset 0 1px 1px #d4f0ff42,inset 0 -4px 6px #0005,0 4px 8px #0005!important;
}
.trader-theme:not(.theme-light) .trade-asset-tab-active {
  background:radial-gradient(ellipse at 0 0,#a2763f55,transparent 80%),linear-gradient(155deg,#3e4755,#1c2b3d)!important;
  border-color:#f0b45ca6!important;box-shadow:inset 0 1px 1px #ffe3ae55,inset 0 -3px 5px #0005,0 0 13px #e9a03920!important;
}
.trader-theme:not(.theme-light) .trade-asset-tab-profit{border-color:#3cce92aa!important;background:linear-gradient(155deg,#286349,#153a36 60%,#132334)!important}
.trader-theme:not(.theme-light) .trade-asset-tab-loss{border-color:#ee787888!important;background:linear-gradient(155deg,#74404a,#472e3b 60%,#192536)!important}
.trader-theme .trade-panel-volume .trade-action-volume{
  clip-path:none!important;border-radius:15px!important;
  border:1px solid #ffffff55!important;
  box-shadow:inset 0 2px 1px #ffffff80,inset 0 -5px 0 #0004,inset 0 -10px 14px #0002,0 7px 0 #07111d,0 11px 16px #0006!important;
}
.trader-theme .trade-panel-volume .trade-up{background:radial-gradient(ellipse at 15% 0%,#ffd87eaa,transparent 65%),linear-gradient(150deg,#ffa52b,#f87508 45%,#ca4700)!important}
.trader-theme .trade-panel-volume .trade-down{background:radial-gradient(ellipse at 15% 0%,#d5e5ff88,transparent 65%),linear-gradient(150deg,#8d9eb8,#65768e 45%,#35445c)!important}
.trader-theme .trade-panel-volume .trade-action-volume::after{inset:5px;border-radius:11px;border-color:#fff3}
.trader-theme .trade-panel-volume .trade-action-volume:active:not(:disabled){transform:translateY(3px)!important;box-shadow:inset 0 2px 6px #0005,0 3px 0 #07111d,0 5px 9px #0004!important}
.trader-theme .trade-panel-volume .trade-action-volume:disabled{filter:grayscale(.55);opacity:.5;box-shadow:inset 0 1px 0 #fff3,0 3px 5px #0004!important}
.trader-theme .trade-panel-volume .trade-direction-orbit{box-shadow:inset 0 2px 3px #fff5,inset 0 -3px 5px #0004,0 3px 7px #0004}
.trader-theme .portfolio-trade-row[role="button"]{cursor:pointer}
.trader-theme .portfolio-trade-row[role="button"]:focus-visible{outline:2px solid #55d9ed;outline-offset:-2px;background:#25415c!important}
.trader-theme:not(.theme-light) .withdraw-modal{background:radial-gradient(ellipse at 0 0,#0a4b4355,transparent 55%),radial-gradient(ellipse at 100% 0,#17396377,transparent 55%),#0a1525!important}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-modal-shell>h2{color:#f1f8ff!important;letter-spacing:-.7px;text-shadow:0 3px 8px #0005}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-modal-shell>div:first-of-type{color:#aac5d8!important;background:transparent!important;border:0!important}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-modal-card{
  background:linear-gradient(145deg,#173345,#0e1d31)!important;
  border:1px solid #3a697e!important;border-radius:22px!important;
  box-shadow:inset 0 1px 1px #c5efff40,0 20px 45px #0007!important;
}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-modal-card>div:first-child{background:linear-gradient(145deg,#1c3d50,#12283f)!important;border-color:#3c657b!important}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane{background:transparent!important;color:#deefff!important}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane [class*="bg-white"],
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane [class*="bg-[#f0f0f6]"]{
  background:linear-gradient(150deg,#203d53,#13263c)!important;border-color:#416178!important;
  box-shadow:inset 0 1px 1px #c4e9ff26,0 7px 16px #0004!important;
}
.trader-theme:not(.theme-light) .withdraw-modal button:not(.withdraw-modal-close){
  border-radius:13px!important;border-color:#4d748b!important;
  background:linear-gradient(150deg,#294a62,#182f46)!important;
  box-shadow:inset 0 1px 1px #daefff3b,inset 0 -3px 5px #0004,0 5px 11px #0004!important;
  color:#e8f5ff!important;
}
.trader-theme:not(.theme-light) .withdraw-modal button[class*="border-sky"]{border-color:#29d9b5!important;background:radial-gradient(ellipse at 0 0,#1d705b66,transparent 80%),linear-gradient(145deg,#183d46,#143244)!important;box-shadow:inset 0 1px 0 #b8ffe94d,0 0 0 1px #12aa9022,0 7px 15px #0004!important}
.trader-theme:not(.theme-light) .withdraw-modal button:disabled{opacity:.45!important;filter:grayscale(.5);box-shadow:inset 0 1px 0 #ffffff16!important}
.trader-theme:not(.theme-light) .withdraw-modal button:not(:disabled):hover{border-color:#83d4e4!important}
.trader-theme .withdraw-modal button>span.rounded-full,
.trader-theme .withdraw-modal button>span>span.rounded-full,
.trader-theme .withdraw-modal .withdraw-form-pane>div>div>span.rounded-full{
  background-image:radial-gradient(ellipse at 25% 15%,#ffffff80,transparent 55%),linear-gradient(140deg,transparent,#0006)!important;
  box-shadow:inset 1px 2px 2px #ffffff80,inset -2px -3px 4px #0005,2px 4px 0 #061625,4px 7px 9px #0005;
  border:1px solid #ffffff55;transform:perspective(180px) rotateY(-12deg) rotateZ(-7deg);
}
.trader-theme:not(.theme-light) .withdraw-modal input,.trader-theme:not(.theme-light) .withdraw-modal textarea,.trader-theme:not(.theme-light) .withdraw-modal select{
  background:linear-gradient(180deg,#091423,#132c40)!important;border:1px solid #41687c!important;border-radius:11px!important;
  box-shadow:inset 0 3px 7px #0006,0 1px 0 #ffffff12!important;color:#f1f7ff!important;
}
.trader-theme .withdraw-modal :is(button,input,textarea,select):focus-visible{outline:2px solid #58dfcf!important;outline-offset:3px}
.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane [class*="text-zinc-500"],.trader-theme:not(.theme-light) .withdraw-modal .withdraw-form-pane [class*="text-zinc-600"]{color:#a6bfd0!important}
@media(prefers-reduced-motion:reduce){.trader-theme .trade-action-volume,.trader-theme .trade-asset-tab{transition:none!important}}

/* Chart tools: decorative surfaces only. Keep geometry, visibility and handlers intact. */
/* Balance styling is inherited unchanged from the original theme. */
.trader-theme:not(.theme-light) .account-top-volume .account-deposit-volume {
  border-radius:10px!important;border-color:#4abe52b8!important;
  background:rgba(20,70,36,.08)!important;color:#65c575!important;
  box-shadow:inset 0 1px 0 #b7ffcf18,0 2px 4px #0003!important;
  text-shadow:none!important;
}
@keyframes deposit-hover-glow {
  0%,100% {opacity:.9}
  50% {opacity:1}
}
@media(hover:hover) and (pointer:fine) {
  .trader-theme:not(.theme-light) .account-top-volume .account-deposit-volume:not(:disabled):hover {
    background:linear-gradient(155deg,#23ba62,#0b9642)!important;color:#fff!important;border-color:#62e692!important;
    box-shadow:inset 0 1px 1px #c6ffe850,0 0 12px #1ecb6355!important;
    animation:deposit-hover-glow 1.8s ease-in-out infinite;
  }
}
.trader-theme .account-top-volume .account-deposit-volume:focus-visible {outline:2px solid #75d9ed!important;outline-offset:-2px}
.trader-theme:not(.theme-light) .account-top-volume .account-deposit-volume:not(:disabled):active {background:#07963b!important;color:#fff!important}
@media(prefers-reduced-motion:reduce) {.trader-theme .account-top-volume .account-deposit-volume {animation:none!important;transition:none!important}}


.trader-theme {
  --tools-depth-panel:linear-gradient(145deg,#263c51,#142438 55%,#101b2e);
  --tools-depth-button:linear-gradient(155deg,#415c76,#273c54 52%,#192b40);
  --tools-depth-header:linear-gradient(165deg,#354e66,#203349);
  --tools-depth-field:linear-gradient(180deg,#0c192b,#1a2d42);
  --tools-depth-edge:#688aa273;
  --tools-depth-highlight:#dcf4ff40;
  --tools-depth-shadow:#0007;
}
.trader-theme.theme-light {
  --tools-depth-panel:linear-gradient(145deg,#fff,#e7eef6 60%,#dbe5f0);
  --tools-depth-button:linear-gradient(155deg,#fff,#e3ecf6 55%,#cbd9e8);
  --tools-depth-header:linear-gradient(165deg,#fff,#dce7f2);
  --tools-depth-field:linear-gradient(180deg,#d7e2ee,#fff);
  --tools-depth-edge:#819bb36b;
  --tools-depth-highlight:#fff;
  --tools-depth-shadow:#223e6429;
}
.trader-theme:not(.theme-light) :is([data-floating-menu="left-tools"],[data-floating-menu="chart-local-tools"]) :is(.sidebar-tool-button,.mobile-chart-tools-toggle) {
  border-radius:9px!important;border-color:var(--tools-depth-edge)!important;
  background:var(--tools-depth-button)!important;
  box-shadow:inset 0 1px 1px var(--tools-depth-highlight),inset 0 -3px 3px #0004,0 3px 0 #07111d66,0 5px 9px var(--tools-depth-shadow)!important;
}
.trader-theme:not(.theme-light) :is([data-floating-menu="left-tools"],[data-floating-menu="chart-local-tools"]) :is(.sidebar-tool-button-active,.mobile-chart-tools-toggle-open) {
  border-color:#ffad53!important;
  background:linear-gradient(155deg,#b67e42,#614125 55%,#382b23)!important;
  color:#fff!important;
  box-shadow:inset 0 1px 1px #ffe8ba80,inset 0 -3px 4px #0005,0 0 9px #f7a04838,0 4px 7px var(--tools-depth-shadow)!important;
}
.trader-theme:not(.theme-light) :is(.tool-volume-panel,[data-floating-menu="chart-settings"],.drawing-toolbar-volume,.chart-indicator-settings) {
  background:var(--tools-depth-panel)!important;
  border-color:var(--tools-depth-edge)!important;border-radius:14px!important;
  box-shadow:inset 0 1px 1px var(--tools-depth-highlight),inset 0 -2px 3px #0003,0 16px 35px var(--tools-depth-shadow),0 4px 0 #07111d33!important;
}
.trader-theme:not(.theme-light) .tool-volume-header,
.trader-theme:not(.theme-light) [data-floating-menu="chart-settings"]>div:first-child {
  background:var(--tools-depth-header)!important;border-radius:13px 13px 0 0;
  box-shadow:inset 0 1px 0 var(--tools-depth-highlight),0 3px 7px var(--tools-depth-shadow)!important;
}
.trader-theme:not(.theme-light) :is(.tool-volume-option,.tool-volume-control,.indicator-category-row,.indicator-list-card) {
  background:var(--tools-depth-button)!important;border-color:var(--tools-depth-edge)!important;
  border-radius:8px!important;
  box-shadow:inset 0 1px 1px var(--tools-depth-highlight),inset 0 -2px 3px #0003,0 3px 5px var(--tools-depth-shadow)!important;
}
.trader-theme:not(.theme-light) :is(.tool-volume-option-active,.indicator-category-row-active,.indicator-list-card-active) {
  border-color:#f0a44f!important;
  background:linear-gradient(145deg,#bd894733,#d8840b14),var(--tools-depth-button)!important;
  box-shadow:inset 0 1px 1px #ffd6a34d,inset 3px 0 0 #efa247,0 3px 7px var(--tools-depth-shadow)!important;
}
.trader-theme:not(.theme-light) :is([data-floating-menu="drawing-tools"],.drawing-toolbar-volume,.chart-indicator-settings) button:not(.color-swatch):not([style*="background"]),
.trader-theme:not(.theme-light) .indicator-list-card>div>button {
  border-radius:6px!important;
  box-shadow:inset 0 1px 0 var(--tools-depth-highlight),inset 0 -2px 2px #0003,0 2px 4px var(--tools-depth-shadow)!important;
}
.trader-theme:not(.theme-light) :is(.tool-volume-panel,[data-floating-menu="chart-settings"],.chart-indicator-settings) :is(input:not([type="color"]):not([type="checkbox"]):not([type="range"]),select) {
  background:var(--tools-depth-field)!important;border-color:var(--tools-depth-edge)!important;
  border-radius:6px!important;
  box-shadow:inset 0 2px 4px var(--tools-depth-shadow),0 1px 0 var(--tools-depth-highlight)!important;
}
.trader-theme:not(.theme-light) :is(.tool-volume-panel,[data-floating-menu="chart-settings"],.chart-indicator-settings,.drawing-toolbar-volume) .color-swatch {
  box-shadow:inset 0 1px 1px #ffffff80,inset 0 -2px 2px #0005,0 2px 3px var(--tools-depth-shadow);
}
.trader-theme:not(.theme-light) :is([data-floating-menu="left-tools"],.tool-volume-panel,[data-floating-menu="chart-settings"],.drawing-toolbar-volume,.chart-indicator-settings) :is(button,input,select):focus-visible {
  outline:2px solid #56bceb!important;outline-offset:-2px;
}
@media(hover:hover) {
  .trader-theme :is([data-floating-menu="left-tools"],.tool-volume-panel,.drawing-toolbar-volume) button:not(:disabled):hover {border-color:#8dcce5!important}
}
