﻿:root {
    --primary:#42B2B2;
    --primary-deep:#2C8B8B;
    --primary-tint:#E7F6F6;
    --paper:#f7faff;
    --card:#FFFFFF;
    --ink:#17222A;
    --ink-soft:#5B6B72;
    --line:#E7EFEF;
    --green:#1D7A5E;
    --green-soft:#E4F1EC;
    --purple:#6C4F8C;
    --navy:#0E2038;
    --amber:#D2861B;
    --amber-deep:#A9670F;
    --danger:#B4472B;
    --shadow: 0 1px 2px rgba(23,34,42,0.05), 0 8px 24px rgba(23,34,42,0.05);
}
::-webkit-scrollbar {
    width: 7px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: #6f6f6f
}

::-webkit-scrollbar-thumb:hover {
    background: #c5c5c5
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper) !important;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.shell {
    display: grid;
    grid-template-columns: 277px 1fr;
    min-height: 100vh;
    transition: grid-template-columns 0.28s ease;
}

    .shell.sb-collapsed {
        grid-template-columns: 0px 1fr;
    }

.scrollbar {
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 85dvh;
}
/* ---------- Sidebar (dark navy) ---------- */
.sidebar {
    --sb-bg:#0E2038;
    --sb-bg-hover:#173257;
    --sb-text:#C7D3E6;
    --sb-text-soft:#7E93BB;
    --sb-border:rgba(255,255,255,0.09);
    --sb-active-bg:rgba(66,178,178,0.18);
    background: var(--sb-bg);
    color: var(--sb-text);
    padding: 28px 0 28px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: width 0.28s ease;
    width: 246px;
    z-index: 999;
}

.shell.sb-collapsed .sidebar {
    width: 15px;
}

.shell.sb-collapsed .scrollbar {
    overflow: hidden !important;
}

.shell.sb-collapsed .sidebar .brand, .shell.sb-collapsed a.btn-logout, .shell.sb-collapsed .userName {
    display: none !important;
}

a.btn-logout {
    position: absolute;
    left: 0;
    right: 0;
    width: fit-content;
    top: 118px;
    margin: 0 auto;
    background: #0e2038;
    color: #FF9800;
    display: block;
}

a.btn-logout {
    background: #0e2038;
}

.userName {
    font-size: 14px;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    top: 95px;
    left: 0;
    right: 0;
}



.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px 56px 18px;
    border-bottom: 1px solid var(--sb-border);
    margin-bottom: 18px;
    white-space: nowrap;
}

.sb-toggle {
    width: 45px;
    height: 45px;
    flex: none;
    border-radius: 7px;
    border: 1px solid var(--sb-border);
    background: #42b2b2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0 auto;
    position: absolute;
    left: 220px;
    top: 80px;
    border: 1px solid #fff;
    z-index: 999999;
    transition: left 0.28s ease;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #FFFFFF;
}

.shell.sb-collapsed .sb-toggle {
    left: 1px;
}

.sb-toggle span {
    display: block;
    width: 14px;
    height: 1.6px;
    background: #fff;
    position: relative;
}

    .sb-toggle span::before, .sb-toggle span::after {
        content: "";
        position: absolute;
        left: 0;
        width: 14px;
        height: 1.6px;
        background: #fff;
    }

    .sb-toggle span::before {
        top: -5px;
    }

    .sb-toggle span::after {
        top: 5px;
    }

.sb-toggle:hover {
    background: #0E2038;
}

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    flex: none;
}

    .brand-mark img.logo {
        width: 31px;
    }

.brand-text {
    line-height: 1.2;
    overflow: hidden;
    transition: opacity 0.2s ease;
}

    .brand-text .mn {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        font-size: 15px;
        color: #fff;
        white-space: nowrap;
    }

    .brand-text .sub {
        font-size: 10.5px;
        color: var(--sb-text-soft);
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

.shell.sb-collapsed .brand-text {
    opacity: 0;
    width: 0;
}

.shell.sb-collapsed .brand {
    justify-content: center;
    padding: 0 0 26px 0;
}

.navgroup-label {
    font-size: 11px;
    color: var(--sb-text-soft);
    padding: 14px 22px 6px 22px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.navlist {
    list-style: none;
    margin: 0;
    padding: 0 10px;
}

    .navlist li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: 6px;
        color: var(--sb-text);
        text-decoration: none;
        font-size: 13.5px;
        border-left: 3px solid transparent;
        margin-bottom: 1px;
        white-space: nowrap;
        overflow: hidden;
    }

        .navlist li a:hover {
            background: var(--sb-bg-hover);
            color: #fff;
        }

        .navlist li a.active {
            background: var(--sb-active-bg);
            border-left: 3px solid var(--primary);
            color: #fff;
            font-weight: 600;
        }

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sb-text-soft);
    flex: none;
    opacity: 0.8;
}

.navlist li a.active .dot {
    background: var(--primary);
    opacity: 1;
}

.shell.sb-collapsed .navgroup-label,
.shell.sb-collapsed .navlist li a span.lbltext {
    display: none;
}

.shell.sb-collapsed .navlist li a {
    justify-content: center;
    padding: 9px 0;
    border-left: none;
}

    .shell.sb-collapsed .navlist li a.active {
        border-left: none;
    }

/* ---------- Main ---------- */
.main {
    padding: 30px 0 50px 0px !important;
    width: 85dvw;
}

.shell.sb-collapsed .main {
    padding: 30px 0 50px 50px !important;
    width: 98dvw;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 22px;
    gap: 20px;
    flex-wrap: wrap;
}

    .topbar h1 {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        font-size: 25px;
        margin: 0 0 4px 0;
        color: var(--ink);
    }

    .topbar p {
        margin: 0;
        color: var(--ink-soft);
        font-size: 13.5px;
    }

.refresh-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-accent {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.timestamp {
    font-size: 11.5px;
    color: var(--ink-soft);
}

.filters {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    gap: 22px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
}

.field label {
    display: block;
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-bottom: 5px;
    font-weight: 500;
}

.field input {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    font-family: inherit;
    color: var(--ink);
    background: var(--paper);
}

.filters .spacer {
    flex: 1;
}

.filtered-note {
    font-size: 12px;
    color: var(--ink-soft);
    font-style: italic;
}

/* ---------- Stat cards ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent, var(--primary));
}

    .stat-card .label {
        font-size: 12.5px;
        color: var(--ink-soft);
        font-weight: 500;
        margin-bottom: 8px;
    }

    .stat-card .value {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        font-size: 34px;
        color: var(--ink);
        line-height: 1;
        margin-bottom: 8px;
    }

    .stat-card .foot {
        font-size: 12px;
        color: var(--ink-soft);
    }

.c-total {
    --accent:#3E5763;
}

.c-open {
    --accent:var(--amber);
}

    .c-open .value {
        color: var(--amber-deep);
    }

.c-closed {
    --accent:var(--green);
}

    .c-closed .value {
        color: var(--green);
    }

.c-verified {
    --accent:var(--primary);
}

    .c-verified .value {
        color: var(--primary-deep);
    }

/* ---------- Panels / charts ---------- */
.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px 22px;
    box-shadow: var(--shadow);
}

    .panel h3 {
        margin: 0 0 16px 0;
        font-size: 14.5px;
        font-weight: 600;
        color: var(--ink);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .panel h3 .tag {
            font-size: 10.5px;
            background: var(--paper);
            border: 1px solid var(--line);
            color: var(--ink-soft);
            padding: 3px 8px;
            border-radius: 20px;
            font-weight: 500;
        }

/* donut */
.donut-wrap {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.donut {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient( var(--amber) 0deg 288deg, var(--green) 288deg 355deg, var(--primary) 355deg 360deg );
    position: relative;
    flex: none;
}

    .donut::after {
        content: "";
        position: absolute;
        inset: 26px;
        border-radius: 50%;
        background: var(--card);
    }

.legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

    .legend .row {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .legend .sw {
        width: 11px;
        height: 11px;
        border-radius: 3px;
        flex: none;
    }

    .legend .n {
        font-family: 'IBM Plex Mono';
        font-size: 12px;
        color: var(--ink-soft);
        margin-left: auto;
    }

/* vertical bars */
.vbars {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    height: 190px;
    padding-top: 10px;
    border-bottom: 1px solid var(--line);
}

.vbar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

    .vbar .bar {
        width: 60%;
        border-radius: 5px 5px 0 0;
        background: var(--primary);
    }

    .vbar .val {
        font-family: 'IBM Plex Mono';
        font-size: 11px;
        color: var(--ink-soft);
        margin-bottom: 5px;
    }

    .vbar .lbl {
        margin-top: 8px;
        font-size: 11.5px;
        color: var(--ink-soft);
        text-align: center;
    }

/* horizontal bars */
.hbars {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.hbar-row {
    display: grid;
    grid-template-columns: 150px 1fr 34px;
    align-items: center;
    gap: 10px;
}

    .hbar-row .lbl {
        font-size: 12.5px;
        color: var(--ink);
        text-align: right;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.hbar-track {
    background: var(--paper);
    border-radius: 5px;
    height: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.hbar-fill {
    height: 100%;
    border-radius: 5px 0 0 5px;
}

.hbar-row .val {
    font-family: 'IBM Plex Mono';
    font-size: 11.5px;
    color: var(--ink-soft);
}

.trend-panel {
    margin-bottom: 8px;
}

.trend-bars {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    height: 160px;
    border-bottom: 1px solid var(--line);
    padding-top: 6px;
}

.tbar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

    .tbar .bar {
        width: 46%;
        border-radius: 5px 5px 0 0;
        background: linear-gradient(180deg, var(--primary), var(--primary-deep));
    }

    .tbar .lbl {
        margin-top: 8px;
        font-size: 10.5px;
        color: var(--ink-soft);
        text-align: center;
    }

.note {
    margin-top: 26px;
    padding: 16px 18px;
    border-left: 3px solid var(--primary);
    background: var(--card);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: var(--ink-soft);
    box-shadow: var(--shadow);
}

    .note b {
        color: var(--ink);
    }


@media (max-width: 900px) {
    .shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: relative;
        height: auto;
    }

    .stats {
        grid-template-columns: repeat(2,1fr);
    }

    .grid2 {
        grid-template-columns: 1fr;
    }

    .hbar-row {
        grid-template-columns: 110px 1fr 30px;
    }
}

.dashboard-loader {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    background: rgba(244, 246, 249, 0.88);
}

    .dashboard-loader.dashboard-loader-visible {
        display: flex;
    }

.dashboard-loader-box {
    min-width: 260px;
    padding: 25px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #dce6f2;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(25, 55, 90, 0.18);
}

.dashboard-loader-spinner {
    width: 46px;
    height: 46px;
    margin: 0 auto 15px;
    border: 5px solid #dce8f7;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: dashboardLoaderSpin 0.9s linear infinite;
}

.dashboard-loader-title {
    margin-bottom: 5px;
    color: #24364b;
    font-size: 15px;
    font-weight: 700;
}

.dashboard-loader-message {
    color: #6c757d;
    font-size: 12px;
}

@keyframes dashboardLoaderSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.kpi-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 700;
}
.kpi-value-1 {
    font-size: 1.2rem;
    font-weight: 700;
}

.chart-box {
    position: relative;
    height: 280px;
    width: 100%;
}
.border-thum-1 {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    clear: both;
}
.badge-open {
    background-color: #ffc107;
    color: #000;
}

.badge-close {
    background-color: #198754;
    color: #fff;
}

.badge-other {
    background-color: #0d6efd;
    color: #fff;
}

.table > tbody > tr > td {
    vertical-align: middle;
}



.topstrip {
    height: 6px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 50%, var(--primary) 50%, var(--primary) 100%);
}

.wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: url(../Images/background.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

    .wrap:before {
        background: #00000080;
        position: fixed;
        width: 100%;
        height: 100%;
        content: "";
        top: 0;
        z-index: 0;
    }

.text-center {
    text-align: center;
}


.panelLogin {
    width: 100%;
    max-width: 880px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    z-index: 999;
}

/* left brand pane */
.brandpane {
    background: radial-gradient(500px 300px at 20% 10%, rgba(66,178,178,0.35), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #123156 100%);
    color: #fff;
    padding: 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

    .brandpane h2 {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        font-size: 23px;
        margin: 0 0 8px 0;
        color: #fff;
    }

    .brandpane p {
        margin: 0;
        font-size: 13.5px;
        color: #AEC0DA;
        line-height: 1.6;
        max-width: 280px;
    }

.brand-foot {
    font-size: 11.5px;
    color: #7E93BB;
    letter-spacing: 0.02em;
}

/* right form pane */
.formpane {
    padding: 44px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .formpane .eyebrow {
        font-size: 11.5px;
        font-weight: 600;
        color: var(--primary-deep);
        letter-spacing: 0.04em;
        margin-bottom: 6px;
    }

    .formpane h1 {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        font-size: 23px;
        margin: 0 0 6px 0;
        color: var(--ink);
    }

    .formpane .sub {
        font-size: 13px;
        color: var(--ink-soft);
        margin: 0 0 26px 0;
    }

.panelLogin .field {
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
}

.panelLogin .brand-mark {
    width: 192px;
    height: 192px;
}

    .panelLogin .brand-mark img {
        width: 60%;
    }

.panelLogin .brandpane h2 {
    margin-top: 25px;
}


.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px;
}

.input-wrap {
    position: relative;
}

    .input-wrap input {
        width: 100%;
        border: 1px solid var(--line);
        background: var(--paper);
        border-radius: 8px;
        padding: 11px 13px 11px 40px;
        font-size: 14px;
        font-family: inherit;
        color: var(--ink);
    }

        .input-wrap input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-tint);
            background: #fff;
        }

    .input-wrap .ic {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        color: var(--ink-soft);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .input-wrap .ic svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
        }

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 12.5px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-soft);
}

    .remember input {
        width: 14px;
        height: 14px;
        accent-color: var(--primary);
    }

.reset-link {
    color: var(--primary-deep);
    text-decoration: none;
    font-weight: 500;
}

    .reset-link:hover {
        text-decoration: underline;
    }

.btn-login {
    width: 100%;
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}

    .btn-login:hover {
        background: var(--primary-deep);
    }

.form-foot {
    margin-top: 20px;
    font-size: 12px;
    color: var(--ink-soft);
    text-align: center;
}

.footer {
    text-align: center;
    padding: 16px 0 22px 0;
    font-size: 12px;
    color: var(--ink-soft);
}

    .footer b {
        color: var(--primary-deep);
    }

@media (max-width:720px) {
    .panel {
        grid-template-columns: 1fr;
    }

    .brandpane {
        display: none;
    }

    .formpane {
        padding: 36px 26px;
    }
}
/* =========================================================
     Home page — 3 box layout (Quick Links / Complaint / Login)
     Namespaced with "hb-" so it never collides with existing
     .topbar / .navlist / .btn-login / .card rules above.
     ========================================================= */

.hb-topbar {
    background: linear-gradient(120deg, var(--navy) 0%, var(--primary-deep) 85%);
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.hb-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

    .hb-brand .brand-mark {
        width: 48px;
        height: 48px;
    }

.hb-brand-text .name {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.hb-brand-text .tag {
    font-size: 12px;
    color: var(--primary-tint);
    margin-top: 2px;
}

.hb-session {
    font-size: 13.5px;
    color: var(--primary-tint);
}

    .hb-session a {
        color: var(--amber);
        text-decoration: none;
        font-weight: 600;
    }

.hb-frame {
    max-width: 1480px;
    margin: 0 auto;
    padding: 48px 32px 64px;
}

.hb-intro {
    margin-bottom: 30px;
}

    .hb-intro h1 {
        font-size: 24px;
        margin: 0 0 6px;
        color: var(--ink);
        font-weight: 600;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .hb-intro p {
        margin: 0;
        color: var(--ink-soft);
        font-size: 14px;
        max-width: 100ch;
    }


    .d-grid {
        display:grid;
         grid-template-columns: 25% 1fr;
    gap: 24px;
    }

.hb-boxes {
    display: grid;
    grid-template-columns: 25% 1fr 1fr;
    gap: 15px;
}

.hb-boxes-full {
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 15px;
}

@media (max-width:900px) {
    .hb-boxes {
        grid-template-columns: 1fr;
    }
}

.hb-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary);
}

    .hb-box.hb-links {
        border-top-color: var(--amber);

    }

    .hb-box h2 {
        font-size: 16px;
        margin: 0 0 18px;
        color: var(--ink);
        font-weight: 600;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

/* Box 1: logo + links */
.hb-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

    .hb-logo-row .lname {
        font-weight: 700;
        font-size: 15px;
        color: var(--ink);
        line-height: 1.1;
    }

    .hb-logo-row .lsub {
        font-size: 10.5px;
        color: var(--amber-deep);
        font-weight: 600;
        letter-spacing: .3px;
    }

.hb-navlist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    .hb-navlist li {
        border-bottom: 1px solid var(--line);
    }

    .hb-navlist a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 4px;
        color: var(--ink);
        text-decoration: none;
        font-size: 14px;
    }

        .hb-navlist a:hover {
            color: var(--primary-deep);
        }

    .hb-navlist svg {
        width: 16px;
        height: 16px;
        flex: 0 0 auto;
        stroke: var(--primary);
    }

/* Box 2 & 3: icon + copy + button */
.hb-box .hb-illus {
    display: flex;
    justify-content: center;
    margin: 6px 0 20px;
}

    .hb-box .hb-illus svg {
        width: 108px;
        height: 108px;
    }

.hb-box p.hb-desc {
    color: var(--ink-soft);
    font-size: 13.5px;
    text-align: center;
    margin: 0 0 22px;
    line-height: 1.5;
}

.hb-box .hb-spacer {
    flex: 1;
}

.hb-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, transform 0.12s ease;
}

    .hb-btn:hover {
        transform: translateY(-1px);
    }

    .hb-btn svg {
        width: 18px;
        height: 18px;
    }

a.hb-btn-complaint {
    background: var(--amber);
    color: #fff;
}

    a.hb-btn-complaint:hover {
        background: var(--amber-deep);
        color: #fff !important;
    }

a.hb-btn-signin {
    background: var(--primary);
    color: #fff !important;
}

    a.hb-btn-signin:hover {
        background: var(--primary-deep) !important;
        color: #fff !important;
    }

.hb-footer-note {
    text-align: center;
    color: var(--ink-soft);
    font-size: 13px;
    margin-top: 40px;
    font-weight:bold;
}

.hb-topbar .btn-logout {
    display: none;
}

.hb-topbar .brand {
    margin: 0 auto;
    padding: 0;
}

.hb-topbar .brand-text .mn {
    font-size: 22px;
}


.hb-topbar .brand-text .sub {
    font-size: 13.5px;
}

.hb-topbar .brand-mark {
    width: 72px;
    height: 72px;
}

.hb-topbar .brand-mark img.logo {
height: 40px;
}

/* =========================================================
   Complaint form — modern card / div layout (cf- prefix)
   Namespaced so it never collides with existing rules above.
   ========================================================= */

.cf-wrap {
    max-width: 900px;
    margin: 24px auto 60px;
    padding: 0 20px;
}

.cf-header {
    text-align: center;
    margin-bottom: 22px;
}

    .cf-header h2 {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 24px;
        font-weight: 600;
        color: var(--ink);
        margin: 0 0 10px;
    }

.cf-marquee {
    background: var(--primary-tint);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 8px 14px;
}

    .cf-marquee p {
        margin: 0;
        color: var(--danger);
        font-size: 13px;
        font-weight: 600;
    }

.cf-validation {
    text-align: center;
    margin-bottom: 14px;
    font-size: 13.5px;
    font-weight: 600;
}

.cf-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 30px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 26px;
    margin-bottom: 22px;
}

.cf-field {
    display: flex;
    flex-direction: column;
}

.cf-full {
    grid-column: 1 / -1;
}

.cf-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 7px;
}

.cf-req {
    color: var(--danger);
    font-weight: 700;
}

.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 8px;
    padding: 10px 13px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cf-select {
    height: 42px;
    cursor: pointer;
    background: var(--paper) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%235B6B72' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 14px center;
    appearance: none;
    -webkit-appearance: none;
}

.cf-textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
    background: #fff;
}

.cf-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cf-input-grow {
    flex: 1;
}

.cf-btn {
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
    color: #fff;
    background: var(--primary);
}

    .cf-btn:hover {
        background: var(--primary-deep);
        transform: translateY(-1px);
    }

.cf-btn-otp {
    padding: 10px 20px;
    font-size: 13px;
    white-space: nowrap;
}

.cf-status {
    display: inline-block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--green);
}

.cf-otp-section {
    background: var(--green-soft);
    border: 1px solid var(--green);
    border-radius: 10px;
    padding: 16px 18px;
}

.cf-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--danger) !important;
}

.cf-file {
    font-size: 13px;
    color: var(--ink-soft);
}

.cf-charcount {
    margin-top: 6px;
    font-size: 12px;
    color: var(--ink-soft);
}

.cf-charcount-num {
    color: var(--danger);
    font-weight: 700;
    background: var(--primary-tint);
    padding: 1px 8px;
    border-radius: 5px;
    margin-left: 4px;
}

.cf-captcha-block {
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: 10px;
    padding: 18px 20px;
}

.cf-captcha-hint {
    font-weight: 400;
    color: var(--ink-soft);
    font-size: 12px;
}

.cf-captcha-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.cf-captcha-input {
    max-width: 200px;
}

.cf-captcha-img {
    border-radius: 6px;
    border: 1px solid var(--line);
}

.cf-captcha-refresh {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .cf-captcha-refresh:hover {
        transform: rotate(90deg);
    }

.cf-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 6px;
}

.cf-btn-submit {
    background: var(--primary);
    padding: 12px 34px;
    font-size: 14.5px;
}

.cf-btn-reset {
    background: var(--ink-soft);
    padding: 12px 34px;
    font-size: 14.5px;
}

    .cf-btn-reset:hover {
        background: var(--danger);
    }

@media (max-width: 720px) {
    .cf-form {
        grid-template-columns: 1fr;
        padding: 22px 20px;
    }

    .cf-actions {
        flex-direction: column;
    }

    .cf-btn-submit,
    .cf-btn-reset {
        width: 100%;
    }
}



  /* ================================
   MahaIT Support - Table Theme
================================ */

.report-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border: 1px solid #e1e6eb;
    border-radius: 6px;
    overflow: hidden;
    font-size: 14px;
    color: #1d2b3a;
}

/* Table Header */
.report-table th {
    background: #42b2b2;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 10px 10px;
    border-bottom: 1px solid #d9dee3;
    border-right: 1px solid #d9dee3;
    /* white-space: nowrap; */
    vertical-align: top;
    line-height: 140%;
}

.report-table th:last-child {
    border-right: none;
}

/* Table Body */
.report-table td {
    padding: 5px 7px;
    border-bottom: 1px solid #e1e5e9;
    border-right: 1px solid #e1e5e9;
    vertical-align: middle;
}

/* Alternate Row */
.report-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Hover */
.report-table tr:hover {
    background-color: #eef8f8;
    transition: background-color 0.2s ease;
}

/* Total Row */
.report-table tr.total-row {
    background: #f1f3f5;
    font-weight: 600;
    color: #14283d;
}

.report-table tr.total-row td {
    border-top: 1px solid #d5dce2;
}

/* Number columns */
.report-table .text-center {
    text-align: center;
}

.report-table .text-right {
    text-align: right;
}
  @media (max-width:720px){
    .panel{grid-template-columns:1fr;}
    .brandpane{display:none;}
    .formpane{padding:36px 26px;}
  }

  .d-flex-between {
      display:flex; 
     justify-content:space-between;
      width:100%;
  }

.form-group {
    display: grid;
    gap: 15px;
    grid-template-columns: 150px 1fr;
}

.form-group-button {
     display: grid;
    gap: 15px;
    grid-template-columns: 1fr 100px;
}

.form-group-two {
     display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr;
}
    .form-group  .form-control {
        display:block;
        width:100%;
    }

    .require:after{
        content:"*";
        color:red;
    }

    .complain_table tr{
        display:grid;
    }
    .complain_table td:nth-of-type(2) {
        width:100%;
    }
     .complain_table td:nth-of-type(4) {
        width:100%;
    }

     .d-grid_captca {
    display: grid;
    grid-template-columns: 250px 1fr;
        align-items: center;
}
 input[type="text"],input[type="password"]  {
    
    width: 100%;
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid #ddd;
    border-radius:7px;
}

 select {
      padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid #ddd;
    border-radius:7px;
 }

 textarea {
         height: 50px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    min-height: 70px;
 }