/* ============================================================
   WEDP — Women Entrepreneurship Development Program
   A project of the Women Development Department,
   Government of Balochistan
   ------------------------------------------------------------
   Brand palette layered on top of the existing ETMS theme.
   Emerald/Gold accents complement the existing violet/cyan.
   ============================================================ */

:root {
    /* WDD / Balochistan flag-inspired accents */
    --wedp-emerald: #0E7C5A;        /* deep emerald — Balochistan green */
    --wedp-emerald-2: #16A974;
    --wedp-emerald-glow: rgba(14,124,90,0.35);

    --wedp-gold: #D4A24C;            /* warm gold for ribbons / dividers */
    --wedp-gold-2: #F2C972;
    --wedp-gold-glow: rgba(212,162,76,0.40);

    --wedp-rose: #C2185B;            /* subtle rose for women-empowerment touches */
    --wedp-rose-2: #E91E63;

    --wedp-ink: #0A1F33;             /* official ink for headers */
    --wedp-cream: #FFF9EE;           /* warm off-white background */
    --wedp-paper: #FCFAF6;

    /* Composite gradients */
    --wedp-gradient-emerald: linear-gradient(135deg, #0E7C5A 0%, #16A974 60%, #28C76F 100%);
    --wedp-gradient-gold:    linear-gradient(135deg, #D4A24C 0%, #F2C972 100%);
    --wedp-gradient-royal:   linear-gradient(135deg, #0A1F33 0%, #1F4E79 50%, #2E7CB8 100%);
    --wedp-gradient-rose:    linear-gradient(135deg, #C2185B 0%, #FF5B9D 100%);
    --wedp-gradient-banner:  linear-gradient(135deg, #0A1F33 0%, #0E7C5A 50%, #1F4E79 100%);
    --wedp-gradient-warm:    linear-gradient(135deg, #FFF9EE 0%, #FFFFFF 100%);

    --wedp-shadow-soft: 0 8px 30px -12px rgba(10,31,51,0.18);
    --wedp-shadow-rich: 0 20px 60px -20px rgba(14,124,90,0.35);
}

/* ============================================================
   Branding header bar — dual logos + identity strip
   Used in: admin navbar top, public header, login top, LCD top
   ============================================================ */
.wedp-strip {
    position: relative;
    z-index: 5;
    background: var(--wedp-gradient-banner);
    color: #fff;
    overflow: hidden;
}
.wedp-strip::before {
    content: "";
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 12% 30%, rgba(212,162,76,0.18), transparent 45%),
      radial-gradient(circle at 88% 70%, rgba(14,124,90,0.20), transparent 45%);
    pointer-events: none;
}
.wedp-strip .container-fluid,
.wedp-strip .container-xxl {
    position: relative;
    z-index: 2;
}

/* Gold ribbon at the bottom of the strip */
.wedp-strip::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--wedp-emerald) 0%, var(--wedp-gold) 35%, #fff 50%, var(--wedp-gold) 65%, var(--wedp-emerald) 100%);
    background-size: 200% 100%;
    animation: wedpRibbon 12s linear infinite;
}
@keyframes wedpRibbon {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.wedp-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}
.wedp-identity .wedp-logo {
    background: #fff;
    border-radius: 10px;
    padding: 6px;
    box-shadow: 0 6px 18px -4px rgba(0,0,0,0.35);
    flex-shrink: 0;
}
.wedp-identity .wedp-logo img { display:block; height: 56px; width:auto; }
.wedp-identity .wedp-logo.wedp-logo-lg img { height: 84px; }
.wedp-identity .wedp-text { line-height: 1.15; }
.wedp-identity .wedp-text .wedp-org {
    font-weight: 800;
    letter-spacing: 0.4px;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 2px;
}
.wedp-identity .wedp-text .wedp-dep {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}
.wedp-identity .wedp-divider {
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.45), transparent);
}
.wedp-program-title {
    text-align: center;
    flex: 1;
}
.wedp-program-title h1 {
    margin: 0;
    font-weight: 800;
    color: #fff;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}
.wedp-program-title small {
    display: block;
    color: rgba(255,255,255,0.78);
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

/* Compact strip (admin navbar) */
.wedp-strip-compact .wedp-identity { padding: 6px 0; }
.wedp-strip-compact .wedp-identity .wedp-logo img { height: 32px; }
.wedp-strip-compact .wedp-program-title h1 { font-size: 1rem; }
.wedp-strip-compact .wedp-program-title small { font-size: 0.7rem; letter-spacing: 0.8px; }

@media (max-width: 768px) {
    .wedp-program-title { display: none; }
    .wedp-identity .wedp-divider { display: none; }
    .wedp-identity { gap: 8px; }
    .wedp-identity .wedp-text .wedp-org { font-size: 0.78rem; }
    .wedp-identity .wedp-text .wedp-dep { font-size: 0.7rem; }
}

/* ============================================================
   Government plate — a thin top bar on public pages
   ============================================================ */
.wedp-gov-plate {
    background: linear-gradient(90deg, var(--wedp-ink) 0%, #112E4B 50%, var(--wedp-ink) 100%);
    color: rgba(255,255,255,0.85);
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 0;
    border-bottom: 1px solid rgba(212,162,76,0.4);
    position: relative;
}
.wedp-gov-plate::before {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--wedp-gold) 50%, transparent);
}
.wedp-gov-plate .gov-tag {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.75);
}
.wedp-gov-plate .gov-tag .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--wedp-gold);
    box-shadow: 0 0 10px var(--wedp-gold-glow);
    animation: wedpDot 2s ease-in-out infinite;
}
@keyframes wedpDot {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

/* ============================================================
   Footer (admin + public) — government attribution
   ============================================================ */
.wedp-footer {
    background:
        radial-gradient(circle at 100% 0%, rgba(14,124,90,0.18), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(212,162,76,0.10), transparent 40%),
        var(--wedp-ink);
    color: rgba(255,255,255,0.78);
    padding: 1.25rem 0 1rem;
    position: relative;
}
.wedp-footer::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--wedp-emerald), var(--wedp-gold), var(--wedp-emerald));
}
.wedp-footer .wedp-footer-row {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap;
}
.wedp-footer img.foot-logo { height: 38px; background: #fff; padding: 3px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.wedp-footer .foot-line { font-weight: 700; color: #fff; }
.wedp-footer .foot-sub  { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.wedp-footer .foot-divider { width: 1px; height: 30px; background: rgba(255,255,255,0.18); }

/* ============================================================
   New utility classes
   ============================================================ */
.gradient-emerald { background: var(--wedp-gradient-emerald) !important; color:#fff !important; }
.gradient-gold    { background: var(--wedp-gradient-gold)    !important; color:#5e4413 !important; }
.gradient-rose    { background: var(--wedp-gradient-rose)    !important; color:#fff !important; }
.gradient-royal   { background: var(--wedp-gradient-royal)   !important; color:#fff !important; }

.etms-stat-card.gradient-emerald,
.etms-stat-card.gradient-rose,
.etms-stat-card.gradient-royal,
.etms-stat-card.gradient-gold {
    color:#fff;
    background-size: 200% 200%;
    animation: etmsGradientShift 10s ease infinite;
}
.etms-stat-card.gradient-gold .stat-value,
.etms-stat-card.gradient-gold .stat-label,
.etms-stat-card.gradient-gold .stat-trend { color:#3D2C0E !important; }
.etms-stat-card.gradient-gold .stat-icon  { background: rgba(255,255,255,0.45); color:#3D2C0E; }

.gold-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--wedp-gold) 30%, var(--wedp-gold-2) 50%, var(--wedp-gold) 70%, transparent);
    border: 0; opacity: 0.8;
    margin: 1rem 0;
}

.empower-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0.35em 0.85em;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: var(--wedp-gradient-rose);
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(194,24,91,0.5);
}
.empower-badge.gold {
    background: var(--wedp-gradient-gold);
    color: #5e4413;
    box-shadow: 0 6px 18px -6px var(--wedp-gold-glow);
}
.empower-badge.emerald {
    background: var(--wedp-gradient-emerald);
    box-shadow: 0 6px 18px -6px var(--wedp-emerald-glow);
}

/* ============================================================
   Custom scrollbar (modern browsers)
   ============================================================ */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: rgba(0,0,0,0.04); }
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--wedp-emerald), var(--wedp-emerald-2));
    border-radius: 50rem;
    border: 2px solid transparent;
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--wedp-gold), var(--wedp-gold-2));
    background-clip: padding-box;
}

/* ============================================================
   LCD-only refinements (kiosk display)
   ============================================================ */
.kiosk-body { /* override existing body bg with WEDP palette */
    background:
        radial-gradient(circle at 12% 14%, rgba(212,162,76,0.16), transparent 40%),
        radial-gradient(circle at 88% 86%, rgba(14,124,90,0.18), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(46,124,184,0.12), transparent 60%),
        linear-gradient(135deg, #050E1C 0%, #0A1F33 50%, #0F2A47 100%) !important;
    /* prevent accidental text-selection blue boxes on kiosk display */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}
.kiosk-body ::selection { background: transparent; color: inherit; }
.kiosk-body ::-moz-selection { background: transparent; color: inherit; }
.kiosk-body * { -webkit-user-select: none; user-select: none; }

.kiosk-header-strip {
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 10;
    background:
        linear-gradient(135deg, rgba(10,31,51,0.65) 0%, rgba(15,42,71,0.55) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(212,162,76,0.25);
    padding: 1.1vw 2.4vw;
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    height: 6.5vw;
    box-sizing: border-box;
    overflow: hidden;
}
.kiosk-header-strip::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--wedp-gold) 50%, transparent);
    animation: wedpRibbon 10s linear infinite;
    background-size: 200% 100%;
}
.kiosk-header-strip .row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    height: 100%;
}
.kiosk-header-strip .logo-block {
    display: flex; align-items: center; gap: 1vw; min-width: 0;
}
.kiosk-header-strip .logo-block.right { justify-content: flex-end; flex-direction: row-reverse; }
.kiosk-header-strip .logo-block.right .org-text { text-align: right; }
.kiosk-header-strip .logo-frame {
    background: #fff;
    padding: 0.3vw;
    border-radius: 0.5vw;
    box-shadow: 0 0.4vw 1.4vw rgba(0,0,0,0.45);
    flex-shrink: 0;
}
.kiosk-header-strip .logo-frame img { display:block; height: 3.6vw; width: auto; }
.kiosk-header-strip .org-text { min-width: 0; overflow: hidden; }
.kiosk-header-strip .org-text .l1 {
    font-weight: 800; color: #fff; font-size: 1.05vw;
    letter-spacing: 0.4px; line-height: 1.15;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kiosk-header-strip .org-text .l2 {
    color: rgba(255,255,255,0.72); font-size: 0.78vw;
    letter-spacing: 1.2px; text-transform: uppercase;
    margin-top: 0.25vw;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kiosk-header-strip .center-block {
    text-align: center;
    padding: 0 1vw;
    overflow: hidden;
}
.kiosk-header-strip .center-block h2 {
    margin: 0; font-weight: 800; font-size: 1.5vw;
    background: linear-gradient(90deg, #fff, #F2C972, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wedpRibbon 8s linear infinite;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kiosk-header-strip .center-block small {
    display: block; color: rgba(255,255,255,0.7);
    font-size: 0.78vw; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 0.3vw;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kiosk-header-strip .live-data-pill {
    display: inline-flex; align-items: center; gap: 0.45vw;
    margin-top: 0.4vw;
    padding: 0.25vw 0.85vw;
    background: rgba(40,199,111,0.18);
    border: 1px solid rgba(40,199,111,0.45);
    border-radius: 50rem;
    font-size: 0.7vw;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.kiosk-header-strip .live-data-pill .sep { opacity: 0.4; }
.kiosk-header-strip .live-data-pill.refreshing {
    background: rgba(212,162,76,0.22);
    border-color: rgba(212,162,76,0.5);
}
.kiosk-header-strip .live-data-pill .live-dot-anim {
    width: 0.5vw; height: 0.5vw;
    min-width: 6px; min-height: 6px;
    border-radius: 50%;
    background: #28C76F;
    box-shadow: 0 0 0 0 rgba(40,199,111,0.6);
    animation: livePulse 1.4s ease-in-out infinite;
}
.kiosk-header-strip .live-data-pill.refreshing .live-dot-anim {
    background: #D4A24C;
    box-shadow: 0 0 0 0 rgba(212,162,76,0.7);
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(40,199,111,0.7); }
    70%  { box-shadow: 0 0 0 0.5vw rgba(40,199,111,0); }
    100% { box-shadow: 0 0 0 0 rgba(40,199,111,0); }
}

/* push slides down so the strip never overlaps */
.kiosk-stage .kiosk-slide { padding-top: 7.5vw; padding-bottom: 4vw; }
.kiosk-stage .kiosk-slide.banner-slide { padding-top: 7.5vw; padding-bottom: 4vw; }

/* ============================================================
   LCD carousel controls (Prev / Next / Pause)
   Appear smoothly on hover, fade out when idle
   ============================================================ */
.kiosk-nav {
    position: absolute;
    z-index: 50;
    width: 3.4vw;
    height: 3.4vw;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%) scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 0;
}
.kiosk-nav svg { width: 1.4vw; height: 1.4vw; min-width: 22px; min-height: 22px; display: block; }
.kiosk-nav:hover {
    background: rgba(212,162,76,0.85);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 12px 32px rgba(212,162,76,0.55);
}
.kiosk-nav.prev { left: 1.2vw; top: 50%; }
.kiosk-nav.next { right: 1.2vw; top: 50%; }
.kiosk-nav.pause {
    right: 1.2vw;
    bottom: 4.5vw;
    top: auto;
    transform: scale(0.85);
    width: 2.8vw;
    height: 2.8vw;
    min-width: 42px;
    min-height: 42px;
}
.kiosk-nav.pause:not(.is-paused) { background: rgba(255,159,67,0.85); border-color: rgba(255,159,67,0.4); }
.kiosk-nav.pause.is-paused { background: rgba(40,199,111,0.85); border-color: rgba(40,199,111,0.4); }

/* Reveal nav on hover anywhere over the stage */
.kiosk-stage:hover .kiosk-nav.prev,
.kiosk-stage:hover .kiosk-nav.next {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.kiosk-stage:hover .kiosk-nav.pause {
    opacity: 1;
    transform: scale(1);
}

/* Always show pause button if paused, even without hover */
.kiosk-nav.pause.is-paused {
    opacity: 1;
    transform: scale(1);
}

/* Subtle "paused" overlay indicator on the stage when paused */
.kiosk-stage.is-paused::before {
    content: "PAUSED · Hover to control";
    position: absolute;
    top: 7.8vw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 45;
    background: rgba(40,199,111,0.85);
    color: #fff;
    font-weight: 700;
    font-size: 0.85vw;
    letter-spacing: 1.5px;
    padding: 0.5vw 1.2vw;
    border-radius: 50rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(40,199,111,0.45);
}

/* footer ticker on the LCD */
.kiosk-ticker {
    position: absolute; left: 0; right: 0; bottom: 12px;
    z-index: 12;
    display: flex; align-items: center; gap: 1vw;
    padding: 0.5vw 2vw 1vw;
    color: rgba(255,255,255,0.85);
    font-size: 0.95vw;
    pointer-events: none;
}
.kiosk-ticker .live-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0.3vw 0.8vw;
    background: linear-gradient(135deg, #C2185B, #FF5B9D);
    border-radius: 50rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 16px rgba(194,24,91,0.45);
}
.kiosk-ticker .live-pill .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px #fff;
    animation: wedpDot 1.4s ease-in-out infinite;
}
.kiosk-ticker .ticker-strip {
    flex: 1; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.kiosk-ticker .ticker-strip span {
    display: inline-block;
    padding-left: 100%;
    animation: wedpScroll 80s linear infinite;
}
@keyframes wedpScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.kiosk-ticker .ticker-strip span > b { color: var(--wedp-gold-2); margin: 0 0.4vw; }

/* Add light ornamentation tile for the banner slide */
.banner-slide .ornament {
    position: absolute; opacity: 0.08; pointer-events: none;
}
.banner-slide .ornament.tl { top: 8vw; left: 4vw; transform: rotate(-15deg); }
.banner-slide .ornament.br { bottom: 8vw; right: 4vw; transform: rotate(15deg); }
.banner-slide .ornament svg { width: 14vw; height: 14vw; color: #fff; }

/* glassy headline for sect-title (kiosk slides) */
.kiosk-slide .sect-title::before {
    content: "";
    display: inline-block;
    width: 0.4vw; height: 2vw;
    background: linear-gradient(180deg, var(--wedp-gold), var(--wedp-emerald));
    border-radius: 50rem;
    margin-right: 0.7vw;
}

/* ============================================================
   Public registration / login refinements
   ============================================================ */
body.public-layout {
    background:
        radial-gradient(circle at 10% 0%, rgba(14,124,90,0.10), transparent 40%),
        radial-gradient(circle at 90% 100%, rgba(212,162,76,0.10), transparent 40%),
        var(--wedp-paper) !important;
}

.public-hero {
    background: var(--wedp-gradient-banner) !important;
}
.public-hero::before { background: rgba(212,162,76,0.18) !important; }
.public-hero::after  { background: rgba(14,124,90,0.18) !important; }

.public-footer {
    background: var(--wedp-ink) !important;
}

.field-group-title {
    color: var(--wedp-emerald) !important;
    border-bottom-color: rgba(14,124,90,0.18) !important;
}
.field-group-title svg { color: var(--wedp-emerald) !important; }

/* Login page upgrade — wider hero card with branding strip */
.login-shell {
    background:
      radial-gradient(circle at 12% 18%, rgba(14,124,90,0.22), transparent 50%),
      radial-gradient(circle at 88% 82%, rgba(212,162,76,0.18), transparent 50%),
      linear-gradient(135deg, #050E1C 0%, #0A1F33 100%);
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 2rem 1rem;
    font-family: 'Montserrat', sans-serif;
}
.login-card-wedp {
    width: 100%; max-width: 880px;
    display: grid; grid-template-columns: 5fr 4fr;
    border-radius: 1.25rem; overflow: hidden;
    background: #fff;
    box-shadow: 0 40px 100px -30px rgba(0,0,0,0.55);
}
.login-card-wedp .login-hero {
    background: var(--wedp-gradient-banner);
    color: #fff; padding: 2.5rem 2rem;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
}
.login-card-wedp .login-hero::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 15% 20%, rgba(212,162,76,0.2), transparent 45%),
      radial-gradient(circle at 85% 80%, rgba(14,124,90,0.25), transparent 45%);
    pointer-events: none;
}
.login-card-wedp .login-hero > * { position: relative; z-index: 2; }
.login-card-wedp .login-hero .logo-row {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.95);
    padding: 8px 12px;
    border-radius: 12px;
    align-self: flex-start;
    box-shadow: 0 8px 22px -6px rgba(0,0,0,0.35);
}
.login-card-wedp .login-hero .logo-row img { height: 40px; }
.login-card-wedp .login-hero .logo-row span {
    font-weight: 800; color: var(--wedp-ink); font-size: 0.78rem;
    letter-spacing: 0.4px; line-height: 1.15;
}
.login-card-wedp .login-hero .logo-row span small { display:block; color:#0E7C5A; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.8px; }
.login-card-wedp .login-hero h2 {
    color: #fff; font-weight: 800; margin: 1.6rem 0 0.5rem; font-size: 1.7rem;
    background: linear-gradient(90deg, #fff, #F2C972);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.login-card-wedp .login-hero p {
    color: rgba(255,255,255,0.85); font-size: 0.92rem; max-width: 340px;
}
.login-card-wedp .login-hero .feat-list { margin-top: 1rem; padding: 0; list-style: none; }
.login-card-wedp .login-hero .feat-list li {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.92); font-size: 0.85rem;
    margin-bottom: 0.45rem;
}
.login-card-wedp .login-hero .feat-list li::before {
    content: ""; width: 18px; height: 18px; border-radius: 50%;
    background: var(--wedp-gradient-gold);
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(212,162,76,0.5);
}
.login-card-wedp .login-form { padding: 2.5rem 2.25rem; }
.login-card-wedp .login-form h3 { color: var(--wedp-ink); font-weight: 800; margin-bottom: 0.35rem; }
.login-card-wedp .login-form .form-control {
    border-radius: 0.65rem; padding: 0.72rem 0.95rem;
}
.login-card-wedp .login-form .form-control:focus {
    border-color: var(--wedp-emerald);
    box-shadow: 0 0 0 0.2rem rgba(14,124,90,0.15);
}
.login-card-wedp .gov-mini {
    margin-top: 1.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(14,124,90,0.06);
    border: 1px dashed rgba(14,124,90,0.22);
    border-radius: 0.6rem;
    font-size: 0.72rem;
    color: var(--wedp-ink);
    text-align: center;
}

@media (max-width: 768px) {
    .login-card-wedp { grid-template-columns: 1fr; }
    .login-card-wedp .login-hero { padding: 1.6rem; }
}

/* ============================================================
   Dashboard polish — softer edges, gold dividers
   ============================================================ */
.section-divider { color: var(--wedp-emerald) !important; }
.section-divider::after { background: linear-gradient(90deg, var(--wedp-gold), transparent) !important; }

.chart-card .card-header h4 i { color: var(--wedp-emerald); }

.btn-etms {
    background: var(--wedp-gradient-emerald) !important;
    box-shadow: 0 6px 20px -6px var(--wedp-emerald-glow) !important;
}
.btn-etms:hover {
    box-shadow: 0 14px 28px -10px var(--wedp-emerald-glow) !important;
}

/* Sidebar brand override — proper readable text instead of gradient bar */
.main-menu .navbar-header .navbar-brand.wedp-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
}
.main-menu .navbar-header .brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    overflow: hidden;
}
.main-menu .navbar-header .brand-text-main {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: var(--wedp-emerald);
    line-height: 1;
}
.main-menu .navbar-header .brand-text-sub {
    font-size: 0.68rem;
    color: #6E6B7B;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 2px;
}
/* Vuexy hides brand-text on collapsed menu — apply to our wrap too */
.menu-collapsed .main-menu:not(:hover) .navbar-header .brand-text-wrap {
    display: none;
}

.main-menu .navigation .nav-item.active > a {
    background: var(--wedp-gradient-emerald) !important;
    box-shadow: 0 10px 20px -8px var(--wedp-emerald-glow) !important;
}
.main-menu .navigation .nav-item.active > a .menu-ic { color: #fff !important; }

/* === Coloured menu icons === */
.wedp-menu .menu-ic {
    width: 22px; height: 22px;
    margin-right: 1.1rem;
    padding: 4px;
    border-radius: 8px;
    background: rgba(0,0,0,0.04);
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}
.wedp-menu .nav-item:hover .menu-ic { transform: scale(1.08); }

.wedp-menu .menu-ic.ic-home    { color: #1F4E79; background: rgba(31,78,121,0.10); }
.wedp-menu .menu-ic.ic-violet  { color: #7367F0; background: rgba(115,103,240,0.12); }
.wedp-menu .menu-ic.ic-emerald { color: #0E7C5A; background: rgba(14,124,90,0.12);  }
.wedp-menu .menu-ic.ic-info    { color: #00B7D5; background: rgba(0,207,232,0.12);  }
.wedp-menu .menu-ic.ic-rose    { color: #C2185B; background: rgba(194,24,91,0.12);  }
.wedp-menu .menu-ic.ic-deep    { color: #1F4E79; background: rgba(31,78,121,0.12);  }
.wedp-menu .menu-ic.ic-pink    { color: #FF5B9D; background: rgba(255,91,157,0.12); }
.wedp-menu .menu-ic.ic-warning { color: #D4A24C; background: rgba(212,162,76,0.18); }
.wedp-menu .menu-ic.ic-gold    { color: #B8860B; background: rgba(212,162,76,0.18); }

/* === Section header step badge === */
.wedp-menu .navigation-header .step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--wedp-gradient-emerald);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    margin-right: 6px;
    box-shadow: 0 2px 6px rgba(14,124,90,0.4);
}
.wedp-menu .navigation-header { color: var(--wedp-emerald); font-weight: 700; }
.wedp-menu .navigation-header > span { display: inline-flex; align-items: center; }
.wedp-menu .navigation-header > span svg { color: var(--wedp-emerald); }

/* External link pill */
.wedp-menu .ext-pill {
    margin-left: auto;
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(115,103,240,0.10);
    color: #7367F0;
    display: inline-flex; align-items: center; justify-content: center;
}
.wedp-menu .ext-pill svg { width: 12px; height: 12px; }
.wedp-menu .nav-item:hover .ext-pill { background: rgba(115,103,240,0.22); }

/* Cap pill ("100") next to entrepreneurs label */
.wedp-menu .cap-pill {
    display: inline-block;
    padding: 1px 6px;
    margin-left: 6px;
    background: var(--wedp-gradient-gold);
    color: #5e4413;
    border-radius: 50rem;
    font-size: 0.62rem;
    font-weight: 800;
    vertical-align: middle;
}
.wedp-menu .nav-item.active .cap-pill {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* Sidebar gov / wdd identifier strip just below brand */
.main-menu .wedp-sidebar-gov {
    padding: 8px 16px 14px;
    margin: 0 12px 8px;
    border-bottom: 1px dashed rgba(14,124,90,0.18);
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-menu .wedp-sidebar-gov img {
    width: 28px; height: 28px;
    background: #fff;
    padding: 2px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(14,124,90,0.15);
    flex-shrink: 0;
}
.main-menu .wedp-sidebar-gov .text {
    line-height: 1.15;
    font-size: 0.72rem;
}
.main-menu .wedp-sidebar-gov .text strong { color: var(--wedp-emerald); display:block; font-size: 0.74rem; }
.main-menu .wedp-sidebar-gov .text small { color: #6E6B7B; font-size: 0.65rem; }
.menu-collapsed .main-menu:not(:hover) .wedp-sidebar-gov .text { display: none; }

/* Footer compatibility with Vuexy footer-static */
.wedp-footer-bar {
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--wedp-emerald), var(--wedp-gold), var(--wedp-emerald)) 1;
    background: #fff;
}
.wedp-footer-bar { padding: 0.85rem 1.5rem; }

/* Navbar government tag (left side) */
.wedp-navbar-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 50rem;
    background: linear-gradient(135deg, rgba(14,124,90,0.08), rgba(212,162,76,0.08));
    border: 1px solid rgba(14,124,90,0.15);
}
.wedp-navbar-tag img { width: 22px; height: 22px; background: #fff; padding: 2px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.wedp-navbar-tag .text { line-height: 1.1; font-size: 0.7rem; }
.wedp-navbar-tag .text strong { color: var(--wedp-emerald); display: block; font-size: 0.72rem; font-weight: 700; }
.wedp-navbar-tag .text small { color: #6E6B7B; font-size: 0.62rem; }
@media (max-width: 991px) {
    .wedp-navbar-tag .text { display: none; }
}

/* Modal headers — emerald tint */
.modal-title { color: var(--wedp-emerald) !important; }
.modal-header {
    background: linear-gradient(135deg, rgba(14,124,90,0.06), rgba(212,162,76,0.04)) !important;
    border-bottom: 1px dashed rgba(14,124,90,0.22) !important;
}

/* Highlight ring for sidebar logo */
.brand-logo-wedp {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #fff;
    padding: 3px;
    box-shadow: 0 4px 12px rgba(14,124,90,0.25);
}
.brand-logo-wedp img { width: 100%; height: 100%; object-fit: contain; }

/* Always-visible logout button in the navbar */
.btn-logout-wedp {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #C2185B 0%, #FF5B9D 100%);
    color: #fff !important;
    border: 0;
    padding: 0.5rem 1.1rem;
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 18px -6px rgba(194,24,91,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-logout-wedp:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -8px rgba(194,24,91,0.65);
}
.btn-logout-wedp:active { transform: translateY(0); }
.btn-logout-wedp svg { vertical-align: -3px; }

/* Navbar avatar pill */
.wedp-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--wedp-gradient-emerald);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(14,124,90,0.4);
    position: relative;
    flex-shrink: 0;
}
.wedp-avatar .avatar-content {
    color: #fff;
    font-size: 1rem;
}
.wedp-avatar .avatar-status-online {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #28C76F;
    bottom: 2px; right: 2px;
    border: 2px solid #fff;
}
