/* Reset and basic layout */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
  --body-font-family: 'Lato', sans-serif;
  --green-text-color: #00C123;
  --red-text-color: #F50000;
  --alert-color: #FF4A92;
  --hover-color: #6faeb8;

  color: light-dark;
  /*light*/
  --black-text-color: #000;
  --lt-panel-background-color: #fff;
  --lt-overall-background-color: #EDEDED;
  --lt-panel-bars-and-buttons: #D9D9D9;
  --lt-apple-buy-button: #C1DBFF;
   /*dark*/
  --white-text-color: #ffffff;
  --dk-panel-background-color: #000000;
  --dk-overall-background-color: #595959;
  --dk-panel-bars-and-buttons: #323232;
  --dk-apple-buy-button: #0b294e;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font-family);
    width: 1920px;
    height: 1080px;
    background-color: light-dark(var(--lt-overall-background-color), var(--dk-overall-background-color));
}

#dashboard-container {
    padding: 20px;
    width: 1920px;
    height: 1080px;
    display:flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}


/*--------------------------------------------- TOP DASH BAR ------------------------ */

/* Dashboard Bar */
#dashboard-bar {
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
    width: 1880px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.bar-left,
.bar-center,
.bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-center {
    flex: 1;
    justify-content: center;
    background-color: light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    height: 40px;
    gap: 60px;
}

/* Logo */
.logo {
    height: 45px;
    width: auto;
}

/* Buttons */
.bar-button {
    padding: 6px 16px;
    background-color: light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    border-radius: 3px;
    font-family: var(--body-font-family);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.bar-button:hover {
    background-color:var(--hover-color);
}

/* Inputs */
.bar-input {
    padding: 6px 12px;
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
    border-radius: 4px;
    font-family: var(--body-font-family);
    font-size: 12px;
    width: 100px;
}

.bar-input.wide {
    width: 180px;
}

.bar-input:focus {
    outline: none;
}

/* Select Dropdown */
.bar-select {
    padding: 6px 12px;
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
    border-radius: 4px;
    font-family: var(--body-font-family);
    font-size: 12px;
    cursor: pointer;
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 500;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: light-dark(var(--lt-apple-buy-button), var(--dk-apple-buy-button));
    transition: 0.3s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: light-dark(var(--lt-apple-buy-button), var(--dk-apple-buy-button));
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.alerts-bell img {
    width: 40px;
    height: auto;
    display: block;
}


/* ===================================DIALOG =================================== */

dialog {
    border: none;
    border-radius: 3px;
    padding: 0;
     margin: auto;
     display:flex;
     flex-direction: column;
     background: light-dark(var(--lt-overall-background-color), var(--dk-overall-background-color));
}

dialog:not([open]) {
    display: none;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background:light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

.portfolio-summary-bar {
    background: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

.dialog-header h2 {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: light-dark(var(--black-text-color), var(--white-text-color));
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-button:hover {
    background-color: light-dark(var(--panel-background-color), var(--dk-panel-background-color));
    color:light-dark(var(--black-text-color), var(--white-text-color));
}

.dialog-content {
    padding: 24px;
    max-height: 500px;
    overflow-y: auto;
}

.dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid light-dark(var(--lt-overall-background-color), var(--dk-overall-background-color));
}

.cancel-button,
.save-button {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cancel-button {
    background-color: light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.cancel-button:hover {
    background-color: var(--hover-color);
     color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.save-button {
    background-color: light-dark(var(--lt-apple-buy-button), var(--dk-apple-buy-button));;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.save-button:hover {
    background-color:var(--hover-color );
}



/*---------------------------------------- SETTINGS DIALOG LAYOUT -------------------------- */

#settings-layout {
    display: flex;
    flex: 1;
    border-bottom: 1px solid light-dark(var(--lt-overall-background-color), var(--dk-overall-background-color));
    height: 900px;
    width: 600px;
    background: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

#settings-dialog > .dialog-header > h2 {
    padding-right: 40px;
}

#settings-sidebar {
    width: 120px;
    border-right: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    padding: 16px 0;
    background: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

#settings-sidebar .sidebar-item {
    padding: 8px 20px;
    font-size: 13px;
    font-family: 'Lato', sans-serif;
    color:light-dark(var(--lt-text-color), var(--dk-text-color));
}

#settings-main {
    flex: 1;
    padding: 20px 24px;
}

#settings-main .settings-heading {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid light-dark(var(--lt-overall-background-color), var(--dk-overall-background-color));
}


#settings-main .settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
}

.dialog-footer {
    background: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

/* =================================== PORTFOLIO DIALOG =================================== */

#portfolio-dialog {
    width: 1100px;
    height: 1000px;
    overflow:hidden;
}

.portfolio-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: none;
}

.portfolio-header-left {
    display: flex;
    align-items: center;
}

.portfolio-logo {
    height: 60px;
    width: auto;
    margin-right: 16px;
}

.portfolio-header h2 {
    flex: 1;
    text-align: center;
    font-size: 24px;
}

.portfolio-summary-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 8px 24px 16px;
    border-bottom: 1px solid light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
    font-family: 'Lato', sans-serif;
}

.portfolio-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-label {
    font-size: 12px;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.portfolio-value-large {
    font-size: 22px;
    font-weight: 700;
    color:light-dark(var(--lt-text-color), var(--dk-text-color));
}

.portfolio-change {
    font-size: 14px;
    font-weight: 600;
}

.portfolio-change.positive { color: var(--green-text-color); }
.portfolio-change.negative { color: var(--red-text-color); }

.portfolio-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    overflow:hidden;
}

.portfolio-top-row {
    display: flex;
    gap: 16px;
    height: 340px;
}

.portfolio-positions-section {
    flex: 1;
    border: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.portfolio-table-wrapper {
    flex: 1;
    overflow-y: auto;
}

#portfolio-positions-table th:nth-child(n+2),
#portfolio-positions-table td:nth-child(n+2) {
    text-align: right;
}

#portfolio-positions-table td:last-child {
    font-weight: 600;
}

.portfolio-allocation-section {
    flex: 1;
    border: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.portfolio-chart-area {
    flex: 1;
    overflow: hidden;
}

.portfolio-chart-area iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.portfolio-performance-section {
    border: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    display: flex;
    flex-direction: column;
    height: 500px;
    overflow: hidden;
}

.portfolio-performance-chart {
    flex: 1;
    overflow: hidden;
}

.portfolio-performance-chart iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* =================================== APPL STOCK DIALOG =================================== */

#stock-dialog {
    width: 700px;
    height: 910px;
    overflow-y: auto;
    background-color: light-dark(var(--lt-overall-background-color), var(--dk-overall-background-color));
}

.stock-dialog-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

.stock-header-left {
    display: flex;
    align-items: center;
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

.stock-header-center {
    flex: 1;
    text-align: center;
}

.stock-header-center h2 {
    font-size: 22px;
    margin: 0;
}

.stock-dialog-exchange {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.stock-dialog-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Top row: price info + chart side by side */
.stock-top-row {
    display: flex;
    gap: 16px;
    height: 280px;
}

.stock-header-left > img {
    width: 80px;
    height: auto;
}

.stock-price-section {
    flex: 0.8;
    border: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    padding: 16px;
    font-family: 'Lato', sans-serif;
    overflow-y: auto;
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

.stock-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.stock-current-price {
    font-size: 28px;
    font-weight: 700;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.stock-buy-button {
    padding: 8px 28px;
    background-color: light-dark(var(--lt-apple-buy-button), var(--dk-apple-buy-button));
    border: none;
    border-radius: 3px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.stock-buy-button:hover {
    background-color: var(--hover-color);
}

.stock-price-change {
    font-size: 12px;
    color: var(--red-text-color);
    margin-bottom: 4px;
}

.stock-market-status {
    font-size: 10px;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
    margin-bottom: 2px;
}

.stock-after-hours {
    font-size: 11px;
    color: var(--green-text-color);
    margin-bottom: 16px;
}

.stock-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    padding-top: 12px;
}

.stock-stat {
    display: flex;
    flex-direction: column;
    padding: 6px 4px;
    border-bottom: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
}

.stat-label {
    font-size: 10px;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.stat-value {
    font-size: 12px;
    font-weight: 600;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

.stock-chart-section {
    flex: 1.3;
    border: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    overflow: hidden;
}

.stock-chart-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Bottom row: Related + News side by side */
.stock-bottom-row {
    display: flex;
    gap: 16px;
    height: 475px;
}

.stock-related-section,
.stock-news-section {
    flex: 1;
    border: 1px solid light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stock-table-wrapper {
    flex: 1;
    overflow-y: auto;
}

#stock-related-table th:nth-child(2),
#stock-related-table td:nth-child(2),
#stock-related-table th:nth-child(4),
#stock-related-table td:nth-child(4) {
    text-align: right;
}

#stock-news-table td:first-child {
    white-space: nowrap;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
    font-size: 10px;
    width: 80px;
}

/* Clickable AAPL symbol links */
.symbol-link {
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.symbol-link:hover {
    color: var(--hover-color);
    text-decoration: underline;
}


/* -------------------------------------- BELOW THE TOP DASH BAR ------------------------ */

#dashboard-body {
 display:flex;
 flex-direction: row;
}

/* Left sidebar - 870x970px with 20px margin right */
#dashboard-left {
    width: 870px;
    height: 970px;
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
    margin-right: 20px;
    gap: 20px;
}

/* Right section - 990x970px */
#dashboard-right {
    width: 990px;
    height: 970px;
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
    gap: 20px;
}

/* Account News Dashboard - container with row direction */
#account-news-dashboard {
    background-color:transparent;
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 870px;
    height: 745px;
}

/* Account Dashboard - column direction */
#account-dashboard {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 485px;
    height: 745px;
}

#positions-dashboard {
    width: 485px;
    height: 365px;
}

#recent-transactions {
    width: 485px;
    height: 340px;
}
#news-dashboard {
    flex: 1;
}

/* Notices section - row direction */
#notices {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex: 1;
    height: 345px;
    overflow:hidden;
}

#messages, #alerts {
    flex: 1;
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

#scanner {
    flex: 1;
}

.panel-bar {
    background-color: light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    width: 100%;
    height: 20px;
      padding: 2px 8px;        
    font-size: 12px;          
    font-weight: 600;   
    font-family: 'Lato', sans-serif;    
    color: light-dark(var(--lt-text-color), var(--dk-text-color));           
    display: flex;            
    align-items: center;  
    justify-content: center;
}

.table {
    background-color: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));  
    width: 100%;
    overflow-y: auto;  
    overflow-x: hidden;
}

#recent-transactions > .table {
    height:340px;
}

#positions-dashboard > .table {
    width:100%;
    height: 345px;
}

#scanner > .table {
    width:100%;
    height: 315px;
}

#news-dashboard > .table {
    width:100%;
    height: 725px;
}

/* Market Chart */
#market-chart {
    height: 640px;
    width: 990px;
    display:flex;
    flex-direction: column;
     border: light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
     border-width: medium;
}

#market-chart > .chart {
    width:100%;
    height: 625px;
    overflow:hidden;
}

#market-chart > .chart iframe {
    width: 100%;
    height: 100%;
}


/* Heatmap */
#heatmap {
    height: 230px;
    width: 870px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#heatmap > .panel-bar {
    height: 20px;
    flex-shrink: 0;
}

.iframe-wrapper {
    width: 870px;
    height: 195px;
    overflow: hidden;
    position: relative;
}

.iframe-wrapper iframe {
    border: none;
    width: 100%; 
    height: 100%;
    transform:none;
    position:absolute;
}




/*--------------------------------------  Lists --------------------------------------*/


.list {
    padding: 10px;
    overflow-y: auto;
}

.list-item {
    padding: 10px 12px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1;
}

.list-item:hover {
    cursor: pointer;
}

/* First three alerts - pink background */
#alerts .list-item:nth-child(1),
#alerts .list-item:nth-child(2),
#alerts .list-item:nth-child(3) {
    color: var(--alert-color);
}

#alerts > .list,
#messages > .list {
    width: 100%;
    height: 280px;
}


/*--------------------------------------  TABLES --------------------------------------*/


table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 11px;
    background-color:light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

table th {
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px 10px;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}


table tbody tr:last-child td {
    border-bottom: none;
}

/* ===================================POSITIONS TABLE=================================== */

#positions-table th:nth-child(1) { width: 70px; }  /* Symbol */
#positions-table th:nth-child(2) { width: 60px; text-align: right; }  /* Shares */
#positions-table th:nth-child(3) { width: 80px; text-align: right; }  /* Avg Cost */
#positions-table th:nth-child(4) { width: 90px; text-align: right; }  /* Current Price */
#positions-table th:nth-child(5) { width: 100px; text-align: right; }  /* Market Value */
#positions-table th:nth-child(6) { width: 85px; text-align: right; }  /* Gain/Loss */

#positions-table td:nth-child(1) { 
    font-weight: 600; 
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

#positions-table td:nth-child(2),
#positions-table td:nth-child(3),
#positions-table td:nth-child(4),
#positions-table td:nth-child(5),
#positions-table td:nth-child(6) {
    text-align: right;
    font-family: 'Lato', sans-serif;
}

#positions-table td:nth-child(6) {
    font-weight: 600;
}

/* ===================================TRANSACTIONS TABLE=================================== */

#transactions-table th:nth-child(1) { width: 80px; }  /* Order ID */
#transactions-table th:nth-child(2) { width: 90px; }  /* Date */
#transactions-table th:nth-child(3) { width: 80px; }  /* Time */
#transactions-table th:nth-child(4) { width: 70px; }  /* Symbol */
#transactions-table th:nth-child(5) { width: 60px; }  /* Type */
#transactions-table th:nth-child(6) { width: 60px; text-align: right; }  /* Qty */

#transactions-table td:nth-child(1) {
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
    font-family: 'Lato', sans-serif;
}

#transactions-table td:nth-child(4) {
    font-weight: 600;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

#transactions-table td:nth-child(5) {
    font-weight: 600;
}

#transactions-table td:nth-child(6) {
    text-align: right;
    font-family: 'Lato', sans-serif;
}

/* ===================================NEWS TABLE=================================== */

#news-table th:nth-child(1) { width: 80px; }  /* Time   */
#news-table th:nth-child(2) { width: auto; }  /* Headline */

#news-table td:nth-child(1) {
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
    font-size: 10px;
    white-space: nowrap;
}

#news-table td:nth-child(2) {
    line-height: 1.4;
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

/* ===================================SCANNER TABLE=================================== */

#scanner-table th:nth-child(1) { width: 70px; }  /* Symbol */
#scanner-table th:nth-child(2) { width: 70px; text-align: right; }  /* Last */
#scanner-table th:nth-child(3) { width: 75px; text-align: right; }  /* $ Chg */
#scanner-table th:nth-child(4) { width: 75px; text-align: right; }  /* % Chg */
#scanner-table th:nth-child(5) { width: 70px; text-align: right; }  /* Bid */
#scanner-table th:nth-child(6) { width: 70px; text-align: right; }  /* Ask */
#scanner-table th:nth-child(7) { width: 70px; text-align: right; }  /* Volume */

#scanner-table td:nth-child(1) {
    color: light-dark(var(--lt-text-color), var(--dk-text-color));
}

#scanner-table td:nth-child(2),
#scanner-table td:nth-child(3),
#scanner-table td:nth-child(4),
#scanner-table td:nth-child(5),
#scanner-table td:nth-child(6),
#scanner-table td:nth-child(7) {
    text-align: right;
    font-family: 'Lato', sans-serif;
}

#scanner-table td:nth-child(3),
#scanner-table td:nth-child(4) {
    font-weight: 600;
}

/* =================================== gains / losses colors =================================== */

.positive {
    color: var(--green-text-color) !important;
}

.negative {
    color: var(--red-text-color) !important;
}

/* ===================================SCROLLBAR =================================== */

.table::-webkit-scrollbar,
.list::-webkit-scrollbar {
    width: 8px;
}

.table::-webkit-scrollbar-track,
.list::-webkit-scrollbar-track {
    background: light-dark(var(--lt-panel-background-color), var(--dk-panel-background-color));
}

.table::-webkit-scrollbar-thumb,
.list::-webkit-scrollbar-thumb {
    background: light-dark(var(--lt-panel-bars-and-buttons), var(--dk-panel-bars-and-buttons));
    border-radius: 2px;
}

.table::-webkit-scrollbar-thumb:hover,
.list::-webkit-scrollbar-thumb:hover {
    background: #95a5a6;
}