/* =========================================================
   Compliance Status Page
   Amit Basak
   ========================================================= */


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.compliance-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    background: #f8faff;
    isolation: isolate;
}

.compliance-grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(11, 92, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 92, 255, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
}

.compliance-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.compliance-glow-one {
    width: 480px;
    height: 480px;
    top: -250px;
    right: -80px;
    background: radial-gradient(
        circle,
        rgba(64, 123, 255, 0.14) 0%,
        rgba(64, 123, 255, 0) 70%
    );
}

.compliance-glow-two {
    width: 420px;
    height: 420px;
    bottom: -270px;
    left: -120px;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.10) 0%,
        rgba(139, 92, 246, 0) 70%
    );
}

.compliance-hero-content {
    max-width: 850px;
}

.compliance-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 13px;
    margin-bottom: 24px;
    border: 1px solid rgba(11, 92, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #2458a6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.compliance-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0b5cff;
    box-shadow: 0 0 0 4px rgba(11, 92, 255, 0.08);
}

.compliance-hero h1 {
    margin: 0;
    color: #101828;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.compliance-hero h1 span {
    background: linear-gradient(
        100deg,
        #0b5cff 0%,
        #6366f1 48%,
        #8b5cf6 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.compliance-hero p {
    max-width: 720px;
    margin: 25px 0 0;
    color: #66758a;
    font-size: 17px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   Main Content
   --------------------------------------------------------- */

.compliance-content {
    padding: 90px 0 110px;
    background: #ffffff;
}


/* ---------------------------------------------------------
   Sidebar
   --------------------------------------------------------- */

.compliance-sidebar {
    position: sticky;
    top: 105px;
}

.compliance-sidebar-label {
    margin-bottom: 16px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.compliance-navigation {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-left: 12px;
    border-left: 1px solid #e8edf5;
}

.compliance-navigation a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #66758a;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.35;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.compliance-navigation a span {
    min-width: 21px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
}

.compliance-navigation a:hover {
    color: #0b5cff;
    background: #f5f8ff;
}

.compliance-navigation a:hover span {
    color: #0b5cff;
}


/* ---------------------------------------------------------
   Document
   --------------------------------------------------------- */

.compliance-document {
    max-width: 980px;
}

.compliance-introduction {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 25px;
    margin-bottom: 72px;
    border: 1px solid #e7ecf4;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            rgba(245, 248, 255, 0.95),
            rgba(255, 255, 255, 0.98)
        );
}

.compliance-introduction-icon {
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(11, 92, 255, 0.12);
    border-radius: 12px;
    background: #edf4ff;
    color: #0b5cff;
    font-size: 19px;
}

.compliance-label {
    display: block;
    margin-bottom: 6px;
    color: #0b5cff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compliance-introduction h2 {
    margin: 0 0 8px;
    color: #172033;
    font-size: 23px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.compliance-introduction p {
    max-width: 720px;
    margin: 0;
    color: #66758a;
    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Sections
   --------------------------------------------------------- */

.compliance-section {
    scroll-margin-top: 110px;
    padding-bottom: 68px;
    margin-bottom: 68px;
    border-bottom: 1px solid #edf0f5;
}

.compliance-section:last-of-type {
    margin-bottom: 0;
}

.compliance-section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.compliance-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(11, 92, 255, 0.11);
    border-radius: 11px;
    background: #f1f6ff;
    color: #0b5cff;
    font-size: 12px;
    font-weight: 800;
}

.compliance-section-kicker {
    display: block;
    margin-bottom: 4px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.compliance-section-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.table-intro {
    margin-bottom: 20px;
}

.table-intro p {
    max-width: 780px;
    margin: 0;
    color: #66758a;
    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Registration Card
   --------------------------------------------------------- */

.registration-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #e5eaf2;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.registration-item {
    min-height: 105px;
    padding: 20px 22px;
    border-right: 1px solid #e8edf4;
    border-bottom: 1px solid #e8edf4;
}

.registration-item:nth-child(2n) {
    border-right: 0;
}

.registration-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.registration-label {
    display: block;
    margin-bottom: 10px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.registration-item strong {
    display: block;
    color: #172033;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.registration-number {
    color: #0b5cff !important;
    letter-spacing: 0.025em;
}

.placeholder-value {
    color: #98a2b3 !important;
}


/* ---------------------------------------------------------
   Tables
   --------------------------------------------------------- */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.compliance-table {
    width: 100%;
    min-width: 850px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #344054;
    font-size: 12px;
}

.compliance-table th {
    padding: 15px 12px;
    border-right: 1px solid #e1e7ef;
    border-bottom: 1px solid #dfe5ee;
    background: #f5f8fd;
    color: #475467;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.compliance-table th:last-child {
    border-right: 0;
}

.compliance-table td {
    padding: 17px 12px;
    border-right: 1px solid #e8edf3;
    border-bottom: 1px solid #e8edf3;
    background: #ffffff;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
}

.compliance-table td:last-child {
    border-right: 0;
}

.compliance-table tbody tr:last-child td {
    border-bottom: 0;
}

.compliance-table tbody tr:not(.grand-total):hover td {
    background: #fbfcff;
}

.compliance-table td:nth-child(2) {
    color: #344054;
    font-weight: 600;
}

.compliance-table .col-number {
    width: 65px;
}

.table-number {
    color: #0b5cff !important;
    font-weight: 800 !important;
}

.empty-value {
    color: #b2bac7 !important;
}

.pending-value {
    color: #66758a !important;
}

.grand-total td {
    background: #f7f9fc;
    color: #172033;
    font-weight: 800;
}

.grand-total td:nth-child(2) {
    color: #172033;
}

.compliance-table sup {
    position: relative;
    top: -0.2em;
    color: #0b5cff;
    font-size: 8px;
}


/* ---------------------------------------------------------
   Trend Tables
   --------------------------------------------------------- */

.trend-table {
    min-width: 700px;
}

.trend-table th {
    white-space: normal;
}

.trend-table td:nth-child(2) {
    text-align: left;
}


/* ---------------------------------------------------------
   Definitions
   --------------------------------------------------------- */

.definition-list {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    overflow: hidden;
}

.definition-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 20px 22px;
    border-bottom: 1px solid #e8edf3;
    background: #ffffff;
}

.definition-item:last-child {
    border-bottom: 0;
}

.definition-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #f0f5ff;
    color: #0b5cff;
    font-size: 13px;
    font-weight: 800;
}

.definition-item strong {
    display: block;
    margin-bottom: 5px;
    color: #172033;
    font-size: 13px;
    font-weight: 750;
}

.definition-item p {
    max-width: 720px;
    margin: 0;
    color: #66758a;
    font-size: 13px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   Final Notice
   --------------------------------------------------------- */

.compliance-final-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 30px;
    padding: 21px 22px;
    border: 1px solid rgba(11, 92, 255, 0.10);
    border-radius: 13px;
    background: #f7faff;
}

.compliance-final-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #eaf2ff;
    color: #0b5cff;
}

.compliance-final-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #172033;
    font-size: 13px;
    font-weight: 750;
}

.compliance-final-notice p {
    margin: 0;
    color: #66758a;
    font-size: 12px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

    .compliance-hero {
        padding: 90px 0 75px;
    }

    .compliance-content {
        padding: 70px 0 90px;
    }

    .compliance-sidebar {
        position: static;
        margin-bottom: 10px;
    }

    .compliance-navigation {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        border-left: 0;
    }

    .compliance-navigation a {
        border: 1px solid #e7ecf3;
        background: #ffffff;
    }

    .compliance-document {
        max-width: none;
    }

    .compliance-introduction {
        margin-bottom: 55px;
    }

}


@media (max-width: 767.98px) {

    .compliance-hero {
        padding: 75px 0 65px;
    }

    .compliance-hero h1 {
        font-size: 48px;
    }

    .compliance-hero p {
        font-size: 15px;
    }

    .compliance-content {
        padding: 55px 0 75px;
    }

    .compliance-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compliance-navigation a {
        font-size: 12px;
    }

    .compliance-introduction {
        padding: 20px;
    }

    .compliance-introduction h2 {
        font-size: 20px;
    }

    .compliance-section {
        padding-bottom: 52px;
        margin-bottom: 52px;
    }

    .compliance-section-heading {
        margin-bottom: 22px;
    }

    .compliance-section-heading h2 {
        font-size: 22px;
    }

    .registration-card {
        grid-template-columns: 1fr;
    }

    .registration-item,
    .registration-item:nth-child(2n) {
        border-right: 0;
    }

    .registration-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid #e8edf4;
    }

    .registration-item:last-child {
        border-bottom: 0;
    }

}


@media (max-width: 575.98px) {

    .compliance-hero {
        padding: 65px 0 55px;
    }

    .compliance-hero h1 {
        font-size: 40px;
        letter-spacing: -0.045em;
    }

    .compliance-eyebrow {
        margin-bottom: 20px;
        font-size: 10px;
    }

    .compliance-content {
        padding: 45px 0 65px;
    }

    .compliance-navigation {
        grid-template-columns: 1fr;
    }

    .compliance-introduction {
        flex-direction: column;
        gap: 14px;
    }

    .compliance-section-number {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .compliance-section-heading {
        gap: 12px;
    }

    .compliance-section-heading h2 {
        font-size: 20px;
    }

    .registration-item {
        padding: 18px;
    }

    .definition-item {
        padding: 18px;
    }

    .compliance-final-notice {
        padding: 18px;
    }

}