﻿
:root {
    --jjm-primary: #075985;
    --jjm-primary-dark: #053b5c;
    --jjm-secondary: #0f766e;
    --jjm-accent: #f59e0b;
    --jjm-success: #15803d;
    --jjm-danger: #dc2626;
    --jjm-warning: #d97706;
    --jjm-purple: #6d28d9;
    --jjm-bg: #f4f7fb;
    --jjm-card: #ffffff;
    --jjm-border: #dbe3ec;
    --jjm-text: #1f2937;
    --jjm-muted: #64748b;
    --jjm-shadow: 0 5px 20px rgba(15, 23, 42, 0.08);
} 
/* ================= BODY ================= */
body {
   
    color: var(--jjm-text);
    font-family: "Poppins", sans-serif;
}

.bg-white {
    background: transparent !important;
}

/* ================= MAIN CONTAINER ================= */

.container {
    max-width: 98%;
}

/* ================= SEARCH SECTION ================= */

.bxs {
    margin: 20px 0 25px !important;
}

    .bxs:first-child {
        background: var(--jjm-card);
        padding: 18px 20px;
        border-radius: 12px;
        box-shadow: var(--jjm-shadow);
        border: 1px solid var(--jjm-border);
    }

/* Back button */

.backbutton {
    width: 44px !important;
    height: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    background: var(--jjm-primary) !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

    .backbutton:hover {
        background: var(--jjm-primary-dark) !important;
        transform: translateX(-2px);
        box-shadow: 0 5px 12px rgba(7, 89, 133, .25);
    }

    .backbutton i {
        font-size: 20px !important;
    }

/* Search input */

#txtschemeid {
    height: 42px !important;
    border: 1px solid var(--jjm-border) !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    background: #fff !important;
    color: var(--jjm-text);
    font-size: 14px;
    box-shadow: none !important;
    transition: all .2s ease;
}

    #txtschemeid:focus {
        border-color: var(--jjm-primary) !important;
        box-shadow: 0 0 0 3px rgba(7, 89, 133, .10) !important;
        outline: none;
    }

    #txtschemeid::placeholder {
        color: #94a3b8;
    }

/* Search button */

#btnShow {
    height: 43px !important;
    width: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 4px !important;
    background: linear-gradient(135deg, #075985, #0e7490) !important;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(7, 89, 133, .20);
    transition: all .25s ease;
}

    #btnShow:hover {
        transform: translateY(-1px);
        box-shadow: 0 7px 16px rgba(7, 89, 133, .25);
    }

/* ================= DATA PANEL ================= */

#datapanel {
    padding-bottom: 100px;
}

#maindiv {
    background: transparent;
}

/* ================= SECTION HEADINGS ================= */

.headingss {
    position: relative;
    margin: 25px 0 0 !important;
    padding: 13px 18px !important;
    text-align: left !important;
    color: #fff !important;
    background: linear-gradient( 135deg, var(--jjm-primary), var(--jjm-secondary) ) !important;
    border-radius: 9px 9px 0 0;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .2px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .08);
}

    .headingss::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 20px;
        background: var(--jjm-accent);
        border-radius: 3px;
        margin-right: 10px;
        vertical-align: -4px;
    }

/* ================= TABLE WRAPPER ================= */

.table-responsive {
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: var(--jjm-shadow);
}

/* ================= ALL TABLES ================= */

table.table {
    margin-bottom: 25px !important;
    border-collapse: separate !important;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--jjm-border) !important;
}

/* Remove old bootstrap striped background */

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #fff;
}

/* Table header */

table thead {
    background: var(--jjm-primary) !important;
    color: #fff !important;
}

    table thead th,
    table thead td {
        background: var(--jjm-primary) !important;
        color: #fff !important;
        border-color: rgba(255,255,255,.20) !important;
        font-weight: 600;
        text-align: center;
        vertical-align: middle !important;
        font-size: 12px;
        line-height: 1.35;
        padding: 9px 7px !important;
        white-space: normal;
    }


    table thead tr:first-child th,
    table thead tr:first-child td {
        background: #3c3c3c47 !important;
        font-size: 13px;
    }



    table thead tr:nth-child(2) th,
    table thead tr:nth-child(2) td {
        background: #0e7490 !important;
        font-size: 11px;
    }

/* ================= TABLE BODY ================= */

table tbody td,
table tbody th {
    padding: 8px 7px !important;
    font-size: 12px;
    vertical-align: middle !important;
    text-align: center;
    color: #334155;
    border-color: #e2e8f0 !important;
    white-space: nowrap;
}

/* Zebra rows */

table tbody tr:nth-child(even) td,
table tbody tr:nth-child(even) th {
    background: #f8fafc;
}

/* Hover */

table tbody tr {
    transition: all .15s ease;
}

    table tbody tr:hover td,
    table tbody tr:hover th {
        background: #e0f2fe !important;
        color: #0c4a6e;
    }

/* ================= FIRST / IMPORTANT COLUMNS ================= */

#tableReportTable tbody td:first-child {
    font-weight: 700;
    color: var(--jjm-primary);
}

/* ================= STATUS BUTTONS ================= */

.live_Status,
.live_disconnected {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    height: 30px;
    margin: 0 0 5px !important;
    padding: 4px 12px !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
    cursor: pointer;
    transition: all .2s ease;
}

/* Live */

.live_Status {
    background: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #86efac !important;
}

    .live_Status::before {
        content: "";
        width: 7px;
        height: 7px;
        margin-right: 6px;
        border-radius: 50%;
        background: #16a34a;
        box-shadow: 0 0 0 3px rgba(22,163,74,.15);
    }

    .live_Status:hover {
        background: #bbf7d0 !important;
        transform: translateY(-1px);
    }

/* Disconnected */

.live_disconnected {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fca5a5 !important;
}

    .live_disconnected::before {
        content: "";
        width: 7px;
        height: 7px;
        margin-right: 6px;
        border-radius: 50%;
        background: #dc2626;
    }

    .live_disconnected:hover {
        background: #fecaca !important;
    }

/* ================= VIEW MORE ================= */

table a {
    display: inline-block;
    padding: 4px 9px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    background: #e0f2fe !important;
    color: #0369a1 !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 600;
    transition: all .2s ease;
}

    table a:hover {
        background: #0284c7 !important;
        color: #fff !important;
    }

/* ================= NOT INTEGRATED ================= */

table span[style*="800000"] {
    display: inline-block;
    padding: 5px 10px !important;
    border-radius: 20px !important;
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca;
    font-size: 11px;
    font-weight: 600;
}

/* ================= GREEN STATUS SPAN ================= */

table span[style*="008000"] {
    display: inline-block;
    padding: 5px 10px !important;
    border-radius: 20px !important;
    background: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #86efac;
    font-size: 11px;
    font-weight: 600;
}

/* ================= ORANGE / SPECIAL LABEL ================= */

label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 100px;
    height: 30px;
    margin-bottom: 5px;
    padding: 3px 10px;
    border-radius: 5px;
    /* background: #fff7ed; */
    color: #c2410c;
    /* border: 1px solid #fed7aa; */
    font-size: 11px;
    font-weight: 600;
}

/* ================= FORM CONTROLS ================= */

.form-control,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    height: 40px;
    border: 1px solid var(--jjm-border) !important;
    background: #fff !important;
    border-radius: 7px !important;
    color: var(--jjm-text);
    padding: 7px 12px !important;
    font-size: 14px;
    box-shadow: none !important;
}

    .form-control:focus,
    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--jjm-primary) !important;
        box-shadow: 0 0 0 3px rgba(7,89,133,.10) !important;
    }

/* ================= OLD COLOR CLASSES ================= */

.imis {
    background: #e0f2fe !important;
    color: #075985 !important;
}

.jjm {
    background: #fef2f2 !important;
    color: #991b1b !important;
}

.total {
    background: #0f766e !important;
    color: #fff !important;
    font-weight: 700;
}

/* ================= TABLE CELL HIGHLIGHT ================= */

table tbody td strong,
table tbody th strong {
    font-weight: 700;
}

/* ================= SCROLLBAR ================= */

.table-responsive::-webkit-scrollbar {
    height: 9px;
    width: 9px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
}

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #64748b;
    }

/* ================= STICKY HEADER FOR HUGE TABLE ================= */

.table-responsive table thead {
    position: sticky;
    top: 0;
    z-index: 5;
}

/* ================= FOOTER ================= */

.jjm-footer {
    background: linear-gradient( 135deg, #052e49, #075985 ) !important;
    color: #fff;
    padding: 0 20px !important;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 100;
    box-shadow: 0 -4px 15px rgba(15,23,42,.15);
}

.jjm-footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 11px 0 !important;
}

    .jjm-footer-bottom p {
        margin: 0;
        font-size: 13px;
        color: #fff;
    }

    .jjm-footer-bottom a {
        color: #fbbf24;
        text-decoration: none;
        font-weight: 600;
    }

        .jjm-footer-bottom a:hover {
            color: #fde68a;
        }

.pb-100 {
    padding-bottom: 100px !important;
}

/* ================= LOADING OVERLAY ================= */

#showSpinner {
    position: fixed !important;
    background: rgba(248,250,252,.92) !important;
    backdrop-filter: blur(4px);
    z-index: 99999 !important;
}

.nexo-refresh-icon {
    color: var(--jjm-primary) !important;
    font-size: 45px !important;
}

/* ================= RECORD NOT FOUND ================= */

table tr td[style*="color:red"],
table tr th[style*="color:red"] {
    padding: 20px !important;
    text-align: center !important;
    color: #dc2626 !important;
    background: #fef2f2 !important;
    font-weight: 600;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    .container {
        max-width: 100%;
    }

    .bxs:first-child {
        padding: 15px;
    }

    .headingss {
        font-size: 15px;
    }

    #txtschemeid {
        margin-bottom: 8px;
    }

    #btnShow {
        width: 100% !important;
    }

    .backbutton {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 767px) {

    .bxs:first-child {
        padding: 12px;
    }

    .headingss {
        padding: 11px 13px !important;
        font-size: 14px;
    }

    table thead th,
    table thead td {
        font-size: 10px;
        padding: 7px 5px !important;
    }

    table tbody td,
    table tbody th {
        font-size: 11px;
        padding: 7px 5px !important;
    }

    .live_Status,
    .live_disconnected {
        min-width: 90px;
        font-size: 10px;
    }

    .jjm-footer {
        position: relative;
        width: 100% !important;
    }

    .jjm-footer-bottom {
        gap: 8px;
        padding: 10px 5px !important;
    }
}

/* ================= SMALL ANIMATION ================= */

@keyframes jjmFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#datapanel {
    animation: jjmFadeIn .35s ease;
}

/* ================= PRINT ================= */

@media print {

    .backbutton,
    #txtschemeid,
    #btnShow,
    .jjm-footer {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .headingss {
        color: #000 !important;
        background: #eee !important;
        box-shadow: none !important;
    }

    table {
        box-shadow: none !important;
    }
}



.track-scheme-wrapper {
    width: 100%;
    padding: 20px 0 10px;
    background: #f4f7fb;
}

.track-scheme-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(15, 23, 42, 0.08);
}

/* ================= HEADER ================= */

.track-scheme-header {
    min-height: 84px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #0c5261, #3b7e90);
}

.track-scheme-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.25);
}

    .track-scheme-icon i {
        font-size: 21px;
    }

.track-scheme-content h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .2px;
}

.track-scheme-content p {
    margin: 0;
    font-size: 13px;
    opacity: .9;
}

/* ================= SEARCH AREA ================= */

.track-scheme-search {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding: 20px 22px 22px;
}

/* ================= BACK BUTTON ================= */

.track-back {
    flex: 0 0 auto;
}

.backbutton {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: 9px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    transition: all .25s ease;
}

    .backbutton:hover {
        background: #e2e8f0 !important;
        color: #075985 !important;
        transform: translateX(-2px);
    }

    .backbutton i {
        font-size: 18px !important;
    }

/* ================= INPUT SECTION ================= */

.track-input {
    flex: 1;
    max-width: 430px;
}

    .track-input label {
        display: block;
        width: auto;
        height: auto;
        margin: 0 0 7px;
        padding: 0;
        background: transparent;
        border: none;
        color: #334155;
        text-align: left;
        font-size: 13px;
        font-weight: 600;
    }

        .track-input label i {
            color: #075985;
            margin-right: 5px;
        }

    /* ================= INPUT ================= */

    .track-input .input-group {
        position: relative;
        display: flex;
        width: 100%;
    }

    .track-input .form-control {
        height: 44px !important;
        padding: 8px 14px 8px 43px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        color: #1e293b;
        font-size: 14px;
        box-shadow: none !important;
        transition: all .2s ease;
    }

        .track-input .form-control:hover {
            border-color: #94a3b8 !important;
        }

        .track-input .form-control:focus {
            border-color: #075985 !important;
            box-shadow: 0 0 0 3px rgba(7, 89, 133, .10) !important;
            outline: none;
        }

        .track-input .form-control::placeholder {
            color: #94a3b8;
        }

/* Input Icon */

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

    .input-icon i {
        font-size: 15px;
    }

/* Help text */

.track-input small {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
}


/* ===============================
   TRACK SCHEME
================================ */

.track-scheme-wrapper {
    width: 100%;
    padding: 0;
}

.track-scheme-card {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(31, 59, 86, 0.10);
    border: 1px solid #e5ebf2;
}

/* ===============================
   HEADER
================================ */

.track-scheme-header {
    min-height: 84px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #0c5261, #3b7e90);
}

/* BACK BUTTON */

.track-back-btn {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.30);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 20px;
    transition: all 0.2s ease;
}

    .track-back-btn:hover {
        background: rgba(255,255,255,0.25);
        transform: translateX(-2px);
        color: #ffffff !important;
    }

/* HEADER CONTENT */

.track-scheme-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .track-scheme-header-content h3 {
        margin: 0 0 4px 0;
        font-size: 21px;
        font-weight: 700;
        color: #ffffff;
    }

    .track-scheme-header-content p {
        margin: 0;
        font-size: 13px;
        font-weight: 400;
        color: rgba(255,255,255,0.95);
    }

/* ===============================
   BODY
================================ */

.track-scheme-body {
    padding: 25px 25px 30px;
}

.track-scheme-form {
    max-width: 700px;
}

    /* LABEL */

    .track-scheme-form label {
        display: block;
        margin-bottom: 9px;
        font-size: 17px;
        font-weight: 600;
        color: #000000;
    }

        .track-scheme-form label span {
            color: #08749a;
            font-size: 16px;
            margin-right: 5px;
        }

/* INPUT + BUTTON */

.track-input-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.track-input-wrapper {
    flex: 1;
}

    .track-input-wrapper .form-control {
        height: 43px;
        border-radius: 8px;
        border: 1px solid #d6e0ea;
        padding: 0 14px;
        font-size: 13px;
        color: #243b53;
        box-shadow: none;
        transition: all 0.2s ease;
    }

        .track-input-wrapper .form-control:focus {
            border-color: #087b9b;
            box-shadow: 0 0 0 3px rgba(8,123,155,0.10);
        }

        .track-input-wrapper .form-control::placeholder {
            color: #9aa9b8;
            font-size: 12px;
            letter-spacing: 3px;
            font-style: italic;
        }

    /* HELPER TEXT */

    .track-input-wrapper small {
        display: block;
        margin-top: 8px;
        font-size: 11px;
        color: #6d8196;
    }

/* BUTTON */

.track-btn {
    height: 43px;
    min-width: 160px;
    padding: 0 22px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(90deg, #08729b, #087f98);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(8, 114, 155, 0.20);
    transition: all 0.2s ease;
}

    .track-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 7px 16px rgba(8,114,155,0.28);
    }

    .track-btn:active {
        transform: translateY(0);
    }

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    .track-scheme-header {
        padding: 14px 16px;
    }

    .track-scheme-header-content h3 {
        font-size: 18px;
    }

    .track-scheme-header-content p {
        font-size: 11px;
    }

    .track-scheme-body {
        padding: 20px;
    }

    .track-input-row {
        flex-direction: column;
        gap: 12px;
    }

    .track-input-wrapper {
        width: 100%;
    }

    .track-btn {
        width: 100%;
    }
}



























/* ==========================================
   SCHEME DASHBOARD
========================================== */

.scheme-dashboard {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 15px;
}


/* ==========================================
   HEADER
========================================== */

.scheme-dashboard-title {
    height: 55px;
    display: flex;
    align-items: center;
    padding: 11px 12px;
    border-bottom: 1px solid #c8e1e7;
    border-radius: 6px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #1557a1, #5c94d3);
}

    .scheme-dashboard-title i {
        color: #ffffff;
        font-size: 25px;
        margin-right: 8px;
    }

    .scheme-dashboard-title span {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }


/* ==========================================
   CARD / GRID
========================================== */

.scheme-dashboard-card {
    display: grid;
    grid-template-columns: 0.65fr 1fr 1fr 1fr;
    column-gap: 30px;
    row-gap: 0;
    padding: 0 5px;
}


/* ==========================================
   ITEM
========================================== */

.scheme-item {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 65px;
    padding: 14px 5px;
}


/* ==========================================
   ICON
========================================== */

.scheme-icon {
    width: 45px;
    height: 45px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4c3c87e8;
    color: #ffffff;
    border-radius: 6px;
    margin-right: 10px;
    font-size: 20px;
}


/* ==========================================
   CONTENT
========================================== */

.scheme-item-content {
    min-width: 0;
}

    .scheme-item-content span {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #000000;
        margin-bottom: 0px;
        text-transform: uppercase;
        font-family: 'Poppins';
    }

    .scheme-item-content strong {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #000000;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-family: 'Poppins';
    }


/* ==========================================
   STATUS
========================================== */

.scheme-live {
    color: #16834c !important;
}

    .scheme-live i {
        margin-right: 4px;
    }

.scheme-disconnected {
    color: #d46a22 !important;
}

    .scheme-disconnected i {
        margin-right: 4px;
    }

.scheme-not-integrated {
    color: #8b1e1e !important;
}

    .scheme-not-integrated i {
        margin-right: 4px;
    }


/* ==========================================
   VIEW BUTTON
========================================== */

.scheme-view-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 67px;
    border-bottom: 1px solid #d8e0e7;
}

.scheme-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0058d8 !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all .2s ease;
    background: none;
    padding: 0;
    font-family: 'Poppins';
}


@media (max-width: 1100px) {

    .scheme-dashboard-card {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 20px;
    }
}


@media (max-width: 768px) {

    .scheme-dashboard-card {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 15px;
    }

    .scheme-item-content strong {
        font-size: 12px;
    }
}


@media (max-width: 500px) {

    .scheme-dashboard {
        padding: 8px;
    }

    .scheme-dashboard-card {
        grid-template-columns: 1fr;
    }

    .scheme-item {
        min-height: 55px;
    }

    .scheme-view-item {
        justify-content: flex-start;
        padding: 10px 5px;
    }
}





.status-action {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .status-action strong {
        white-space: nowrap;
    }

.scheme-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #0058d8 !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all .2s ease;
    background: none;
    padding: 0;
    font-family: 'Poppins';
}




.scheme-operation {
    color: #16834c !important;
}

    .scheme-operation i {
        margin-right: 4px;
    }

.scheme-trial {
    color: #d47a16 !important;
}

    .scheme-trial i {
        margin-right: 4px;
    }

.scheme-construction {
    color: #0873a5 !important;
}

    .scheme-construction i {
        margin-right: 4px;
    }


/* =========================================
                   SCHEME PHYSICAL PROGRESS DASHBOARD
                ========================================= */
.scheme-progress-dashboard {
    margin-top: 15px;
    background: #fff;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
}

.scheme-progress-header {
    background: linear-gradient(135deg, #0d6efd, #087f8c);
    color: #fff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scheme-progress-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.scheme-progress-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.scheme-progress-header p {
    margin: 2px 0 0;
    font-size: 11px;
    opacity: .88;
}

/* SECTION */

.sp-section {
    border-bottom: 1px solid #e7edf2;
}

    .sp-section:last-child {
        border-bottom: none;
    }

.sp-section-title {
    background: #f1f8fc;
    border-bottom: 1px solid #dcecf5;
    padding: 8px 14px;
    color: #126782;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .35px;
}

    .sp-section-title i {
        margin-right: 6px;
        font-size: 12px;
    }

/* GRID */

.sp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.sp-item {
    min-height: 72px;
    padding: 10px 12px;
    border-right: 1px solid #edf1f4;
    border-bottom: 1px solid #edf1f4;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .sp-item:nth-child(4n) {
        border-right: none;
    }

.sp-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #eaf5fb;
    color: #087f8c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.sp-content {
    min-width: 0;
}

.sp-label {
    display: block;
    font-size: 14px;
    color: #1e1e1e;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 3px;
}

.sp-value {
    display: block;
    font-size: 17px;
    color: black;
    font-weight: 700;
    line-height: 1.2;
}

    .sp-value small {
        font-size: 9px;
        color: #788692;
        font-weight: 500;
    }

/* PROGRESS */

.sp-progress {
    margin-top: 5px;
    height: 5px;
    width: 100%;
    max-width: 110px;
    background: #e9eef2;
    border-radius: 10px;
    overflow: hidden;
}

.sp-progress-bar {
    height: 100%;
    background: #0d8b8b;
    border-radius: 10px;
}

/* SPLIT VALUE */

.sp-split {
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
}

    .sp-split span:first-child {
        color: #087f8c;
    }

    .sp-split span:last-child {
        color: #6c757d;
    }

.sp-divider {
    color: #b8c2ca;
}

/* MEDIA */

.sp-media {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
}

    .sp-media i {
        font-size: 12px;
    }

/* STATUS */

.sp-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
}

    .sp-status.success {
        color: #087f5b;
        background: #e7f8f1;
    }

    .sp-status.warning {
        color: #a15c00;
        background: #fff4df;
    }

    .sp-status.info {
        color: #0969a8;
        background: #e8f4fc;
    }

/* EMPTY */

.sp-empty {
    padding: 28px;
    text-align: center;
    color: #dc3545;
    font-weight: 600;
    font-size: 13px;
}

/* RESPONSIVE */

@media (max-width: 992px) {

    .sp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-item:nth-child(4n) {
        border-right: 1px solid #edf1f4;
    }

    .sp-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 576px) {

    .sp-grid {
        grid-template-columns: 1fr;
    }

    .sp-item,
    .sp-item:nth-child(2n),
    .sp-item:nth-child(4n) {
        border-right: none;
    }
}


.assigned-village-card {
    background: #fff;
    border: 1px solid #dce7ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
    margin-top: 24px;
}

/* Header */

.assigned-village-header {
    background: linear-gradient( 90deg, #086b96 0%, #087b79 100% );
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.assigned-village-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.assigned-village-icon {
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.assigned-village-title h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.assigned-village-title p {
    margin: 2px 0 0;
    font-size: 11px;
    opacity: .88;
    color: yellow;
}

.village-count {
    background: rgb(255 255 255);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 20px;
    padding: 5px 11px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #ff8a00;
    font-weight: 600;
    font-family: 'Poppins';
}


.assigned-village-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.assigned-village-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

    /* Table Header */

    .assigned-village-table thead th {
        background: #f1f8fc !important;
        color: #126782;
        border-top: 0 !important;
        border-bottom: 1px solid #d8e7ef !important;
        border-left: 0 !important;
        border-right: 1px solid #e4edf2 !important;
        padding: 10px 8px !important;
        text-align: center;
        vertical-align: middle;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .25px;
        white-space: nowrap;
    }

        .assigned-village-table thead th:last-child {
            border-right: 0 !important;
        }

    /* First column */

    .assigned-village-table th:first-child,
    .assigned-village-table td:first-child {
        width: 55px;
    }

    /* Body */

    .assigned-village-table tbody td {
        padding: 9px 8px !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 1px solid #edf1f4 !important;
        border-bottom: 1px solid #edf1f4 !important;
        color: #34495e;
        vertical-align: middle;
        text-align: center;
        white-space: nowrap;
    }

    .assigned-village-table tbody tr:last-child td {
        border-bottom: 0 !important;
    }

    .assigned-village-table tbody td:last-child {
        border-right: 0 !important;
    }

    /* Hover */

    .assigned-village-table tbody tr {
        transition: all .15s ease;
    }

        .assigned-village-table tbody tr:hover {
            background: #f7fbfd !important;
        }

/* Village Name */

.village-name {
    color: #126782 !important;
    font-weight: 700;
}

/* Village ID */

.village-id {
    font-size: 19px;
    font-weight: 600;
    color: #ff8a00;
    background: #f4f7f900;
    padding: 3px 7px;
    border-radius: 4px;
}

/* Numbers */

.number-value {
    font-weight: 700;
    color: #263746;
}

/* FHTC */

.fhtc-value {
    font-weight: 700;
    color: #087f8c;
}

.fhtc-percent {
    font-weight: 700;
    color: #126782;
}

/* Status Badge */

.village-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 105px;
    padding: 5px 9px;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.status-harjal {
    color: #ffffff;
    background: #ff8a00;
    border: 0px solid #c6eee0;
    border-radius: 4px;
}

.status-progress {
    color: #a15c00;
    background: #fff4df;
    border: 1px solid #f6dfb5;
}

.status-certified {
    color: #087f5b;
    background: #fff;
    border: 1px solid #c6eee0;
}

.status-not-certified {
    color: #b42318;
    background: #fdecec;
    border: 1px solid #f5cccc;
}

/* Record Not Found */

.record-not-found {
    padding: 25px !important;
    text-align: center !important;
    color: #dc3545 !important;
    font-weight: 600;
    background: #fff8f8;
}

/* Responsive */

@media (max-width: 768px) {

    .assigned-village-header {
        align-items: flex-start;
    }

    .village-count {
        font-size: 10px;
    }

    .assigned-village-table {
        min-width: 1050px;
    }
}


/* =========================================================
       SCHEME PHYSICAL PROGRESS DASHBOARD
    ========================================================= */
.progress-dashboard {
    width: 100%;
    background: #fff;
    border: 1px solid #d7dfe7;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}


/* =========================================================
       MAIN HEADER
    ========================================================= */

.progress-dashboard-header {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: #edf7fa;
    border-bottom: 1px solid #c8e1e7;
    border-radius: 6px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1557a1, #5c94d3);
}

    .progress-dashboard-header i {
        margin-right: 7px;
    }

.progress-date {
    font-size: 11px;
    font-weight: 400;
    color: #526779;
}

    .progress-date strong {
        color: #07527b;
    }


/* =========================================================
       SECTION
    ========================================================= */

.progress-section {
    margin-bottom: 12px;
    border: 1px solid #e1e7ed;
    border-radius: 7px;
    overflow: hidden;
}


/* SECTION TITLE */

.progress-section-title {
    min-height: 31px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #f5f8fa;
    border-bottom: 1px solid #e1e7ed;
    color: #07527b;
    font-size: 12px;
    font-weight: 600;
}

    .progress-section-title i {
        width: 20px;
        color: #008c9e;
        margin-right: 5px;
    }


/* =========================================================
       GRID
    ========================================================= */

.progress-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 18px;
    padding: 0 7px;
}


/* =========================================================
       ITEM
    ========================================================= */

.progress-item {
    min-width: 0;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 6px 5px;
    border-bottom: 1px solid #e1e6eb;
}


/* =========================================================
       ICON
    ========================================================= */

.progress-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background: #e8f2ff;
    color: #0873c4;
    border-radius: 6px;
    font-size: 12px;
}


/* =========================================================
       TEXT
    ========================================================= */

.progress-item > div:last-child {
    min-width: 0;
}

.progress-item span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #303030;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.progress-item strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .progress-item strong small {
        font-size: 9px;
        color: #16834c;
        margin-left: 3px;
    }


/* =========================================================
       NO DATA
    ========================================================= */

.no-progress-record {
    padding: 18px;
    text-align: center;
    background: #fff5f5;
    border: 1px solid #f0caca;
    border-radius: 7px;
    color: #a11b1b;
    font-size: 13px;
}

    .no-progress-record i {
        margin-right: 6px;
    }


/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 1100px) {

    .progress-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .progress-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 8px 10px;
        gap: 4px;
    }

    .progress-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
    }
}

@media (max-width: 500px) {

    .progress-grid {
        grid-template-columns: 1fr;
    }

    .progress-item {
        min-height: 48px;
    }
}


/* ================================
       INFRASTRUCTURE STATUS
    ================================= */
.infra-dashboard {
    margin-top: 15px;
    background: #fff;
    border: 1px solid #dbe7f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.infra-dashboard-header {
    background: linear-gradient(135deg, #0d6efd, #087f8c);
    color: #fff;
    padding: 13px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .infra-dashboard-header i {
        width: 34px;
        height: 34px;
        border-radius: 7px;
        background: rgba(255,255,255,.18);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

    .infra-dashboard-header h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
    }

    .infra-dashboard-header p {
        margin: 2px 0 0;
        font-size: 11px;
        opacity: .85;
    }

/* Section */

.infra-section {
    border-bottom: 1px solid #e8eef3;
}

    .infra-section:last-child {
        border-bottom: none;
    }

.infra-section-title {
    background: #fff5e8;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    font-family: 'Poppins';
    text-transform: uppercase;
}

    .infra-section-title i {
        margin-right: 8px;
        font-size: 22px;
        background: #ff8a00;
        padding: 9px 14px;
        border-radius: 6px;
        color: #fff;
    }
    

.infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.infra-item {
    min-height: 70px;
    padding: 10px 12px;
    border-right: 1px solid #edf1f4;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .infra-item:nth-child(4n) {
        border-right: none;
    }

.infra-icon {
    min-width: 34px;
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #eaf5fb;
    color: #087f8c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.infra-content {
    min-width: 0;
}

.infra-label {
    display: block;
    font-size: 14px;
    color: #434343;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.infra-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .infra-value small {
        font-size: 10px;
        font-weight: 500;
        color: #6c757d;
    }

/* Status */

.infra-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

    .infra-status.success {
        color: #087f5b;
        background: #e7f8f1;
    }

    .infra-status.warning {
        color: #a15c00;
        background: #fff4df;
    }

    .infra-status.info {
        color: #0969a8;
        background: #e8f4fc;
    }

    .infra-status.danger {
        color: #b42318;
        background: #fdecec;
    }

.infra-record-empty {
    padding: 25px;
    text-align: center;
    color: #dc3545;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 992px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-item:nth-child(4n) {
        border-right: 1px solid #edf1f4;
    }

    .infra-item:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 576px) {
    .infra-grid {
        grid-template-columns: 1fr;
    }

    .infra-item,
    .infra-item:nth-child(2n),
    .infra-item:nth-child(4n) {
        border-right: none;
    }
}
