﻿.rich-grid {
    background: linear-gradient(90deg, #f8fafc 0%, #e9ecef 100%);
    font-size: 1rem;
}

.rich-grid th, .rich-grid td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.rich-grid thead {
    background: #343a40;
    color: #fff;
}

    .rich-grid thead tr th {
        font-size: 10px !important;
        font-weight: 600;
        height: 28px !important;
        white-space: nowrap;
        vertical-align: middle;
    }

.compact-grid tbody tr {
    font-size: 8px !important;
    height: 22px !important;
    line-height: 1.1;
}

.rich-grid tbody tr:hover {
    background: #e3f2fd;
    transition: background 0.2s;
}

.note-box {
    background: linear-gradient(90deg, #fffbe6 0%, #ffe0b2 100%);
    border: 1px solid #ffd54f;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255,193,7,0.15);
    padding: 1.5rem;
    font-size: 1.1rem;
    color: #795548;
    width: 100%;
    text-align: center;
}

.grid-scroll {
    max-height: 600px; /* 22px * 20 rows = 440px */
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    background: #fff;
}

.grid-container {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: linear-gradient(90deg, #f8fafc 0%, #e9ecef 100%);
    font-size: 0.9rem;
    max-height: 480px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.grid-header,
.grid-row {
    display: grid;
    grid-template-columns:
        30px      /* hide */
        180px     /* Company name */
        80px      /* Ticker */
        140px     /* Industry */
        30px      /* hide */
        80px      /* State */
        110px     /* Revenue ($MM) */
        140px     /* Total assets ($MM) */
        90px;     /* Fiscal year */
    align-items: center;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
    transition: background 0.2s;
    cursor: pointer;
    font-size: 1.1rem;
    min-height: 22px;
}

.grid-scroll, .grid-container {
    width: 100%;
    overflow-x: hidden;
}

.grid-body {
    display: flex;
    flex-direction: column;
}

.grid-row {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr 1fr 1.5fr 0.5fr 1fr 1fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
    transition: background 0.2s;
    cursor: pointer;
    font-size: 1.1rem;
    min-height: 22px;
}

    .grid-row:hover {
        background: #e3f2fd;
    }

.grid-cell {
    padding: 0.5rem;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .grid-cell.right {
        text-align: right;
    }

    .grid-cell.hide {
        display: none;
    }

.filing-panel {
    background: linear-gradient(90deg, #f8fafc 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1.2rem 1rem 1rem 1rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filing-header {
    background: #343a40;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.filing-title {
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.filing-note-small {
    font-size: 0.85rem;
    font-weight: 400;
    color: #ffe082;
    margin-top: 2px;
    align-items: center;
}

.filing-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.filing-row {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(52,58,64,0.04);
    padding: 0.4rem 0.8rem;
    font-size: 12px;
    transition: background 0.2s;
}

    .filing-row:hover {
        background: #e3f2fd;
    }

.filing-date {
    flex: 0 0 110px;
    color: #1976d2;
    font-weight: 500;
    font-size: 10px;
}

.filing-link a {
    color: #343a40;
    text-decoration: none;
    font-size:10px;
    font-weight: 500;
   /* margin-left: 12px;
    word-break: break-all;*/
}

    .filing-link a:hover {
        text-decoration: underline;
        color: #1976d2;
    }

.filing-loading {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #1976d2;
    padding: 1rem 0;
}

.filing-empty {
    text-align: center;
    color: #795548;
    font-size: 13px;
    background: #fffbe6;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

@media (max-width: 1200px) {
    .grid-header,
    .grid-row {
        grid-template-columns: 1fr 2fr 1fr 2fr 1fr 1fr 1fr 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .grid-header,
    .grid-row {
        grid-template-columns: 2fr 1fr 2fr 1fr 1fr 1fr 1fr;
    }

    .grid-cell.hide {
        display: none;
    }
}

.grid-header {
    display: contents;
    font-weight: bold;
    background: #343a40;
    color: #fff;
}

.grid-cell.hide {
    display: none;
}
.grid-header, .grid-row {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
    width: 100%;
}
.company-table {
    border-collapse: collapse;
    font-size: 13px; /* smaller size */
    width: auto; /* shrink to fit content + widths */
}

    .company-table th,
    .company-table td {
        border: 1px solid #ccc;
        padding: 4px 6px;
        height: 26px;
    }

    .company-table th {
        background-color: #f4f4f4;
        font-weight: 600;
    }

    .company-table tr:hover {
        background-color: #f9f9f9;
    }
.company-table-container {
    max-height: 300px; /* adjust for how much vertical scroll you want */
    overflow-y: auto;
    border: 1px solid #ccc;
    width: fit-content; /* table shrinks to content width */
}

/* table styling */
.company-table {
    border-collapse: collapse;
    font-size: 13px;
    width: 100%;
}

    /* cell styling */
    .company-table th,
    .company-table td {
        border: 1px solid #ccc;
        padding: 4px 6px;
        height: 26px;
        box-sizing: border-box;
    }

    /* fixed header */
    .company-table thead th {
        position: sticky;
        top: 0;
        background: #f4f4f4;
        z-index: 2; /* keep above rows */
    }

    /* hover effect */
    .company-table tbody tr:hover {
        background-color: #f9f9f9;
    }

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    vertical-align: middle;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
    background-color: #74943d;
}
.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}
.toggle-label {
    margin-left: 8px;
    font-size: 1rem;
    vertical-align: middle;
}
.toggle-switch-sm {
    width: 32px;
    height: 16px;
}
.toggle-switch-sm .toggle-slider {
    border-radius: 16px;
}
.toggle-switch-sm .toggle-slider:before {
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    border-radius: 50%;
}
.toggle-switch-sm input:checked + .toggle-slider:before {
    transform: translateX(16px);
}
.toggle-label-sm {
    margin-left: 6px;
    font-size: 0.85rem;
    vertical-align: middle;
}
.divddlpeergroup {
    display: flex;
    flex-direction: row;
}
.sectioncheckbox {
    display: flex;
    width: 100%;
    padding: 10px;
}
.sectioncheckbox tr td{

    padding-right:15px;
    font-size:14px;
}
.spacer-32 {
    height: 12px;
}
.col2 {
    float: left;
    width: 20%;
    padding: 15px 0 !important;
}
.col8 {
    width: 77% !important;
    float: left;   
    margin: 0 !important;
    padding: 15px 0;
}
.arial12black {
    border: 0px;
    border-style: none;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #000000;
}
.divheadong {
    height: 136px;
    background-color: #E2B23D;
    color: #fff;
    position: relative;

}
.headingpopup {
    color: #74943D;
    font-size: 14px;
}
