*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

body {
    font-family: Verdana, sans-serif;
    background: #FAFAFA;
    color: #212529;
    min-height: 100vh;
    font-size: 13px;
}

/* ── NAVBAR ── */
.top-nav {
    background: #fff;
    padding: 6px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2B97CA;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;

}

.brand-divider {
    color: #212529;
    line-height: 0;
    border: 1px solid #212529b3;
    height: 10px;
    width: 1px;
}

.brand-title {
    font-size: 12px;
    color: #212529;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.notif-btn {
    position: relative;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.notif-badge {
       position: absolute;
    top: -2px;
    right: -9px;
    background: #ff5722;
    color: #fff;
    font-size: 11px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Notification Dropdown */
.notif-dropdown {
    width: 320px;
    padding: 0 !important;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    margin-top: 6px !important;
}

.notif-header {
    background: #1F3F72;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    cursor: pointer;
    transition: background 0.12s;
}

.notif-item:hover {
    background: #f5f8ff;
}

.notif-body {
    flex: 1;
}

.notif-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 2px;
}

.notif-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 3px;
    line-height: 1.4;
}

.notif-time {
    font-size: 11px;
    color: #94a3b8;
}

.notif-footer {
    background: #f8fafc;
    padding: 10px 16px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.notif-footer a {
    font-size: 12.5px;
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: none;
}

.notif-footer a:hover {
    color: #3b82f6;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.user-name {
    font-size: 13px;
}

.user-avatar {
    width: 27px;
    height: 27px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    color: #fff;
}

/* ── TABS ── */
.tab-bar {
    background: #067DDB;
    padding: 5px 28px;
}

.tab-item {
    padding: 7px 15px;
    font-size: 12px;
    color: #fff;
    cursor: pointer;
    transition-duration: 0.5s;
    text-decoration: none;
    display: block;
    text-transform: uppercase;
    border-radius: 8px;
    margin: 0px 2px;
}

.tab-item:hover {
    color: #000;
    background: #90D5FF;
}

.tab-item.active {
    color: #000;
    background: #fff;
}

/* ── MAIN CONTENT ── */
.main-content {
    padding: 20px 28px 15px 28px;
}

/* ── STAT CARDS ── */
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px 24px;
    height: 100%;
    /* box-shadow: 0px 2px 5px rgb(0 0 0 / 18%); */
}

#chartjs-tooltip {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;

}

.tt-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 3px 0;
    justify-content: space-between;
    font-size: 12px;
}

.tt-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #212529;
    justify-content: space-between;

}

.tt-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.tt-value {
    font-weight: 600;
    color: #212529;
}

.title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    color: #212529;
    font-size: 13px;
}

.total {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 15px;
}

.row-flex {
    display: flex;
    align-items: center;
    gap:20px;
}

.side-legend {
    flex: 1;
}

.legend-row {
    display: flex;
    align-items: self-start;
    font-size: 11px;
        color: #212529;
    margin: 4px 0;
    flex-direction: column;

}

.legend-row .b {
    margin-left: 23px;
    font-size: 11px;
    color: #1a73e8;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.yellow {
    background: #4E7C4E;
}

.blue {
    background: #B7D7A8;
}

/* Big Stat Numbers */
.big-stats-card {
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 15px;
    flex-wrap: wrap;
}

.big-stat-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.084); 
    gap: 10px;
    border: 1px solid #D1D5DB;
    cursor: pointer;
}
#chartjs-tooltip,
#chartjs-tooltip1{
    pointer-events: none;
    position: absolute;
    z-index: 9999;
}
.big-stat-section.total-accounts {
    border-left: 4px solid #212529;
}

.big-stat-section.capstone {
    border-left: 4px solid #0745FF;
}

.big-stat-section.non-capstone {
    border-left: 4px solid #FFC107;
}

.big-stat-section.disposition-approval {
    border-left: 4px solid #de780c;
}

.big-stat-section:hover {
    background: #707070;
    color: #fff !important;
    border-color: #707070 !important;
}

.big-stat-section:hover .big-num,
.big-stat-section:hover .big-label {
    color: #fff !important;
}



.big-num {
    font-size: 14px;
    color: #212529;
    font-weight: 600;
}

.big-label {
    font-weight: 500;
    color: #212529;
    font-size: 13px;

}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
}

.stat-icon svg {
    width: 26px;
    height: 26px;
    stroke: #212529;
}


.chart-wrap {
    width: 160px;
    height: 160px;
    position: relative;
}
.chart-wrap canvas {
    display: block; box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
}

.chart-holder{width: 100%;
    height: 165px;
    position: relative;}
.chart-holder canvas {
    display: block; box-sizing: border-box;
    width: 100% !important;
    height: 100% !important;
}
#my_activity{
    height: 404px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    transition: scrollbar-color 0.3s ease;
    scrollbar-color: #bcbcbc transparent;
}

/* Show scrollbar smoothly on hover */
#my_activity:hover{
    scrollbar-color: #bcbcbcd2 transparent;
}

/* Chrome / Edge / Safari */
#my_activity::-webkit-scrollbar{
    width: 6px;
}

#my_activity::-webkit-scrollbar-track{
    background: transparent;
}

#my_activity::-webkit-scrollbar-thumb{
    background: transparent;
    border-radius: 10px;
    transition: background 0.3s ease;
}

/* Visible on hover */
#my_activity:hover::-webkit-scrollbar-thumb{
    background: #bcbcbc;
}
.grid-c {
    margin-top: 10px;
    display: grid;
     grid-template-columns:minmax(0,1fr) 330px minmax(0,1fr);
    gap: 10px;
}
@media(max-width:991px){

    .grid-c{
        grid-template-columns:1fr;
    }

}
/* Section card */
.section-card {
    background: #fff;
    border-radius: 8px;
    padding: 10px 18px;
    height: 100%;
   box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.084);
    gap: 10px;
    border: 1px solid #D1D5DB;
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #212529;
}

.section-sub {
    font-size: 12px;
    color: #212529;
    margin-bottom: 10px;
}

.section-count {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

hr.bgc {
    border-top: 2px dashed #b3b5b7;
}

/* Activity */
.activity-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #f0f2f8;
    cursor: pointer;
    flex-wrap: wrap;
}

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #FAFAFA;
}

.activity-text {
    flex: 1;
}

.activity-title {
    font-size: 11px;
    font-weight: 500;
    color: #1a1a2e;
}

.activity-sub {
    font-size: 11px;
    color: #1a73e8;
}

.activity-time {
    font-size: 11px;
    white-space: nowrap;
    color: #1a73e8;
}

.activity-arrow {
    color: #1a73e8;
}

.footer-bar {
  background: #fff;
    border: 1px solid #D1D5DB;
    font-size: 9px;
    color: #212529;
    padding: 5px 20px;
    text-align: center;
    border-radius: 6px;
    margin-top: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.084);
}



.view-all {
    font-size: 11px;
    color: #1a73e8;
    cursor: pointer;
    text-decoration: none;
}

.chart-hint {
    font-size: 9px;
    color: #212529;
    margin-top: -15px !important;
}


.my-tooltip .tooltip-inner,
.custom-tooltip .tooltip-inner {
    background: #fff;
    color: #212529;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 220px;
    text-align: left;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    opacity: 1 !important;
    text-align: center;
}

body .tooltip {
    z-index: 1000000 !important;
    opacity: 1 !important;
}

body .modal-backdrop.show~.modal-backdrop.show {
    z-index: 1000000 !important;
}

body .modal-backdrop.show~.offcanvas-backdrop.show {
    z-index: 1000000 !important;
}

/* arrow color */
.my-tooltip .tooltip-arrow::before {
    border-top-color: #fff !important;
    display: none;
}

.my-tooltip.tooltip.show {
    opacity: 1 !important;
}

/* ======================
           CUSTOM TOOLTIP
        ====================== */
        #chartjs-tooltip1 {
            position: absolute;
            opacity: 0;
            pointer-events: none;
            z-index: 9999;
            transition: all .15s ease;
        }

        .tooltip-box {
               background: #fff;
    color: #212529;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 220px;
    text-align: left;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    opacity: 1 !important;
    text-align: center;
     font-size: 11px;
         color: #212529;
        }
        .tooltip-value {

            font-weight: 600;
        }