/* ══════════════════════════════════════════════
   Dark Financial Pro Theme — home.css
   ══════════════════════════════════════════════ */

/* Override Bootstrap 5 CSS variables for dark theme */
:root {
    --bs-body-bg: #0a0e1a;
    --bs-body-color: #e0e6f0;
    --bs-border-color: #1e3254;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: #0d1526;
    --bs-table-hover-bg: #1a2d45;
    --bs-table-color: #e0e6f0;
    --bs-form-control-bg: #0f1b2d;
    --bs-input-bg: #0f1b2d;
    --bs-input-color: #e0e6f0;
    --bs-input-border-color: #1e3254;
}

.red  { color: #f03e3e !important; font-weight: 600; }
.green { color: #00c176 !important; font-weight: 600; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    background: #0a0e1a;
    color: #e0e6f0;
    margin: 0;
    padding: 0;
}

/* ── Home/Chart tab nav ── */
#homeNavBar2 {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #0d1526;
    border-bottom: 1px solid #1e3254;
    padding: 0 8px;
}

#homeNavBar2 .nav-tabs {
    border-bottom: none;
}

#homeNavBar2 .nav-link {
    color: #7a96b5 !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 0 !important;
    transition: color 0.18s, border-color 0.18s;
}

#homeNavBar2 .nav-link:hover {
    color: #00c8a0 !important;
    border-bottom-color: rgba(0,200,160,0.4) !important;
}

#homeNavBar2 .nav-link.active {
    color: #00c8a0 !important;
    border-bottom: 2px solid #00c8a0 !important;
}

/* ── Main table container ── */
#homeContainer {
    position: relative;
    top: 0;
    height: calc(100vh - 115px);
    overflow-y: auto;
    padding: 0 8px 8px 8px;
    background: #0a0e1a;
    scrollbar-width: thin;
    scrollbar-color: #1e3254 transparent;
}

#homeContainer::-webkit-scrollbar { width: 5px; }
#homeContainer::-webkit-scrollbar-track { background: transparent; }
#homeContainer::-webkit-scrollbar-thumb { background: #1e3254; border-radius: 3px; }

/* ── DataTables controls ── */
.dataTables_wrapper {
    color: #e0e6f0 !important;
    background: #0a0e1a;
}

.dataTables_filter input,
.dataTables_filter input[type="search"],
.dataTables_length select,
input.form-control[type="search"] {
    background: #0f1b2d !important;
    background-color: #0f1b2d !important;
    color: #e0e6f0 !important;
    border: 1px solid #1e3254 !important;
    border-radius: 5px !important;
    padding: 3px 8px !important;
    outline: none !important;
    -webkit-appearance: none;
}

/* full width DataTables wrapper */
#homeContainer .dataTables_wrapper,
div#home_wrapper {
    width: 100% !important;
    padding: 0;
}

.dataTables_filter input:focus,
.dataTables_length select:focus {
    border-color: #00c8a0 !important;
    box-shadow: 0 0 0 2px rgba(0,200,160,0.18) !important;
}

.dataTables_info,
.dataTables_filter label,
.dataTables_length label {
    color: #5a7a9a !important;
    font-size: 12px;
}

/* ── Table: override Bootstrap striped/hover ── */
table.table,
table#home {
    background: transparent !important;
    color: #e0e6f0 !important;
    font-size: 13px;
}

/* Header row */
#homeHeader th,
table.table thead th,
table#home thead th {
    background: #0f1b2d !important;
    color: #00c8a0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 2px solid #1e3254 !important;
    border-top: none !important;
    padding: 8px 30px 8px 10px !important;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 4;
}

/* Body rows — override Bootstrap table-striped */
table.table > tbody > tr > td,
table.table > tbody > tr > th,
table#home tbody tr td {
    background: #0a0e1a !important;
    color: #8aabc0 !important;
    border-color: #111e32 !important;
    padding: 7px 10px !important;
    vertical-align: middle !important;
}

table.table > tbody > tr:nth-child(even) > td,
table#home tbody tr:nth-child(even) td {
    background: #0d1526 !important;
}

/* Hover rows */
table.table > tbody > tr:hover > td,
table.table-hover > tbody > tr:hover > td,
table#home tbody tr:hover td {
    background: #1a2d45 !important;
    color: #e0e6f0 !important;
}

/* Stock name links */
table.table tbody td a,
table#home tbody td a {
    color: #4db8e8 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

table.table tbody td a:hover,
table#home tbody td a:hover {
    color: #00c8a0 !important;
    text-decoration: underline;
}

/* Keep sort icon from overlapping header text */
table.dataTable thead > tr > th {
    position: relative !important;
}
table.dataTable thead > tr > th span.dt-column-order {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    line-height: 1 !important;
}

/* DataTables sorting arrows (new DataTables v2 classes) */
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after,
table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after {
    color: #00c8a0 !important;
    opacity: 0.45 !important;
}
table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after {
    color: #00c8a0 !important;
    opacity: 1 !important;
}

/* Download CSV */
#homeContainer a[style*="float: right"],
#csvDownload {
    display: inline-block;
    background: #0f1b2d;
    color: #00c8a0 !important;
    border: 1px solid #1e4a3a;
    padding: 4px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background 0.18s, box-shadow 0.18s;
    margin-bottom: 6px;
}

#homeContainer a[style*="float: right"]:hover {
    background: #00c8a0;
    color: #0a0e1a !important;
    box-shadow: 0 0 8px rgba(0,200,160,0.35);
}

/* ── Pagination ── */
.pagination .page-link {
    background: #0f1b2d !important;
    color: #a0b8d0 !important;
    border: 1px solid #1e3254 !important;
    padding: 4px 9px;
    font-size: 12px;
    transition: background 0.15s, color 0.15s;
}

.pagination .page-link:hover {
    background: #1a2d45 !important;
    color: #00c8a0 !important;
    border-color: #00c8a0 !important;
}

.pagination .page-item.active .page-link {
    background: #00c8a0 !important;
    color: #0a0e1a !important;
    border-color: #00c8a0 !important;
    font-weight: 700;
}

/* ── Stock title tooltip bar ── */
.stockTitle {
    position: absolute;
    top: 4px;
    left: 4px;
    background: #0f1b2d;
    border: 1px solid #1e3254;
    color: #e0e6f0;
    z-index: 6;
    display: none;
    min-width: 100px;
    height: 36px;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.stockTitle div {
    display: inline-flex;
    flex-direction: row;
    margin-left: 5px;
    padding-bottom: 5px;
}

.stockTitle div a { text-decoration: none; border-radius: 4px; margin-bottom: -4px; }
.stockTitle div a:hover { background-color: #00c8a0; }
.active { background-color: #00c8a0; color: #0a0e1a; }

/* ── Disclaimer ── */
.disclaimer {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    color: #5a7a9a;
    line-height: 1.5;
    margin-top: 12px;
    padding: 8px 12px;
    background: #0d1526;
    border-left: 3px solid #00c8a0;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    #homeContainer {
        height: calc(100vh - 120px);
        padding: 0 4px 4px 4px;
        overflow-x: auto;
    }

    /* Make the DataTables wrapper scroll horizontally */
    .dataTables_wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table.table,
    table#home {
        font-size: 11px !important;
        min-width: 520px; /* forces table to scroll rather than collapse */
    }

    table.table > tbody > tr > td,
    table.table thead th {
        padding: 5px 6px !important;
        white-space: nowrap;
    }

    .dataTables_filter,
    .dataTables_length {
        font-size: 11px;
    }

    /* Stack DataTables controls vertically */
    .dataTables_wrapper .row:first-child > div {
        width: 100% !important;
        text-align: left !important;
    }

    #homeNavBar2 .nav-link {
        font-size: 12px;
        padding: 6px 10px;
    }

    .disclaimer {
        font-size: 11px;
    }
}

/* ══════════════════════════════════════════════
   Light Theme Overrides (html.light-theme)
   Design: white content on mint-green background
   ══════════════════════════════════════════════ */

/* Bootstrap CSS variable overrides */
html.light-theme body {
    --bs-body-bg: #eef6f3;
    --bs-body-color: #0f172a;
    --bs-border-color: #c5ddd7;
    --bs-table-bg: #ffffff;
    --bs-table-striped-bg: #f3faf8;
    --bs-table-hover-bg: #d5ede7;
    --bs-table-color: #0f172a;
    --bs-input-bg: #ffffff;
    --bs-input-color: #0f172a;
    --bs-input-border-color: #b8d5cd;
}

html.light-theme body {
    background: #eef6f3;
    color: #0f172a;
}

html.light-theme .red  { color: #c0202e !important; }
html.light-theme .green { color: #007a60 !important; }

/* Home tab nav bar */
html.light-theme #homeNavBar2 {
    background: #ffffff !important;
    border-bottom-color: #c5ddd7 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
html.light-theme #homeNavBar2 .nav-link { color: #475569 !important; }
html.light-theme #homeNavBar2 .nav-link:hover { color: #007a60 !important; border-bottom-color: rgba(0,122,96,0.4) !important; }
html.light-theme #homeNavBar2 .nav-link.active { color: #007a60 !important; border-bottom-color: #007a60 !important; }

/* Home container */
html.light-theme #homeContainer {
    background: #eef6f3 !important;
    scrollbar-color: #b8d5cd transparent;
}
html.light-theme #homeContainer::-webkit-scrollbar-thumb { background: #b8d5cd; }

/* DataTables wrapper */
html.light-theme .dataTables_wrapper { background: #eef6f3 !important; color: #0f172a !important; }
html.light-theme .dataTables_filter input,
html.light-theme .dataTables_filter input[type="search"],
html.light-theme .dataTables_length select,
html.light-theme input.form-control[type="search"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-color: #b8d5cd !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
html.light-theme .dataTables_filter input:focus,
html.light-theme .dataTables_length select:focus {
    border-color: #007a60 !important;
    box-shadow: 0 0 0 3px rgba(0,122,96,0.12) !important;
}
html.light-theme .dataTables_info,
html.light-theme .dataTables_filter label,
html.light-theme .dataTables_length label { color: #475569 !important; }

/* Table header */
html.light-theme #homeHeader th,
html.light-theme table.table thead th,
html.light-theme table#home thead th {
    background: #e3f2ee !important;
    color: #007a60 !important;
    border-bottom-color: #b8d5cd !important;
}

/* Table body rows */
html.light-theme table.table > tbody > tr > td,
html.light-theme table.table > tbody > tr > th,
html.light-theme table#home tbody tr td {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #d5e8e3 !important;
}
html.light-theme table.table > tbody > tr:nth-child(even) > td,
html.light-theme table#home tbody tr:nth-child(even) td { background: #f3faf8 !important; }
html.light-theme table.table > tbody > tr:hover > td,
html.light-theme table.table-hover > tbody > tr:hover > td,
html.light-theme table#home tbody tr:hover td { background: #d5ede7 !important; color: #0f172a !important; }

/* Table links */
html.light-theme table.table tbody td a,
html.light-theme table#home tbody td a { color: #0369a1 !important; }
html.light-theme table.table tbody td a:hover,
html.light-theme table#home tbody td a:hover { color: #007a60 !important; }

/* Sorting arrows */
html.light-theme table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before,
html.light-theme table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after,
html.light-theme table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:before,
html.light-theme table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after { color: #007a60 !important; opacity: 0.45 !important; }
html.light-theme table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
html.light-theme table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after { color: #007a60 !important; opacity: 1 !important; }

/* Download CSV */
html.light-theme #csvDownload {
    background: #ffffff;
    color: #007a60 !important;
    border-color: #b8d5cd;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
html.light-theme #homeContainer a[style*="float: right"]:hover,
html.light-theme #csvDownload:hover {
    background: #007a60;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0,122,96,0.25);
}

/* Pagination */
html.light-theme .pagination .page-link {
    background: #ffffff !important;
    color: #334155 !important;
    border-color: #c5ddd7 !important;
}
html.light-theme .pagination .page-link:hover {
    background: #d5ede7 !important;
    color: #007a60 !important;
    border-color: #007a60 !important;
}
html.light-theme .pagination .page-item.active .page-link {
    background: #007a60 !important;
    color: #ffffff !important;
    border-color: #007a60 !important;
    font-weight: 700;
}

/* Stock title tooltip */
html.light-theme .stockTitle {
    background: #ffffff;
    border-color: #c5ddd7;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
html.light-theme .stockTitle div a:hover { background-color: #007a60; }

/* Disclaimer */
html.light-theme .disclaimer {
    color: #334155;
    background: #f3faf8;
    border-left-color: #007a60;
}

/* Sidebar light */
html.light-theme #Selectclass {
    background: #e5f1ed !important;
    border-bottom-color: #c5ddd7 !important;
}
html.light-theme #Selectclass label { color: #475569 !important; }
html.light-theme #Selectclass aside select {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #b8d5cd !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23007a60' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
}
html.light-theme #Selectclass aside select:focus { border-color: #007a60 !important; box-shadow: 0 0 0 3px rgba(0,122,96,0.12) !important; }
html.light-theme select#stockList { background: #e5f1ed !important; border: none !important; }
html.light-theme #stockList option { background: #ffffff !important; color: #0f172a !important; border-bottom-color: #d5e8e3 !important; }
html.light-theme #stockList option:hover,
html.light-theme #stockList option:checked { background: #d5ede7 !important; color: #007a60 !important; }

/* Modals */
html.light-theme .modal-content { background-color: #ffffff !important; border-color: #c5ddd7 !important; color: #0f172a !important; box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important; }
html.light-theme .modal-header { background-color: #f3faf8 !important; border-bottom-color: #c5ddd7 !important; }
html.light-theme .modal-title { color: #007a60 !important; }
html.light-theme .modal-footer { border-top-color: #c5ddd7 !important; background-color: #f3faf8 !important; }
html.light-theme .modal-body { background-color: #ffffff !important; color: #0f172a !important; }
html.light-theme .btn-close { filter: none !important; opacity: 0.5; }
html.light-theme .modal-backdrop { background-color: #000 !important; }
html.light-theme .modal-body select { background-color: #ffffff !important; color: #0f172a !important; border-color: #b8d5cd !important; }
html.light-theme .modal .btn-secondary { background-color: #e5f1ed !important; border-color: #c5ddd7 !important; color: #334155 !important; }
html.light-theme .modal .btn-primary { background-color: #007a60 !important; border-color: #007a60 !important; color: #ffffff !important; }
html.light-theme .modal-body .form-control,
html.light-theme .modal-body input { background-color: #ffffff !important; color: #0f172a !important; border-color: #b8d5cd !important; }
html.light-theme .modal-body .form-label { color: #334155 !important; }

/* ══════════════════════════════════════════════
   Graphite Theme Overrides (html.graphite-theme)
   Design: white content on neutral dark-grey background
   ══════════════════════════════════════════════ */

html.graphite-theme body {
    --bs-body-bg: #e8eaed;
    --bs-body-color: #1a1d21;
    --bs-border-color: #bcc1c8;
    --bs-table-bg: #f5f6f7;
    --bs-table-striped-bg: #eeeff1;
    --bs-table-hover-bg: #d0d4d9;
    --bs-table-color: #1a1d21;
    --bs-input-bg: #ffffff;
    --bs-input-color: #1a1d21;
    --bs-input-border-color: #b0b6be;
}

html.graphite-theme body { background: #e8eaed; color: #1a1d21; }

html.graphite-theme .red  { color: #c0202e !important; }
html.graphite-theme .green { color: #007a60 !important; }

html.graphite-theme #homeNavBar2 {
    background: #f5f6f7 !important;
    border-bottom-color: #bcc1c8 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
html.graphite-theme #homeNavBar2 .nav-link { color: #5a6170 !important; }
html.graphite-theme #homeNavBar2 .nav-link:hover { color: #007a60 !important; border-bottom-color: rgba(0,122,96,0.4) !important; }
html.graphite-theme #homeNavBar2 .nav-link.active { color: #007a60 !important; border-bottom-color: #007a60 !important; }

html.graphite-theme #homeContainer {
    background: #e8eaed !important;
    scrollbar-color: #b0b6be transparent;
}
html.graphite-theme #homeContainer::-webkit-scrollbar-thumb { background: #b0b6be; }

html.graphite-theme .dataTables_wrapper { background: #e8eaed !important; color: #1a1d21 !important; }
html.graphite-theme .dataTables_filter input,
html.graphite-theme .dataTables_filter input[type="search"],
html.graphite-theme .dataTables_length select,
html.graphite-theme input.form-control[type="search"] {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #1a1d21 !important;
    border-color: #b0b6be !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
}
html.graphite-theme .dataTables_filter input:focus,
html.graphite-theme .dataTables_length select:focus {
    border-color: #007a60 !important;
    box-shadow: 0 0 0 3px rgba(0,122,96,0.12) !important;
}
html.graphite-theme .dataTables_info,
html.graphite-theme .dataTables_filter label,
html.graphite-theme .dataTables_length label { color: #5a6170 !important; }

html.graphite-theme #homeHeader th,
html.graphite-theme table.table thead th,
html.graphite-theme table#home thead th {
    background: #e2e5e9 !important;
    color: #007a60 !important;
    border-bottom-color: #b0b6be !important;
}

html.graphite-theme table.table > tbody > tr > td,
html.graphite-theme table.table > tbody > tr > th,
html.graphite-theme table#home tbody tr td {
    background: #f5f6f7 !important;
    color: #1a1d21 !important;
    border-color: #e4e7eb !important;
}
html.graphite-theme table.table > tbody > tr:nth-child(even) > td,
html.graphite-theme table#home tbody tr:nth-child(even) td { background: #eeeff1 !important; }
html.graphite-theme table.table > tbody > tr:hover > td,
html.graphite-theme table.table-hover > tbody > tr:hover > td,
html.graphite-theme table#home tbody tr:hover td { background: #d0d4d9 !important; color: #1a1d21 !important; }

html.graphite-theme table.table tbody td a,
html.graphite-theme table#home tbody td a { color: #0369a1 !important; }
html.graphite-theme table.table tbody td a:hover,
html.graphite-theme table#home tbody td a:hover { color: #007a60 !important; }

html.graphite-theme table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before,
html.graphite-theme table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after,
html.graphite-theme table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:before,
html.graphite-theme table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after { color: #007a60 !important; opacity: 0.45 !important; }
html.graphite-theme table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
html.graphite-theme table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after { color: #007a60 !important; opacity: 1 !important; }

html.graphite-theme #csvDownload {
    background: #f5f6f7;
    color: #007a60 !important;
    border-color: #b0b6be;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
html.graphite-theme #homeContainer a[style*="float: right"]:hover,
html.graphite-theme #csvDownload:hover {
    background: #007a60;
    color: #ffffff !important;
}

html.graphite-theme .pagination .page-link {
    background: #f5f6f7 !important;
    color: #3d4552 !important;
    border-color: #bcc1c8 !important;
}
html.graphite-theme .pagination .page-link:hover {
    background: #d0d4d9 !important;
    color: #007a60 !important;
    border-color: #007a60 !important;
}
html.graphite-theme .pagination .page-item.active .page-link {
    background: #007a60 !important;
    color: #ffffff !important;
    border-color: #007a60 !important;
    font-weight: 700;
}

html.graphite-theme .stockTitle {
    background: #f5f6f7;
    border-color: #bcc1c8;
    color: #1a1d21;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
html.graphite-theme .stockTitle div a:hover { background-color: #007a60; }

html.graphite-theme .disclaimer {
    color: #3d4552;
    background: #eeeff1;
    border-left-color: #007a60;
}

html.graphite-theme #Selectclass {
    background: #dde0e4 !important;
    border-bottom-color: #bcc1c8 !important;
}
html.graphite-theme #Selectclass label { color: #5a6170 !important; }
html.graphite-theme #Selectclass aside select {
    background: #ffffff !important;
    color: #1a1d21 !important;
    border-color: #b0b6be !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23007a60' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
}
html.graphite-theme #Selectclass aside select:focus { border-color: #007a60 !important; box-shadow: 0 0 0 3px rgba(0,122,96,0.12) !important; }
html.graphite-theme select#stockList { background: #dde0e4 !important; border: none !important; }
html.graphite-theme #stockList option { background: #f5f6f7 !important; color: #1a1d21 !important; }
html.graphite-theme #stockList option:hover,
html.graphite-theme #stockList option:checked { background: #d0d4d9 !important; color: #007a60 !important; }

html.graphite-theme .modal-content { background-color: #f5f6f7 !important; border-color: #bcc1c8 !important; color: #1a1d21 !important; box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important; }
html.graphite-theme .modal-header { background-color: #eeeff1 !important; border-bottom-color: #bcc1c8 !important; }
html.graphite-theme .modal-title { color: #007a60 !important; }
html.graphite-theme .modal-footer { border-top-color: #bcc1c8 !important; background-color: #eeeff1 !important; }
html.graphite-theme .modal-body { background-color: #f5f6f7 !important; color: #1a1d21 !important; }
html.graphite-theme .btn-close { filter: none !important; opacity: 0.5; }
html.graphite-theme .modal-backdrop { background-color: #000 !important; }
html.graphite-theme .modal-body select { background-color: #ffffff !important; color: #1a1d21 !important; border-color: #b0b6be !important; }
html.graphite-theme .modal .btn-secondary { background-color: #dde0e4 !important; border-color: #bcc1c8 !important; color: #3d4552 !important; }
html.graphite-theme .modal .btn-primary { background-color: #007a60 !important; border-color: #007a60 !important; color: #ffffff !important; }
html.graphite-theme .modal-body .form-control,
html.graphite-theme .modal-body input { background-color: #ffffff !important; color: #1a1d21 !important; border-color: #b0b6be !important; }
html.graphite-theme .modal-body .form-label { color: #3d4552 !important; }
