@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;600&display=swap');
/* Include the necessary CSS for the table to look good in the saved file */
        body {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    background-color: #0d1a26;
    margin: 20px;
    color: #b3cde0;
    line-height: 1.6;
}
        .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    background-color: #1a2a3a;
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
    border-radius: 12px;
    border: 1px solid #00ccff;
    margin-top: 20px;
    max-height: 500px; /* Set a max height for vertical scrolling */
    overflow-y: auto;
}
        table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}
        th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 204, 255, 0.2);
    vertical-align: top;
    font-size: 14px;
    position: relative;
}
        th {
    background-color: #0a141e;
    color: #00ccff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: sticky;
    top: 0;
    z-index: 2;
}
        th::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, rgba(0, 204, 255, 0), #00ccff, rgba(0, 204, 255, 0));
    box-shadow: 0 0 8px #00ccff;
}
        tr:nth-child(even) {
    background-color: #1a2a3a;
}
        tr:nth-child(odd) {
    background-color: #1e3246;
}
        td {
    color: #b3cde0;
}
        td.expandable-list, td.notes {
    white-space: normal;
    max-height: none;
    overflow-y: visible;
    max-width: none;
    line-height: 1.5;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgba(0, 204, 255, 0.1);
}

/* Overrides for saved HTML: show all content, hide toggle buttons */
        .hidden-content {
    display: inline !important;
}
        .toggle-btn {
    display: none !important;
}

        td.center-content {
    text-align: center;
}
        a {
    color: #00ccff;
    text-decoration: none;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 204, 255, 0.7);
}
        .checkmark {
    color: #33ff99;
    font-weight: bold;
    font-size: 1.3em;
    text-shadow: 0 0 8px #33ff99;
}
        .crossmark {
    color: #ff6666;
    font-weight: bold;
    font-size: 1.3em;
    text-shadow: 0 0 8px #ff6666;
}
        /* Scrollbar styles for the saved file if any scrollable content remains */
        ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
        ::-webkit-scrollbar-track {
    background: #0d1a26;
    border-radius: 10px;
}
        ::-webkit-scrollbar-thumb {
    background: #00ccff;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 204, 255, 0.7);
}
        ::-webkit-scrollbar-thumb:hover {
    background: #33eaff;
}
        .header-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 12px 8px;
}

.logo-container {
    text-align: left;
    margin-bottom: 0;
    flex-shrink: 0;
}

.site-logo {
    max-width: 110px;
    height: auto;
    margin-top: 0;
    filter: drop-shadow(0 0 4px #00ccff88);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.header-content h1 {
    text-align: left;
    font-family: 'Share Tech Mono', monospace;
    color: #00ccff;
    font-size: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 12px #00ccff88, 0 2px 8px #1a2a3a;
    margin: 0 0 4px 0;
    font-weight: bold;
    background: linear-gradient(90deg, #00ccff 0%, #33eaff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    word-break: break-word;
}

.subtitle {
    text-align: left;
    font-size: 1rem;
    color: #b3cde0;
    margin-top: 8px;
    margin-bottom: 0;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
    opacity: 0.92;
    word-break: break-word;
}

/* Filter row styles */
.filter-row {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin: 20px 0 18px 0;
    flex-wrap: wrap;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-align: right;
}

.filter-container label {
    font-family: 'Share Tech Mono', monospace;
    color: #00ccff;
    font-size: 1.05rem;
    letter-spacing: 1px;
}

#regulatedFilter,
#insuredFilter,
#hqFilter {
    padding: 6px 18px;
    border-radius: 8px;
    border: 1.5px solid #00ccff;
    background: linear-gradient(90deg, #112233 60%, #1a2a3a 100%);
    color: #00ccff;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #00ccff22;
    outline: none;
    margin-bottom: 6px;
}
#regulatedFilter:focus,
#insuredFilter:focus,
#hqFilter:focus {
    border-color: #33eaff;
    box-shadow: 0 0 8px #00ccff88;
}

/* Center align text in dataTable */
table#dataTable {
    border-collapse: collapse;
    width: 100%;
}

table#dataTable th,
table#dataTable td {
    text-align: center;
    vertical-align: middle;
    /* existing styles */
}

table#dataTable th:first-child,
table#dataTable td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background: rgb(0 0 0 / 60%);    
    box-shadow: 2px 0 8px #00ccff44;
    transition: background 0.2s;
}

/* Add background only when table is scrolled horizontally */
.table-container.scrolled table#dataTable th:first-child,
.table-container.scrolled table#dataTable td:first-child {
    background: #060606;
}

/* Ensure horizontal scroll works on mobile */
div#sheetDataTable {
    -webkit-overflow-scrolling: touch;
    max-height: auto;    
}

    table#dataTable th {
        position: sticky;
        top: 0;
        z-index: 5;
        background: #0a141e;
    }

/* Responsive: sticky column remains on mobile */
@media (max-width: 600px) {
    table#dataTable th:first-child,
    table#dataTable td:first-child {
        min-width: 90px;
    }
    table#dataTable th {
        position: sticky;
        top: 0;
        z-index: 5;
        background: #0a141e;
    }
    div#sheetDataTable {
    max-height: 1600px;   
        overflow-y: auto;    
 
    }
    .header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 4px;
    }
    .logo-container {
        margin-bottom: 0;
    }
    .site-logo {
        max-width: 54px;
    }
    .header-content h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .filter-container {
        justify-content: flex-start;
        text-align: left;
    }
    #regulatedFilter,
    #insuredFilter,
    #hqFilter {
        width: 100%;
        min-width: 0;
        font-size: 0.98rem;
    }
    
}
.category-tooltip,
.xfollow-help-tooltip,
.employees-help-tooltip {
    min-width: 240px;
    max-width: 340px;
    font-size: 1.05em;
    padding: 10px 16px;
    white-space: normal;
    word-break: break-word;
}

#tooltipModalContent {
    max-width: 500px;
    width: 90%;
    padding: 32px 24px;
    background: #222;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px #000;
    overflow-y: auto;
    max-height: 80vh;
    word-break: break-word;
    white-space: pre-line;
}

#tooltipModalText {
    display: block;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 16px;
    white-space: pre-line;
    word-break: break-word;
}

/* Tablet-specific sticky header styles */
/* filepath: c:\wamp64\www\listsandcrypto\website\css\pageStyle.css */
@media (min-width: 600px) and (max-width: 1024px) {
    table#dataTable th {
        position: sticky;
        top: 0;
        z-index: 5;
        background: #0a141e;
        /* You can add tablet-specific styles here if needed */
    }
    table#dataTable th:first-child,
table#dataTable td:first-child {
    position: sticky;
    left: 0;
    z-index: 10;
    background: rgb(0 0 0 / 60%);    
    box-shadow: 2px 0 8px #00ccff44;
    transition: background 0.2s;
        }
}