body {
    background: #e9e9e9 !important;
    font-family: Arial, sans-serif;
}

.sidebar {
    background: #005fb8;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 8px 21px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    font-size: 16px;
}

.sidebar a:hover {
    background: #004e98;
}

.card-box {
    background: #f7fbff;
    border: 1px solid #b7d6f5;
    border-radius: 5px;
}

.action-btn {
    background: #005fb8;
    color: #fff;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 5px;
    font-size: 18px;
    text-align: left;
    margin-bottom: 10px;
}

.action-btn i {
    margin-right: 10px;
}

.action-btn:hover {
    background: #004e98;
}

.verify-box {
    background: red;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.stats-box {
    background: #f7fbff;
    border: 1px solid #b7d6f5;
    border-radius: 5px;
}

.stats-item {
    text-align: center;
    padding: 15px;
}

.stats-item:not(:last-child) {
    border-right: 1px dashed #8fc0f4;
}

.achiever-card {
    text-align: center;
    padding: 30px;
}

.achiever-card i {
    font-size: 55px;
    color: #005fb8;
    margin-bottom: 15px;
}

.achiever-card:not(:last-child) {
    border-right: 1px dashed #8fc0f4;
}

.sidebar {
    background: #12389d;
    border-radius: 10px;
    overflow: hidden;
}

.menu-link {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.menu-link:hover {
    background: #004e98;
    color: #fff;
}

.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #203850;
}

.submenu li a {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 15px;
}

.submenu li a:hover {
    background: #004e98;
}

.bred {
    background: #fff;
    padding: 10px 0;
}

.tree-wrapper {
    max-width: 1000px;
    margin: 30px auto;
}

/* Cards */
.pv-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
}
.left-card{
    width: 350px;
    float: inline-end;
}
.left-card .pv-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 215px;
}
.right-card{
    width: 350px;
}
.right-card .pv-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 215px;
}
.pv-card hr {
    margin: 10px 0;
    opacity: 0.15;
}

.green-card {
    border: 1px solid #4CAF50;
}

.blue-card {
    border: 1px solid #2f5fff;
}

.card-header-custom {
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    font-size: 15px;
}

.green-header {
    background: linear-gradient(#009611, #007e0d);
}

.blue-header {
    background: linear-gradient(#1d56df, #0a43c9);
}

.card-body-custom {
    text-align: center;
    padding: 9px;
}

.formula {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dashed-line {
    border-top: 2px dashed #73c473;
    margin: 15px 0;
}

.green-pv {
    color: #008d11;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
}

.blue-pv {
    color: #114ad7;
    font-size: 58px;
    font-weight: 800;
    line-height: 1;
    margin-top: 40px;
}

.match-pv-row {
    font-size: 18px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.match-pv-value {
    color: #114ad7;
    font-size: 16px;
    font-weight: 700;
}

.u-detail-row {
    font-size: 13px;
    padding: 0px 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.u-side-label {
    flex: 1;
    text-align: right;
    font-weight: 600;
}

.u-side-colon {
    width: 20px;
    text-align: center;
    font-weight: 600;
}

.u-side-value {
    flex: 1;
    text-align: left;
}

.side-row {
    display: flex;
    text-align: left;
    font-size: 13px;
    padding: 3px 0 0px 50px;
    font-weight: 500;
    align-items: baseline;
}

.side-label {
    width: 65px;
    font-weight: 600;
}

.side-colon {
    margin-left: -17px;
    width: 20px;
    text-align: center;
    font-weight: 600;
}

.side-value {
    flex: 1;
}

.line-text {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.black-header {
    background: linear-gradient(
        to bottom,
        #1846b3 0%,
        #0d2f8f 50%,
        #061f66 100%
    );
}

/* Tree Lines */
.tree-top {
    width: 350px;
    margin: 0 auto 60px;
    position: relative;
}

.tree-top::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 4px;
    height: 27px;
    background: #333;
    transform: translateX(-50%);
}

.tree-bottom {
    position: relative;
    margin-top: 40px;
}

.tree-bottom::before {
    content: "";
    position: absolute;
    top: -37px;
    left: 50%;
    width: 377px;
    height: 4px;
    background: #333;
    transform: translateX(-50%)
}

.left-card,
.right-card {
    position: relative;
}

.left-card::before,
.right-card::before {
    content: "";
    position: absolute;
    top: -37px;
    left: 50%;
    width: 4px;
    height: 38px;
    background: #333;
    transform: translateX(-50%);
}

@media(max-width:768px) {

    .tree-top {
        width: 100%;
    }

    .tree-bottom::before {
        display: none;
    }

    .left-card::before,
    .right-card::before {
        display: none;
    }

    .tree-top::after {
        display: none;
    }

    .green-pv,
    .blue-pv {
        font-size: 42px;
    }
}

.ids-link {
    display: inline-block;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    color: #0d6efd;
    font-weight: 600;
}

.ids-link:hover {
    text-decoration: underline;
}

/* dashboard */
.qualification-card {
            border: 0;
            border-radius: 15px;
            overflow: hidden;
        }

        .qualification-card .card-header {
            background: linear-gradient(to bottom,
                    #1f4fbf 0%,
                    #0d2f8f 50%,
                    #06266f 100%);
    color: #fff;
    padding: 6px 20px;
        }

        .direct-line-box {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            font-size: 18px;
        }

        .direct-line-box .count {
            font-size: 24px;
            font-weight: 700;
            color: #0d6efd;
            margin: 0 8px;
        }

        .pv-box {
            border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 6px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
        }

        .required-pv {
            background: #fff3cd;
        }

        .achieved-pv {
            background: #f8f9fa;
        }

        .pv-box span {
            font-weight: 600;
        }

        .pv-box strong {
            font-size: 16px;
            color: #0d6efd;
        }

        .matching-plan-card {
            border: none;
            border-radius: 15px;
            overflow: hidden;
        }

        .matching-plan-card .card-header {
            background: linear-gradient(to bottom,
                    #1f4fbf 0%,
                    #0d2f8f 50%,
                    #06266f 100%);
            color: #fff;
            padding: 6px 20px;
        }



        .calculation-box {
            background: #eef6ff;
            border-left: 4px solid #0d6efd;
            padding: 6px 20px;
            border-radius: 10px;
        }
        .calculation-box h6{
            font-size: 12px;
        }