/* ===== Reset ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f5f5f5;
    color:#222;
    line-height:1.5;
}

/* ===== Header ===== */
.smr-header{
    background:#fff;
    padding:20px 10px;
    text-align:center;
    border-bottom:3px solid #198754;
}

.smr-header a{
    text-decoration:none;
}

.smr-header h1{
    color:#198754;
    font-size:32px;
    margin:0;
}

/* ===== Heading ===== */
.chart-h1-wrapper{
    background:#fff;
    margin:15px;
    padding:15px;
    border-radius:8px;
}

.chart-h1-heading{
    text-align:center;
    font-size:32px;
    font-weight:700;
}

/* ===== Live Result Card ===== */
.lrc-wrap{
    max-width:1000px;
    margin:20px auto;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

.lrc-head{
    background:#198754;
    color:#fff;
    padding:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.lrc-game-name{
    font-size:24px;
    font-weight:bold;
}

.lrc-live-badge{
    font-weight:bold;
}

.lrc-body{
    display:flex;
    justify-content:space-around;
    align-items:center;
    padding:25px 15px;
}

.lrc-panel{
    text-align:center;
}

.lrc-label{
    font-size:14px;
    font-weight:bold;
    color:#666;
}

.lrc-num,
.lrc-jodi-num{
    font-size:36px;
    font-weight:bold;
    margin-top:10px;
}

.black{
    color:#000;
}

.red{
    color:#dc3545;
}

.green{
    color:#198754;
}

.blue{
    color:#0d6efd;
}

.kamal{
    color:#ff6600;
}

.lrc-foot{
    background:#f8f9fa;
    padding:12px;
    text-align:center;
}

.lrc-refresh-btn{
    background:#198754;
    color:#fff;
    border:none;
    padding:8px 16px;
    border-radius:6px;
    cursor:pointer;
}

/* ===== Buttons ===== */
.chart-group-row{
    text-align:center;
    margin:20px 0;
}

.chart-group-btn{
    border:none;
    color:#fff;
    padding:10px 18px;
    margin:5px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
}

.cpb-danger{
    background:#dc3545;
}

.cpb-warning{
    background:#ffc107;
    color:#000;
}

.cpb-success{
    background:#198754;
}

/* ===== Table ===== */
#chart-table-wrapper{
    overflow-x:auto;
    padding:15px;
}

.redTable{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.redTable td,
.redTable th{
    border:1px solid #ddd;
    padding:8px;
    text-align:center;
}

.BAR{
    background:#198754;
    color:#fff;
    font-weight:bold;
}

.redTable tr:nth-child(even){
    background:#f8f8f8;
}

.verticaltext{
    font-weight:bold;
}

.result{
    font-weight:bold;
}

/* ===== Responsive ===== */
@media(max-width:768px){

    .chart-h1-heading{
        font-size:22px;
    }

    .lrc-body{
        flex-direction:column;
        gap:20px;
    }

    .lrc-num,
    .lrc-jodi-num{
        font-size:28px;
    }

    .redTable{
        min-width:1000px;
    }
}