﻿tr.RoadWidening {
    background: #ffefef;
}
tr.Theft {
    background: #ffd2d2;
}
tr.Power\/ElectricalIssue {
    background: #ffb1b1;
}
tr.TulluPump {
    background: #ffd0e0;
}
tr.LocalRepairing {
    background: #ffa8c6;
}
tr.DamageVillageInternalWorks {
    background: #f6c3ff;
}

 
#Table1 a {
    text-decoration: underline !important;
}

.totalrws {
    background: #765a03 !important;
}

.subheading {
    border: 1px solid #d3bff7;
}

.mainheading2 .d-flexs {
    gap: 20px;
    background: #caadff;
    padding: 4px 9px 2px;
    font-weight: 600;
    font-family: 'Poppins';
    margin-top: 15px;
    display: flex;
}

.p0 {
    padding: 0px !important;
}

.live_Status {
    border: none;
    background: #00b307;
    padding: 3px 20px;
    border-radius: 2px;
    color: #fff;
    width: 100%;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}

.live_disconnected {
    border: none;
    background: #e70000;
    padding: 3px 20px;
    border-radius: 2px;
    color: #fff;
    width: 100%;
    margin-top: 8px;
    text-align: center;
}

#tableReportTable .distlavel {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.dist_dashboards {
    padding: 5px 10px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border-bottom: 2px solid #002e4712;
    margin-bottom: 30px;
}

.informbox a {
    text-decoration: none;
    cursor: pointer !important;
    font-weight: bold !important;
    color: #337ab7 !important;
    /*font-size: 16px !important;*/
}


.dist {
    font-family: 'Poppins';
    font-size: 14px;
    font-weight: 400;
}



.dist_dashboards {
    padding: 5px 10px;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border-bottom: 2px solid #002e4712;
}





.table {
    margin: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    font-size: 16px !important;
}



.table > tbody > tr > td {
    padding: 5px 5px !important;
    /*border-color: #002e47 !important;*/
    /*background: #fff;*/
    text-align: left;
    line-height: 30px;
    font-weight: 600;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    line-height: 0.8;
    font-family: 'Poppins';
    font-size: 16px;
    line-height: 30px;
    font-weight: 600;
}



.jjm-card-new {
    box-shadow: none !important;
}

.table {
    margin: 0 !important;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px !important;
    position: absolute;
    top: 4px !important;
    right: 10px !important;
    width: 17px !important;
}



.select2-container .select2-selection--single .select2-selection__rendered {
    font-family: 'Poppins' !important;
    font-weight: 600 !important;
    height: 45px !important;
}


label {
    font-weight: 500 !important;
    margin-bottom: 0px;
    margin-left: 20px;
    /*cursor: pointer;*/
}


.dist_dashboard {
    margin-bottom: 30px;
    padding: 10px 10px 10px;
    background: #fff9f1;
    border-radius: 8px;
    border: 1px solid #d6d6d6;
}

.d-flexs {
    gap: 20px;
    background: #fffacc;
    padding: 4px 9px 2px;
    font-weight: 600;
    font-family: 'Poppins';
    margin-top: 15px;
    display: flex;
}

ul li {
    display: block;
}

.legend-container {
    /* margin-top: 29px;*/
}

.jjm-pale-#FFC107 {
    color: #000 !important;
    background-color: #EBF1FB !important;
}

.jjm-border {
    border: 1px solid #ccc !important;
}

.text-m {
    padding: 6px;
    display: flex;
}

.jjm-border-bottom {
    border-bottom: 1px solid #ccc !important;
}

.jjm-border-top {
    border-top: 1px solid #ccc !important;
}

.jjm-left {
    float: left !important;
    padding: 3px;
}

.jjm-pale-#FFC107, .jjm-hover-pale-#FFC107:hover {
    color: #000 !important;
    background-color: #EBF1FB !important;
}

.m-0 {
    margin-left: 0px;
    margin-right: 0px;
}

.map-main-h {
    height: 750px;
    padding: 5px;
}

.map-main-h {
    height: 750px;
    padding: 5px;
}

.jjm-round-xlarge {
    border-radius: 0px;
}



.jjm-text-orange {
    padding: 10px 10px !important;
    background-color: #002e47 !important;
    color: #ffffff !important;
    font-size: 18px;
    font-family: 'Poppins';
    text-align: left;
    border-radius: 4px;
}

.page_topline .media ul {
    display: flex !important;
    margin: 0 !important;
}



.ls.ms {
    color: #656565;
    height: 37px !important;
}

.informbox {
    font-size: 14px !important;
    color: #000000 !important;
    margin: 0 !important;
    background: #ffffff;
    text-align: center;
    padding: 10px 10px;
    font-weight: 500;
    font-family: 'Poppins';
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
    text-align: left;
    border: 1px solid #8989894a;
    background-image: url(https://www.transparenttextures.com/patterns/cream-pixels.png);
    background-size: contain;
}


.card-new {
    margin: 0;
    padding: 0px 10px 13px;
}


.table > tbody > tr > td {
    padding: 10px 8px;
    /*border-color: #002e47 !important;*/
    font-weight: 400;
    /*background: #fff;*/
    text-align: center;
}

.jjm-padding {
    padding: 8px 16px 30px !important;
}

@media (min-width: 993px) {
    .jjm-col.l12 {
        width: 100% !important;
    }

    .row-end {
        display: block;
    }
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 800px;
    margin: 1em auto;
}

#container {
    height: 400px;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.jjm-tiny {
    font-size: 15px !important;
    margin-bottom: 9px !important;
    position: relative;
    top: -41px;
}

.jjm-tiny1 {
    font-size: 15px !important;
    margin-bottom: 9px !important;
    position: relative;
    /* top: -81px;*/
}

@media screen and (max-width:768px) {
    .map-main-h {
        height: 436px !important;
    }

    .iframe-map {
        height: 500px !important;
        width: 100% !important;
        border: none;
    }

    .jjm-tiny {
        font-size: 15px !important;
        margin-bottom: 9px !important;
        position: relative;
        top: -185px;
    }

    .jjm-small {
        font-size: 8px !important;
    }
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: rgba(0,0,0,0)
}

.jjm-col.s12 {
    width: 100% !important;
}

.page_topline .media ul {
    margin: 0px 0 0 0 !important;
    display: flex !important;
}


/* .jjm-card-new {
        box-shadow: none !important;
    }*/




td.fixleft0_3, td.fixleft0_1, td.fixleft0_2 {
    background: #f7d5b3 !important;
}

.fixleft1, .fixleft21, .fixleft2, .fixleft22, .fixleft3, .fixleft23 {
    position: sticky;
    top: 0px;
    background-color: #f7d5b3 !important;
    color: rgb(241, 245, 179);
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    outline: 0.7px solid #555;
    border: 1.5px solid #555;
    z-index: 1 !important;
    letter-spacing: .5px;
    color: #000;
}

.txt1 {
    font-weight: bold;
    color: blueviolet;
    margin-bottom: 0px;
    font-family: 'Poppins';
}

.scrollable-area {
    width: 100%;
    overflow: scroll;
    overflow-y: hidden;
}

.boxd1 {
    color: white;
    width: 100%;
    padding: 1px 10px;
    border-left: 4px solid #c9650f;
    border-radius: 6px;
    box-shadow: 2px 3px 5px 1px rgb(2 0 0 / 25%);
    align-items: center;
    display: flex;
}

    .boxd1 a {
        /* text-align: right; */
        /* width: 100%; */
        /* font-size: 15px; */
        padding: 0px;
        box-shadow: none;
        background: transparent;
        display: flex;
        margin: 0;
        align-items: center;
    }

img.boxd1_one1_inner {
    /* max-width: 10%; */
    /* float: left; */
    display: none;
}

img.boxd1_one1_inner {
    max-width: 12%;
    /* float: left; */
}

span.number {
    display: inline-block;
    background: #c9650f;
    width: 35px;
    height: 33px;
    border-radius: 50%;
    /* box-shadow: 0 2px 5px #d9d9d9; */
    line-height: 32px;
    font-size: 17px;
    text-align: center;
    font-weight: bold;
    float: left;
    /* margin-left: -20px; */
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    /* border: 1px dashed; */
}

.titlebox {
    text-align: center;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins';
    display: flex;
    align-items: center;
    padding: 6px;
    color: #000;
}

img.news-list-img {
    max-width: 50px;
    margin-top: -5px;
}

.row-end {
    display: flex;
    justify-content: flex-end;
}

.top-heading-text {
    text-align: center;
    background: white;
    font-size: 25px;
    margin-top: 20px !important;
    font-family: 'Poppins';
    font-weight: 600;
}

@media ( max-width: 767px) {
    .boxd1 {
        margin-top: 14px;
    }

    .row-end {
        display: block;
    }

    .top-heading-text {
        font-size: 18px !important;
    }
}


.d-flex1 {
    display: flex;
    align-items: baseline;
    justify-content: center;
}


/* .b1 {
        background: #64d1d1 !important
    }


    .b2 {
        background: #ff9800 !important;
    }

    .b3 {
        background-image: linear-gradient(85deg, #3cbffb 0%, #a8e0f9 100%) !important;
    }


    .b4 {
        background: #cddc39 !important;
    }


    .b6 {
        background: #bfa4f2 !important;
    }



    .b7 {
        background-image: linear-gradient(85deg, #3cbffb 0%, #a8e0f9 100%) !important;
    }



    .b8 {
        background: #cddc39 !important;
    }*/

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    line-height: 20px;
}
/* .slab100 td {
        color: black !important;
    }
    .slab76 td {
        color: white !important;
    }*/


.jjmcard {
    border-radius: 8px;
    border: 1px solid #d6d6d6;
    box-shadow: 2px 5px 0px rgb(229 229 229);
    margin-bottom: 30px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}

.top-head {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    padding: 6px 5px 6px !important;
}

    .top-head img {
        width: 30px;
        height: auto;
    }

    .top-head p {
        margin-bottom: 0px;
        font-size: 20px;
    }

@media (max-width: 767px) {
    .top-head p {
        font-size: 17px;
    }
}
 
/* ── Compare Section Wrapper ── */
.compare-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 24px;
    margin-bottom: 32px;
}

/* ── Section Title ── */
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    padding-left: 14px;
    letter-spacing: 0.3px;
    background: #01405e;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    padding: 7px 13px;
}

/* ── Table Base ── */
.compare-section .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    color: #333;
}

    /* ── Table Header ── */
    .compare-section .table thead tr {
        background: #206aab;
        color: #ffffff;
    }

    .compare-section .table thead th {
        padding: 12px 8px;
        text-align: center;
        font-weight: 600;
        /* white-space: nowrap;*/
        border-right: 1px solid #ffffff5e !important;
        vertical-align: middle;
        letter-spacing: 0.2px;
    }

    /* ── Table Body ── */
    .compare-section .table tbody tr {
        transition: background 0.2s ease;
    }

        .compare-section .table tbody tr:hover {
            background-color: #e3f0fb !important;
        }

/* ── Striped Rows ── */
.compare-section .table-striped tbody tr:nth-child(odd) {
    background-color: #f5f9ff;
}

.compare-section .table-striped tbody tr:nth-child(even) {
    background-color: #ffffff;
}

/* ── Phase Rows ── */
.phase-row td {
    padding: 11px 14px;
    text-align: center;
    border: 1px solid #d8e6f3;
    vertical-align: middle;
}

    .phase-row td:first-child {
        font-weight: 600;
        color: #1565c0;
        text-align: left;
        background-color: #fff6b99e;
        white-space: nowrap;
        font-size: 18px;
    }
/* ── Grand Total Row ── */
.total-row {
    background: linear-gradient(90deg, #fff6b9, #fff6b9) !important;
    font-weight: 700;
    color: #0d3b6e;
}



    .total-row td:first-child {
        background-color: #cce3f7 !important;
        color: #0d3b6e;
    }



/* Phase color accents */
.val-cell.p1 {
    color: #10bb19;
    font-size: 16px !important;
    font-weight: 600;
}

.val-cell.p235 {
    color: #e65100;
    font-size: 16px !important;
    font-weight: 600;
}

.val-cell.p4 {
    color: #6a1b9a;
    font-size: 16px !important;
    font-weight: 600;
}

.val-cell.JN {
    color: #7a1d00;
    font-size: 16px !important;
    font-weight: 600;
}

.val-cell.botumnnn {
    font-size: 16px !important;
}


.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    font-size: 16px;
}

.h-980 {
    min-height: 980px;
}
/* ── Responsive ── */
@media (max-width: 768px) {
    .compare-section {
        padding: 14px;
    }

    .h-980 {
        min-height: auto;
    }

    .section-title {
        font-size: 1rem;
    }

    .compare-section .table thead th,
    .phase-row td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

table span {
    /* font-style: italic; */
    display: inline;
}

.botumnnn {
    color: #0066d1;
    font-size: 12px;
    font-weight: 600 !important;
}

.oht {
    background: #677dfb !important;
}

.slscls {
    color: #000000 !important;
    font-weight: bold !important;
    font-size: 14px;
}

.blue {
    background: #1e3a8a !important;
}

.black {
    background: #333333 !important;
}

.dblue {
    background: #0d6efd !important;
}

.left {
    background-color: #81510d !important;
    color: #ffffff !important;
}

.total {
    background: #0f62ab !important;
}

.Phase1 {
    background: #06a35f !important;
}

.Phase135 {
    background: #1765d8 !important;
}

.Phase4 {
    background: #552274 !important;
}

td.total {
    background: #f0f8ff !important;
}

td.Phase1 {
    background: #f0fff8 !important;
}

td.Phase135 {
    background: #e9f2ff !important;
}

td.Phase4 {
    background: #fbf4ff !important;
}

.divider {
    border-bottom: 1.7px solid #c90000;
    width: 60px;
    margin: 0 auto;
}

.dashboard-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #0391e3;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 10px;
}

.bfa {
    padding: 15px 15px !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    border: 1px solid #9eafb9 !important;
    box-shadow: rgb(0 46 71 / 38%) 3px 3px !important;
    margin-bottom: 30px !important;
}

b.reds {
    font-weight: 700;
    font-size: 15px;
    padding: 5px 10px;
    background: #ffffff;
    border-radius: 33px;
    color: red;
    margin-right: 10px;
}

.lastweek {
    color: green !important;
}

/*ol {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

li {
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: bold;
}*/

.tvalue {
    color: blue;
    font-weight: bold;
    background: #f1f7ff;
    padding: 2px 6px;
    border-radius: 4px;
}

.hgyval {
    color: #003a91;
    font-weight: 500;
    background: #f1f7ff;
    padding: 2px 6px;
    border-radius: 4px;
}

 
.section-title1 {
    font-size: 17px;
    font-weight: 500;
    color: #ffffff;
    padding-left: 14px;
    margin-bottom: 1px;
    letter-spacing: 0.3px;
    background: #875b24;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    padding: 0px 13px;
    text-align: center;
}

/*#contentPanel1 li {
    margin-bottom: 6px;
    line-height: 25px;
    font-weight: 600;
    border-bottom: 1px solid #d7d7d7;
    padding: 5px;
    font-family: 'Poppins';
    font-size: 13px;
    border-radius: 5px;
}
*/
 
/* Custom Dashboard Styling */
.rws-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #eef2f7;
}

.rws-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.table-modern {
    margin-bottom: 0;
    vertical-align: middle;
}

    .table-modern thead th {
        background-color: #f8fafc;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 1px;
        color: #64748b;
        padding: 1rem;
        border-bottom: 2px solid #edf2f7;
    }

    .table-modern tbody tr {
        transition: all 0.2s ease;
    }

        .table-modern tbody tr:hover {
            background-color: #f1f5f9 !important;
            transform: scale(1.002);
        }

.loc-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.8rem;
}

.date-chip {
    font-family: 'JetBrains Mono', monospace; /* or any clean sans-serif */
    font-weight: 600;
    color: #0f172a;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.issue-text {
    color: #334155;
    line-height: 1.5;
    font-size: 0.9rem;
}

.remark-pill {
    border-left: 3px solid #cbd5e1;
    padding-left: 8px;
    font-size: 0.85rem;
}

 
/* Container & Wrapper */
#Table7 {
    margin: 2rem auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 95%;
}

/* Modern Table Reset */
#tableReportTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: none !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

    /* Header Design */
    #tableReportTable thead tr:first-child th {
        background: #81510d !important;
        color: #ffffff !important;
        padding: 18px 15px;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        border: none;
    }

    /* Secondary Header (The '1, 2, 3' Row) */
    #tableReportTable thead tr:last-child th {
        background: #fdf2ee !important;
        color: #b38b75;
        font-size: 14px;
        padding: 12px;
        border-bottom: 2px solid #fcae91;
    }

    /* Table Body Styling */
    #tableReportTable tbody tr td,
    #tableReportTable tbody tr th {
        padding: 14px 15px;
        vertical-align: middle;
        border-bottom: 1px solid #f0f0f0;
        color: #444;
        font-weight: 500;
        text-align: center;
    }

        /* Description Column Specifics */
        #tableReportTable tbody tr th:nth-child(2) {
            text-align: left;
            color: #2c3e50;
            font-weight: 700;
            background: #f9fbfd;
        }

    /* Completed % Column Highlight */
    #tableReportTable tbody td:last-child {
        font-weight: 700;
        color: #27ae60;
        background-color: rgba(39, 174, 96, 0.05);
    }

    /* Hover State */
    #tableReportTable tbody tr:hover {
        background-color: #fff9f5;
        transition: all 0.2s ease-in-out;
        transform: scale(1.002);
    }

    /* Rounded Corners Logic */
    #tableReportTable thead tr:first-child th:first-child {
        border-top-left-radius: 12px;
    }

    #tableReportTable thead tr:first-child th:last-child {
        border-top-right-radius: 12px;
    }

    #tableReportTable tbody tr:last-child td:first-child {
        border-bottom-left-radius: 12px;
    }

    #tableReportTable tbody tr:last-child td:last-child {
        border-bottom-right-radius: 12px;
    }

/* Custom Responsive Scrollbar */
#Table7::-webkit-scrollbar {
    height: 6px;
}

#Table7::-webkit-scrollbar-thumb {
    background: #fcae91;
    border-radius: 10px;
}

 

/* Container and General Layout */
div[style*="overflow-x:auto"] {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Beautiful Numbered List */
ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

    ol > li {
        position: relative;
        background: #ffffff;
        margin-bottom: 5px;
        padding: 13px 8px 8px 54px;
        border-radius: 8px;
        /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); */
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        border-left: 4px solid #0056b3;
        color: black !important;
        border-bottom: 1px solid #b3b3b3;
    }

        ol > li:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        ol > li::before {
            content: counter(item);
            counter-increment: item;
            position: absolute;
            left: 15px;
            top: 9px;
            width: 28px;
            height: 28px;
            background: #0056b3;
            color: white;
            font-weight: bold;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

/* Styling the Dynamic Data Values */
.ajval {
    color: #000c50; /* Elegant Red/Coral for data */
    font-size: 1.1em;
    font-weight: 700;
    padding: 0 4px;
    background: rgba(217, 83, 79, 0.05);
    border-bottom: 1px dashed #d9534f;
    border-radius: 3px;
}

/* Special Case for Red Inline Bold (Used in Point 5/6) */
b[style*="color:red"] {
    color: #c0392b !important;
    font-weight: 800;
    background: #fff5f5;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    div[style*="overflow-x:auto"] {
        padding: 15px;
    }

    ol > li {
        padding-left: 45px;
        font-size: 0.95rem;
    }

        ol > li::before {
            width: 22px;
            height: 22px;
            font-size: 12px;
            left: 10px;
        }
}








/* Card Container */
.rws-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Header Styling */
.rws-header {
    background: #cee6ff;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    color: #2d3436;
    font-size: 1.1rem;
}

/* Table Refinements */
.table-modern {
    margin-bottom: 0;
    vertical-align: middle;
}

    .table-modern thead th {
        background-color: #206aab;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
        color: white;
        padding: 1rem 1.5rem;
        border-top: none;
    }

    .table-modern tbody td {
        padding: 1.2rem 1.5rem;
        color: #4d545b;
        border-bottom: 1px solid #f1f2f6;
        font-size: 0.9rem;
    }

/* Issue Text Styling */
.issue-text {
    font-weight: 500;
    color: #2d3436;
    line-height: 1.4;
}

/* Date Chip Design */
.date-chip {
    background: #eef2ff;
    color: #4361ee;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Row Hover Effect */
.table-modern tbody tr:hover {
    background-color: #fdfdfd;
    transition: background 0.2s ease;
}

/* Empty State Styling */
.opacity-25 {
    opacity: 0.3;
    filter: grayscale(1);
}




.rws-outer {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1.5px solid #d9534f;
    margin: 1rem 0;
    background: #fff;
}

.rws-table {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
    font-size: 11.5px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

    .rws-table th,
    .rws-table td {
        border: 1px solid #e0b0ae;
        padding: 5px 8px;
        text-align: center;
        white-space: nowrap;
        vertical-align: middle;
    }

/* ── S.No & Phase (orange-red) ── */
.col-sno-h {
    background: #c0392b;
    color: #fff;
    font-weight: 500;
}

.col-sno-d {
    background: #fff3f3;
    color: #7b0000;
    font-weight: 500;
}

/* ── Total RWS (deep crimson) ── */
.col-trws-h {
    background: #96281b;
    color: #fff;
}

.col-trws-d {
    background: #fff5f5;
    color: #500000;
}

/* ── Theft (bright red) ── */
.col-theft-h {
    background: #e74c3c;
    color: #fff;
}

.col-theft-d {
    background: #fff0ef;
    color: #5a0000;
}

/* ── Power/Electrical (dark maroon) ── */
.col-power-h {
    background: #7b241c;
    color: #fff;
}

.col-power-d {
    background: #fdecea;
    color: #4a0000;
}

/* ── Tullu Pump (salmon/rose) ── */
.col-tullu-h {
    background: #e8636a;
    color: #fff;
}

.col-tullu-d {
    background: #fff2f2;
    color: #5b0000;
}

/* ── Road Widening (brick red) ── */
.col-road-h {
    background: #b03a2e;
    color: #fff;
}

.col-road-d {
    background: #fdf0ef;
    color: #500000;
}

/* ── Damage Village Internal (dark wine) ── */
.col-dmg-h {
    background: #641e16;
    color: #fff;
}

.col-dmg-d {
    background: #fce8e6;
    color: #3d0000;
}

/* ── Local Repairing (blush) ── */
.col-local-h {
    background: #f1948a;
    color: #5b0000;
}

.col-local-d {
    background: #fff7f7;
    color: #5b0000;
}

/* ── Grand Total (very dark) ── */
.col-grand-h {
    background: #2c0b0b;
    color: #ffcccc;
}

.col-grand-d {
    background: #f8d7da;
    color: #3d0000;
    font-weight: 600;
}

/* ── Column number row ── */
.col-num {
    background: #f5c6cb;
    color: #641e16;
    font-size: 10px;
    padding: 3px 6px;
}

/* ── Pending badge ── */
.badge-pend {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 500;
}

/* ── JJM Total row ── */
.row-total th,
.row-total td {
    background: #fff3cd !important;
    color: #5a3700 !important;
    font-weight: 600;
}

/* ── Group header row separator ── */
.rws-table thead tr:first-child th {
    border-bottom: 2px solid #c0392b;
}

/* ── Hover ── */
.rws-table tbody tr:hover td,
.rws-table tbody tr:hover th {
    filter: brightness(0.94);
}

/* ── Phase link ── */
.rws-table a {
    /*color: #7b0000;*/
    text-decoration: underline;
    font-weight: 500;
}

    .rws-table a:hover {
        text-decoration: underline;
    }

/* ── Group label pill ── */
.grp-pill {
    padding: 3px 18px;
}