    body {
        background: linear-gradient(rgba(11, 15, 26, 0.8), rgba(11, 15, 26, 0.8)),
            url("SL-121021-47240-19.jpg");
        ;
    }

    .grapharea {
        width: 1000px;
        height: 80vh;
        /* background-color: black; */
        position: relative;
        /* margin: 0px auto; */
        margin: 0px 190px;


    }

    .valueshow {
        color: white;
        /* background-color: red; */
    }

    .chart {
        width: 80%;
        height: 80vh;
        background-color: #000000;
        /* soft light grey (trading style) */
        border-radius: 12px;
        padding: 10px;
    }

    .apichart {
        width: 900px;
        margin: 0px auto;
    }

    .valueshow {
        display: flex;
        justify-content: center;
        margin-top: 40px;
        font-size: 40px;

    }

    .value {
        border: 2px solid rgb(125, 120, 120);
        /* border: 10px; */
        border-radius: 10px;
    }

    /* ===== PAGE BACKGROUND ===== */
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;

    background: linear-gradient(135deg, #0f172a, #0b1120);
    color: white;

    body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background: linear-gradient(135deg, #0f172a, #0b1120);
    color: white;
}

}


/* ===== TITLE ===== */
.apitimegraph h1 {
    text-align: center;
    margin-top: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e2e8f0;
}


/* ===== CHART CARD ===== */
 .apichart {
    width: 95%;
    max-width: 1100px;

    margin-top: 30px;
    padding: 25px;

    background: rgba(30, 41, 59, 0.85);   /* brighter */
    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 18px;
    backdrop-filter: blur(12px);

    box-shadow: 0 10px 50px rgba(0,0,0,0.7);
}



/* ===== CANVAS ===== */
.chart {
    width: 100% !important;
    height: 70vh !important;

    background: #0b1220;
    border-radius: 14px;
}


/* ===== VALUE CARD ===== */
.valueshow {
    margin-top: 35px;

    padding: 20px 40px;

    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;

    display: flex;
    align-items: center;
    gap: 20px;

    font-size: 22px;

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
}

.value {
    font-size: 32px;
    font-weight: bold;
    color: #00e676;
}

.chart {
    width: 100% !important;
    height: 70vh !important;

    background: #111827;     /* trading dark slate (NOT black) */

    border-radius: 14px;

    box-shadow:
        inset 0 0 30px rgba(255,255,255,0.04),
        0 0 25px rgba(0,0,0,0.6);
}

.smoothandrawapy,
.rawapy,
.effectedapy,
.trioapy,
.barcharts,
.tvlcomparison {
    width: 75%;          /* ↓ decrease width */
    max-width: 950px;    /* nice dashboard size */
    margin: 40px auto;   /* center */
}

canvas {
    width: 100% !important;
    height: 450px !important;   /* ↑ increase height */
}

 

.pehlah1{
    text-decoration: underline;
}

h2{
    padding-bottom: 6px;
}
.allassetsbox{
    display: grid;
    grid-template-columns: auto auto;
}

.barcharts {
    width: 95%;        /* increase total width */
    max-width: 1400px; /* wider dashboard */
    margin: 40px auto;
}

.allassetsbox {
    display: grid;

    grid-template-columns: 1fr 1fr;  /* 2 per row */
    gap: 30px;                      /* spacing */
}

.assetcomppart {
    width: 100%;
}

/* ===== Risk Table Card ===== */
.trioapy {
    width: 75%;
    max-width: 950px;
    margin: 40px auto;
}

/* ===== Table Style ===== */
.risk-table {
    width: 100%;
    border-collapse: collapse;

    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 6px 25px rgba(0,0,0,0.6);
}

/* cells */
.risk-table th,
.risk-table td {
    padding: 14px 18px;
    text-align: center;

    border: 1px solid rgba(255,255,255,0.25);
    color: #f1f5f9;
}

/* header row */
.risk-table thead th {
    background: #334155;
    font-weight: 600;
}

/* first column (metric names) */
.risk-table td:first-child {
    background: #0f172a;
    font-weight: 600;
}
 

