
/* ALH FX Virtual Wallet UI */
.alh-fxvw-root, .alh-fxvw-root * { box-sizing: border-box; font-family: inherit; }
.alh-fxvw-root { direction: rtl; color: #e6e6ff; }
.alh-fxvw-shell{
  position: relative;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(124,58,237,.18), transparent 60%),
              radial-gradient(900px 500px at 85% 20%, rgba(168,85,247,.12), transparent 60%),
              linear-gradient(180deg, #050816, #070a1a 60%, #050816);
  border: 1px solid rgba(204,153,255,.18);
  border-radius: 18px;
  padding: 14px;
  overflow: hidden;
}
.alh-fxvw-topbar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 8px 14px;
}
.alh-fxvw-tabbtn{
  appearance:none;
  border:1px solid rgba(204,153,255,.22);
  background: rgba(255,255,255,.03);
  color:#eaeaff;
  padding:10px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-weight:700;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.alh-fxvw-tabbtn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.05); }
.alh-fxvw-tabbtn.is-active{ background: rgba(124,58,237,.22); border-color: rgba(204,153,255,.35); }

.alh-fxvw-row{ margin-top: 12px; }

.alh-fxvw-grid-cards{
  display:grid;
  gap:12px;
  grid-template-columns: repeat(6, minmax(0, 1fr)); /* even */
}
.alh-fxvw-card{
  grid-column: span 2; /* 3 per row on desktop, while grid is even */
  border:1px solid rgba(204,153,255,.18);
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255,255,255,.03);
  min-height: 88px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.alh-fxvw-card.bg1{ background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(255,255,255,.02)); }
.alh-fxvw-card.bg2{ background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(255,255,255,.02)); }
.alh-fxvw-card.bg3{ background: linear-gradient(135deg, rgba(34,197,94,.16), rgba(255,255,255,.02)); }
.alh-fxvw-card.bg4{ background: linear-gradient(135deg, rgba(239,68,68,.16), rgba(255,255,255,.02)); }
.alh-fxvw-card.bg5{ background: linear-gradient(135deg, rgba(168,85,247,.18), rgba(255,255,255,.02)); }
.alh-fxvw-card.bg6{ background: linear-gradient(135deg, rgba(251,191,36,.14), rgba(255,255,255,.02)); }

.alh-fxvw-card-title{ font-size: 13px; opacity:.9; text-align:center; font-weight:800; letter-spacing:.2px; }
.alh-fxvw-card-value{ font-size: 22px; font-weight:900; text-align:center; margin-top: 8px; }
.alh-fxvw-card-sub{ font-size:12px; opacity:.75; text-align:center; margin-top:6px; }

.alh-fxvw-grid-cards--home{
  grid-template-columns: repeat(4, minmax(0,1fr));
  align-items: stretch;
}
.alh-fxvw-grid-cards--home .alh-fxvw-card{
  grid-column: span 1;
  min-height: 150px;
  height: 150px;
  padding: 18px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.16) inset, 0 10px 22px rgba(0,0,0,.08);
}
.alh-fxvw-grid-cards--stats{
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: stretch;
}
.alh-fxvw-grid-cards--stats .alh-fxvw-card{
  grid-column: span 1;
  min-height: 132px;
  height: 132px;
  padding: 18px 16px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.14) inset, 0 8px 16px rgba(0,0,0,.06);
}
.alh-fxvw-grid-cards--home .alh-fxvw-card-title,
.alh-fxvw-grid-cards--stats .alh-fxvw-card-title{
  font-size: 14px;
  font-weight: 900;
}
.alh-fxvw-grid-cards--home .alh-fxvw-card-value,
.alh-fxvw-grid-cards--stats .alh-fxvw-card-value{
  font-size: 24px;
  margin-top: 10px;
}
.alh-fxvw-grid-cards--home .alh-fxvw-card-sub,
.alh-fxvw-grid-cards--stats .alh-fxvw-card-sub{
  font-size: 12px;
  opacity: .82;
}

.alh-fxvw-grid-form{
  display:grid;
  gap:12px;
  grid-template-columns: repeat(4, minmax(0,1fr)); /* even */
}
.alh-fxvw-field{
  grid-column: span 1;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.alh-fxvw-label{ font-size: 12px; opacity:.85; font-weight:800; text-align:center; }
.alh-fxvw-input, .alh-fxvw-select{
  height: 44px;
  border-radius: 14px;
  border:1px solid rgba(204,153,255,.22); /* matte purple */
  background: rgba(10,14,40,.55);
  color:#f1f1ff;
  outline:none;
  padding: 0 12px;
  text-align:center;
}
.alh-fxvw-input:focus, .alh-fxvw-select:focus{
  border-color: rgba(204,153,255,.42);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
}
.alh-fxvw-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top: 12px;
  flex-wrap:wrap;
}
.alh-fxvw-actions--admin{
  flex-wrap:nowrap;
}
.alh-fxvw-actions--admin .alh-fxvw-btn{
  min-width: 190px;
}

.alh-fxvw-btn{
  border:1px solid rgba(204,153,255,.22);
  background: rgba(124,58,237,.18);
  color:#fff;
  padding: 10px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:900;
  min-width: 150px;
  height: 44px;
}
.alh-fxvw-btn.secondary{ background: rgba(255,255,255,.03); }
.alh-fxvw-btn.danger{ background: rgba(239,68,68,.18); border-color: rgba(239,68,68,.25); }
.alh-fxvw-btn:disabled{ opacity:.55; cursor:not-allowed; }

.alh-fxvw-divider{ height:1px; background: rgba(204,153,255,.14); margin: 14px 0; }

.alh-fxvw-toast{
  display:block;
  opacity:0;
  pointer-events:none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 99997;
  background: rgba(10,14,40,.96);
  border:1px solid rgba(204,153,255,.22);
  color:#fff;
  padding: 12px 14px;
  border-radius: 14px;
  min-width: 260px;
  max-width: min(520px, calc(100% - 32px));
  text-align:center;
  box-shadow: 0 14px 38px rgba(0,0,0,.35);
}
.alh-fxvw-toast.is-show{ opacity:1; }
.alh-fxvw-toast.is-ok{ border-color: rgba(34,197,94,.28); color:#dcfce7; }
.alh-fxvw-toast.is-error{ border-color: rgba(239,68,68,.28); color:#fee2e2; }

.alh-fxvw-modalback{
  position: fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index: 99998;
  padding: 16px;
}
.alh-fxvw-modal{
  width: min(560px, 100%);
  background: rgba(10,14,40,.98);
  border:1px solid rgba(204,153,255,.22);
  border-radius: 18px;
  padding: 14px;
}
.alh-fxvw-modal h3{
  margin: 4px 0 10px;
  font-size: 16px;
  text-align:center;
}
.alh-fxvw-modal p{
  margin: 0 0 12px;
  opacity:.9;
  text-align:center;
}

.alh-fxvw-tablewrap{
  border:1px solid rgba(204,153,255,.18);
  border-radius: 16px;
  overflow:hidden;
  background: rgba(255,255,255,.02);
}
.alh-fxvw-table{
  width:100%;
  border-collapse:collapse;
}
.alh-fxvw-table th, .alh-fxvw-table td{
  padding: 12px 10px;
  text-align:center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(204,153,255,.10);
  font-size: 13px;
}
.alh-fxvw-table td .alh-fxvw-btn{ display:block; margin-inline:auto; }
.alh-fxvw-table th{ font-weight:900; background: rgba(255,255,255,.03); }
.alh-fxvw-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(204,153,255,.18);
  background: rgba(255,255,255,.02);
  font-weight:900;
}
.alh-fxvw-win{ color: #22c55e; }
.alh-fxvw-loss{ color: #ef4444; }
.alh-fxvw-row-win{ background: rgba(34,197,94,.06); }
.alh-fxvw-row-loss{ background: rgba(239,68,68,.06); }
.alh-fxvw-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  padding: 12px;
  flex-wrap:wrap;
}
.alh-fxvw-pagebtn{
  min-width: 44px;
  height: 40px;
  border-radius: 12px;
  border:1px solid rgba(204,153,255,.18);
  background: rgba(255,255,255,.03);
  color:#fff;
  cursor:pointer;
  font-weight:900;
}
.alh-fxvw-pagebtn.is-active{ background: rgba(124,58,237,.22); }

.alh-fxvw-chartbox{
  border:1px solid rgba(204,153,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
  overflow:hidden;
}
.alh-fxvw-charthead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px 0;
  gap: 12px;
  flex-wrap:wrap;
}
.alh-fxvw-charttitle{ font-weight:900; }
.alh-fxvw-chartmodes{
  display:flex;
  gap:8px;
}
.alh-fxvw-canvaswrap{ padding: 8px 18px 12px 18px; overflow-x:auto; overflow-y:hidden; direction:ltr; scroll-behavior:auto; }
.alh-fxvw-canvas{ display:block; }
.alh-fxvw-canvas{
  width:auto;
  min-width:100%;
  height: 320px;
  display:block;
}
.alh-fxvw-muted{ opacity: .75; text-align:center; }

@media (max-width: 980px){
  .alh-fxvw-grid-cards{ grid-template-columns: repeat(4, minmax(0,1fr)); }
  .alh-fxvw-card{ grid-column: span 2; } /* 2 per row */
  .alh-fxvw-grid-form{ grid-template-columns: repeat(2, minmax(0,1fr)); } /* even */
}
@media (max-width: 560px){
  .alh-fxvw-grid-cards{ grid-template-columns: repeat(2, minmax(0,1fr)); } /* even */
  .alh-fxvw-card{ grid-column: span 2; } /* 1 per row */
  .alh-fxvw-tabbtn{ padding: 9px 10px; }
}
.alh-fxvw-guest{ padding: 10px; direction: rtl; }

@media (max-width: 980px){
  .alh-fxvw-actions--admin{ flex-wrap:wrap; }
}

.alh-fxvw-actions--adminrow{flex-wrap:nowrap; justify-content:center;}
.alh-fxvw-actions--adminrow .alh-fxvw-btn{min-width:180px;}
.alh-fxvw-actions--single{justify-content:center;}
.alh-fxvw-table td, .alh-fxvw-table th{ text-align:center !important; }
@media (max-width: 1100px){ .alh-fxvw-actions--adminrow{flex-wrap:wrap;} }

.alh-fxvw-num{
  display:block;
  width:100%;
  text-align:center;
  direction:ltr;
  unicode-bidi:plaintext;
  font-variant-numeric: tabular-nums;
}
.alh-fxvw-num.is-date{ letter-spacing:.2px; }
.alh-fxvw-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  margin-inline:auto;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(204,153,255,.16);
  font-size:18px;
  line-height:1;
}
.alh-fxvw-table td, .alh-fxvw-table th{ text-align:center !important; }


.alh-fxvw-grid-cards--four{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.alh-fxvw-grid-cards--four .alh-fxvw-card{ grid-column: span 1; }
.alh-fxvw-chart-point-win{ color:#22c55e; }
.alh-fxvw-chart-point-loss{ color:#ef4444; }
@media (max-width: 1100px){
  .alh-fxvw-grid-cards--four{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px){
  .alh-fxvw-grid-cards--four{ grid-template-columns: repeat(1, minmax(0,1fr)); }
}

/* Canonical admin tables */
.alh-fxvw-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}
.alh-fxvw-table th,
.alh-fxvw-table td{
  text-align:center !important;
  vertical-align:middle !important;
}
.alh-fxvw-table td > *,
.alh-fxvw-table th > *{
  margin-inline:auto;
}

/* Wallets columns: equal widths except control */
.alh-fxvw-table--wallets .alh-col-wallet-name,
.alh-fxvw-table--wallets .alh-col-wallet-currency,
.alh-fxvw-table--wallets .alh-col-wallet-balance,
.alh-fxvw-table--wallets .alh-col-wallet-active{
  width:17%;
}
.alh-fxvw-table--wallets .alh-col-wallet-control{
  width:32%;
  text-align:center !important;
}

/* Pairs columns */
.alh-fxvw-table--pairs .alh-col-pair-symbol,
.alh-fxvw-table--pairs .alh-col-pair-point{
  width:37%;
}
.alh-fxvw-table--pairs .alh-col-pair-control{
  width:26%;
  text-align:center !important;
}

/* Control cells/buttons */
.alh-fxvw-controlcell{
  text-align:center !important;
}
.alh-fxvw-controlrow{
  width:100%;
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.alh-fxvw-controlrow--single{
  justify-content:center;
}
.alh-fxvw-btn--compact{
  min-width:96px !important;
  width:96px;
  height:38px;
  padding:8px 10px;
  font-size:13px;
  white-space:nowrap;
}
.alh-fxvw-table td .alh-fxvw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0;
}

@media (max-width: 1100px){
  .alh-fxvw-actions--adminrow{ flex-wrap:wrap; }
}


/* v1.20 exact centering for highlighted table columns */
.alh-fxvw-table--wallets th.alh-col-wallet-name,
.alh-fxvw-table--wallets th.alh-col-wallet-currency,
.alh-fxvw-table--wallets th.alh-col-wallet-balance,
.alh-fxvw-table--wallets th.alh-col-wallet-active,
.alh-fxvw-table--wallets th.alh-col-wallet-control,
.alh-fxvw-table--wallets td.alh-col-wallet-name,
.alh-fxvw-table--wallets td.alh-col-wallet-currency,
.alh-fxvw-table--wallets td.alh-col-wallet-balance,
.alh-fxvw-table--wallets td.alh-col-wallet-active,
.alh-fxvw-table--wallets td.alh-col-wallet-control,
.alh-fxvw-table--pairs th.alh-col-pair-symbol,
.alh-fxvw-table--pairs th.alh-col-pair-point,
.alh-fxvw-table--pairs th.alh-col-pair-control,
.alh-fxvw-table--pairs td.alh-col-pair-symbol,
.alh-fxvw-table--pairs td.alh-col-pair-point,
.alh-fxvw-table--pairs td.alh-col-pair-control{
  text-align:center !important;
  vertical-align:middle !important;
}
.alh-fxvw-table--wallets td.alh-col-wallet-name > *,
.alh-fxvw-table--wallets td.alh-col-wallet-currency > *,
.alh-fxvw-table--wallets td.alh-col-wallet-balance > *,
.alh-fxvw-table--wallets td.alh-col-wallet-active > *,
.alh-fxvw-table--pairs td.alh-col-pair-symbol > *,
.alh-fxvw-table--pairs td.alh-col-pair-point > *{
  width:100%;
  display:block;
  text-align:center !important;
  margin:0 auto !important;
}
.alh-fxvw-table--wallets td.alh-col-wallet-name,
.alh-fxvw-table--wallets td.alh-col-wallet-currency,
.alh-fxvw-table--wallets td.alh-col-wallet-balance,
.alh-fxvw-table--wallets td.alh-col-wallet-active,
.alh-fxvw-table--pairs td.alh-col-pair-symbol,
.alh-fxvw-table--pairs td.alh-col-pair-point{
  padding-left:16px !important;
  padding-right:16px !important;
}


/* v1.21 log table refinements */
.alh-fxvw-table--log{
  table-layout: fixed;
}
.alh-fxvw-table--log th,
.alh-fxvw-table--log td{
  text-align:center !important;
  vertical-align:middle !important;
  white-space:nowrap;
  overflow:hidden;
}
.alh-fxvw-table--log .alh-col-log-date{ width: 128px; }
.alh-fxvw-table--log .alh-col-log-symbol{ width: 110px; }
.alh-fxvw-table--log .alh-col-log-entry,
.alh-fxvw-table--log .alh-col-log-sl,
.alh-fxvw-table--log .alh-col-log-exit{ width: 126px; }
.alh-fxvw-table--log .alh-col-log-lot{ width: 112px; }
.alh-fxvw-table--log .alh-col-log-points{ width: 110px; }
.alh-fxvw-table--log .alh-col-log-side{ width: 110px; }
.alh-fxvw-table--log .alh-col-log-arrow{ width: 72px; }
.alh-fxvw-table--log .alh-col-log-pl{ width: 126px; }
.alh-fxvw-table--log .alh-col-log-edit,
.alh-fxvw-table--log .alh-col-log-delete{ width: 128px; }
.alh-fxvw-table--log td.alh-col-log-edit,
.alh-fxvw-table--log td.alh-col-log-delete,
.alh-fxvw-table--log td.alh-col-log-arrow{
  padding-left: 8px;
  padding-right: 8px;
}
.alh-fxvw-table--log .alh-fxvw-num.is-date{
  white-space: nowrap;
  display:inline-block;
  width:auto;
  direction:ltr;
}
.alh-fxvw-btn--log{
  min-width: 84px !important;
  width: 84px;
  height: 36px;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 12px;
}
.alh-fxvw-table--log td .alh-fxvw-btn--log{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
}
.alh-fxvw-table--log .alh-fxvw-arrow{
  width:auto;
  height:auto;
  margin:0 auto;
  background:none;
  border:none;
  border-radius:0;
  font-size:20px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}


/* v1.22 log table width fix */
.alh-fxvw-tablewrap{ overflow-x:auto; overflow-y:hidden; }
.alh-fxvw-table--log{ width:max-content; min-width:100%; table-layout:auto !important; }
.alh-fxvw-table--log th,
.alh-fxvw-table--log td{ white-space:nowrap; }
.alh-fxvw-table--log .alh-col-log-date{ min-width:120px; }
.alh-fxvw-table--log .alh-col-log-symbol{ min-width:110px; }
.alh-fxvw-table--log .alh-col-log-entry,
.alh-fxvw-table--log .alh-col-log-sl,
.alh-fxvw-table--log .alh-col-log-exit{ min-width:112px; }
.alh-fxvw-table--log .alh-col-log-lot,
.alh-fxvw-table--log .alh-col-log-points,
.alh-fxvw-table--log .alh-col-log-side{ min-width:92px; }
.alh-fxvw-table--log .alh-col-log-arrow{ min-width:56px; }
.alh-fxvw-table--log .alh-col-log-pl{ min-width:110px; }
.alh-fxvw-table--log .alh-col-log-edit,
.alh-fxvw-table--log .alh-col-log-delete{ min-width:96px; }
.alh-fxvw-btn--log{ min-width:72px !important; width:72px; height:34px; font-size:12px; padding:5px 8px; }
.alh-fxvw-table--log td.alh-col-log-edit,
.alh-fxvw-table--log td.alh-col-log-delete{ padding-left:6px; padding-right:6px; }
.alh-fxvw-table--log .alh-fxvw-arrow{ font-size:18px; width:100%; }


/* Log table fixes */
.alh-fxvw-tablewrap--log{overflow-x:auto;}
.alh-fxvw-table--log{
  table-layout:auto;
  min-width: 1380px;
  width:100%;
}
.alh-fxvw-table--log th,
.alh-fxvw-table--log td{
  white-space: nowrap;
  text-align:center;
  vertical-align:middle;
}
.alh-fxvw-table--log td .alh-fxvw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px !important;
  height:38px;
  padding:6px 12px;
  font-size:13px;
  margin-inline:auto;
}
.alh-fxvw-table--log .alh-fxvw-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  font-size:24px;
  line-height:1;
  font-weight:900;
}
.alh-fxvw-table--log .is-date{white-space:nowrap; display:inline-block;}


/* Log table: prevent left-side clipping in RTL by allowing horizontal scroll */
.alh-fxvw-tablewrap--log{
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  direction:ltr;
}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log{
  direction:rtl;
  min-width:1400px;
  table-layout:fixed;
}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log th,
.alh-fxvw-tablewrap--log .alh-fxvw-table--log td{
  white-space:nowrap;
  text-align:center;
  vertical-align:middle;
}
.alh-fxvw-tablewrap--log .alh-col-log-date{min-width:140px;}
.alh-fxvw-tablewrap--log .alh-col-log-symbol{min-width:120px;}
.alh-fxvw-tablewrap--log .alh-col-log-entry,
.alh-fxvw-tablewrap--log .alh-col-log-sl,
.alh-fxvw-tablewrap--log .alh-col-log-exit{min-width:120px;}
.alh-fxvw-tablewrap--log .alh-col-log-lot,
.alh-fxvw-tablewrap--log .alh-col-log-points,
.alh-fxvw-tablewrap--log .alh-col-log-side,
.alh-fxvw-tablewrap--log .alh-col-log-arrow,
.alh-fxvw-tablewrap--log .alh-col-log-pl{min-width:100px;}
.alh-fxvw-tablewrap--log .alh-col-log-edit,
.alh-fxvw-tablewrap--log .alh-col-log-delete{min-width:110px;}
.alh-fxvw-tablewrap--log .alh-col-log-arrow .alh-fxvw-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  line-height:1;
}
.alh-fxvw-tablewrap--log .alh-fxvw-btn--log{
  min-width:78px;
  height:38px;
  padding:6px 10px;
  font-size:13px;
}


/* v1.25 final log table overrides */
.alh-fxvw-tablewrap--log{overflow-x:auto !important; overflow-y:hidden !important; -webkit-overflow-scrolling:touch; direction:ltr !important; max-width:100% !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log{direction:rtl !important; width:max-content !important; min-width:100% !important; table-layout:auto !important; margin:0 !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log th, .alh-fxvw-tablewrap--log .alh-fxvw-table--log td{text-align:center !important; vertical-align:middle !important; white-space:nowrap !important; overflow:visible !important;}
.alh-fxvw-tablewrap--log .alh-col-log-date{min-width:130px !important; width:130px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-symbol{min-width:110px !important; width:110px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-entry, .alh-fxvw-tablewrap--log .alh-col-log-sl, .alh-fxvw-tablewrap--log .alh-col-log-exit{min-width:115px !important; width:115px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-lot, .alh-fxvw-tablewrap--log .alh-col-log-points, .alh-fxvw-tablewrap--log .alh-col-log-side{min-width:95px !important; width:95px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-arrow{min-width:60px !important; width:60px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-pl{min-width:120px !important; width:120px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-edit, .alh-fxvw-tablewrap--log .alh-col-log-delete{min-width:92px !important; width:92px !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-btn--log{min-width:68px !important; width:68px !important; height:34px !important; padding:5px 8px !important; font-size:12px !important;}
.alh-fxvw-tablewrap--log .is-date{white-space:nowrap !important; display:inline-block !important; direction:ltr;}
.alh-fxvw-tablewrap--log .alh-fxvw-arrow{display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; font-size:18px !important; line-height:1 !important;}


/* v1.25 final log table overrides */
.alh-fxvw-tablewrap--log{overflow-x:auto !important; overflow-y:hidden !important; -webkit-overflow-scrolling:touch !important; direction:ltr !important; max-width:100% !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log{direction:rtl !important; width:max-content !important; min-width:100% !important; table-layout:auto !important; margin:0 !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log th,.alh-fxvw-tablewrap--log .alh-fxvw-table--log td{text-align:center !important; vertical-align:middle !important; white-space:nowrap !important; overflow:visible !important;}
.alh-fxvw-tablewrap--log .alh-col-log-date{min-width:130px !important; width:130px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-symbol{min-width:110px !important; width:110px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-entry,.alh-fxvw-tablewrap--log .alh-col-log-sl,.alh-fxvw-tablewrap--log .alh-col-log-exit{min-width:115px !important; width:115px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-lot,.alh-fxvw-tablewrap--log .alh-col-log-points,.alh-fxvw-tablewrap--log .alh-col-log-side{min-width:95px !important; width:95px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-arrow{min-width:60px !important; width:60px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-pl{min-width:120px !important; width:120px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-edit,.alh-fxvw-tablewrap--log .alh-col-log-delete{min-width:92px !important; width:92px !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-btn--log{min-width:68px !important; width:68px !important; height:34px !important; padding:5px 8px !important; font-size:12px !important;}
.alh-fxvw-tablewrap--log .is-date{white-space:nowrap !important; display:inline-block !important; direction:ltr !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-arrow{display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; font-size:18px !important; line-height:1 !important;}

/* === v1.26 final log table sizing override === */
.alh-fxvw-tablewrap--log{
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  direction:ltr !important;
}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log{
  direction:rtl !important;
  table-layout:fixed !important;
  width:100% !important;
  min-width:1108px !important;
  margin:0 !important;
}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log th,
.alh-fxvw-tablewrap--log .alh-fxvw-table--log td{
  text-align:center !important;
  vertical-align:middle !important;
  white-space:nowrap !important;
  overflow:hidden !important;
}
.alh-fxvw-tablewrap--log .alh-col-log-date{width:120px !important; min-width:120px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-symbol{width:100px !important; min-width:100px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-entry,
.alh-fxvw-tablewrap--log .alh-col-log-sl,
.alh-fxvw-tablewrap--log .alh-col-log-exit{width:105px !important; min-width:105px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-lot,
.alh-fxvw-tablewrap--log .alh-col-log-points,
.alh-fxvw-tablewrap--log .alh-col-log-side{width:85px !important; min-width:85px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-arrow{width:48px !important; min-width:48px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-pl{width:110px !important; min-width:110px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-edit,
.alh-fxvw-tablewrap--log .alh-col-log-delete{width:80px !important; min-width:80px !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-btn--log{
  width:62px !important;
  min-width:62px !important;
  height:32px !important;
  padding:4px 6px !important;
  font-size:12px !important;
}
.alh-fxvw-tablewrap--log .is-date{
  white-space:nowrap !important;
  display:inline-block !important;
  direction:ltr !important;
}
.alh-fxvw-tablewrap--log .alh-fxvw-arrow{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  font-size:16px !important;
  line-height:1 !important;
}


/* === v1.27 final compact log table override === */
.alh-fxvw-tablewrap--log{overflow-x:auto !important; overflow-y:hidden !important; -webkit-overflow-scrolling:touch !important; direction:ltr !important; max-width:100% !important; padding:0 !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log{direction:rtl !important; table-layout:fixed !important; width:100% !important; min-width:1000px !important; margin:0 !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log th,.alh-fxvw-tablewrap--log .alh-fxvw-table--log td{text-align:center !important; vertical-align:middle !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important; padding:10px 6px !important; font-size:12.5px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-date{width:112px !important; min-width:112px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-symbol{width:95px !important; min-width:95px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-entry,.alh-fxvw-tablewrap--log .alh-col-log-sl,.alh-fxvw-tablewrap--log .alh-col-log-exit{width:96px !important; min-width:96px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-lot,.alh-fxvw-tablewrap--log .alh-col-log-points,.alh-fxvw-tablewrap--log .alh-col-log-side{width:76px !important; min-width:76px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-arrow{width:42px !important; min-width:42px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-pl{width:104px !important; min-width:104px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-edit,.alh-fxvw-tablewrap--log .alh-col-log-delete{width:72px !important; min-width:72px !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-btn--log{width:58px !important; min-width:58px !important; height:30px !important; padding:3px 6px !important; font-size:11.5px !important; border-radius:12px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-edit,.alh-fxvw-tablewrap--log .alh-col-log-delete{padding-left:4px !important; padding-right:4px !important;}
.alh-fxvw-tablewrap--log .is-date{white-space:nowrap !important; display:inline-block !important; direction:ltr !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-arrow{display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; font-size:16px !important; line-height:1 !important;}
.alh-fxvw-tablewrap--log .alh-col-log-arrow,.alh-fxvw-tablewrap--log .alh-col-log-pl,.alh-fxvw-tablewrap--log .alh-col-log-side,.alh-fxvw-tablewrap--log .alh-col-log-points,.alh-fxvw-tablewrap--log .alh-col-log-lot{text-overflow:clip !important;}

/* Final log table fit fix */
.alh-fxvw-tablewrap--log{overflow-x:auto !important; overflow-y:hidden !important; direction:rtl !important; max-width:100% !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log{width:100% !important; min-width:0 !important; table-layout:fixed !important; direction:rtl !important; margin:0 !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-table--log th,.alh-fxvw-tablewrap--log .alh-fxvw-table--log td{padding:10px 4px !important; font-size:12px !important; text-align:center !important; vertical-align:middle !important; white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;}
.alh-fxvw-tablewrap--log .alh-col-log-date{width:106px !important; min-width:106px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-symbol{width:92px !important; min-width:92px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-entry,.alh-fxvw-tablewrap--log .alh-col-log-sl,.alh-fxvw-tablewrap--log .alh-col-log-exit{width:88px !important; min-width:88px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-lot,.alh-fxvw-tablewrap--log .alh-col-log-points,.alh-fxvw-tablewrap--log .alh-col-log-side{width:74px !important; min-width:74px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-arrow{width:44px !important; min-width:44px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-pl{width:108px !important; min-width:108px !important;}
.alh-fxvw-tablewrap--log .alh-col-log-edit,.alh-fxvw-tablewrap--log .alh-col-log-delete{width:68px !important; min-width:68px !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-btn--log{width:54px !important; min-width:54px !important; height:30px !important; padding:3px 4px !important; font-size:11px !important; border-radius:12px !important;}
.alh-fxvw-tablewrap--log .is-date{display:inline-block !important; white-space:nowrap !important; direction:ltr !important;}
.alh-fxvw-tablewrap--log .alh-fxvw-arrow{display:flex !important; align-items:center !important; justify-content:center !important; width:100% !important; font-size:16px !important; line-height:1 !important;}


/* Numeric entry usability */
.alh-fxvw-input[dir="ltr"],
.alh-fxvw-select{
  font-variant-numeric: tabular-nums;
}
.alh-fxvw-input[dir="ltr"]{
  direction:ltr;
  unicode-bidi: plaintext;
  text-align:center;
  padding-inline:14px;
}
.alh-fxvw-input[dir="ltr"]:focus{
  text-align:center;
}

/* Bottom point-value table: equal-width columns and no clipped left edge */
.alh-fxvw-tablewrap:has(.alh-fxvw-table--ticks){
  overflow-x:auto;
}
.alh-fxvw-table--ticks{
  width:100%;
  table-layout:fixed;
}
.alh-fxvw-table--ticks th,
.alh-fxvw-table--ticks td{
  width:20%;
  white-space:nowrap;
  padding:12px 8px;
}


/* Ticks preview table: equal columns, no hidden left edge */
.alh-fxvw-table--ticks{table-layout:fixed;width:100%;}
.alh-fxvw-table--ticks th,.alh-fxvw-table--ticks td{text-align:center;vertical-align:middle;}
.alh-fxvw-table--ticks th,.alh-fxvw-table--ticks td{width:25%;}


/* v1.44 ticks table fix */
.alh-fxvw-table--ticks{
  width:100% !important;
  table-layout:fixed !important;
}
.alh-fxvw-table--ticks th,
.alh-fxvw-table--ticks td{
  width:25% !important;
  text-align:center !important;
  vertical-align:middle !important;
  white-space:nowrap !important;
}
.alh-fxvw-table--ticks td > *,
.alh-fxvw-table--ticks th > *{
  margin-inline:auto !important;
  text-align:center !important;
}
.alh-fxvw-grid-form input,
.alh-fxvw-grid-form select{
  text-align:center !important;
}

/* v1.45 log target column + equal widths */
.alh-fxvw-table--log .alh-col-log-tp{ width:88px; min-width:88px; }
.alh-fxvw-tablewrap--log .alh-col-log-tp{ width:88px !important; min-width:88px !important; }
.alh-fxvw-tablewrap--log .alh-fxvw-table--log{ min-width:1088px !important; }


/* v1.51 centered toast inside wallet + equal bottom table columns */
.alh-fxvw-tablewrap--ticks{
  overflow: visible !important;
  padding-left: 8px;
}
.alh-fxvw-tablewrap--ticks .alh-fxvw-table--ticks{
  width: calc(100% - 8px) !important;
  margin-left: 8px;
  table-layout: fixed !important;
}
.alh-fxvw-tablewrap--ticks .alh-fxvw-table--ticks th,
.alh-fxvw-tablewrap--ticks .alh-fxvw-table--ticks td{
  width: 25% !important;
  min-width: 25% !important;
  max-width: 25% !important;
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}


/* compact pairs box */
.alh-fxvw-pairs-box{max-height:320px;overflow:auto;padding:8px 2px 0;}
.alh-fxvw-pairs-hint{font-size:12px;opacity:.7;margin:0 0 10px;text-align:center;}
.alh-fxvw-pairs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.alh-fxvw-pair-chip{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,rgba(168,85,247,.10),rgba(255,255,255,.02));border:1px solid rgba(168,85,247,.28);border-radius:14px;padding:10px 12px;min-height:52px;cursor:grab;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease;}
.alh-fxvw-pair-chip.is-over{border-color:rgba(168,85,247,.85);box-shadow:0 0 0 2px rgba(168,85,247,.18) inset;}
.alh-fxvw-pair-chip.is-dragging{opacity:.65;transform:scale(.98);cursor:grabbing;}
.alh-fxvw-pair-chip__drag{opacity:.55;font-size:18px;line-height:1;user-select:none;}
.alh-fxvw-pair-chip__symbol{font-weight:800;flex:1;text-align:right;direction:ltr;}
.alh-fxvw-pair-chip__meta{font-size:12px;opacity:.78;min-width:72px;text-align:center;direction:ltr;}
.alh-fxvw-pair-chip__delete{width:30px;height:30px;border-radius:999px;border:1px solid rgba(239,68,68,.35);background:rgba(239,68,68,.18);color:#fff;cursor:pointer;font-size:18px;line-height:1;}
@media (max-width:900px){.alh-fxvw-pairs-grid{grid-template-columns:1fr;}}


.alh-fxvw-card--sortable{ cursor:grab; }
.alh-fxvw-card--sortable.is-dragging{ opacity:.55; transform:scale(.985); }
.alh-fxvw-card--sortable.is-over{ outline:2px dashed rgba(204,153,255,.45); outline-offset:2px; }

@media (max-width: 1200px){
  .alh-fxvw-grid-cards--home{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .alh-fxvw-grid-cards--stats{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px){
  .alh-fxvw-grid-cards--home, .alh-fxvw-grid-cards--stats{ grid-template-columns: repeat(1, minmax(0,1fr)); }
  .alh-fxvw-grid-cards--home .alh-fxvw-card, .alh-fxvw-grid-cards--stats .alh-fxvw-card{ height:auto; min-height:120px; }
}

.alh-fxvw-card--sortable{cursor:grab;user-select:none;-webkit-user-select:none;}
.alh-fxvw-card--sortable.is-dragging{opacity:.85;cursor:grabbing;}
.alh-fxvw-pair-chip{cursor:grab;user-select:none;-webkit-user-select:none;}
.alh-fxvw-pair-chip.is-dragging{opacity:.8;cursor:grabbing;}


/* === v1.60 button system / layout fixes === */
.alh-fxvw-tabbtn,
.alh-fxvw-btn,
.alh-fxvw-pagebtn{
  min-width: 132px;
  width: 132px;
  height: 52px;
  padding: 0 14px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(204,153,255,.24);
  background: rgba(255,255,255,.03);
  color:#f5f1ff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .08s ease;
}
.alh-fxvw-btn.secondary{background: rgba(255,255,255,.03);} 
.alh-fxvw-btn.danger{background: rgba(239,68,68,.16); border-color: rgba(239,68,68,.24);} 
.alh-fxvw-tabbtn:hover,
.alh-fxvw-btn:hover,
.alh-fxvw-pagebtn:hover{
  background: rgba(255,255,255,.05);
  border-color: rgba(204,153,255,.34);
}
.alh-fxvw-tabbtn.is-active,
.alh-fxvw-btn.is-active,
.alh-fxvw-btn.secondary.is-active,
.alh-fxvw-pagebtn.is-active{
  background: linear-gradient(180deg, rgba(140,92,255,.95), rgba(106,55,222,.92));
  border-color: rgba(224,198,255,.78);
  color:#fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 10px rgba(181,123,255,.65), 0 0 22px rgba(181,123,255,.38);
}
.alh-fxvw-btn--compact,
.alh-fxvw-btn--log{
  min-width: 112px !important;
  width: 112px !important;
  height: 46px !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  border-radius: 20px !important;
  white-space: nowrap;
}
.alh-fxvw-pill{
  min-width: 92px;
  height: 52px;
  padding: 0 16px;
  border-radius: 24px;
  font-size: 15px;
}
.alh-fxvw-actions{gap:14px; flex-wrap:wrap;}
.alh-fxvw-actions--adminrow{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 180px));
  justify-content:center;
  gap:12px;
}
.alh-fxvw-actions--adminrow .alh-fxvw-btn{
  width:180px;
  min-width:180px;
  max-width:180px;
  font-size: 13px;
}
.alh-fxvw-table--wallets .alh-col-wallet-control{
  width: 420px !important;
  min-width: 420px !important;
}
.alh-fxvw-controlrow{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 112px));
  justify-content:center;
  gap:12px;
}
.alh-fxvw-controlrow .alh-fxvw-btn--compact{
  margin:0 auto;
}
.alh-fxvw-table--log td .alh-fxvw-btn,
.alh-fxvw-table--log td .alh-fxvw-btn--log{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.alh-fxvw-table--log .alh-col-log-edit,
.alh-fxvw-table--log .alh-col-log-delete{
  min-width: 126px !important;
  width: 126px !important;
}
@media (max-width: 1200px){
  .alh-fxvw-actions--adminrow{grid-template-columns: repeat(2, minmax(0, 180px));}
}
@media (max-width: 720px){
  .alh-fxvw-tabbtn,
  .alh-fxvw-btn,
  .alh-fxvw-pagebtn{min-width:108px; width:108px; height:48px; font-size:14px;}
  .alh-fxvw-pill{min-width:78px; height:48px; font-size:14px;}
  .alh-fxvw-btn--compact,
  .alh-fxvw-btn--log{min-width:96px !important; width:96px !important; height:42px !important; font-size:13px !important;}
  .alh-fxvw-controlrow{grid-template-columns: repeat(3, minmax(0, 96px)); gap:10px;}
  .alh-fxvw-table--wallets .alh-col-wallet-control{width: 330px !important; min-width: 330px !important;}
}

/* patch log widths + withdraw center */
.alh-fxvw-actions--single{justify-content:center !important;}
.alh-fxvw-actions--single .alh-fxvw-btn{margin-inline:auto !important; min-width:220px;}
.alh-fxvw-tablewrap--log{overflow-x:auto;}
.alh-fxvw-table--log .alh-col-log-pl{width:86px !important; min-width:86px !important;}
.alh-fxvw-table--log .alh-col-log-delete{width:78px !important; min-width:78px !important;}
.alh-fxvw-table--log .alh-col-log-edit{width:82px !important; min-width:82px !important;}
.alh-fxvw-table--log .alh-col-log-arrow{width:42px !important; min-width:42px !important;}
.alh-fxvw-table--log .alh-col-log-lot,.alh-fxvw-table--log .alh-col-log-points,.alh-fxvw-table--log .alh-col-log-side{width:72px !important; min-width:72px !important;}
.alh-fxvw-table--log .alh-col-log-entry,.alh-fxvw-table--log .alh-col-log-sl,.alh-fxvw-table--log .alh-col-log-exit,.alh-fxvw-table--log .alh-col-log-tp{width:90px !important; min-width:90px !important;}
.alh-fxvw-table--log .alh-col-log-symbol{width:88px !important; min-width:88px !important;}
.alh-fxvw-table--log .alh-col-log-date{width:104px !important; min-width:104px !important;}

/* final log width + withdraw center */
.alh-fxvw-actions--single{justify-content:center !important; display:flex !important;}
.alh-fxvw-actions--single .alh-fxvw-btn{margin-inline:auto !important; min-width:220px; border-radius:28px !important;}
.alh-fxvw-table--log .alh-col-log-entry,
.alh-fxvw-table--log .alh-col-log-sl,
.alh-fxvw-table--log .alh-col-log-exit,
.alh-fxvw-table--log .alh-col-log-tp,
.alh-fxvw-tablewrap--log .alh-col-log-entry,
.alh-fxvw-tablewrap--log .alh-col-log-sl,
.alh-fxvw-tablewrap--log .alh-col-log-exit,
.alh-fxvw-tablewrap--log .alh-col-log-tp{width:82px !important; min-width:82px !important;}
.alh-fxvw-table--log .alh-col-log-pl,
.alh-fxvw-tablewrap--log .alh-col-log-pl{width:72px !important; min-width:72px !important;}
.alh-fxvw-table--log .alh-col-log-edit,
.alh-fxvw-tablewrap--log .alh-col-log-edit{width:66px !important; min-width:66px !important; padding-left:4px !important; padding-right:4px !important;}
.alh-fxvw-table--log .alh-col-log-delete,
.alh-fxvw-tablewrap--log .alh-col-log-delete{width:66px !important; min-width:66px !important; padding-left:4px !important; padding-right:4px !important;}


/* FINAL FIXES */
.alh-fxvw-actions--center{justify-content:center !important;}
.alh-fxvw-actions--single{justify-content:center !important;}
.alh-fxvw-table--log .alh-col-log-entry,
.alh-fxvw-table--log .alh-col-log-tp,
.alh-fxvw-table--log .alh-col-log-sl,
.alh-fxvw-table--log .alh-col-log-exit{width:78px !important; min-width:78px !important;}
.alh-fxvw-table--log .alh-col-log-lot,
.alh-fxvw-table--log .alh-col-log-points,
.alh-fxvw-table--log .alh-col-log-side{width:64px !important; min-width:64px !important;}
.alh-fxvw-table--log .alh-col-log-pl{width:58px !important; min-width:58px !important;}
.alh-fxvw-table--log .alh-col-log-date{width:96px !important; min-width:96px !important;}
.alh-fxvw-table--log .alh-col-log-symbol{width:80px !important; min-width:80px !important;}
.alh-fxvw-table--log .alh-col-log-edit,
.alh-fxvw-table--log .alh-col-log-delete{width:58px !important; min-width:58px !important; padding-left:2px !important; padding-right:2px !important;}
.alh-fxvw-table--log td .alh-fxvw-btn--log{min-width:48px !important; width:48px !important; padding:0 4px !important; font-size:12px !important;}
.alh-fxvw-table--log{min-width:1040px !important;}
.alh-fxvw-tablewrap--wd{overflow:auto;}
.alh-fxvw-table--wd{width:100%; table-layout:fixed; direction:rtl;}
.alh-fxvw-table--wd th,.alh-fxvw-table--wd td{text-align:center; vertical-align:middle; white-space:nowrap; padding:10px 8px;}
.alh-fxvw-table--wd th:nth-child(1),.alh-fxvw-table--wd td:nth-child(1){width:140px;}
.alh-fxvw-table--wd th:nth-child(2),.alh-fxvw-table--wd td:nth-child(2){width:150px;}
.alh-fxvw-table--wd th:nth-child(4),.alh-fxvw-table--wd td:nth-child(4){width:90px;}

/* final compact log + ensure withdraw button center */
.alh-fxvw-actions--single{display:flex !important; justify-content:center !important;}
.alh-fxvw-actions--single .alh-fxvw-btn{margin:0 auto !important;}
.alh-fxvw-table--log .alh-col-log-entry,.alh-fxvw-table--log .alh-col-log-tp,.alh-fxvw-table--log .alh-col-log-sl,.alh-fxvw-table--log .alh-col-log-exit{width:74px !important; min-width:74px !important;}
.alh-fxvw-table--log .alh-col-log-pl{width:62px !important; min-width:62px !important;}
.alh-fxvw-table--log .alh-col-log-date{width:92px !important; min-width:92px !important;}
.alh-fxvw-table--log .alh-col-log-symbol{width:78px !important; min-width:78px !important;}
.alh-fxvw-table--log .alh-col-log-edit,.alh-fxvw-table--log .alh-col-log-delete{width:56px !important; min-width:56px !important; padding-left:2px !important; padding-right:2px !important;}
.alh-fxvw-table--log td .alh-fxvw-btn--log{width:50px !important; min-width:50px !important; height:30px !important; padding:0 2px !important; font-size:11px !important;}


/* ===== Withdraw history table: minimal safe alignment fix ===== */
.alh-withdraw-table thead th,
.alh-withdraw-table tbody td{
    text-align:center !important;
    vertical-align:middle !important;
}

.alh-withdraw-table td:first-child,
.alh-withdraw-table th:first-child{
    text-align:center !important;
}

.alh-withdraw-table td:first-child button{
    display:block !important;
    margin:0 auto !important;
}


/* ===== Real withdraw table fix on actual classes ===== */
.alh-fxvw-table--wd th,
.alh-fxvw-table--wd td{
    text-align:center !important;
    vertical-align:middle !important;
}

/* make reason narrower */
.alh-fxvw-table--wd th:nth-child(3),
.alh-fxvw-table--wd td:nth-child(3){
    width:120px !important;
    max-width:120px !important;
}

/* give delete column more room */
.alh-fxvw-table--wd th:nth-child(1),
.alh-fxvw-table--wd td:nth-child(1){
    width:170px !important;
    min-width:170px !important;
    text-align:center !important;
}

/* center delete button truly */
.alh-fxvw-table--wd td:nth-child(1){
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

.alh-fxvw-table--wd td:nth-child(1) .alh-fxvw-btn,
.alh-fxvw-table--wd td:nth-child(1) button{
    margin:0 auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}
