/* ============================================================
   UP Sakshi Sanrakshan Portal (UP-WPMS)
   Home (Police) Department, Government of Uttar Pradesh
   Theme stylesheet  |  GIGW 3.0 aligned  |  Bootstrap 5 overrides
   ============================================================ */

:root {
    --wp-navy: #030155;
    --wp-navy-700: #12345E;
    --wp-blue: #1B4B8F;
    --wp-blue-soft: #E8EEF7;
    --wp-saffron: #E07B26;
    --wp-gold: #C8892A;
    --wp-green: #0F6B45;
    --wp-red: #fe0000;
    --wp-bg: #F5F7FA;
    --wp-line: #b3b3b3;
    --wp-ink: #1C2434;
    --wp-muted: #5a6577;
    --wp-white: #FFFFFF;
    --wp-radius: 6px;
    --wp-shadow: 0 2px 10px rgba(11, 37, 69, .08);
    --wp-shadow-lg: 0 10px 30px rgba(11, 37, 69, .14);
    --font-display: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', Georgia, serif;
    --font-body: 'Noto Sans Devanagari', 'Noto Sans', 'Segoe UI', Arial, sans-serif;
    --font-code: 'IBM Plex Mono', 'Consolas', monospace;
}

/* ---------- base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--wp-bg);
    color: var(--wp-ink);
    font-size: 15px;
    line-height: 1.65;
}

a {
    color: var(--wp-blue);
    text-decoration: none;
}

    a:hover {
        color: var(--wp-navy);
        text-decoration: underline;
    }

:focus-visible {
    outline: 3px solid var(--wp-saffron);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--wp-navy);
    color: #fff;
    padding: 10px 18px;
}

    .skip-link:focus {
        left: 8px;
        top: 8px;
        color: #fff;
    }

/* font-size switcher (A- A A+) */
body.fs-small {
    font-size: 13.5px;
}

body.fs-large {
    font-size: 17px;
}

/* high contrast mode */
body.high-contrast {
    background: #000;
    color: #fff;
}

    body.high-contrast .card,
    body.high-contrast .wp-panel,
    body.high-contrast .wp-section-alt,
    body.high-contrast footer {
        background: #000 !important;
        color: #fff !important;
        border-color: #fff !important;
    }

    body.high-contrast a,
    body.high-contrast h1, body.high-contrast h2, body.high-contrast h3,
    body.high-contrast h4, body.high-contrast h5 {
        color: #FFD400 !important;
    }

/* ---------- top utility bar ---------- */
.wp-utility {
    background: #030155;
    color: #DCE5F1;
    font-size: .82rem;
    padding: 5px 0;
}

    .wp-utility a {
        color: #DCE5F1;
    }

        .wp-utility a:hover {
            color: #fff;
        }

    .wp-utility .sep {
        color: #4A6284;
        padding: 0 .5rem;
    }

.wp-fontbtn {
    background: transparent;
    border: 1px solid #4A6284;
    color: #DCE5F1;
    width: 26px;
    height: 22px;
    line-height: 1;
    border-radius: 3px;
    font-size: .75rem;
}

    .wp-fontbtn:hover {
        background: var(--wp-blue);
        color: #fff;
    }

/* Quick exit — leaves the portal immediately (witness safety) */
.wp-quick-exit {
    background: var(--wp-red);
    color: #fff !important;
    border: 0;
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: .8rem;
}

    .wp-quick-exit:hover {
        background: #8E1B15;
        color: #fff !important;
        text-decoration: none;
    }

/* ---------- masthead ---------- */
.wp-masthead {
    background: var(--wp-white);
    border-bottom: 0px solid var(--wp-saffron);
    padding: 7px 0;
    position: relative;
    z-index: 9999;
}

.wp-emblem {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: .95rem;
    line-height: 1.1;
    text-align: center;
    flex: 0 0 62px;
}

.wp-dept {
    font-size: .8rem;
    color: var(--wp-muted);
    letter-spacing: .01em;
    margin: 0;
}

.wp-title-hi {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #000;
    line-height: 1.25;
    margin: 0;
    font-weight: 700;
}

.wp-title-en {
    font-size: .82rem;
    color: var(--wp-muted);
    text-transform: uppercase;
    margin: 0;
}

.wp-actbadge {
    display: inline-block;
    font-size: .7rem;
    border: 1px solid var(--wp-line);
    border-left: 3px solid var(--wp-green);
    color: var(--wp-muted);
    padding: 2px 8px;
    border-radius: 3px;
    background: #fff;
}

/* ---------- navigation ---------- */
.wp-nav {
    background: #030155;
    box-shadow: var(--wp-shadow);
    padding: 0;
}

    .wp-nav .navbar-nav .nav-link {
        color: #E3EAF4;
        font-size: 1rem;
        font-weight: 500;
        padding: .75rem .85rem .35rem;
        border-bottom: 3px solid transparent;
    }

        .wp-nav .navbar-nav .nav-link:hover,
        .wp-nav .navbar-nav .nav-link.active {
            color: #fff;
            background: rgba(255, 255, 255, .07);
            border-bottom-color: var(--wp-red);
            text-decoration: none
        }

    .wp-nav .dropdown-menu {
        border: 0;
        border-top: 3px solid var(--wp-saffron);
        border-radius: 0 0 var(--wp-radius) var(--wp-radius);
        box-shadow: var(--wp-shadow-lg);
        font-size: .88rem;
    }

.wp-login-btn {
    background: var(--wp-red);
    color: #fff !important;
    border-radius: 3px;
    padding: .38rem 1rem !important;
    font-weight: 600;
}

    .wp-login-btn:hover {
        background: var(--wp-navy);
        border-bottom-color: transparent !important;
    }

/* ---------- hero ---------- */
.wp-hero {
    position: relative;
    background: var(--wp-navy);
}

    .wp-hero .carousel-item {
        height: 420px;
    }

.wp-slide {
    height: 100%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.wp-slide-1 {
    background-image: linear-gradient(100deg, #030155 28%, rgba(11,37,69,.62) 100%), linear-gradient(135deg, #fe0000, #fe0000);
}

.wp-slide-2 {
    background-image: linear-gradient(100deg, #030155 28%, rgba(11,37,69,.62) 100%), linear-gradient(135deg, #fe0000, #fe0000);
}

.wp-slide-3 {
    background-image: linear-gradient(100deg, #030155 28%, rgba(11,37,69,.62) 100%), linear-gradient(135deg, #fe0000, #fe0000);
}

.wp-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 11px);
    pointer-events: none;
    display: none;
}

.wp-slide-body {
    position: relative;
    z-index: 2;
    max-width: 640px;
    color: #fff;
}

.wp-eyebrow {
    font-family: var(--font-code);
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--wp-white);
    margin-bottom: .6rem;
    display: block;
}

.wp-slide-body h2 {
    font-family: var(--font-display);
    font-size: 2.15rem;
    line-height: 1.35;
    margin-bottom: .7rem;
}

.wp-slide-body p {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
}
.wp-slide-body .btn{
    font-size:1.15rem;
}
.btn-wp-primary {
    background: var(--wp-red);
    border: 1px solid var(--wp-red);
    color: #fff;
    font-weight: 600;
    padding: .70rem 1.5rem .6rem;
    border-radius: 3px;
}

    .btn-wp-primary:hover {
        background: var(--wp-navy);
        color: #fff;
        text-decoration: none
    }
.wp-slide-body .btn-wp-primary:hover {
    background: #fff;
    color: var(--wp-navy);
}

.btn-wp-ghost {
    background: transparent;
    border: 1px solid rgba(0,0,0,.55);
    color: #000;
    font-weight: 500;
    padding: .70rem 1.5rem .6rem;
    border-radius: 3px;
}
.wp-slide-body .btn-wp-ghost {
    border-color:#fff;
    color:#fff;
}
    .wp-slide-body .btn-wp-ghost:hover {
        background: #fff;
        color: var(--wp-navy);
        text-decoration:none;
    }



    .btn-outline-danger {
        padding: .70rem 1.5rem .6rem;
        font-weight: 500;
    }

.btn-wp-ghost:hover {
    background: rgba(0,0,0,.8);
    color: #fff;
}

.carousel-indicators [data-bs-target] {
    width: 26px;
    height: 3px;
    border-radius: 0;
}

.wp-hero .carousel-control-prev,
.wp-hero .carousel-control-next {
    width: 5%;
    opacity: .45;
}

.wp-hero .carousel-indicators {
    margin-bottom: 3.6rem;
}

/* ---------- confidentiality seal (signature element) ---------- */
.wp-seal {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 178px;
    height: 178px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F0D9C2;
    background: rgba(11,37,69,.35);
    backdrop-filter: blur(2px);
}

    .wp-seal .code {
        font-family: var(--font-code);
        font-size: .74rem;
        color: #fff;
        letter-spacing: .05em;
    }

    .wp-seal .hi {
        font-family: var(--font-display);
        font-size: 1.05rem;
        color: #fff;
        margin: .35rem 0 .1rem;
    }

    .wp-seal .en {
        font-size: .62rem;
        text-transform: uppercase;
        letter-spacing: .12em;
    }

/* ---------- helpline strip ---------- */
.wp-helpline {
    background: var(--wp-red);
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
}

    .wp-helpline a {
        color: #fff;
        font-weight: 600;
    }

    .wp-helpline .num {
        font-family: var(--font-code);
        background: rgba(255,255,255,.16);
        padding: 2px 9px;
        border-radius: 3px;
        margin: 0 4px;
    }

/* ---------- quick services ---------- */
.wp-quick {
    margin-top: 40px;
    margin-bottom: 0px;
    position: relative;
    z-index: 5;
}

.wp-quick-card {
    background: #fff;
    border-radius: var(--wp-radius);
    box-shadow: var(--wp-shadow);
    padding: 20px 16px;
    height: 100%;
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
    display: block;
    color: inherit;
}

    .wp-quick-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--wp-shadow-lg);
        border-color: var(--wp-saffron);
        text-decoration: none;
        color: inherit;
    }

    .wp-quick-card .ico {
        width: 48px;
        height: 48px;
        margin: 0 auto 18px;
        border-radius: 50%;
        background: var(--wp-blue-soft);
        color: #030155;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.35rem;
    }

    .wp-quick-card h3 {
        font-family: var(--font-display);
        font-size: 1.25rem;
        margin-bottom: .25rem;
        color: #030155;
    }

    .wp-quick-card p {
        font-size: 1rem;
        color: var(--wp-muted);
        margin: 0;
    }

/* ---------- section shell ---------- */
.wp-section {
    padding: 54px 0;
}

.wp-section-alt {
    background: #fff;
}

.wp-sec-head {
    margin-bottom: 30px;
}

    .wp-sec-head .kicker {
        font-family: var(--font-code);
        font-size: 1.10rem;
        text-transform: uppercase;
        color: var(--wp-red);
        display: block;
        margin-bottom: .35rem;
    }

    .wp-sec-head h2 {
        font-family: var(--font-display);
        font-size: 1.75rem;
        color: var(--wp-navy);
        margin: 0 0 .3rem;
    }

    .wp-sec-head p {
        color: var(--wp-muted);
        margin: 0;
        max-width: 780px;
        font-size: 1rem;
    }

    .wp-sec-head::after {
        content: "";
        display: block;
        width: 54px;
        height: 3px;
        background: var(--wp-red);
        margin-top: 14px;
    }

    .wp-sec-head.text-center p {
        margin-left: auto;
        margin-right: auto;
    }

    .wp-sec-head.text-center::after {
        margin-left: auto;
        margin-right: auto;
    }

/* ---------- notice ticker ---------- */
.wp-ticker {
    background: #fff;
    border: 0px solid var(--wp-line);
    border-left: 0px solid var(--wp-saffron);
    border-radius: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 4px 0 10px rgba(0,0,0,.1);
}

    .wp-ticker .label {
        background: #030155;
        color: #fff;
        font-weight: 600;
        padding: 10px 16px;
        white-space: nowrap;
        font-size: .85rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .wp-ticker .track {
        flex: 1;
        overflow: hidden;
        padding: 10px 0;
    }

        .wp-ticker .track ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 46px;
            white-space: nowrap;
            animation: wp-marquee 34s linear infinite;
        }

    .wp-ticker:hover .track ul {
        animation-play-state: paused;
    }

    .wp-ticker .track li {
        font-size: 1rem;
    }

    .wp-ticker .track .new {
        background: var(--wp-red);
        color: #fff;
        font-size: .62rem;
        padding: 1px 6px;
        border-radius: 2px;
        margin-right: 6px;
        vertical-align: middle;
    }

@keyframes wp-marquee {
    from {
        transform: translateX(4%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* ---------- about / measures ---------- */
.wp-feature {
    background: #fff;
    border: 0px solid var(--wp-line);
    border-radius: var(--wp-radius);
    padding: 22px 20px;
    height: 100%;
    border-top: 0px solid var(--wp-blue);
    transition: box-shadow .18s ease, transform .18s ease;
    box-shadow: var(--wp-shadow-md);
}

    .wp-feature:hover {
        box-shadow: var(--wp-shadow-lg);
        transform: translateY(-3px);
    }

    .wp-feature .ico {
        font-size: 1.5rem;
        color: #030155;
        margin-bottom: 10px;
    }

    .wp-feature h3 {
        font-family: var(--font-display);
        font-size: 1.25rem;
        color: var(--wp-navy);
    }

    .wp-feature p {
        font-size: 1rem;
        color: #43464b;
        margin: 0;
    }

    .wp-feature .clause {
        font-family: var(--font-code);
        font-size: .68rem;
        color: var(--wp-gold);
        display: block;
        margin-top: 10px;
        letter-spacing: .04em;
    }

/* ---------- process timeline ---------- */
.wp-steps {
    counter-reset: step;
    position: relative;
}

.wp-step {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    padding: 20px 18px 18px;
    height: 100%;
    position: relative;
}

    .wp-step .no {
        font-family: var(--font-code);
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        background: var(--wp-navy);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
    }

    .wp-step h3 {
        font-family: var(--font-display);
        font-size: 1.25rem;
        color: var(--wp-navy);
        margin-bottom: .3rem;
    }

    .wp-step p {
        font-size: 1rem;
        color: var(--wp-muted);
        margin: 0;
        min-height: 90px
    }

    .wp-step .sla {
        display: inline-block;
        margin-top: 10px;
        font-size: .85rem;
        background: #EAF5EF;
        color: var(--wp-green);
        border-radius: 3px;
        padding: 5px 10px 2px;
        font-weight: 600;
        position: absolute;
        right: 0px;
        bottom: 0
    }

/* ---------- status tracker panel ---------- */
.wp-panel {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    box-shadow: var(--wp-shadow);
    padding: 26px;
}

    .wp-panel h3 {
        font-family: var(--font-display);
        color: var(--wp-navy);
        font-size: 1.2rem;
    }

    .wp-panel .form-control, .wp-panel .form-select {
        border-radius: 3px;
        border-color: var(--wp-line);
    }

        .wp-panel .form-control:focus, .wp-panel .form-select:focus {
            border-color: var(--wp-blue);
            box-shadow: 0 0 0 .18rem rgba(27,75,143,.12);
        }

.wp-appno {
    font-family: var(--font-code);
    letter-spacing: .06em;
}

.wp-privacy-note {
    font-size: .76rem;
    color: var(--wp-muted);
    border-left: 3px solid var(--wp-gold);
    padding-left: 10px;
    margin-top: 14px;
}

/* ---------- statistics ---------- */
.wp-stats {
    background: var(--wp-navy);
    color: #fff;
    padding: 44px 0;
    position: relative;
}

    .wp-stats::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 1px, transparent 1px 14px);
    }

.wp-stat {
    text-align: center;
    position: relative;
    z-index: 2;
}

    .wp-stat .val {
        font-family: var(--font-code);
        font-size: 2rem;
        font-weight: 600;
        color: var(--wp-gold);
        line-height: 1.1;
    }

    .wp-stat .lbl-hi {
        font-family: var(--font-display);
        font-size: 1rem;
        margin-top: 6px;
    }

    .wp-stat .lbl-en {
        font-size: .875rem;
        text-transform: uppercase;
        color: #9FB3CD;
    }

/* ---------- tabs: notices & downloads ---------- */
.wp-tabs .nav-link {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--wp-muted);
    font-weight: 600;
    font-size: 1.15rem;
    padding: .75rem 1.1rem .55rem;
}

    .wp-tabs .nav-link.active {
        color: var(--wp-white);
        background: var(--wp-red);
    }

.wp-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .wp-list li {
        border-bottom: 1px dashed var(--wp-line);
        padding: 11px 0;
        display: flex;
        gap: 12px;
        align-items: flex-start;
        font-size: 1.10rem;
    }

        .wp-list li:last-child {
            border-bottom: 0;
        }

    .wp-list .date {
        font-family: var(--font-code);
        font-size: .875rem;
        color: var(--wp-muted);
        white-space: nowrap;
        padding-top: 2px;
    }

    .wp-list .pdf {
        color: var(--wp-red);
    }

/* ---------- authority finder ---------- */
.wp-authority {
    background: linear-gradient(135deg, var(--wp-navy) 0%, #14406F 100%);
    color: #fff;
    border-radius: var(--wp-radius);
    padding: 30px;
}

    .wp-authority h3 {
        font-family: var(--font-display);
        font-size: 1.3rem;
    }

    .wp-authority p {
        color: #BCCBE0;
        font-size: 1rem;
    }

    .wp-authority .form-select {
        border-radius: 3px;
        border: 0;
    }

.wp-ca-card {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .03);
    border-radius: var(--wp-radius);
    padding: 16px;
    font-size: 1rem;
}

    .wp-ca-card .role {
        color: var(--wp-saffron);
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: .09em;
        font-weight:600;
    }

/* ---------- awareness ---------- */
.wp-media-card {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    overflow: hidden;
    height: 100%;
}

.wp-media-thumb {
    height: 150px;
    background: linear-gradient(135deg, #030155, #0B2545);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.85);
    font-size: 2rem;
}

.wp-media-card .body {
    padding: 16px;
}

.wp-media-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--wp-navy);
}

.wp-media-card p {
    font-size: 1rem;
    color: var(--wp-muted);
    margin: 0;
}

/* ---------- footer ---------- */
.wp-footer {
    background: var(--wp-black);
    color: #333333;
    padding: 44px 0 0;
    font-size: 1rem;
}

    .wp-footer h4 {
        font-family: var(--font-display);
        color: #030155;
        font-size: 1.25rem;
        margin-bottom: 14px;
        padding-bottom: 0px;
        border-bottom: 0px solid rgba(0,0,0,.14);
        font-weight: 700;
    }

    .wp-footer a {
        color: #333333;
    }

        .wp-footer a:hover {
            color: var(--wp-saffron);
        }

    .wp-footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .wp-footer ul li {
            padding: 4px 0;
        }

.wp-footer-bottom {
    margin-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 14px 0;
    font-size: .875rem;
    color: #8FA3BE;
}

.wp-visitor {
    font-family: var(--font-code);
    color: #fff;
}

/* ---------- back to top ---------- */
.wp-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 900;
    width: 42px;
    height: 42px;
    border-radius: 3px;
    border: 0;
    background: var(--wp-navy);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
}

    .wp-top.show {
        display: flex;
    }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .wp-seal {
        display: none;
    }

    .wp-hero .carousel-control-prev,
    .wp-hero .carousel-control-next {
        display: none;
    }

    .wp-hero .carousel-item {
        height: 380px;
    }

    .wp-slide-body h2 {
        font-size: 1.6rem;
    }

    .wp-quick {
        margin-top: 24px;
    }

    .wp-title-hi {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .wp-hero .carousel-item {
        height: 340px;
    }

    .wp-section {
        padding: 38px 0;
    }

    .wp-sec-head h2 {
        font-size: 1.4rem;
    }

    .wp-title-hi {
        font-size: .875rem;
    }

    .wp-dept {
        font-size: .75rem;
    }

    .wp-emblem img, .wp-emblem {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .wp-login-btn {
        padding: .28rem .75rem !important;
        font-weight: 600;
        font-size: .875rem;
    }

    .wp-slide-body h2 {
        font-size: 1.5rem;
    }

    .wp-slide-body p {
        font-size: 1rem;
    }

    .wp-hero .carousel-indicators {
        margin-bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .wp-ticker .track ul {
        animation: none !important;
    }
}

@media print {
    .wp-utility, .wp-nav, .wp-hero, .wp-top, .wp-helpline {
        display: none !important;
    }
}



/* =====================================================================================
   Witness Protection Management System - visual system
   Navy of the state seal, a single saffron accent, and a document-like body.
   Everything is quiet except the protection band, which is the one element that must
   never be missed on a record: it carries the alias the restricted roles work with.
   ===================================================================================== */



/* ---------------------------------------------------------------- header */
.gov-header {
    background: var(--wp-navy);
    color: #fff;
}

.gov-emblem-strip {
    height: 4px;
    background: linear-gradient(90deg, var(--wp-saffron) 0 33.33%, #ffffff 33.33% 66.66%, var(--wp-seal-green) 66.66% 100%);
}

.gov-seal {
    width: 6/8px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1.5px solid rgba(255,255,255,.55);
    border-radius: 50%;
    font-size: 1.25rem;
    flex: 0 0 auto;
}

.gov-title-hi {
    font-family: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', serif;
    font-size: 1.05rem;
    line-height: 1.3;
}

.gov-title-en {
    font-size: .72rem;
    letter-spacing: .04em;
    opacity: .82;
    text-transform: uppercase;
}

.gov-role {
    color: #B9C7D8;
    font-size: .74rem;
}

/* ---------------------------------------------------------------- nav */
.gov-nav {
    background: var(--wp-navy);
    padding: 0;
}

    .gov-nav .nav-link {
        color: #C7D3E1;
        font-size: .85rem;
        font-weight: 500;
        padding: .7rem 1rem .5rem;
        border-bottom: 3px solid transparent;
        text-decoration: none;
    }

        .gov-nav .nav-item.active .nav-link,
        .gov-nav .nav-link:hover,
        .gov-nav .nav-link:focus-visible {
            color: #fff;
            border-bottom-color: var(--wp-red);
        }

    .gov-nav .navbar-toggler {
        border-color: rgba(255,255,255,.3);
        margin: .4rem 0;
    }

/* ---------------------------------------------------------------- alias band (signature) */
.alias-band {
    background: repeating-linear-gradient(135deg, #3A2410 0 12px, #4A2E14 12px 24px);
    color: #FFD9B0;
    font-size: .8rem;
    letter-spacing: .02em;
    padding: .45rem 1rem;
    border-bottom: 1px solid #6B4520;
}

.alias-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
    font-size: .78rem;
    background: var(--wp-navy);
    color: #fff;
    padding: .18rem .5rem;
    border-radius: 3px;
    letter-spacing: .04em;
}

/* ---------------------------------------------------------------- cards */
.gov-card {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-radius: var(--wp-radius);
    margin-bottom: 1.15rem;
}

    .gov-card > .gov-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .65rem 1rem;
        border-bottom: 1px solid var(--wp-line);
        background: var(--wp-navy-soft);
        border-radius: var(--wp-radius) var(--wp-radius) 0 0;
    }

.gov-card-head h2, .gov-card-head h5 {
    font-size: .9rem;
    font-weight: 700;
    margin: 0;
    color: var(--wp-navy);
    letter-spacing: .01em;
}

.gov-card-head .section-no {
    font-family: ui-monospace, Consolas, monospace;
    font-size: .875rem;
    color: var(--wp-gold);
    margin-right: .4rem;
}

.gov-card > .gov-card-body {
    padding: 1rem;
}
/* ---- timeline ------------------------------------------- */
.wp-timeline {
    position: relative;
    padding-left: 6px;
}

.wp-timeline-item {
    display: flex;
    gap: 16px;
    padding-bottom: 22px;
    position: relative;
}

    .wp-timeline-item:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 15px;
        top: 34px;
        bottom: 0;
        width: 2px;
        background: var(--wp-line);
    }

    .wp-timeline-item .dot {
        flex: 0 0 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--wp-navy);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: .85rem;
        z-index: 1;
    }

    .wp-timeline-item .body {
        padding-top: 3px;
    }

    .wp-timeline-item .sla {
        font-size: .78rem;
        color: var(--wp-muted);
        margin-top: 2px;
    }

.wp-timeline-compact .wp-timeline-item {
    padding-bottom: 14px;
}

    .wp-timeline-compact .wp-timeline-item .dot {
        flex-basis: 24px;
        height: 24px;
        font-size: .7rem;
    }

    .wp-timeline-compact .wp-timeline-item:not(:last-child)::before {
        left: 11px;
        top: 26px;
    }

/* ---- inline numbered steps ------------------------------ */
.wp-step-inline {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--wp-line);
}

    .wp-step-inline:last-of-type {
        border-bottom: 0;
    }

    .wp-step-inline .n {
        flex: 0 0 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--wp-blue-soft);
        color: var(--wp-navy);
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
    }

/* ---------------------------------------------------------------- tiles */
.tile {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-left: 4px solid var(--wp-navy);
    border-radius: var(--wp-radius);
    padding: .85rem 1rem;
    height: 100%;
}

    .tile .tile-value {
        font-size: 1.7rem;
        font-weight: 700;
        line-height: 1.1;
        color: var(--wp-navy);
    }

    .tile .tile-label {
        font-size: .74rem;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: var(--wp-muted);
    }

    .tile.is-pending {
        border-left-color: var(--wp-saffron);
    }

    .tile.is-approved {
        border-left-color: var(--wp-seal-green);
    }

    .tile.is-rejected {
        border-left-color: #9B1C1C;
    }

    .tile.is-today {
        border-left-color: #0E7490;
    }

/* ---------------------------------------------------------------- forms */
.form-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--wp-ink);
    margin-bottom: .25rem;
}

    .form-label .req {
        color: #B91C1C;
    }

.form-control, .form-select {
    font-size: .875rem;
    border-color: #C7CFDA;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--wp-navy);
        box-shadow: 0 0 0 .18rem rgba(15,42,74,.14);
    }

.form-text {
    font-size: .74rem;
}

.field-hi {
    font-family: 'Noto Sans Devanagari', sans-serif;
    color: var(--wp-muted);
    font-size: .875rem;
}

.table > :not(caption) > * > * {
    padding: .5rem .6rem;
    font-size: .85rem;
}

.table thead th {
    background: var(--wp-navy-soft);
    color: var(--wp-navy);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.btn-sm {
    padding: .45rem 1em .45rem !important;
}

.btn-gov {
    background: var(--wp-navy);
    border-color: var(--wp-navy);
    color: #fff;
    padding: .75rem 1.25rem .55rem;
    text-decoration: none;
    font-size: .925rem;
}

.btn-sm {
    padding: .55rem 1em .25rem;
}

h1.h5 {
    font-weight: 700;
    color: var(--wp-navy);
    font-size: 1.5rem;
}

.btn-outline-secondary {
    padding: .75rem 1.25rem .55rem;
    text-decoration: none;
    border-color: var(--wp-red);
    color: var(--wp-red);
}

    .btn-outline-secondary:hover {
        background: var(--wp-red);
        color: var(--wp-white);
        border-color: var(--wp-red);
    }

.btn-gov:hover, .btn-gov:focus-visible {
    background: var(--wp-navy-dark);
    border-color: var(--wp-navy-dark);
    color: #fff;
}

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

    .btn-gov-accent:hover, .btn-gov-accent:focus-visible {
        background: #A34E00;
        border-color: #A34E00;
        color: #fff;
    }

/* visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, .form-control:focus-visible, .form-select:focus-visible {
    outline: 2px solid var(--wp-saffron);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------- record header */
.record-strip {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-top: 3px solid var(--wp-navy);
    border-radius: var(--wp-radius);
    padding: .85rem 1rem;
    margin-bottom: 1.15rem;
}

.record-no {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--wp-navy);
}

.record-meta {
    font-size: .78rem;
    color: var(--wp-muted);
}

/* ---------------------------------------------------------------- login */
.login-wrap {
    min-height: 78vh;
    display: grid;
    place-items: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
}

/* ---------------------------------------------------------------- misc */
.protected-value {
    color: var(--wp-muted);
    font-style: italic;
}

.timeline {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .timeline li {
        border-left: 2px solid var(--wp-line);
        padding: 0 0 .9rem 1rem;
        position: relative;
    }

        .timeline li:last-child {
            padding-bottom: 0;
        }

        .timeline li::before {
            content: "";
            position: absolute;
            left: -5px;
            top: .35rem;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--wp-navy);
        }

.gov-footer {
    background: var(--wp-navy);
    color: #A9B8C9;
    font-size: .75rem;
    padding: .75rem 0;
    margin-top: 2rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}



.login {
    list-style: none;
    margin: 0px;
    padding: 0px;
    z-index: 999;
    position: relative;
    font-family: "Montserrat", sans-serif;
}

    .login .gov-card-body p {
        font-family: "Montserrat", sans-serif;
    }

.footer-dashboard {
    background: var(--wp-navy);
}

.gov-card-head h5 {
    font-size: 1.25rem;
    padding: .5rem .5rem .25rem;
}

.gov-card-head h2 {
    padding: .25rem .25rem .15rem;
    font-size: 1.15rem;
}

.gov-card > .gov-card-head {
    box-shadow: 4px 5px 10px rgba(0,0,0,.1)
}

.gov-card > .gov-card-body {
    padding: 1.5rem;
}

.form-control, .form-select {
    box-shadow: 2px 3px 10px rgba(0,0,0,.1);
    padding: .75rem 1rem;
}

.login .btn-gov {
    padding: .65rem 1rem;
}

.btn-gov:hover {
    border-color: var(--wp-navy);
    color: var(--wp-navy);
}
.btn-remove-accused,
.btn-remove-family {
    width: 24px;
    height: 24px;
    padding: 2px !important;
    border-radius: 50%;
}

.table-responsive tr th {
    font-size: .875rem;
}

.table-responsive tr {
    font-size: 1rem;
}

.tab-content .table-responsive {
    position: relative;
    margin-left: -16px;
    margin-right: -16px;
}

    .tab-content .table-responsive tr th:first-child,
    .tab-content .table-responsive tr td:first-child {
        padding-left: 20px;
    }

    .tab-content .table-responsive tr:first-child {
        box-shadow: 0px 10px 10px rgba(0,0,0,.2);
        background: var(--wp-navy);
    }

    .tab-content .table-responsive tr th {
        color: var(--wp-white);
    }

.badge {
    font-size: .75rem;
    padding-top: .35rem
}

.nav.nav-tabs .nav-link {
    color: #4A6284;
}

    .nav.nav-tabs .nav-link.active {
        color: var(--wp-navy);
    }

.btn-action {
    padding: 6px !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.inner-banner {
    min-height: 150px;
    padding: 3rem 1rem;
}

    .inner-banner h2 {
        color: #fff;
    }

.wp-banner {
    min-height: 150px;
    padding: 3rem 1rem;
    background-image: linear-gradient(100deg, #030155 28%, rgba(11, 37, 69, .62) 100%), linear-gradient(135deg, #fe0000, #fe0000);
    color: #fff;
}

.wp-section {
    background: var(--wp-white);
}

.breadcrumb-item a {
    color: var(--wp-red);
}

.breadcrumb-item.active {
    color: var(--wp-white);
}

.red-box {
    border-radius: 6px;
    padding: 12px;
    font-size: 1.15rem;
}

.wp-step-inline,
.wp-contact-card,
.wp-download-card {
    padding: 15px;
    background: rgba(0,0,0,.03);
}

.wp-step-inline {
    margin-bottom: 15px;
    display: flex;
}

    .wp-step-inline .n {
        min-width: 40px;
        height: 40px;
        background: var(--wp-navy);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 10px;
    }
/* ---- statistic tiles (officer reports) ------------------ */
.stat-tile {
    background: #fff;
    border: 1px solid var(--wp-line);
    border-top: 3px solid var(--wp-navy);
    border-radius: 8px;
    padding: 14px 16px;
    text-align: center;
    height: 100%;
}

    .stat-tile .n {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--wp-navy);
        line-height: 1.1;
    }

    .stat-tile .t {
        font-size: .78rem;
        color: var(--wp-muted);
        margin-top: 2px;
    }


.offcanvas {
    z-index: 9999;
    width: 300px;
    background:var(--wp-navy)
}

    .offcanvas .nav-link {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,.1);
        font-weight: 600;
        color:var(--wp-white)
    }

    .offcanvas .nav-link:hover {
        background: #fff;
        color: #030155;
    }

.mid-text{
    left:50%;
    margin-left:-100px;
}
label.form-label {
    font-size: 1rem !important;
}

p {
    font-size: 1.10rem !important;
}
.table-responsive tr th,
.table th,
.table td {
    font-size: 1rem !important;
}

.login-wrap p {
    font-size: .875rem !important;
}

/* ---- order rows and report bars ------------------------- */
.wp-order-row {
    border: 1px solid var(--wp-line);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

    .wp-order-row:last-child {
        margin-bottom: 0;
    }

.wp-bar-row {
    margin-bottom: 12px;
}

.wp-bar-track {
    height: 8px;
    background: var(--wp-blue-soft);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 4px;
}

.wp-bar-fill {
    height: 100%;
    background: var(--wp-navy);
    border-radius: 6px;
}
.wp-ca-card {
    background: rgba(0,0,0,.04 );
    border: 1px solid rgba(0,0,0,.08 );
    border-radius: var(--wp-radius);
    padding: 16px;
    font-size: .95rem;
}