/* ============ LEFT SIDEBAR (final) ============ */
.panel-left{
  display:flex;
  flex-direction:column;
  height:var(--left-height, auto);  /* JS se exact height milegi */
  min-height:0;
  overflow:hidden;                  /* outer overflow band */
}

/* Top "Currencies" section */
.panel-left .panel-section:first-child{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  min-height:0;
  overflow:hidden;                  /* list khud scroll karegi */
}

/* Sirf list scroll */
.currency-list-body{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  -webkit-overflow-scrolling:touch;

  /* Themed scrollbar */
  scrollbar-width:thin;  /* Firefox */
  scrollbar-color: rgba(255,255,255,.22) var(--btn-accent);
}
.currency-list-body::-webkit-scrollbar{ width:8px; }
.currency-list-body::-webkit-scrollbar-track{
  background: var(--btn-accent);
  border-left:1px solid var(--navy-border);
}
.currency-list-body::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.22);
  border-radius:8px;
  border:1px solid var(--navy-border);
}
.currency-list-body::-webkit-scrollbar-thumb:hover{
  background: rgba(255,255,255,.32);
}

/* ===== existing visuals (as-is) ===== */
.panel-left .panel-title{
  font-size:1.1rem;font-weight:600;color:#fff;
  margin-bottom:1rem;border-bottom:1px solid var(--navy-border);padding-bottom:.75rem;
}
.search-box-wrapper{position:relative;}
.search-box-wrapper .bi-search{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8a9cb2;}
#currencySearch.form-control{
  background:rgba(0,0,0,.2);border:1px solid var(--navy-border);color:#fff;padding-left:38px;border-radius:8px;
}
.currency-list-header{display:flex;font-size:.75rem;color:#8a9cb2;padding:0 .5rem .5rem;border-bottom:1px solid var(--navy-border);}
.currency-list-body .currency-row{
  display:flex;align-items:center;padding:.75rem .5rem;font-size:.9rem;border-bottom:1px solid var(--navy-border);
  cursor:pointer;transition:background-color .2s;
}
.currency-list-body .currency-row:last-child{border-bottom:none;}
.currency-row:hover,.currency-row.active{background-color:var(--btn-accent-hover);border-radius:8px;}
.c-name{flex:2;display:flex;align-items:center;gap:8px;}
.c-name img{width:24px;height:24px;border-radius:50%;}
.c-name small{color:#8a9cb2;font-size:.8em;margin-left:2px;}
.c-price{flex:1.5;text-align:left;}
.c-change{flex:1;text-align:right;font-weight:600;}
.account-info .info-row{display:flex;justify-content:space-between;font-size:.85rem;color:#adb5bd;margin-bottom:8px;}
.account-info .info-row strong{color:#cfe3ee;font-weight:600;}
