        /* ==========================================PREMIUM-STAT-CARDS========================================== */

.stat-card {
    position: relative;
    padding: 22px 20px;
    min-height: 190px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

/* Decorative background glow */
.stat-card::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    right: -35px;
    bottom: -35px;
    border-radius: 50%;
    opacity: 0.08;
    transition: all 0.35s ease;
}

/* Hover */
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    border-color: transparent;
}

.stat-card:hover::after {
    transform: scale(1.5);
    opacity: 0.13;
}


/* ==========================================
   CARD TOP
========================================== */

.stat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}


/* ==========================================
   MAIN ICON
========================================== */

.stat-card .ic {
    width: 50px;
    height: 50px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;

    transition: all 0.3s ease;
}

.stat-card:hover .ic {
    transform: scale(1.08) rotate(-3deg);
}


/* ==========================================
   SMALL TOP-RIGHT ICON
========================================== */

.stat-mini-icon {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 13px;
    opacity: 0.75;
}


/* ==========================================
   NUMBER
========================================== */

.stat-card .num {
    position: relative;
    z-index: 2;

    font-size: 29px;
    line-height: 1.1;
    font-weight: 800;

    letter-spacing: -0.7px;
    color: #172033;

    margin-bottom: 6px;
}


/* ==========================================
   LABEL
========================================== */

.stat-card .lbl {
    position: relative;
    z-index: 2;

    font-size: 13px;
    font-weight: 600;

    color: #727b8c;

    margin-bottom: 13px;
}


/* ==========================================
   DELTA
========================================== */

.stat-card .delta {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    font-size: 11.5px;
    font-weight: 600;

    padding: 5px 8px;
    border-radius: 7px;
}

.stat-card .delta span {
    font-weight: 800;
}


/* Positive */
.delta-up {
    color: #159447 !important;
    background: #eaf8f0;
}


/* Negative / Attention */
.delta-down {
    color: #dc3545 !important;
    background: #fff0f1;
}


/* Neutral */
.delta-neutral {
    color: #6b7280 !important;
    background: #f3f4f6;
}


/* ==========================================
   CARD COLORS
========================================== */

/* Enquiry */
.stat-card-enquiry {
    border-top: 3px solid var(--brand);
}

.stat-card-enquiry .ic {
    background: rgba(59, 130, 246, 0.11);
    color: var(--brand);
}

.stat-card-enquiry .stat-mini-icon {
    background: rgba(59, 130, 246, 0.10);
    color: var(--brand);
}

.stat-card-enquiry::after {
    background: var(--brand);
}


/* Booking */
.stat-card-booking {
    border-top: 3px solid var(--green);
}

.stat-card-booking .ic {
    background: rgba(34, 197, 94, 0.11);
    color: var(--green);
}

.stat-card-booking .stat-mini-icon {
    background: rgba(34, 197, 94, 0.10);
    color: var(--green);
}

.stat-card-booking::after {
    background: var(--green);
}


/* Revenue */
.stat-card-revenue {
    border-top: 3px solid var(--purple);
}

.stat-card-revenue .ic {
    background: rgba(139, 92, 246, 0.11);
    color: var(--purple);
}

.stat-card-revenue .stat-mini-icon {
    background: rgba(139, 92, 246, 0.10);
    color: var(--purple);
}

.stat-card-revenue::after {
    background: var(--purple);
}


/* Camps */
.stat-card-camp {
    border-top: 3px solid var(--amber);
}

.stat-card-camp .ic {
    background: rgba(245, 158, 11, 0.13);
    color: var(--amber);
}

.stat-card-camp .stat-mini-icon {
    background: rgba(245, 158, 11, 0.10);
    color: var(--amber);
}

.stat-card-camp::after {
    background: var(--amber);
}


/* Participants */
.stat-card-participants {
    border-top: 3px solid var(--brand);
}

.stat-card-participants .ic {
    background: rgba(59, 130, 246, 0.11);
    color: var(--brand);
}

.stat-card-participants .stat-mini-icon {
    background: rgba(59, 130, 246, 0.10);
    color: var(--brand);
}

.stat-card-participants::after {
    background: var(--brand);
}


/* Pending */
.stat-card-pending {
    border-top: 3px solid var(--red);
}

.stat-card-pending .ic {
    background: rgba(239, 68, 68, 0.11);
    color: var(--red);
}

.stat-card-pending .stat-mini-icon {
    background: rgba(239, 68, 68, 0.10);
    color: var(--red);
}

.stat-card-pending::after {
    background: var(--red);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 1399px) {
    .stat-card {
        min-height: 185px;
    }

    .stat-card .num {
        font-size: 27px;
    }
}

@media (max-width: 575px) {
    .stat-card {
        padding: 20px;
        min-height: auto;
    }

    .stat-card .num {
        font-size: 28px;
    }
}

/*============================================BARS-CSS-STARTED-HERE=============================================*/

.revenue-panel {
    padding: 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #edf0f5;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.revenue-panel .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.revenue-panel .panel-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #172033;
}

.chart-subtitle {
    display: block;
    margin-top: 5px;
    color: #8a93a3;
    font-size: 12px;
}

.revenue-panel .link {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
}


/* Chart wrapper */
.bar-chart {
    display: flex;
    height: 300px;
    width: 100%;
}


/* Y axis */
.chart-y-axis {
    width: 45px;
    height: 250px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding-bottom: 30px;

    color: #9aa2b1;
    font-size: 10px;
    text-align: right;
}


/* Chart area */
.chart-area {
    position: relative;
    flex: 1;
    height: 250px;
}


/* Horizontal grid */
.chart-grid {
    position: absolute;
    inset: 0 0 30px 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.chart-grid span {
    width: 100%;
    height: 1px;
    border-top: 1px dashed #e8ebf0;
}


/* Bars wrapper */
.bars {
    position: relative;
    height: 250px;

    display: flex;
    align-items: flex-end;
    justify-content: space-around;

    gap: 25px;
    padding: 0 15px;
}


/* Individual column */
.bars .col {
    position: relative;

    height: 250px;
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;

    max-width: 80px;
}


/* Bar */
.bars .bar {
    position: relative;

    width: 48px;

    border-radius: 8px 8px 4px 4px;

    background: linear-gradient(180deg, #3B4FFF, #7A8BFF);

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);

    transition:
        height 0.6s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* Highlight on hover */
.bars .bar:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}


/* Value above bar */
.bar-value {
    position: absolute;

    bottom: calc(100% + 7px);

    font-size: 11px;
    font-weight: 700;

    color: #5f6878;

    opacity: 0;
    transform: translateY(5px);

    transition: all 0.25s ease;
}


/* Show value on hover */
.bars .col:hover .bar-value {
    opacity: 1;
    transform: translateY(0);
}


/* Month */
.bars .m {
    margin-top: 10px;

    font-size: 11px;
    font-weight: 600;

    color: #7d8696;
}


/* July highlight */
.bars .col:last-child .bar {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}


/* Responsive */
@media (max-width: 768px) {

    .revenue-panel {
        padding: 18px;
    }

    .revenue-panel .panel-head {
        align-items: flex-start;
        gap: 15px;
    }

    .revenue-panel .panel-head h3 {
        font-size: 16px;
    }

    .bars {
        gap: 8px;
        padding: 0 5px;
    }

    .bars .bar {
        width: 32px;
    }

    .chart-y-axis {
        width: 35px;
    }
}

/*=================================================PROGRESS-BAR-CSS-STARTED-HERE=========================================================*/
.bookings-program-panel {
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #edf0f5;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}


/* ==========================================
   PANEL HEADER
========================================== */

.bookings-program-panel .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
}

.bookings-program-panel .panel-head h3 {
    margin: 0;

    font-size: 18px;
    font-weight: 700;

    color: #172033;
}

.panel-subtitle {
    display: block;

    margin-top: 5px;

    font-size: 12px;
    color: #8b94a5;
}


/* Total bookings badge */

.total-bookings {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 11px;

    border-radius: 9px;

    background: #f4f6f9;
    color: #697386;

    font-size: 11px;
    font-weight: 700;
}

.total-bookings i {
    color: var(--brand);
}


/* ==========================================
   PROGRAM ROW
========================================== */

.program-row {
    padding: 15px 0;

    border-bottom: 1px solid #f0f2f5;

    transition: all 0.25s ease;
}

.program-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.program-row:hover {
    padding-left: 5px;
    padding-right: 5px;
}


/* ==========================================
   PROGRAM INFO
========================================== */

.program-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;
}

.program-name {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 13px;
    font-weight: 600;

    color: #3d4656;
}


/* Colored dot */

.program-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    flex-shrink: 0;
}


/* ==========================================
   DOT COLORS
========================================== */

.dot-brand {
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.dot-purple {
    background: var(--purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.10);
}

.dot-green {
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
}

.dot-amber {
    background: var(--amber);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.10);
}

.dot-red {
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.10);
}


/* ==========================================
   BOOKING COUNT
========================================== */

.program-count {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.program-count strong {
    font-size: 14px;
    font-weight: 800;

    color: #172033;
}

.program-count span {
    font-size: 10px;
    color: #9aa2b1;
}


/* ==========================================
   PROGRESS AREA
========================================== */

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-track {
    position: relative;

    height: 9px;

    flex: 1;

    overflow: hidden;

    border-radius: 20px;

    background: #eef1f5;
}


/* Progress fill */

.progress-fill {
    height: 100%;

    position: relative;

    border-radius: 20px;

    transform-origin: left;

    animation: progressLoad 1s ease forwards;

    transition:
        width 0.5s ease,
        filter 0.25s ease;
}


/* Shine effect */

.progress-fill::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );

    transform: translateX(-100%);
}


/* Hover */

.program-row:hover .progress-fill {
    filter: brightness(1.08);
}

.program-row:hover .progress-fill::after {
    animation: progressShine 1s ease;
}


/* ==========================================
   PROGRESS COLORS
========================================== */

.fill-brand {
    background: linear-gradient(
        90deg,
        var(--brand),
        color-mix(in srgb, var(--brand) 70%, white)
    );
}

.fill-purple {
    background: linear-gradient(
        90deg,
        var(--purple),
        color-mix(in srgb, var(--purple) 70%, white)
    );
}

.fill-green {
    background: linear-gradient(
        90deg,
        var(--green),
        color-mix(in srgb, var(--green) 70%, white)
    );
}

.fill-amber {
    background: linear-gradient(
        90deg,
        var(--amber),
        color-mix(in srgb, var(--amber) 70%, white)
    );
}

.fill-red {
    background: linear-gradient(
        90deg,
        var(--red),
        color-mix(in srgb, var(--red) 70%, white)
    );
}


/* ==========================================
   PERCENTAGE
========================================== */

.progress-percent {
    width: 34px;

    font-size: 11px;
    font-weight: 700;

    color: #697386;

    text-align: right;
}


/* ==========================================
   ANIMATIONS
========================================== */

@keyframes progressLoad {

    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }

}

@keyframes progressShine {

    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }

}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 576px) {

    .bookings-program-panel {
        padding: 18px;
    }

    .bookings-program-panel .panel-head {
        align-items: flex-start;
        gap: 12px;
    }

    .bookings-program-panel .panel-head h3 {
        font-size: 16px;
    }

    .total-bookings {
        font-size: 10px;
        padding: 6px 8px;
    }

    .program-name {
        font-size: 12px;
    }

    .program-count strong {
        font-size: 13px;
    }

}

/*========================================TABLE-PANEL-STARTED==============================================*/

        /* =========================
           PANEL
        ========================= */
        .panel {
            background: #ffffff;
            border: 1px solid #e1e6ee;
            border-radius: 15px;
            padding: 18px 18px 12px;
            margin-bottom: 18px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
            overflow: hidden;
        }

        .panel-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            margin-bottom: 10px;
        }

        .panel-head h3 {
            margin: 0;
            font-size: 15px;
            font-weight: 700;
            color: #0a1d3a;
        }

        .panel-head .link {
            color: #244fd4;
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
            white-space: nowrap;
        }

        .panel-head .link:hover {
            text-decoration: underline;
        }

        /* =========================
           TABLE
        ========================= */
        .table-wrapper {
            width: 100%;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .custom-table {
            width: 100%;
            min-width: 750px;
            margin: 0;
            border-collapse: collapse;
        }

        .custom-table thead th {
            border: 0;
            padding: 9px 8px 12px;
            color: #061a36;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.2px;
            white-space: nowrap;
        }

        .custom-table tbody td {
            padding: 11px 8px;
            border-top: 1px solid #e2e6ec;
            vertical-align: middle;
            color: #071b3a;
            font-size: 12px;
            white-space: nowrap;
        }

        .custom-table tbody tr:first-child td {
            border-top: 0;
        }

        .organisation {
            font-weight: 600;
            color: #071b3a;
        }

        .program {
            color: #071b3a;
        }

        .muted {
            color: #617087 !important;
        }

        /* =========================
           STATUS BADGES
        ========================= */
        .badge-status {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 57px;
            height: 24px;
            padding: 0 11px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 500;
        }

        .badge-pending {
            background: #fff5e6;
            color: #f28a00;
        }

        .badge-approved,
        .badge-active {
            background: #e8f9f1;
            color: #00a86b;
        }

        /* =========================
           VIEW BUTTON
        ========================= */
        .view-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 59px;
            height: 33px;
            padding: 0 14px;
            border: 1px solid #dce2ea;
            border-radius: 20px;
            background: #ffffff;
            color: #071b3a;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .view-btn:hover {
            background: #f5f7fb;
            border-color: #cbd3df;
            color: #071b3a;
        }

        /* =========================
           WEBSITE ENQUIRY
        ========================= */
        .hometab-panel {
            width: 100%;
        }

        /* =========================
           RESPONSIVE
        ========================= */

        @media (max-width: 991.98px) {
            .dashboard-wrapper {
                padding: 14px 12px;
            }

            .panel {
                padding: 16px 14px 10px;
            }

            .custom-table {
                min-width: 720px;
            }
        }

        @media (max-width: 767.98px) {
            body {
                font-size: 12px;
            }

            .dashboard-wrapper {
                padding: 10px;
            }

            .panel {
                border-radius: 12px;
                padding: 15px 12px 10px;
                margin-bottom: 14px;
            }

            .panel-head h3 {
                font-size: 14px;
            }

            .panel-head .link {
                font-size: 11px;
            }

            /*
             * On mobile the table remains horizontally scrollable
             * instead of breaking the layout.
             */
            .custom-table {
                min-width: 700px;
            }

            .custom-table thead th {
                font-size: 9px;
                padding: 8px 7px 10px;
            }

            .custom-table tbody td {
                font-size: 11px;
                padding: 10px 7px;
            }
        }

        @media (max-width: 480px) {
            .panel-head {
                align-items: flex-start;
            }

            .panel-head h3 {
                font-size: 13px;
            }

            .panel-head .link {
                font-size: 10px;
            }

            .custom-table {
                min-width: 680px;
            }
        }
