/* e-KongoBusiness — Soft UI dashboard theme (brand MTPS / mobile design) */

:root {
    --ekb-navy: #0A2A6B;
    --ekb-navy-2: #0E3A8A;
    --ekb-blue: #1A5FE0;
    --ekb-blue-dark: #0A2A6B;
    --ekb-blue-light: #E8F0FF;
    --ekb-accent: #C9A227;
    --ekb-accent-dark: #A8841A;
    --ekb-green: #2FA84F;
    --ekb-green-dark: #1E8F40;
    --ekb-green-light: #E8F8EC;
    --ekb-white: #FFFFFF;
    --ekb-gray-50: #F7FAFF;
    --ekb-gray-100: #EEF3FB;
    --ekb-gray-200: #E3EAF5;
    --ekb-gray-300: #D0DAEA;
    --ekb-gray-500: #6B7A94;
    --ekb-gray-700: #27406A;
    --ekb-gray-900: #0F1F3D;
    --ekb-danger: #C62828;
    --ekb-warning: #C99200;
    --ekb-info: #1A5FE0;

    --ekb-grad-blue: linear-gradient(135deg, #1A5FE0 0%, #0A2A6B 100%);
    --ekb-grad-pink: linear-gradient(135deg, #C9A227 0%, #2FA84F 100%);
    --ekb-grad-orange: linear-gradient(135deg, #C9A227 0%, #E8C547 100%);
    --ekb-grad-violet: linear-gradient(135deg, #0E3A8A 0%, #1A5FE0 100%);
    --ekb-grad-teal: linear-gradient(135deg, #3BC463 0%, #1E8F40 100%);
    --ekb-grad-sky: linear-gradient(135deg, #5B8DEF 0%, #0A2A6B 100%);
    --ekb-grad-brand: linear-gradient(90deg, #0A2A6B, #2FA84F, #C9A227);

    --ekb-bg: #EEF3FB;
    --ekb-surface: #FFFFFF;
    --ekb-surface-2: #F7FAFF;
    --ekb-text: #27406A;
    --ekb-text-strong: #0F1F3D;
    --ekb-text-muted: #6B7A94;
    --ekb-border: rgba(10, 42, 107, 0.08);
    --ekb-sidebar-bg: #FFFFFF;
    --ekb-sidebar-text: #6B7A94;
    --ekb-sidebar-active: #0A2A6B;
    --ekb-topbar-h: 72px;
    --ekb-topbar-bg: rgba(238, 243, 251, 0.88);
    --ekb-topbar-bg-solid: #EEF3FB;
    --ekb-shadow: 0 14px 36px rgba(10, 42, 107, 0.08);
    --ekb-shadow-hover: 0 18px 44px rgba(10, 42, 107, 0.14);
    --ekb-shadow-fab: 0 12px 28px rgba(47, 168, 79, 0.32);
    --ekb-radius: 22px;
    --ekb-radius-sm: 14px;
    --ekb-sidebar-width: 248px;
    --ekb-sidebar-collapsed: 84px;
    --ekb-transition: 0.32s cubic-bezier(0.22, 0.9, 0.2, 1);
    --ekb-font: 'Outfit', 'Segoe UI', system-ui, sans-serif;
    --ekb-font-display: 'Fraunces', Georgia, serif;
}

[data-theme='dark'] {
    --ekb-bg: #12141C;
    --ekb-surface: #1C1F2A;
    --ekb-surface-2: #252836;
    --ekb-text: #B8C0D4;
    --ekb-text-strong: #F1F4FA;
    --ekb-text-muted: #8B93A7;
    --ekb-border: rgba(255, 255, 255, 0.06);
    --ekb-sidebar-bg: #171A24;
    --ekb-sidebar-text: #A0A8BC;
    --ekb-topbar-bg: rgba(18, 20, 28, 0.9);
    --ekb-topbar-bg-solid: #12141C;
    --ekb-blue-light: rgba(47, 128, 237, 0.2);
    --ekb-green-light: rgba(39, 174, 96, 0.2);
    --ekb-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --ekb-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--ekb-font);
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(47, 168, 79, 0.10), transparent 58%),
        radial-gradient(780px 360px at 100% 0%, rgba(26, 95, 224, 0.10), transparent 55%),
        linear-gradient(180deg, #F7FAFF 0%, var(--ekb-bg) 42%, #E8EEF8 100%);
    color: var(--ekb-text);
    min-height: 100vh;
    transition: background var(--ekb-transition), color var(--ekb-transition);
}

h1, h2, h3, h4, h5, .display-font {
    font-family: var(--ekb-font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ekb-text-strong);
}

a {
    color: var(--ekb-blue);
    text-decoration: none;
    position: relative;
    transition: color var(--ekb-transition), transform var(--ekb-transition), opacity var(--ekb-transition);
}

a:hover {
    color: var(--ekb-navy);
}

/* Content links — animated underline */
.ekb-content a:not(.btn):not(.ekb-nav-link):not(.ekb-pill):not(.ekb-bottom-nav__item):not(.dropdown-item):not(.page-link):not(.act-view):not(.act-edit):not(.act-delete):not(.act-more),
.ekb-auth-card a:not(.btn) {
    background-image: linear-gradient(90deg, var(--ekb-green), var(--ekb-navy));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left 100%;
    transition: color 0.28s ease, background-size 0.35s cubic-bezier(0.22, 0.9, 0.2, 1);
}

.ekb-content a:not(.btn):not(.ekb-nav-link):not(.ekb-pill):not(.ekb-bottom-nav__item):not(.dropdown-item):not(.page-link):not(.act-view):not(.act-edit):not(.act-delete):not(.act-more):hover,
.ekb-auth-card a:not(.btn):hover {
    background-size: 100% 2px;
    color: var(--ekb-navy);
}

/* ——— Animations ——— */
@keyframes ekb-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ekb-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ekb-slide-in {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes ekb-row-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ekb-expand-down {
    from { opacity: 0; max-height: 0; transform: translateY(-6px); }
    to { opacity: 1; max-height: 120px; transform: translateY(0); }
}

@keyframes ekb-pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(229, 57, 53, 0); }
}

@keyframes ekb-tab-underline {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.ekb-animate-in {
    animation: ekb-fade-up 0.45s ease both;
}

.ekb-animate-in-delay-1 { animation-delay: 0.06s; }
.ekb-animate-in-delay-2 { animation-delay: 0.12s; }
.ekb-animate-in-delay-3 { animation-delay: 0.18s; }
.ekb-animate-in-delay-4 { animation-delay: 0.24s; }

.ekb-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ekb-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ——— App shell (Soft UI) ——— */
.ekb-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ekb-body {
    display: flex;
    flex: 1;
    min-height: 100vh;
    padding: 0.85rem;
    gap: 0.85rem;
}

.ekb-sidebar {
    width: var(--ekb-sidebar-width);
    background: var(--ekb-sidebar-bg);
    color: var(--ekb-sidebar-text);
    position: sticky;
    top: 0.85rem;
    height: calc(100vh - 1.7rem);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    border: 1px solid var(--ekb-border);
    transition: width var(--ekb-transition);
    flex-shrink: 0;
    overflow: hidden;
}

html.ekb-sidebar-collapsed .ekb-sidebar {
    width: var(--ekb-sidebar-collapsed);
}

html.ekb-sidebar-collapsed .ekb-nav-text,
html.ekb-sidebar-collapsed .nav-label,
html.ekb-sidebar-collapsed .brand-text,
html.ekb-sidebar-collapsed .brand-sub,
html.ekb-sidebar-collapsed .ekb-sidebar-collapse .ekb-nav-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}

html.ekb-sidebar-collapsed .ekb-sidebar-brand {
    justify-content: center;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

html.ekb-sidebar-collapsed .ekb-nav-link {
    justify-content: center;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}

html.ekb-sidebar-collapsed .ekb-sidebar-collapse {
    justify-content: center;
}

html.ekb-sidebar-collapsed .ekb-sidebar-collapse i {
    transform: rotate(180deg);
}

.ekb-sidebar-brand {
    padding: 1.35rem 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ekb-sidebar-brand .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--ekb-grad-blue);
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--ekb-font-display);
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(26, 95, 224, 0.28);
    transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.2, 1), box-shadow var(--ekb-transition);
}

.ekb-sidebar-brand:hover .brand-mark {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 22px rgba(47, 168, 79, 0.28);
}

.ekb-sidebar-brand .brand-text {
    font-family: var(--ekb-font-display);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ekb-text-strong);
    line-height: 1.15;
    transition: opacity var(--ekb-transition);
}

.ekb-sidebar-brand .brand-sub {
    font-size: 0.65rem;
    color: var(--ekb-text-muted);
    font-weight: 500;
    transition: opacity var(--ekb-transition);
}

.ekb-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.35rem 0.75rem 1rem;
}

.ekb-sidebar-nav .nav-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ekb-text-muted);
    padding: 0.85rem 0.85rem 0.35rem;
    font-weight: 600;
    transition: opacity var(--ekb-transition);
}

.ekb-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.75rem;
    border-radius: 14px;
    color: var(--ekb-sidebar-text);
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    border-left: 0;
    overflow: hidden;
    isolation: isolate;
    transition:
        background var(--ekb-transition),
        color var(--ekb-transition),
        transform 0.22s cubic-bezier(0.22, 0.9, 0.2, 1),
        box-shadow var(--ekb-transition);
}

.ekb-nav-link::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--ekb-grad-brand);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.2, 1);
}

.ekb-nav-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    pointer-events: none;
    z-index: 0;
}

.ekb-nav-link > * {
    position: relative;
    z-index: 1;
}

.ekb-nav-link i {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: inline-grid;
    place-items: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: var(--ekb-surface-2);
    color: var(--ekb-text-muted);
    transition: background var(--ekb-transition), color var(--ekb-transition), transform 0.28s cubic-bezier(0.22, 0.9, 0.2, 1), box-shadow var(--ekb-transition);
}

.ekb-nav-text {
    transition: opacity var(--ekb-transition), width var(--ekb-transition), transform 0.22s ease;
}

.ekb-nav-link:hover {
    background: var(--ekb-blue-light);
    color: var(--ekb-navy);
    transform: translateX(4px);
}

.ekb-nav-link:hover::before {
    transform: scaleY(1);
}

.ekb-nav-link:hover::after {
    transform: translateX(120%);
}

.ekb-nav-link:hover i {
    background: rgba(26, 95, 224, 0.14);
    color: var(--ekb-blue);
    transform: scale(1.08) rotate(-4deg);
}

.ekb-nav-link:hover .ekb-nav-text {
    transform: translateX(2px);
}

.ekb-nav-link.active {
    background: linear-gradient(135deg, rgba(26, 95, 224, 0.12), rgba(47, 168, 79, 0.10));
    color: var(--ekb-navy);
    box-shadow: 0 8px 18px rgba(10, 42, 107, 0.08);
    font-weight: 650;
}

.ekb-nav-link.active::before {
    transform: scaleY(1);
}

.ekb-nav-link.active i {
    opacity: 1;
    color: #fff;
    background: var(--ekb-grad-blue);
    box-shadow: 0 6px 14px rgba(26, 95, 224, 0.28);
}

.ekb-sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--ekb-border);
}

.ekb-sidebar-collapse {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border: 0;
    background: var(--ekb-surface-2);
    color: var(--ekb-text);
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background var(--ekb-transition), color var(--ekb-transition);
}

.ekb-sidebar-collapse:hover {
    background: var(--ekb-blue-light);
    color: var(--ekb-blue);
}

.ekb-sidebar-collapse i {
    transition: transform var(--ekb-transition);
}

.ekb-main {
    flex: 1;
    margin-left: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.ekb-topbar {
    height: auto;
    min-height: var(--ekb-topbar-h);
    background: var(--ekb-topbar-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--ekb-text-strong);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 1rem 0.85rem;
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: none;
    border-bottom: 1px solid var(--ekb-border);
    transition: background var(--ekb-transition), padding var(--ekb-transition), box-shadow var(--ekb-transition);
}

@media (max-width: 575.98px) {
    .ekb-topbar .ekb-search {
        max-width: none;
        padding: 0.55rem 0.85rem;
    }
}

.ekb-topbar-left,
.ekb-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ekb-search {
    flex: 1;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--ekb-surface);
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    box-shadow: var(--ekb-shadow);
    border: 1px solid var(--ekb-border);
    transition: box-shadow var(--ekb-transition), transform var(--ekb-transition);
}

.ekb-search:focus-within {
    box-shadow: var(--ekb-shadow-hover);
    transform: translateY(-1px);
}

.ekb-search i {
    color: var(--ekb-text-muted);
}

.ekb-search input {
    border: 0;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.9rem;
    color: var(--ekb-text-strong);
}

.ekb-icon-round {
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--ekb-surface);
    color: var(--ekb-text);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    position: relative;
    box-shadow: var(--ekb-shadow);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow var(--ekb-transition), color var(--ekb-transition);
}

.ekb-icon-round:hover {
    transform: translateY(-2px) scale(1.04);
    color: var(--ekb-blue);
    box-shadow: var(--ekb-shadow-hover);
}

.ekb-avatar-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.ekb-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ekb-grad-blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(47, 128, 237, 0.3);
    transition: transform 0.15s ease;
}

.ekb-avatar-btn:hover .ekb-avatar {
    transform: scale(1.06);
}

.ekb-notif-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--ekb-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.ekb-content {
    padding: 0 0.35rem 1.5rem;
    flex: 1;
}

.ekb-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 32, 44, 0.35);
    z-index: 1035;
    animation: ekb-fade-in 0.2s ease;
    backdrop-filter: blur(2px);
}

body.sidebar-open .ekb-sidebar-backdrop {
    display: block;
}

.ekb-app {
    display: contents;
}

/* Soft cards */
.ekb-card {
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    padding: 1.25rem;
    transition: transform var(--ekb-transition), box-shadow var(--ekb-transition);
}

.ekb-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ekb-shadow-hover);
}

.ekb-kpi {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    position: relative;
}

.ekb-kpi::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.06;
}

.ekb-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ekb-kpi-icon.blue { background: var(--ekb-blue-light); color: var(--ekb-blue); }
.ekb-kpi-icon.green { background: var(--ekb-green-light); color: var(--ekb-green); }
.ekb-kpi-icon.warning { background: rgba(245, 158, 11, 0.15); color: var(--ekb-warning); }
.ekb-kpi-icon.danger { background: rgba(220, 53, 69, 0.12); color: var(--ekb-danger); }
.ekb-kpi-icon.info { background: rgba(14, 165, 233, 0.15); color: var(--ekb-info); }

.ekb-kpi-title {
    font-size: 0.8rem;
    color: var(--ekb-text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.ekb-kpi-value {
    font-family: var(--ekb-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--ekb-text);
}

.ekb-kpi-trend {
    font-size: 0.75rem;
    margin-top: 0.4rem;
    font-weight: 600;
}

.ekb-kpi-trend.up { color: var(--ekb-green); }
.ekb-kpi-trend.down { color: var(--ekb-danger); }

/* ——— Page header ——— */
.ekb-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
    padding: 1.15rem 1.25rem;
    background:
        linear-gradient(135deg, rgba(47, 128, 237, 0.14) 0%, rgba(86, 204, 242, 0.1) 55%, rgba(39, 174, 96, 0.08) 100%),
        var(--ekb-surface);
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    border: 1px solid rgba(47, 128, 237, 0.16);
}

[data-theme='dark'] .ekb-page-header {
    background:
        linear-gradient(135deg, rgba(47, 128, 237, 0.28) 0%, rgba(86, 204, 242, 0.12) 55%, rgba(39, 174, 96, 0.1) 100%),
        var(--ekb-surface);
    border-color: rgba(86, 204, 242, 0.18);
}

.ekb-page-header-main {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.ekb-page-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--ekb-grad-blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(47, 128, 237, 0.28);
}

.ekb-page-header h1 {
    font-size: 1.35rem;
    margin: 0 0 0.15rem;
    color: var(--ekb-text-strong);
}

.ekb-page-header .subtitle {
    color: var(--ekb-text-muted);
    margin: 0;
    font-size: 0.88rem;
}

.ekb-page-actions .btn {
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Section titles with icons */
.ekb-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ekb-text-strong);
    text-transform: none;
    letter-spacing: 0;
}

.ekb-section-title .ekb-sec-ico {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: var(--ekb-blue-light);
    color: var(--ekb-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.ekb-section-title .ekb-sec-ico.pink { background: rgba(255, 95, 109, 0.12); color: #FF5F6D; }
.ekb-section-title .ekb-sec-ico.orange { background: rgba(242, 153, 74, 0.15); color: #F2994A; }
.ekb-section-title .ekb-sec-ico.green { background: var(--ekb-green-light); color: var(--ekb-green); }
.ekb-section-title .ekb-sec-ico.violet { background: rgba(161, 140, 209, 0.18); color: #8B7BB8; }

/* Meta / definition lists */
.ekb-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
    margin: 0;
}

.ekb-meta-item {
    min-width: 0;
}

.ekb-meta-item dt {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ekb-text-muted);
    margin-bottom: 0.2rem;
}

.ekb-meta-item dt i {
    font-size: 0.85rem;
    opacity: 0.85;
}

.ekb-meta-item dd {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ekb-text-strong);
    word-break: break-word;
}

.ekb-soft .form-control,
.ekb-soft .form-select {
    border-radius: 14px;
    border-color: var(--ekb-gray-200);
    padding: 0.78rem 1rem;
    background: var(--ekb-surface-2);
    font-size: 0.9rem;
    font-weight: 500;
    min-height: 3rem;
}

.ekb-soft .form-control:focus,
.ekb-soft .form-select:focus {
    border-color: var(--ekb-blue);
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.14);
    background: #fff;
}

.ekb-soft .form-label,
.ekb-soft .ekb-field-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ekb-text-muted);
}

.ekb-soft .ekb-card {
    padding: 1.35rem 1.4rem;
}

.ekb-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ekb-grad-kpi {
    position: relative;
    overflow: hidden;
}

.ekb-grad-kpi .kpi-ico {
    position: absolute;
    right: 0.85rem;
    top: 0.85rem;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
}

.ekb-soft-btn i {
    margin-right: 0.35rem;
}

@media (max-width: 767.98px) {
    .ekb-meta-grid {
        grid-template-columns: 1fr;
    }
}

/* ——— Badges ——— */
.ekb-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.ekb-badge-active,
.ekb-badge-validated,
.ekb-badge-paid,
.ekb-badge-completed,
.ekb-badge-accepted,
.ekb-badge-success { background: var(--ekb-green-light); color: var(--ekb-green-dark); }

.ekb-badge-draft,
.ekb-badge-pending,
.ekb-badge-scheduled { background: var(--ekb-gray-200); color: var(--ekb-gray-700); }

[data-theme='dark'] .ekb-badge-draft,
[data-theme='dark'] .ekb-badge-pending,
[data-theme='dark'] .ekb-badge-scheduled { color: var(--ekb-text-muted); }

.ekb-badge-submitted,
.ekb-badge-under_review,
.ekb-badge-in_progress,
.ekb-badge-info { background: var(--ekb-blue-light); color: var(--ekb-blue); }

.ekb-badge-suspended,
.ekb-badge-overdue,
.ekb-badge-rejected,
.ekb-badge-danger { background: rgba(220, 53, 69, 0.12); color: var(--ekb-danger); }

.ekb-badge-warning,
.ekb-badge-observation { background: rgba(245, 158, 11, 0.15); color: #B45309; }

/* ——— Empty state ——— */
.ekb-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--ekb-text-muted);
}

.ekb-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--ekb-surface-2);
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    color: var(--ekb-blue);
}

/* ——— Map ——— */
.ekb-map {
    height: 360px;
    border-radius: var(--ekb-radius);
    overflow: hidden;
    border: 1px solid var(--ekb-border);
    z-index: 1;
}

.ekb-map-lg {
    height: 480px;
}

/* ——— Forms ——— */
.ekb-form-control,
.form-control,
.form-select {
    background: var(--ekb-surface-2) !important;
    border: 1px solid var(--ekb-gray-200) !important;
    color: var(--ekb-text-strong) !important;
    border-radius: 14px !important;
    padding: 0.78rem 1rem;
    font-family: var(--ekb-font);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    min-height: 3rem;
    transition: border-color var(--ekb-transition), box-shadow var(--ekb-transition), background var(--ekb-transition);
}

.form-control::placeholder,
.form-select::placeholder {
    color: var(--ekb-text-muted) !important;
    font-size: 0.84rem;
    font-weight: 400;
    opacity: 1;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ekb-blue) !important;
    background: var(--ekb-surface) !important;
    box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.14) !important;
    color: var(--ekb-text-strong) !important;
}

.form-label,
.ekb-field-label {
    display: block;
    font-family: var(--ekb-font);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    margin-bottom: 0.4rem;
    color: var(--ekb-text-muted);
}

.ekb-field {
    margin-bottom: 1.05rem;
}

.ekb-field-required {
    color: var(--ekb-accent);
    margin-left: 0.15rem;
}

.ekb-field-control {
    position: relative;
    display: block;
}

.ekb-field-control.has-icon .form-control,
.ekb-field-control.has-icon .form-select {
    padding-left: 2.75rem;
}

.ekb-field-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    display: grid;
    place-items: center;
    color: var(--ekb-text-muted);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
    transition: color var(--ekb-transition);
}

.ekb-field-control:focus-within .ekb-field-icon {
    color: var(--ekb-blue);
}

.ekb-field-control.is-invalid .ekb-field-icon {
    color: var(--ekb-danger);
}

.ekb-field-error {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ekb-danger);
}

.ekb-field-hint {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    color: var(--ekb-text-muted);
    line-height: 1.35;
}

.ekb-field-control textarea.form-control {
    min-height: 7rem;
    padding-top: 0.85rem;
    resize: vertical;
}

.ekb-field-control.has-icon textarea.form-control {
    padding-left: 2.75rem;
}

.ekb-field-control.has-icon textarea ~ .ekb-field-icon,
.ekb-field-control.has-icon:has(textarea) .ekb-field-icon {
    top: 1.05rem;
    transform: none;
}

.form-check-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ekb-text);
}

.form-text,
.small.text-muted {
    font-size: 0.78rem !important;
}

.ekb-auth-card .h5,
.ekb-auth-card h2 {
    font-family: var(--ekb-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ekb-text-strong);
    letter-spacing: -0.02em;
}

.ekb-auth-card .ekb-auth-lead {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--ekb-text-muted);
}

.ekb-demo-hint {
    background: var(--ekb-blue-light);
    border: none;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--ekb-text);
}

.ekb-demo-hint strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ekb-blue);
    margin-bottom: 0.35rem;
}

.ekb-demo-hint code {
    font-size: 0.8rem;
    color: var(--ekb-text-strong);
    background: rgba(255, 255, 255, 0.7);
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
}

[data-theme='dark'] .form-control,
[data-theme='dark'] .form-select {
    background: var(--ekb-surface-2) !important;
    border-color: var(--ekb-border) !important;
}

[data-theme='dark'] .ekb-demo-hint code {
    background: rgba(0, 0, 0, 0.25);
}

.btn-ekb-primary {
    background: var(--ekb-grad-blue);
    border: none;
    color: #fff;
    font-weight: 650;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    box-shadow: 0 8px 18px rgba(26, 95, 224, 0.28);
    transition: transform 0.22s cubic-bezier(0.22, 0.9, 0.2, 1), box-shadow 0.25s ease, filter 0.2s ease;
}

.btn-ekb-primary:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(26, 95, 224, 0.35);
}

.btn-ekb-green {
    background: linear-gradient(135deg, #43E97B 0%, #38F9D7 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    box-shadow: 0 8px 18px rgba(39, 174, 96, 0.25);
}

.btn-ekb-green:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-2px);
}

.btn-ekb-outline {
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    color: var(--ekb-text-strong);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    box-shadow: var(--ekb-shadow);
}

.btn-ekb-outline:hover {
    background: var(--ekb-blue-light);
    color: var(--ekb-blue);
    border-color: transparent;
}

/* ——— Tables ——— */
.ekb-table-wrap {
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    border-radius: var(--ekb-radius);
    overflow: hidden;
    box-shadow: var(--ekb-shadow);
}

table.dataTable,
.ekb-table {
    width: 100% !important;
    color: var(--ekb-text);
    margin: 0 !important;
}

.ekb-table thead th,
table.dataTable thead th {
    background: var(--ekb-surface-2) !important;
    color: var(--ekb-text-muted) !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--ekb-border) !important;
    font-weight: 600;
    padding: 0.85rem 1rem !important;
}

.ekb-table tbody td,
table.dataTable tbody td {
    padding: 0.85rem 1rem !important;
    border-color: var(--ekb-border) !important;
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    color: var(--ekb-text);
    border-radius: 8px;
    padding: 0.35rem 0.6rem;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: var(--ekb-text-muted) !important;
    padding: 0.75rem 1rem !important;
}

/* ——— Guest / Auth ——— */
.ekb-guest {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(0, 86, 210, 0.18), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(31, 166, 90, 0.15), transparent 45%),
        var(--ekb-bg);
}

.ekb-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    border-radius: 22px;
    box-shadow: var(--ekb-shadow);
    padding: 2rem 1.75rem;
    animation: ekb-fade-up 0.5s ease both;
}

.ekb-field-otp .form-control {
    letter-spacing: 0.28em;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    padding-left: 2.75rem !important;
}

.ekb-auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.ekb-auth-logo .mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ekb-blue), var(--ekb-green));
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--ekb-font-display);
    font-weight: 800;
    font-size: 1.1rem;
}

/* ——— Public layout ——— */
.ekb-public-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--ekb-topbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ekb-border);
    padding: 0.85rem 0;
    transition: background var(--ekb-transition), padding var(--ekb-transition);
}

[data-theme='dark'] .ekb-public-nav {
    background: var(--ekb-topbar-bg);
}

@media (max-width: 991.98px) {
    .ekb-public-nav {
        background: var(--ekb-topbar-bg-solid);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0.65rem 0;
        box-shadow: var(--ekb-shadow);
    }
}

.ekb-public-nav .navbar-brand {
    font-family: var(--ekb-font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ekb-blue) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ekb-public-nav .nav-link {
    color: var(--ekb-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.85rem !important;
    border-radius: 8px;
}

.ekb-public-nav .nav-link:hover,
.ekb-public-nav .nav-link.active {
    color: var(--ekb-blue) !important;
    background: var(--ekb-blue-light);
}

.ekb-public-footer {
    background: var(--ekb-sidebar-bg);
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.ekb-public-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.ekb-public-footer a:hover {
    color: #fff;
}

/* ——— Hero (public home) ——— */
.ekb-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(0, 40, 100, 0.88) 0%, rgba(0, 86, 210, 0.75) 45%, rgba(15, 100, 60, 0.7) 100%),
        linear-gradient(180deg, #003F9E 0%, #0056D2 50%, #0D6B3C 100%);
}

.ekb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 85% 20%, rgba(31, 166, 90, 0.2) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.ekb-hero::after {
    content: '';
    position: absolute;
    right: -5%;
    bottom: 5%;
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
    background:
        radial-gradient(ellipse at 40% 40%, rgba(31, 166, 90, 0.35), transparent 70%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.08), transparent 60%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
    animation: ekb-pulse-soft 4s ease-in-out infinite;
    pointer-events: none;
}

.ekb-hero-inner {
    position: relative;
    z-index: 2;
    padding: 6rem 0 4rem;
    max-width: 720px;
}

.ekb-hero-brand {
    font-family: var(--ekb-font-display);
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 1.25rem;
    letter-spacing: -0.03em;
    animation: ekb-fade-up 0.7s ease both;
}

.ekb-hero-slogan {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 400;
    opacity: 0.9;
    max-width: 34rem;
    line-height: 1.55;
    margin: 0 0 2rem;
    animation: ekb-fade-up 0.7s 0.12s ease both;
}

.ekb-hero-cta {
    animation: ekb-fade-up 0.7s 0.24s ease both;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ekb-hero-cta .btn {
    border-radius: 12px;
    padding: 0.85rem 1.6rem;
    font-weight: 700;
    font-size: 1rem;
}

.ekb-hero-cta .btn-light {
    color: var(--ekb-blue);
}

.ekb-hero-cta .btn-outline-light:hover {
    color: var(--ekb-blue);
}

.ekb-stats-strip {
    background: var(--ekb-surface);
    border-bottom: 1px solid var(--ekb-border);
    padding: 2.5rem 0;
}

.ekb-stat-item {
    text-align: center;
    padding: 1rem;
}

.ekb-stat-item .num {
    font-family: var(--ekb-font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--ekb-blue);
    line-height: 1;
}

.ekb-stat-item .lbl {
    font-size: 0.85rem;
    color: var(--ekb-text-muted);
    margin-top: 0.4rem;
}

.ekb-section {
    padding: 4.5rem 0;
}

.ekb-section-title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.5rem;
}

.ekb-section-lead {
    color: var(--ekb-text-muted);
    max-width: 36rem;
    margin-bottom: 2.5rem;
}

.ekb-feature {
    padding: 1.5rem 0;
}

.ekb-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ekb-blue-light);
    color: var(--ekb-blue);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.ekb-feature h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.ekb-feature p {
    color: var(--ekb-text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.ekb-sector-pill {
    display: inline-block;
    padding: 0.65rem 1.1rem;
    margin: 0.35rem;
    border-radius: 10px;
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ekb-text);
    transition: all var(--ekb-transition);
}

.ekb-sector-pill:hover {
    border-color: var(--ekb-green);
    color: var(--ekb-green);
    transform: translateY(-2px);
}

.ekb-cta-band {
    background: linear-gradient(120deg, var(--ekb-blue) 0%, #0A7A45 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

/* ——— Chat / messages ——— */
.ekb-chat-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    min-height: 520px;
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    border-radius: var(--ekb-radius);
    overflow: hidden;
    box-shadow: var(--ekb-shadow);
}

.ekb-chat-list {
    border-right: 1px solid var(--ekb-border);
    overflow-y: auto;
    max-height: 70vh;
}

.ekb-chat-item {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--ekb-border);
    color: var(--ekb-text);
    transition: background var(--ekb-transition);
}

.ekb-chat-item:hover,
.ekb-chat-item.active {
    background: var(--ekb-blue-light);
    color: var(--ekb-text);
}

.ekb-chat-thread {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
}

.ekb-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column-reverse;
    gap: 0.75rem;
    background: var(--ekb-bg);
}

.ekb-bubble {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.925rem;
    line-height: 1.45;
}

.ekb-bubble.mine {
    align-self: flex-end;
    background: var(--ekb-blue);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ekb-bubble.theirs {
    align-self: flex-start;
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    border-bottom-left-radius: 4px;
}

.ekb-chat-compose {
    padding: 1rem;
    border-top: 1px solid var(--ekb-border);
    background: var(--ekb-surface);
}

/* ——— Alerts panel ——— */
.ekb-alert-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--ekb-border);
    font-size: 0.9rem;
}

.ekb-alert-item:last-child {
    border-bottom: 0;
}

.ekb-alert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.4rem;
    flex-shrink: 0;
    background: var(--ekb-blue);
}

.ekb-alert-dot.warning { background: var(--ekb-warning); }
.ekb-alert-dot.danger { background: var(--ekb-danger); }
.ekb-alert-dot.success { background: var(--ekb-green); }

/* ——— Bootstrap overrides ——— */
.card {
    background: var(--ekb-surface);
    border-color: var(--ekb-border);
    color: var(--ekb-text);
}

.text-muted {
    color: var(--ekb-text-muted) !important;
}

.dropdown-menu {
    background: var(--ekb-surface);
    border-color: var(--ekb-border);
}

.dropdown-item {
    color: var(--ekb-text);
}

.dropdown-item:hover {
    background: var(--ekb-blue-light);
    color: var(--ekb-blue);
}

.pagination .page-link {
    background: var(--ekb-surface);
    border-color: var(--ekb-border);
    color: var(--ekb-blue);
}

.pagination .page-item.active .page-link {
    background: var(--ekb-blue);
    border-color: var(--ekb-blue);
}

/* ——— Soft dashboard ——— */
.ekb-soft-dash {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.1rem;
    align-items: start;
}

.ekb-soft-main {
    min-width: 0;
}

.ekb-soft-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
    background:
        linear-gradient(135deg, rgba(47, 128, 237, 0.14) 0%, rgba(86, 204, 242, 0.1) 55%, rgba(39, 174, 96, 0.08) 100%),
        var(--ekb-surface);
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    border: 1px solid rgba(47, 128, 237, 0.16);
}

[data-theme='dark'] .ekb-soft-hero {
    background:
        linear-gradient(135deg, rgba(47, 128, 237, 0.28) 0%, rgba(86, 204, 242, 0.12) 55%, rgba(39, 174, 96, 0.1) 100%),
        var(--ekb-surface);
    border-color: rgba(86, 204, 242, 0.18);
}

.ekb-soft-hero h1 {
    margin: 0;
    font-size: 1.55rem;
    color: var(--ekb-text-strong);
}

.ekb-soft-hero p {
    margin: 0.2rem 0 0;
    color: var(--ekb-text-muted);
    font-size: 0.9rem;
}

.ekb-grad-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.ekb-grad-kpi {
    border-radius: 24px;
    padding: 1.1rem 1.15rem;
    color: #fff;
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--ekb-shadow);
    animation: ekb-fade-up 0.55s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.ekb-grad-kpi:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--ekb-shadow-hover);
    color: #fff;
}

.ekb-grad-kpi .label {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.9;
}

.ekb-grad-kpi .value {
    font-family: var(--ekb-font-display);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}

.ekb-grad-kpi .kpi-ico {
    font-size: 1.05rem;
    opacity: 0.92;
}

.ekb-grad-kpi.g-blue { background: var(--ekb-grad-blue); animation-delay: 0.02s; }
.ekb-grad-kpi.g-pink { background: var(--ekb-grad-pink); animation-delay: 0.08s; }
.ekb-grad-kpi.g-orange { background: var(--ekb-grad-orange); animation-delay: 0.14s; }
.ekb-grad-kpi.g-violet { background: var(--ekb-grad-violet); animation-delay: 0.2s; }
.ekb-grad-kpi.g-add {
    background: transparent;
    border: 2px dashed #C9D2E3;
    color: var(--ekb-text-muted);
    align-items: center;
    justify-content: center;
    box-shadow: none;
    animation-delay: 0.26s;
}

.ekb-grad-kpi.g-add:hover {
    border-color: var(--ekb-blue);
    color: var(--ekb-blue);
    background: var(--ekb-blue-light);
}

.ekb-grad-kpi.g-add i {
    font-size: 1.75rem;
}

/* Alert strip */
.ekb-alert-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.ekb-alert-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: var(--ekb-surface);
    border: 1px solid var(--ekb-border);
    box-shadow: var(--ekb-shadow);
    text-decoration: none;
    color: var(--ekb-text-strong);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: ekb-fade-up 0.5s ease both;
}

.ekb-alert-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--ekb-shadow-hover);
    color: var(--ekb-text-strong);
}

.ekb-alert-chip .chip-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.ekb-alert-chip .chip-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.1rem;
}

.ekb-alert-chip .chip-label {
    font-size: 0.72rem;
    color: var(--ekb-text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ekb-alert-chip .chip-value {
    font-family: var(--ekb-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
}

.ekb-alert-chip.warn .chip-ico { background: rgba(242, 153, 74, 0.15); color: #F2994A; }
.ekb-alert-chip.info .chip-ico { background: rgba(47, 128, 237, 0.12); color: var(--ekb-blue); }
.ekb-alert-chip.danger .chip-ico { background: rgba(255, 95, 109, 0.14); color: var(--ekb-accent); }
.ekb-alert-chip.ok .chip-ico { background: rgba(39, 174, 96, 0.14); color: var(--ekb-green); }

/* Charts + map */
.ekb-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.ekb-chart-frame {
    height: 230px;
}

.ekb-map-panel {
    margin-bottom: 1.1rem;
}

.ekb-map--wide {
    height: 280px;
    border-radius: 16px;
}

.ekb-soft-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.1rem;
    align-items: start;
}

.ekb-recent-panel {
    margin-bottom: 0;
}

.ekb-recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.ekb-recent-all {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ekb-blue);
    text-decoration: none;
    white-space: nowrap;
}

.ekb-recent-all:hover {
    text-decoration: underline;
}

.ekb-recent-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.ekb-recent-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.55rem;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.ekb-recent-row:hover {
    background: var(--ekb-surface-2);
    color: inherit;
}

.ekb-recent-row .ekb-entity-avatar {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
}

.ekb-recent-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ekb-recent-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--ekb-text-strong);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ekb-recent-sub {
    font-size: 0.75rem;
    color: var(--ekb-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ekb-recent-stat {
    font-family: var(--ekb-font-display);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ekb-text-strong);
    white-space: nowrap;
}

.ekb-recent-stat small {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ekb-text-muted);
}

.ekb-recent-chevron {
    color: var(--ekb-text-muted);
    font-size: 0.85rem;
}

.ekb-recent-empty {
    text-align: center;
    padding: 1.5rem 0.5rem;
}

.ekb-entity-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
    margin-bottom: 1.1rem;
}

.ekb-entity-card {
    background: var(--ekb-surface);
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    border: 1px solid var(--ekb-border);
    padding: 1.15rem;
    animation: ekb-fade-up 0.55s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ekb-entity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ekb-shadow-hover);
}

.ekb-entity-card:nth-child(1) { animation-delay: 0.05s; }
.ekb-entity-card:nth-child(2) { animation-delay: 0.12s; }
.ekb-entity-card:nth-child(3) { animation-delay: 0.19s; }

.ekb-entity-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.ekb-entity-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.ekb-entity-avatar.t1 { background: var(--ekb-grad-blue); }
.ekb-entity-avatar.t2 { background: var(--ekb-grad-pink); }
.ekb-entity-avatar.t3 { background: var(--ekb-grad-orange); }

.ekb-entity-head h3 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ekb-text-strong);
    line-height: 1.25;
}

.ekb-entity-head .meta {
    font-size: 0.72rem;
    color: var(--ekb-text-muted);
}

.ekb-soft-toggle {
    display: inline-flex;
    background: var(--ekb-surface-2);
    border-radius: 999px;
    padding: 0.2rem;
    margin-bottom: 0.85rem;
}

.ekb-soft-toggle span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ekb-text-muted);
}

.ekb-soft-toggle span.on {
    background: #fff;
    color: var(--ekb-text-strong);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ekb-entity-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.75rem;
    margin-bottom: 1rem;
}

.ekb-entity-stats .s-label {
    font-size: 0.7rem;
    color: var(--ekb-text-muted);
}

.ekb-entity-stats .s-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ekb-text-strong);
}

.ekb-soft-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: 0;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.ekb-soft-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
    color: #fff !important;
}

.ekb-soft-btn:active {
    transform: scale(0.97);
}

.ekb-soft-btn.b1 { background: var(--ekb-grad-blue); }
.ekb-soft-btn.b2 { background: var(--ekb-grad-pink); }
.ekb-soft-btn.b3 { background: var(--ekb-grad-orange); }

.ekb-soft-panels {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.95rem;
}

.ekb-soft-panel {
    background: var(--ekb-surface);
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    border: 1px solid var(--ekb-border);
    padding: 1.15rem;
    animation: ekb-fade-up 0.55s ease both;
}

.ekb-soft-panel h2 {
    font-size: 1rem;
    margin: 0 0 0.85rem;
    color: var(--ekb-text-strong);
}

.ekb-soft-aside {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.ekb-rh-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
    color: var(--ekb-text);
}

.ekb-rh-row:last-child {
    margin-bottom: 0;
}

.ekb-rh-row i {
    color: var(--ekb-text-muted);
    margin-right: 0.15rem;
}

.ekb-rh-row strong {
    color: var(--ekb-text-strong);
    font-family: var(--ekb-font-display);
    font-weight: 800;
}

.ekb-widget {
    background: var(--ekb-surface);
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    border: 1px solid var(--ekb-border);
    padding: 1.15rem;
    animation: ekb-fade-up 0.55s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ekb-widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--ekb-shadow-hover);
}

.ekb-widget:nth-child(1) { animation-delay: 0.1s; }
.ekb-widget:nth-child(2) { animation-delay: 0.18s; }
.ekb-widget:nth-child(3) { animation-delay: 0.26s; }
.ekb-widget:nth-child(4) { animation-delay: 0.34s; }

.ekb-widget h2 {
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
    color: var(--ekb-text-strong);
}

.ekb-climate {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ekb-climate .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ekb-grad-orange);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.4rem;
}

.ekb-climate .temp {
    font-family: var(--ekb-font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ekb-text-strong);
    line-height: 1;
}

.ekb-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ekb-text-strong);
    margin: 0;
}

.ekb-todo-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.45rem 0;
    font-size: 0.85rem;
}

.ekb-todo-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--ekb-blue);
    flex-shrink: 0;
    margin-top: 2px;
}

.ekb-todo-check.done {
    background: var(--ekb-grad-blue);
    border-color: transparent;
}

.ekb-dot-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.45rem;
}

.ekb-dot-grid .day {
    text-align: center;
    font-size: 0.65rem;
    color: var(--ekb-text-muted);
    margin-bottom: 0.25rem;
}

.ekb-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0.2rem auto;
    background: #E6EAF2;
    animation: ekb-fade-in 0.4s ease both;
}

.ekb-dot.on-b { background: #2F80ED; }
.ekb-dot.on-p { background: #FF5F6D; }
.ekb-dot.on-o { background: #F2994A; }
.ekb-dot.on-v { background: #A18CD1; }
.ekb-dot.on-g { background: #27AE60; }

/* Soften GST page inside soft shell */
.ekb-soft .ekb-gst-page {
    background: transparent;
    min-height: auto;
    border-radius: var(--ekb-radius);
}

.ekb-soft .ekb-gst-tabs {
    background: var(--ekb-surface);
    border-radius: var(--ekb-radius) var(--ekb-radius) 0 0;
    border-bottom: 1px solid var(--ekb-border);
    box-shadow: var(--ekb-shadow);
}

.ekb-soft .ekb-gst-table-wrap,
.ekb-soft .ekb-gst-toolbar,
.ekb-soft .ekb-gst-hint {
    background: var(--ekb-surface);
}

.ekb-soft .ekb-gst-table-wrap {
    border-radius: 0 0 var(--ekb-radius) var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    padding-bottom: 4rem;
}

.ekb-soft .ekb-gst-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ekb-text-muted);
    background: var(--ekb-surface-2);
}

.ekb-soft .ekb-gst-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ekb-table-wrap {
    background: var(--ekb-surface);
    border-radius: var(--ekb-radius);
    box-shadow: var(--ekb-shadow);
    border: 1px solid var(--ekb-border);
    overflow: hidden;
}

.ekb-soft .ekb-table thead th {
    background: var(--ekb-surface-2);
    color: var(--ekb-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--ekb-border);
}

html.ekb-sidebar-collapsed .ekb-nav-link i {
    width: 38px;
    height: 38px;
}

.ekb-soft .ekb-content > .ekb-page-header,
.ekb-soft .ekb-content > .ekb-card,
.ekb-soft .ekb-content > .row,
.ekb-soft .ekb-content > .alert,
.ekb-soft .ekb-content > form,
.ekb-soft .ekb-content > .ekb-table-wrap,
.ekb-soft .ekb-content > nav {
    margin-left: 0;
    margin-right: 0;
}

/* ——— GST list pages (Material) ——— */
.ekb-gst-page {
    background: var(--ekb-surface);
    min-height: calc(100vh - var(--ekb-topbar-h));
    animation: ekb-fade-in 0.35s ease;
}

.ekb-gst-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--ekb-border);
    padding: 0 1rem;
    overflow-x: auto;
    background: var(--ekb-surface);
}

.ekb-gst-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.95rem 1.1rem;
    color: var(--ekb-text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    border: 0;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--ekb-transition);
}

.ekb-gst-tab i {
    font-size: 1rem;
}

.ekb-gst-tab:hover {
    color: var(--ekb-blue);
}

.ekb-gst-tab.active {
    color: var(--ekb-blue);
}

.ekb-gst-tab.active::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0;
    height: 3px;
    background: var(--ekb-blue);
    border-radius: 3px 3px 0 0;
    animation: ekb-tab-underline 0.28s ease both;
    transform-origin: left center;
}

.ekb-gst-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem 0.5rem;
    position: relative;
}

.ekb-gst-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-family: var(--ekb-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ekb-text-strong);
    letter-spacing: 0.01em;
    pointer-events: none;
}

.ekb-gst-filter {
    min-width: 200px;
    max-width: 280px;
}

.ekb-gst-filter label {
    display: block;
    font-size: 0.75rem;
    color: var(--ekb-text-muted);
    margin-bottom: 0.15rem;
}

.ekb-gst-filter input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--ekb-border);
    background: transparent;
    padding: 0.35rem 0;
    font-size: 0.95rem;
    color: var(--ekb-text-strong);
    outline: none;
    transition: border-color var(--ekb-transition);
}

.ekb-gst-filter input:focus {
    border-bottom-color: var(--ekb-blue);
    box-shadow: 0 1px 0 0 var(--ekb-blue);
}

.ekb-gst-tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}

.ekb-gst-icon-btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--ekb-text-muted);
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background var(--ekb-transition), color var(--ekb-transition), transform 0.15s ease;
}

.ekb-gst-icon-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--ekb-blue);
    transform: scale(1.08);
}

.ekb-fab {
    position: fixed;
    right: 1.75rem;
    bottom: 1.75rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ekb-accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: var(--ekb-shadow-fab);
    z-index: 1030;
    text-decoration: none;
    border: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: ekb-pulse-soft 2.8s ease-in-out infinite;
}

.ekb-fab:hover {
    background: var(--ekb-accent-dark);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.5);
    animation: none;
}

.ekb-gst-hint {
    color: var(--ekb-accent);
    font-size: 0.82rem;
    padding: 0.35rem 1.5rem 0.75rem;
    margin: 0;
    font-weight: 500;
}

.ekb-gst-table-wrap {
    padding: 0 0.75rem 5rem;
}

.ekb-gst-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--ekb-surface);
}

.ekb-gst-table thead th {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: none;
    color: var(--ekb-text-strong);
    border-bottom: 1px solid var(--ekb-border);
    padding: 0.85rem 0.75rem;
    background: var(--ekb-surface);
    white-space: nowrap;
}

.ekb-gst-table tbody td {
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--ekb-gray-100);
    color: var(--ekb-text);
    font-size: 0.9rem;
    vertical-align: middle;
}

.ekb-gst-table tbody tr.ekb-data-row {
    cursor: pointer;
    transition: background 0.15s ease;
    animation: ekb-row-in 0.4s ease both;
}

.ekb-gst-table tbody tr.ekb-data-row:nth-child(1) { animation-delay: 0.02s; }
.ekb-gst-table tbody tr.ekb-data-row:nth-child(2) { animation-delay: 0.05s; }
.ekb-gst-table tbody tr.ekb-data-row:nth-child(3) { animation-delay: 0.08s; }
.ekb-gst-table tbody tr.ekb-data-row:nth-child(4) { animation-delay: 0.11s; }
.ekb-gst-table tbody tr.ekb-data-row:nth-child(5) { animation-delay: 0.14s; }
.ekb-gst-table tbody tr.ekb-data-row:nth-child(6) { animation-delay: 0.17s; }
.ekb-gst-table tbody tr.ekb-data-row:nth-child(7) { animation-delay: 0.2s; }
.ekb-gst-table tbody tr.ekb-data-row:nth-child(8) { animation-delay: 0.23s; }

.ekb-gst-table tbody tr.ekb-data-row:hover {
    background: #F7F9FC;
}

.ekb-gst-table tbody tr.ekb-data-row.is-open {
    background: #EEF5FF;
}

.ekb-row-actions {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    justify-content: flex-end;
}

.ekb-row-actions a,
.ekb-row-actions button {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ekb-text-muted);
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ekb-row-actions a:hover,
.ekb-row-actions button:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.12);
}

.ekb-row-actions .act-view { color: #78909C; }
.ekb-row-actions .act-edit { color: #1E88E5; }
.ekb-row-actions .act-delete { color: #EC407A; }
.ekb-row-actions .act-more { color: #90A4AE; }

.ekb-extra-row td {
    padding: 0 !important;
    border-bottom: 1px solid var(--ekb-border);
    background: #FAFBFC;
}

.ekb-extra-actions {
    display: none;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    overflow: hidden;
}

.ekb-extra-row.is-visible .ekb-extra-actions {
    display: flex;
    animation: ekb-expand-down 0.32s ease both;
}

.ekb-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(10, 42, 107, 0.12);
    transition:
        transform 0.25s cubic-bezier(0.22, 0.9, 0.2, 1),
        box-shadow 0.25s ease,
        filter 0.2s ease,
        letter-spacing 0.2s ease;
}

.ekb-pill i {
    transition: transform 0.25s cubic-bezier(0.22, 0.9, 0.2, 1);
}

.ekb-pill:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 18px rgba(10, 42, 107, 0.18);
    filter: brightness(1.06);
    color: #fff !important;
    letter-spacing: 0.02em;
}

.ekb-pill:hover i {
    transform: translateX(2px) scale(1.08);
}

.ekb-pill:active {
    transform: translateY(0) scale(0.98);
}

.ekb-pill.blue { background: linear-gradient(135deg, #1A5FE0, #0A2A6B); }
.ekb-pill.grey { background: #607D8B; }
.ekb-pill.orange { background: linear-gradient(135deg, #C9A227, #A8841A); }
.ekb-pill.red { background: #C62828; }
.ekb-pill.green { background: linear-gradient(135deg, #3BC463, #1E8F40); }
.ekb-pill.teal { background: linear-gradient(135deg, #2FA84F, #0A2A6B); }

.ekb-gst-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ekb-text-muted);
}

/* Content padding for non-GST pages */
.ekb-gst .ekb-content > .ekb-page-header,
.ekb-gst .ekb-content > .ekb-card,
.ekb-gst .ekb-content > .row,
.ekb-gst .ekb-content > .alert,
.ekb-gst .ekb-content > form,
.ekb-gst .ekb-content > .ekb-table-wrap,
.ekb-gst .ekb-content > nav {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.ekb-gst .ekb-content > .ekb-page-header:first-child,
.ekb-gst .ekb-content > .row:first-child,
.ekb-gst .ekb-content > form:first-child {
    margin-top: 1.25rem;
}

/* ——— Photo capture (webcam) ——— */
.ekb-photo-capture {
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(12, 92, 122, 0.22);
    border-radius: var(--ekb-radius, 16px);
    background:
        linear-gradient(145deg, rgba(11, 58, 102, 0.07) 0%, rgba(13, 143, 82, 0.06) 100%),
        var(--ekb-surface, #fff);
    box-shadow: 0 8px 22px rgba(11, 58, 102, 0.06);
}

.ekb-photo-modes {
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.28rem;
    margin-bottom: 0.95rem;
    border-radius: 999px;
    background: rgba(11, 58, 102, 0.08);
}

.ekb-photo-mode {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--ekb-text-muted, #64748B) !important;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.2;
    box-shadow: none !important;
}

.ekb-photo-mode.is-active {
    background: #fff !important;
    color: #0B3A66 !important;
    box-shadow: 0 2px 10px rgba(11, 58, 102, 0.14) !important;
}

.ekb-photo-hint {
    font-size: 0.82rem;
    color: var(--ekb-text-muted, #64748B);
    margin-bottom: 0.75rem;
}

.ekb-photo-facing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}

.ekb-photo-facing-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1px solid rgba(12, 92, 122, 0.22) !important;
    background: var(--ekb-surface, #fff) !important;
    border-radius: 14px !important;
    padding: 0.8rem 0.9rem !important;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--ekb-text, #0F172A) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: none !important;
}

.ekb-photo-facing-btn i {
    font-size: 1.2rem;
    color: #0C6B8A;
    margin-top: 0.1rem;
}

.ekb-photo-facing-btn span {
    display: flex;
    flex-direction: column;
    font-weight: 650;
    font-size: 0.9rem;
    line-height: 1.25;
}

.ekb-photo-facing-btn small {
    font-weight: 500;
    color: var(--ekb-text-muted, #64748B);
    font-size: 0.72rem;
}

.ekb-photo-facing-btn.is-active {
    border-color: rgba(12, 107, 138, 0.5) !important;
    background: linear-gradient(135deg, rgba(11, 58, 102, 0.1), rgba(13, 143, 82, 0.1)) !important;
    box-shadow: 0 0 0 3px rgba(12, 107, 138, 0.12) !important;
}

.ekb-photo-stage {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #0B1F33;
    aspect-ratio: 4 / 3;
    max-width: 420px;
}

.ekb-photo-stage video,
.ekb-photo-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ekb-photo-capture[data-facing="user"] .ekb-photo-stage video {
    transform: scaleX(-1);
}

.ekb-photo-capture[data-facing="environment"] .ekb-photo-stage video {
    transform: none;
}

.ekb-photo-overlay {
    pointer-events: none;
    position: absolute;
    inset: 10%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50% / 42%;
    box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.2);
}

.ekb-photo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.ekb-photo-current-img {
    max-height: 104px;
    border-radius: 12px;
    border: 1px solid var(--ekb-border, #E2E8F0);
    object-fit: cover;
}

[data-theme='dark'] .ekb-photo-capture {
    background:
        linear-gradient(145deg, rgba(86, 204, 242, 0.08) 0%, rgba(39, 174, 96, 0.08) 100%),
        var(--ekb-surface);
    border-color: rgba(86, 204, 242, 0.22);
}

[data-theme='dark'] .ekb-photo-mode.is-active {
    background: rgba(15, 23, 42, 0.9) !important;
    color: #E2E8F0 !important;
}

[data-theme='dark'] .ekb-photo-facing-btn {
    background: rgba(15, 23, 42, 0.55) !important;
}

@media (max-width: 575.98px) {
    .ekb-photo-facing {
        grid-template-columns: 1fr;
    }

    .ekb-photo-stage {
        max-width: none;
    }
}

/* ——— Responsive ——— */
@media (max-width: 991.98px) {
    :root {
        --ekb-mobile-navy: #0A3D62;
        --ekb-mobile-green: #0D8F52;
        --ekb-mobile-chrome: linear-gradient(
            165deg,
            #072A4A 0%,
            #0A3D62 22%,
            #0C5C7A 48%,
            #0A7A68 74%,
            #0D8F52 100%
        );
        --ekb-mobile-chrome-soft: linear-gradient(
            165deg,
            #061F38 0%,
            #083552 28%,
            #0A4F68 52%,
            #086B5C 76%,
            #0A7A48 100%
        );
        --ekb-mobile-sheet: #F3F6F8;
        --ekb-bottom-nav-h: 68px;
    }

    body.ekb-soft {
        background: var(--ekb-mobile-chrome);
        background-attachment: fixed;
    }

    [data-theme='dark'] body.ekb-soft {
        background: var(--ekb-mobile-chrome-soft);
        background-attachment: fixed;
    }

    .ekb-shell {
        min-height: 100dvh;
        background: var(--ekb-mobile-chrome);
        background-attachment: fixed;
    }

    [data-theme='dark'] .ekb-shell {
        background: var(--ekb-mobile-chrome-soft);
        background-attachment: fixed;
    }

    .ekb-body {
        padding: 0;
        gap: 0;
        min-height: 100dvh;
        display: block;
    }

    .ekb-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-105%);
        height: 100dvh;
        width: min(86vw, 300px);
        border-radius: 0 22px 22px 0;
        box-shadow: var(--ekb-shadow-hover);
        z-index: 1050;
    }

    body.sidebar-open .ekb-sidebar {
        transform: translateX(0);
    }

    html.ekb-sidebar-collapsed .ekb-sidebar {
        width: min(86vw, 300px);
    }

    html.ekb-sidebar-collapsed .ekb-nav-text,
    html.ekb-sidebar-collapsed .nav-label,
    html.ekb-sidebar-collapsed .brand-text,
    html.ekb-sidebar-collapsed .brand-sub {
        opacity: 1;
        width: auto;
    }

    .ekb-main {
        margin-left: 0;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        background: transparent;
        padding-bottom: calc(var(--ekb-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    }

    .ekb-topbar {
        position: sticky;
        top: 0;
        z-index: 1020;
        background: transparent !important;
        color: #fff;
        border: 0;
        border-bottom: 0;
        box-shadow: none;
        border-radius: 0;
        min-height: 64px;
        padding: 0.85rem 1rem 1.35rem;
        gap: 0.75rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    [data-theme='dark'] .ekb-topbar {
        background: transparent !important;
    }

    .ekb-mobile-brand {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .ekb-mobile-brand-name {
        font-family: var(--ekb-font-display);
        font-weight: 800;
        font-size: 1.25rem;
        color: #fff;
        letter-spacing: 0.01em;
        line-height: 1.1;
        text-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
    }

    .ekb-topbar .ekb-icon-round {
        background: rgba(255, 255, 255, 0.14);
        color: #fff;
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .ekb-topbar .ekb-icon-round:hover {
        background: rgba(255, 255, 255, 0.24);
        color: #fff;
    }

    .ekb-topbar .ekb-avatar {
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
    }

    .ekb-content {
        flex: 1;
        margin-top: -0.65rem;
        padding: 1.15rem 0.9rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
        background: var(--ekb-mobile-sheet);
        border-radius: 28px 28px 0 0;
        min-height: calc(100dvh - 64px - var(--ekb-bottom-nav-h));
        box-shadow: 0 -10px 32px rgba(7, 42, 74, 0.18);
    }

    [data-theme='dark'] .ekb-content {
        background: var(--ekb-bg);
    }

    .ekb-page-header,
    .ekb-soft-hero {
        background:
            linear-gradient(135deg, rgba(47, 128, 237, 0.18) 0%, rgba(13, 143, 82, 0.1) 100%),
            var(--ekb-surface);
        border: 1px solid rgba(47, 128, 237, 0.2);
        box-shadow: var(--ekb-shadow);
    }

    .ekb-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        height: calc(var(--ekb-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
        padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
            linear-gradient(90deg, #072A4A 0%, #0A4F68 45%, #0A7A68 78%, #0D8F52 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -10px 28px rgba(7, 42, 74, 0.28);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    [data-theme='dark'] .ekb-bottom-nav {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
            linear-gradient(90deg, #061F38 0%, #083552 42%, #086B5C 78%, #0A7A48 100%);
    }

    .ekb-bottom-nav__item {
        appearance: none;
        border: 0;
        background: transparent;
        color: rgba(255, 255, 255, 0.72);
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        min-width: 0;
        padding: 0.2rem;
        font: inherit;
        cursor: pointer;
        transition: color 0.25s ease, transform 0.25s cubic-bezier(0.22, 0.9, 0.2, 1);
    }

    .ekb-bottom-nav__item:hover,
    .ekb-bottom-nav__item:focus-visible {
        color: #fff;
        transform: translateY(-1px);
    }

    .ekb-bottom-nav__item:hover .ekb-bottom-nav__ico {
        transform: translateY(-3px) scale(1.08);
        background: rgba(255, 255, 255, 0.14);
    }

    .ekb-bottom-nav__ico {
        width: 36px;
        height: 36px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        font-size: 1.15rem;
        transition: background 0.25s ease, color 0.25s ease, transform 0.28s cubic-bezier(0.22, 0.9, 0.2, 1), box-shadow 0.25s ease;
    }

    .ekb-bottom-nav__label {
        font-size: 0.62rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .ekb-bottom-nav__item:hover .ekb-bottom-nav__label {
        transform: translateY(-1px);
    }

    .ekb-bottom-nav__item.is-active {
        color: #fff;
    }

    .ekb-bottom-nav__item.is-active .ekb-bottom-nav__ico {
        background: #fff;
        color: #0A2A6B;
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
        animation: ekb-nav-pop 0.45s cubic-bezier(0.22, 0.9, 0.2, 1);
    }

    .ekb-soft-dash {
        grid-template-columns: 1fr;
    }

    .ekb-grad-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ekb-entity-grid,
    .ekb-soft-panels,
    .ekb-charts-grid,
    .ekb-soft-bottom,
    .ekb-alert-strip {
        grid-template-columns: 1fr;
    }

    .ekb-gst-title {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        order: -1;
        margin-bottom: 0.5rem;
    }

    .ekb-gst-toolbar {
        flex-wrap: wrap;
    }

    .ekb-chat-layout {
        grid-template-columns: 1fr;
    }

    .ekb-chat-list {
        max-height: 220px;
    }

    .ekb-hero-inner {
        padding: 5rem 0 3rem;
    }
}

@media (min-width: 992px) {
    .ekb-bottom-nav {
        display: none !important;
    }

    .ekb-mobile-brand {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .ekb-search {
        display: none;
    }

    .ekb-grad-kpis {
        grid-template-columns: 1fr;
    }

    .ekb-alert-strip {
        grid-template-columns: 1fr;
    }

    .ekb-recent-row {
        grid-template-columns: 42px minmax(0, 1fr) 16px;
    }

    .ekb-recent-stat {
        display: none;
    }

    .ekb-chart-frame {
        height: 200px;
    }

    .ekb-fab {
        right: 1rem;
        bottom: 1rem;
    }

    .ekb-kpi-value {
        font-size: 1.4rem;
    }
}

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

/* ——— Employee form sections + biometrics (2026-10) ——— */
.ekb-employee-form {
  max-width: 960px;
  display: grid;
  gap: 1rem;
}
.ekb-form-section {
  background: var(--ekb-surface, #fff);
  border: 1px solid rgba(10, 42, 107, 0.08);
  border-radius: 20px;
  padding: 1.15rem 1.25rem 1.35rem;
  box-shadow: 0 10px 28px rgba(10, 42, 107, 0.06);
  position: relative;
  overflow: hidden;
}
.ekb-form-section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #0A2A6B, #2FA84F, #C9A227);
}
.ekb-form-section__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(227, 234, 245, 0.95);
}
.ekb-form-section__ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  background: linear-gradient(145deg, #1A5FE0, #0A2A6B);
  box-shadow: 0 8px 16px rgba(26, 95, 224, 0.22);
  font-size: 1.1rem;
}
.ekb-bio-section .ekb-form-section__ico {
  background: linear-gradient(145deg, #2FA84F, #0A2A6B);
}
.ekb-form-section__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A2A6B;
}
.ekb-form-section__sub {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: #6B7A94;
}
.ekb-form-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0 1.5rem;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, transparent, var(--ekb-bg, #F3F6FC) 35%);
  z-index: 5;
}
[data-theme='dark'] .ekb-form-section {
  background: var(--ekb-surface);
  border-color: rgba(255,255,255,0.08);
}
[data-theme='dark'] .ekb-form-section__title { color: #E8EEF8; }

/* ——— Link / nav motion polish (brand UI) ——— */
@keyframes ekb-nav-pop {
  0% { transform: translateY(0) scale(0.92); }
  60% { transform: translateY(-4px) scale(1.1); }
  100% { transform: translateY(-3px) scale(1.06); }
}

@keyframes ekb-link-shine {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.ekb-content .page-link {
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.ekb-content .page-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 42, 107, 0.12);
}

.dropdown-item {
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.22s cubic-bezier(0.22, 0.9, 0.2, 1) !important;
}
.dropdown-item:hover,
.dropdown-item:focus {
  padding-left: 1.35rem !important;
  color: var(--ekb-navy) !important;
}

.ekb-row-actions a,
.ekb-row-actions button {
  transition: background 0.2s ease, color 0.2s ease, transform 0.22s cubic-bezier(0.22, 0.9, 0.2, 1), box-shadow 0.2s ease !important;
}
.ekb-row-actions a:hover,
.ekb-row-actions button:hover {
  box-shadow: 0 6px 14px rgba(10, 42, 107, 0.12);
}

.ekb-main .btn-link {
  position: relative;
  font-weight: 600;
  color: var(--ekb-navy) !important;
  text-decoration: none !important;
  background-image: linear-gradient(90deg, var(--ekb-green), var(--ekb-navy));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left calc(100% - 2px);
  transition: background-size 0.32s ease, color 0.2s ease, transform 0.2s ease !important;
}
.ekb-main .btn-link:hover {
  background-size: 100% 2px;
  transform: translateY(-1px);
  color: var(--ekb-blue) !important;
}

.ekb-card,
.ekb-table-wrap {
  animation: ekb-fade-up 0.45s cubic-bezier(0.22, 0.9, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ——— DOJOBS-inspired shell (e-Kongo brand colors) ——— */
body.ekb-dojobs {
  --ekb-bg: #F4F6FB;
  --ekb-sidebar-width: 260px;
}
body.ekb-dojobs .ekb-shell,
body.ekb-dojobs .ekb-body {
  background: transparent;
}
body.ekb-dojobs .ekb-sidebar {
  background: #fff;
  border-radius: 28px;
  margin: 0.85rem 0 0.85rem 0.85rem;
  box-shadow: 0 18px 40px rgba(10, 42, 107, 0.08);
  border: 1px solid rgba(10, 42, 107, 0.06);
}
body.ekb-dojobs .ekb-main {
  background: transparent;
  padding-right: 0.6rem;
}
body.ekb-dojobs .ekb-topbar {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
body.ekb-dojobs .ekb-search {
  background: #fff;
  border-radius: 999px;
  border: 1px solid rgba(10, 42, 107, 0.08);
  box-shadow: 0 8px 22px rgba(10, 42, 107, 0.06);
  min-height: 48px;
  padding: 0 1.1rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
body.ekb-dojobs .ekb-search:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(26, 95, 224, 0.14);
  border-color: rgba(26, 95, 224, 0.35);
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(10, 42, 107, 0.12);
  flex: none;
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.2, 1);
}
.ekb-sidebar-brand:hover .brand-logo-img {
  transform: translateY(-2px) scale(1.05);
}
.brand-e { color: var(--ekb-green); }
.ekb-hero-logo {
  border-radius: 16px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(10, 42, 107, 0.1);
}

.ekb-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0.85rem 0.85rem;
  padding: 0.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(26,95,224,.08), rgba(47,168,79,.08));
  animation: ekb-fade-up 0.4s ease both;
}
.ekb-sidebar-user__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1A5FE0, #0A2A6B);
  flex: none;
}
.ekb-sidebar-user__meta {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}
.ekb-sidebar-user__meta strong {
  font-size: 0.86rem;
  color: var(--ekb-text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ekb-sidebar-user__meta span {
  font-size: 0.72rem;
  color: var(--ekb-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html.ekb-sidebar-collapsed .ekb-sidebar-user__meta,
html.ekb-sidebar-collapsed .ekb-scheme__label,
html.ekb-sidebar-collapsed .ekb-scheme__toggle span {
  display: none;
}
html.ekb-sidebar-collapsed .ekb-sidebar-user {
  justify-content: center;
}

/* Active nav like DOJOBS pill — brand navy/green */
body.ekb-dojobs .ekb-nav-link {
  border-radius: 16px;
  margin: 0 0.35rem 0.35rem;
}
body.ekb-dojobs .ekb-nav-link.active {
  background: linear-gradient(135deg, #1A5FE0, #0A2A6B);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(26, 95, 224, 0.28);
  transform: translateX(2px) scale(1.01);
}
body.ekb-dojobs .ekb-nav-link.active i {
  background: rgba(255,255,255,.18);
  color: #fff;
  box-shadow: none;
}
body.ekb-dojobs .ekb-nav-link.active::before { display: none; }
body.ekb-dojobs .ekb-nav-link:hover:not(.active) {
  background: rgba(26, 95, 224, 0.08);
  color: var(--ekb-navy);
}
body.ekb-dojobs .ekb-nav-link {
  transition: background 0.28s ease, color 0.28s ease, transform 0.28s cubic-bezier(0.22,0.9,0.2,1), box-shadow 0.28s ease;
}
body.ekb-dojobs .ekb-nav-link:hover {
  transform: translateX(6px);
}
body.ekb-dojobs .ekb-nav-link:hover i {
  transform: scale(1.1) rotate(-6deg);
}

.ekb-scheme {
  margin-bottom: 0.65rem;
}
.ekb-scheme__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ekb-text-muted);
  margin: 0 0 0.45rem 0.2rem;
}
.ekb-scheme__toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(10, 42, 107, 0.06);
}
.ekb-scheme__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ekb-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.ekb-scheme__btn.is-active {
  background: #fff;
  color: var(--ekb-navy);
  box-shadow: 0 6px 14px rgba(10, 42, 107, 0.12);
}
.ekb-scheme__btn:hover {
  transform: translateY(-1px);
  color: var(--ekb-navy);
}
[data-theme='dark'] .ekb-scheme__btn.is-active {
  background: rgba(15, 23, 42, 0.9);
  color: #E8EEF8;
}

/* Metric cards + rings */
.ekb-metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.ekb-metric-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border-radius: 22px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(10, 42, 107, 0.06);
  box-shadow: 0 12px 28px rgba(10, 42, 107, 0.06);
  text-decoration: none;
  color: inherit;
  animation: ekb-fade-up 0.45s ease both;
  transition: transform 0.28s cubic-bezier(0.22,0.9,0.2,1), box-shadow 0.28s ease;
}
.ekb-metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(10, 42, 107, 0.12);
  color: inherit;
}
.ekb-metric-card__value {
  font-family: var(--ekb-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--ekb-text-strong);
  line-height: 1.1;
}
.ekb-metric-card__label {
  font-size: 0.78rem;
  color: var(--ekb-text-muted);
  font-weight: 600;
}
.ekb-ring {
  --p: 70;
  --c: #1A5FE0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(10,42,107,.08) 0);
  flex: none;
}
.ekb-ring span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ekb-text-strong);
}
.ekb-metric-legend {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ekb-text-muted);
}
.ekb-metric-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 0.35rem;
}
.ekb-donut-mini {
  --a: 70;
  --b: 30;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#1A5FE0 0 calc(var(--a) * 1%), #C9A227 0 calc((var(--a) + var(--b) * 0.35) * 1%), #2FA84F 0);
  flex: none;
}
.ekb-donut-mini strong {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--ekb-navy);
}

/* Wave gradient KPI cards */
.ekb-wave-kpis .ekb-grad-kpi {
  position: relative;
  overflow: hidden;
  min-height: 118px;
  border-radius: 24px;
}
.ekb-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  width: 100%;
  fill: rgba(255,255,255,.22);
  pointer-events: none;
}
.ekb-grad-kpi.g-green { background: linear-gradient(135deg, #3BC463, #0A2A6B); }
.ekb-grad-kpi.g-gold { background: linear-gradient(135deg, #E8C547, #C9A227 45%, #0A2A6B); }
.ekb-grad-kpi.g-navy { background: linear-gradient(135deg, #0E3A8A, #071A45); }

body.ekb-dojobs .ekb-soft-hero {
  background:
    linear-gradient(135deg, rgba(26,95,224,.12) 0%, rgba(47,168,79,.10) 55%, rgba(201,162,39,.08) 100%),
    #fff;
  border-color: rgba(10, 42, 107, 0.08);
}
body.ekb-dojobs .ekb-soft-panel,
body.ekb-dojobs .ekb-widget,
body.ekb-dojobs .ekb-entity-card {
  border-radius: 24px;
  border: 1px solid rgba(10, 42, 107, 0.06);
  box-shadow: 0 14px 32px rgba(10, 42, 107, 0.06);
}

.ekb-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.ekb-mobile-brand img {
  border-radius: 8px;
}

@media (max-width: 1199.98px) {
  .ekb-metric-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .ekb-metric-row { grid-template-columns: 1fr; }
  body.ekb-dojobs .ekb-sidebar { margin: 0; border-radius: 0; }
}

[data-theme='dark'] body.ekb-dojobs .ekb-sidebar,
[data-theme='dark'].ekb-dojobs .ekb-sidebar {
  background: var(--ekb-surface);
}
[data-theme='dark'] .ekb-metric-card,
[data-theme='dark'] .ekb-ring span,
[data-theme='dark'] .ekb-donut-mini strong {
  background: var(--ekb-surface);
}
