/* =========================================================
       PERFORMANCE PAGE
    ========================================================= */

    .performance-page {
        padding: 30px;
        background: #f7f1e6;
        min-height: calc(100vh - 70px);
    }


    /* =========================================================
       HEADER
    ========================================================= */

    .performance-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 25px;
        margin-bottom: 30px;
    }

    .performance-heading h1 {
        margin: 0;
        color: #243b2a;
        font-size: 30px;
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .performance-heading p {
        margin: 7px 0 0;
        color: #718078;
        font-size: 14px;
    }


    /* =========================================================
       PERIOD SELECTOR
    ========================================================= */

    .period-control {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .period-control label {
        color: #6b776f;
        font-size: 13px;
        font-weight: 600;
    }

    .period-control select {
        min-width: 150px;
        padding: 10px 14px;
        border: 1px solid #dce4dd;
        border-radius: 9px;
        background: #ffffff;
        color: #243b2a;
        font-size: 13px;
        font-weight: 600;
        outline: none;
        cursor: pointer;
    }

    .period-control select:focus {
        border-color: #3f6044;
        box-shadow: 0 0 0 3px rgba(63, 96, 68, 0.08);
    }


    /* =========================================================
       SUMMARY CARDS
    ========================================================= */

    .summary-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        margin-bottom: 22px;
    }

    .summary-card {
        position: relative;
        background: #ffffff;
        border: 1px solid #e4eae5;
        border-radius: 13px;
        padding: 22px;
        overflow: hidden;
    }

    .summary-card::after {
        content: "";
        position: absolute;
        right: -25px;
        bottom: -35px;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: rgba(63, 96, 68, 0.045);
    }

    .summary-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 17px;
    }

    .summary-label {
        color: #78847c;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.7px;
    }

    .summary-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #edf3ee;
        color: #3f6044;
        font-size: 15px;
    }

    .summary-value {
        color: #243b2a;
        font-size: 27px;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -0.4px;
    }

    .summary-description {
        margin-top: 8px;
        color: #9aa49d;
        font-size: 12px;
    }


    /* =========================================================
       MAIN CHART CARD
    ========================================================= */

    .chart-card {
        background: #ffffff;
        border: 1px solid #e4eae5;
        border-radius: 13px;
        padding: 22px;
    }

    .chart-card-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 18px;
    }

    .chart-card-title {
        color: #243b2a;
        font-size: 15px;
        font-weight: 700;
    }

    .chart-card-description {
        margin-top: 5px;
        color: #8a958e;
        font-size: 12px;
    }

    .chart-wrapper {
        position: relative;
        width: 100%;
    }

    .revenue-chart-wrapper {
        height: 360px;
    }


    /* =========================================================
       TWO COLUMN CHART AREA
    ========================================================= */

    .chart-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        gap: 18px;
        margin-top: 18px;
    }

    .medium-chart-wrapper {
        height: 310px;
    }


    /* =========================================================
       PRODUCT AREA
    ========================================================= */

    .product-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-top: 18px;
    }

    .product-chart-wrapper {
        height: 390px;
    }


    /* =========================================================
       BOTTOM AREA
    ========================================================= */

    .bottom-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-top: 18px;
    }

    .doughnut-wrapper {
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    /* =========================================================
       LOADING
    ========================================================= */

    .performance-loading {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(3px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .loading-box {
        background: #ffffff;
        border: 1px solid #e4eae5;
        border-radius: 12px;
        padding: 22px 30px;
        box-shadow: 0 15px 40px rgba(36, 59, 42, 0.08);
        color: #3f6044;
        font-size: 14px;
        font-weight: 600;
    }


    /* =========================================================
       ERROR
    ========================================================= */

    .performance-error {
        margin-bottom: 20px;
        padding: 14px 17px;
        border-radius: 9px;
        background: #fff4f3;
        border: 1px solid #f1d5d2;
        color: #9d4038;
        font-size: 13px;
    }

    .performance-error[hidden] {
        display: none;
    }

    .performance-progress {
        appearance: none;
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
        background: #edf1ed;
        border-radius: 20px;
        overflow: hidden;
    }

    .performance-progress::-webkit-progress-bar {
        background: #edf1ed;
        border-radius: 20px;
    }

    .paid-orders-progress::-webkit-progress-value {
        background: #3f6044;
        border-radius: 20px;
        transition: width 0.5s ease;
    }

    .paid-orders-progress::-moz-progress-bar {
        background: #3f6044;
        border-radius: 20px;
    }

    .completion-progress::-webkit-progress-value {
        background: #b08c21;
        border-radius: 20px;
        transition: width 0.5s ease;
    }

    .completion-progress::-moz-progress-bar {
        background: #b08c21;
        border-radius: 20px;
    }

    /* =========================================================
       RESPONSIVE
    ========================================================= */

    @media (max-width: 1200px) {

        .summary-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .chart-grid,
        .product-grid,
        .bottom-grid {
            grid-template-columns: 1fr;
        }
    }


    @media (max-width: 700px) {

        .performance-page {
            padding: 18px;
        }

        .performance-header {
            align-items: flex-start;
            flex-direction: column;
        }

        .summary-grid {
            grid-template-columns: 1fr;
        }

        .period-control {
            width: 100%;
        }

        .period-control select {
            flex: 1;
        }

        .revenue-chart-wrapper {
            height: 280px;
        }

        .medium-chart-wrapper,
        .product-chart-wrapper,
        .doughnut-wrapper {
            height: 270px;
        }
    }

.inline-style-88aaa39794ad {
    height:300px;
                    display:flex;
                    flex-direction:column;
                    justify-content:center;
                    gap:18px;
}

.inline-style-8c48d762167e {
    display:flex;
                            justify-content:space-between;
                            margin-bottom:7px;
                            font-size:13px;
                            color:#68756d;
}

.inline-style-b0a37b130d98 {
    color:#243b2a;
}

.inline-style-e7502f42f014 {
    height:7px;
                            background:#edf1ed;
                            border-radius:20px;
                            overflow:hidden;
}

.inline-style-87f28b5bc748 {
    width:0%;
                                height:100%;
                                background:#3f6044;
                                border-radius:20px;
                                transition:width .5s ease;
}

.inline-style-2e14e180362b {
    width:0%;
                                height:100%;
                                background:#b08c21;
                                border-radius:20px;
                                transition:width .5s ease;
}

.inline-style-f3fed7bd69a5 {
    padding-top:15px;
                        border-top:1px solid #edf1ed;
}

.inline-style-6c0c2afdbfad {
    color:#8a958e;
                            font-size:12px;
                            margin-bottom:6px;
}

.inline-style-acfeb8025fac {
    color:#243b2a;
                            font-size:20px;
                            font-weight:700;
}
