﻿/* ===== Layout ===== */
.useful-section {
    background: #e9efff;
}

.page-layout {
    display: flex;
    gap: 24px;
}

/* ===== Left Navigation ===== */
.left-nav {
    width: 260px;
    flex: 0 0 260px;
    background: #f5f7fb;
    border-radius: 12px;
    padding: 12px;
}

    .left-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .left-nav li {
        margin-bottom: 6px;
    }

    .left-nav a {
        display: block;
        padding: 10px 14px;
        border-radius: 8px;
        text-decoration: none;
        color: #1e3a8a;
        font-weight: 500;
        cursor: pointer;
    }

        .left-nav a.active,
        .left-nav a:hover {
            background: #e6ecff;
        }

/* ===== Right Content ===== */
.right-content {
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.04);
    min-width: 0;
    /* MOST IMPORTANT LINE */
    overflow-x: auto;
    /* table scrolls inside */
}

/* ===== Tab Content ===== */
.tab-content {
    display: none;
}

    .tab-content.show {
        display: block;
    }

/* Typography */
.right-content h2 {
    color: #1e3a8a;
    margin-bottom: 16px;
}

.right-content p {
    line-height: 1.7;
    margin-bottom: 14px;
}

.section-heading {
    color: #1e3a8a;
    /* theme blue */
    font-weight: 600;
}

.page-main-heading {
    text-align: center;
    color: #1e3a8a;
    /* theme blue */
    font-weight: 700;
    margin-bottom: 20px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 992px) {
    .page-layout {
        flex-direction: column;
    }

    .left-nav {
        width: 100%;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

th,
td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #1D3557;
    color: white;
}

td {
    text-align: left;
}

    td:first-child {
        text-align: center;
    }

tr:nth-child(even) {
    background-color: #F3F6FD;
}

/* ===== Left Sub Navigation ===== */
.sub-tab-content {
    display: none;
}

    .sub-tab-content.show {
        display: block;
    }


.left-sub-nav {
    list-style: none;
    padding-left: 40px; /* hierarchy indentation */
    margin-top: 8px;
    display: none;
}

/* Show sub-nav when parent <li> has active nav */
.left-nav li.active > .left-sub-nav {
    display: block;
    padding-left: 40px;
}

/* Each sub item */
.left-sub-nav li {
    position: relative;
    margin-bottom: 8px;
}

    /* Dot only for sub items */
    .left-sub-nav li::before {
        content: "";
        position: absolute;
        left: -18px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #1e3a8a;
    }

    /* Sub-nav links */
    .left-sub-nav li a {
        display: block;
        padding: 6px 8px;
        font-size: 13px;
        color: #1e3a8a;
        border-radius: 6px;
        text-decoration: none;
    }

        .left-sub-nav li a:hover,
        .left-sub-nav li a.active {
            background: #e6ecff;
        }


.benefits-card {
    background: #f3f6fd;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    height: 100%;
    padding: 1rem;
    position: relative;
}

.benefits-card-header {
    background: #192f60;
    color: #fff;
    padding: 0.75rem;
    border-radius: 5px;
    text-align: center;
}

.benefits-card-body {
    padding: 0 0 1rem 0;
}

.benefits-card-header h6 {
    font-size: 1.25rem;
    font-family: poppins;
    margin: 0;
}

ol {
    list-style: auto;
    padding: 1rem;
}

    ol li {
        margin-bottom: 0.25rem;
        font-size: 14px;
    }

.themeCrm-btn-light {
    padding: .5rem 1rem;
    border-radius: 100px;
    background: #fff;
    color: #192F60;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.4px;
    border: 2px solid #192F60;
}

.benefits-card-footer {
    position: absolute;
    bottom: 1.25rem;
    width: 90%;
}
