/* offer letter  */
    /* ===== Offer Letter Page redesign ===== */
    body { background: #f5f7fb !important; }

    /* Page header */
    .ol-page-head {
        display: flex; justify-content: space-between; align-items: center;
        flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem;
    }
    .ol-page-head .left { display: flex; align-items: center; gap: 14px; }
    .ol-page-head .head-ico {
        width: 48px; height: 48px; border-radius: 12px;
        background: #ede9fe; color: #6366f1;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.35rem;
    }
    .ol-page-head h4 {
        margin: 0 0 2px; font-size: 1.55rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.01em;
    }
    .ol-page-head p { font-size: 0.85rem; color: #64748b; margin: 0; }
    .ol-secure-pill {
        background: #ede9fe; color: #6366f1;
        border-radius: 10px; padding: 9px 18px;
        font-size: 0.85rem; font-weight: 600;
        display: inline-flex; align-items: center; gap: 8px;
        text-decoration: none;
    }

    /* Card wrapper */
    .ol-card {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 16px; box-shadow: 0 1px 3px rgba(15,23,42,0.04);
        overflow: hidden;
    }

    /* Preview header strip */
    .ol-preview-head {
        display: flex; justify-content: space-between; align-items: center;
        padding: 1rem 1.5rem; flex-wrap: wrap; gap: 1rem;
        border-bottom: 1px solid #eef0f4;
    }
    .ol-preview-head h6 {
        margin: 0; font-size: 0.92rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.01em;
    }
    .ol-preview-tools {
        display: inline-flex; align-items: center; gap: 8px;
    }
    .ol-tool-pill {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 8px; padding: 6px 12px;
        font-size: 0.78rem; font-weight: 500; color: #475569;
        display: inline-flex; align-items: center; gap: 6px;
        cursor: pointer;
    }
    .ol-tool-pill:hover { background: #f8fafc; }
    .ol-tool-btn {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 8px;
        width: 32px; height: 32px;
        font-size: 0.85rem; color: #475569;
        display: inline-flex; align-items: center; justify-content: center;
        cursor: pointer;
    }
    .ol-tool-btn:hover { background: #f8fafc; color: #0f172a; }
    .ol-page-info { font-size: 0.78rem; color: #64748b; padding: 0 8px; }

    /* Document preview area */
    .ol-doc {
        position: relative;
        margin: 1.25rem 1.5rem 1.5rem;
        border: 1px solid #eef0f4;
        border-radius: 12px;
        background: #ffffff;
        overflow: hidden;
    }
    .ol-doc-body { padding: 2.25rem 2.5rem 1rem; position: relative; z-index: 1; }

    /* Letter top header (logo + address) */
    .ol-letter-top {
        display: flex; justify-content: space-between; align-items: flex-start;
        padding-bottom: 1rem;
        position: relative;
    }
    .ol-letter-top::after {
        content: ''; position: absolute; left: 0; right: 0; bottom: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, #2563eb 30%, #2563eb 70%, transparent 100%);
        clip-path: polygon(0 0, 35% 0, 50% 100%, 65% 0, 100% 0, 100% 100%, 0 100%);
    }
    .ol-letter-logo img { height: 50px; width: auto; }
    .ol-letter-addr {
        text-align: right; font-size: 0.78rem; color: #475569; line-height: 1.6;
    }
    .ol-letter-addr div { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
    .ol-letter-addr i { color: #2563eb; }

    /* Letter title */
    .ol-letter-title {
        text-align: center; margin: 2rem 0 1.75rem;
    }
    .ol-letter-title h3 {
        font-size: 1.4rem; font-weight: 800; color: #1e3a8a;
        margin: 0 0 8px;
        letter-spacing: 0.5px;
    }
    .ol-letter-title .underline {
        display: inline-block;
        width: 60px; height: 3px;
        background: #2563eb; border-radius: 999px;
    }

    /* Letter meta (date + offer id) */
    .ol-letter-meta { font-size: 0.92rem; color: #0f172a; margin-bottom: 1.25rem; line-height: 1.6; }
    .ol-letter-meta strong { font-weight: 600; }

    .ol-letter-greeting {
        font-size: 0.95rem; color: #0f172a; margin-bottom: 1rem;
    }
    .ol-letter-greeting .name { color: #2563eb; font-weight: 700; }
    .ol-letter-text {
        font-size: 0.92rem; color: #1e293b; line-height: 1.7; margin-bottom: 1rem;
    }
    .ol-letter-text strong { color: #0f172a; }

    /* Info grid */
    .ol-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        margin: 1.25rem 0;
        overflow: hidden;
    }
    .ol-info-cell {
        padding: 14px 18px;
        display: flex; align-items: center; gap: 12px;
        background: #f8fafc;
        border-right: 1px solid #e2e8f0;
        border-bottom: 1px solid #e2e8f0;
    }
    .ol-info-cell:nth-child(2n) { border-right: 0; }
    .ol-info-cell:nth-last-child(-n+2) { border-bottom: 0; }
    .ol-info-cell .ic {
        width: 32px; height: 32px; border-radius: 8px;
        background: #ede9fe; color: #6366f1;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.95rem; flex-shrink: 0;
    }
    .ol-info-cell .lbl { font-size: 0.72rem; color: #64748b; font-weight: 500; }
    .ol-info-cell .val { font-size: 0.92rem; color: #0f172a; font-weight: 600; margin-top: 2px; }

    /* Closing */
    .ol-letter-closing {
        margin-top: 1.5rem; font-size: 0.92rem; color: #1e293b; line-height: 1.7;
    }
    .ol-signature { margin-top: 1.5rem; }
    .ol-signature .sincere { font-size: 0.95rem; color: #0f172a; margin-bottom: 0.5rem; }
    .ol-signature-img {
        font-family: cursive; font-size: 1.5rem; color: #0f172a;
        margin: 0.5rem 0;
        font-style: italic;
    }
    .ol-signature .role { font-size: 0.85rem; color: #475569; }
    .ol-signature .org { font-size: 0.92rem; color: #0f172a; font-weight: 700; margin-top: 2px; }

    /* Blue wave footer with QR */
    .ol-doc-footer {
        position: relative;
        margin-top: 2rem;
        background: linear-gradient(180deg, #1e3a8a 0%, #2563eb 100%);
        padding: 1.5rem 2.5rem;
        color: #ffffff;
    }
    .ol-doc-footer::before {
        content: '';
        position: absolute;
        left: 0; right: 0; top: -30px; height: 50px;
        background: inherit;
        clip-path: ellipse(60% 100% at 50% 100%);
    }
    .ol-doc-footer-inner {
        display: flex; justify-content: space-between; align-items: flex-end;
        position: relative; z-index: 1; flex-wrap: wrap; gap: 1rem;
    }
    .ol-doc-footer .note {
        font-size: 0.78rem; line-height: 1.5; color: rgba(255,255,255,0.95);
    }
    .ol-doc-footer .verify { font-size: 0.78rem; color: rgba(255,255,255,0.95); text-align: right; }
    .ol-doc-footer .qr {
        width: 70px; height: 70px;
        background: #ffffff;
        border-radius: 8px;
        padding: 6px;
        display: inline-flex; align-items: center; justify-content: center;
        flex-shrink: 0;
        margin-left: 12px;
        color: #0f172a;
    }
    .ol-doc-footer .qr svg { width: 100%; height: 100%; }
    .ol-doc-footer .qr-row { display: inline-flex; align-items: center; gap: 12px; }

    /* RIGHT SIDE CARDS */
    .ol-side-card {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 16px; padding: 1.25rem 1.5rem;
        box-shadow: 0 1px 3px rgba(15,23,42,0.04);
        margin-bottom: 1.25rem;
    }
    .ol-side-card .header {
        display: flex; align-items: center; gap: 10px; margin-bottom: 1rem;
    }
    .ol-side-card .header .ic {
        width: 32px; height: 32px; border-radius: 8px;
        background: #ede9fe; color: #6366f1;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
    }
    .ol-side-card .header h6 {
        margin: 0; font-size: 0.95rem; font-weight: 800; color: #0f172a;
    }

    .ol-btn-primary {
        width: 100%; margin-bottom: 8px;
        background: #6366f1; color: #ffffff !important;
        border: none; border-radius: 10px;
        padding: 11px 18px; font-weight: 600; font-size: 0.88rem;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        cursor: pointer;
        transition: background 0.15s;
    }
    .ol-btn-primary:hover { background: #4f46e5; color: #ffffff !important; }
    .ol-btn-outline {
        width: 100%; margin-bottom: 8px;
        background: #ffffff; color: #475569 !important;
        border: 1px solid #e2e8f0; border-radius: 10px;
        padding: 10px 18px; font-weight: 600; font-size: 0.88rem;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        text-decoration: none; cursor: pointer;
        transition: background 0.15s;
    }
    .ol-btn-outline:hover { background: #f8fafc; }
    .ol-btn-outline:last-child { margin-bottom: 0; }
    .ol-btn-help {
        width: 100%;
        background: #ffffff; color: #6366f1 !important;
        border: 1px solid #c7d2fe; border-radius: 10px;
        padding: 10px 18px; font-weight: 600; font-size: 0.88rem;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        text-decoration: none; cursor: pointer;
        transition: background 0.15s;
    }
    .ol-btn-help:hover { background: #eef2ff; color: #4f46e5 !important; }

    /* Document info rows */
    .ol-info-row {
        display: flex; justify-content: space-between; align-items: center;
        padding: 9px 0; font-size: 0.85rem;
        border-bottom: 1px solid #f1f5f9;
    }
    .ol-info-row:last-child { border-bottom: 0; }
    .ol-info-row .lbl { color: #64748b; font-weight: 500; }
    .ol-info-row .val { color: #0f172a; font-weight: 600; text-align: right; }
    .ol-info-row .val.muted { color: #94a3b8; font-weight: 500; }
    .ol-status-pill {
        display: inline-flex; align-items: center;
        font-size: 0.72rem; font-weight: 600;
        padding: 3px 10px; border-radius: 999px;
    }
    .ol-status-pill.approved { background: #d1fae5; color: #047857; }
    .ol-status-pill.pending { background: #fef3c7; color: #b45309; }
    .ol-status-pill.rejected { background: #fee2e2; color: #b91c1c; }

    .ol-help-text {
        font-size: 0.82rem; color: #64748b; margin: 0 0 1rem; line-height: 1.55;
    }

    @media (max-width: 768px) {
        .ol-info-grid { grid-template-columns: 1fr; }
        .ol-info-cell { border-right: 0 !important; }
        .ol-info-cell:nth-last-child(2) { border-bottom: 1px solid #e2e8f0 !important; }
    }

    /* public profile  */
   
    /* ===== Sidebar — dark navy blue override ===== */
    #layout-menu,
    aside.layout-menu,
    .bg-menu-theme {
        background: #0a2a66 !important;
        background-image: linear-gradient(180deg, #0a2a66 0%, #081f4d 100%) !important;
        border-right: 0 !important;
    }
    .bg-menu-theme .menu-inner > .menu-item .menu-link,
    #layout-menu .menu-link {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .bg-menu-theme .menu-inner > .menu-item .menu-link:hover,
    #layout-menu .menu-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }
    .bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
    #layout-menu .menu-item.active > .menu-link {
        background: #2563eb !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
    }
    .bg-menu-theme .menu-inner > .menu-item.active > .menu-link .menu-icon,
    #layout-menu .menu-item.active > .menu-link .menu-icon {
        color: #ffffff !important;
    }
    .bg-menu-theme .menu-inner .menu-header,
    #layout-menu .menu-header {
        color: rgba(255, 255, 255, 0.45) !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.7rem;
    }
    .bg-menu-theme .menu-inner .menu-icon,
    #layout-menu .menu-icon {
        color: rgba(255, 255, 255, 0.75) !important;
    }
    .bg-menu-theme .app-brand,
    #layout-menu .app-brand {
        background: transparent !important;
    }
    .bg-menu-theme .app-brand-text,
    #layout-menu .app-brand-text {
        color: #ffffff !important;
    }
    .bg-menu-theme hr,
    #layout-menu hr,
    .bg-menu-theme .menu-divider {
        border-color: rgba(255, 255, 255, 0.08) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
    }
    .bg-menu-theme .menu-sub > .menu-item .menu-link,
    #layout-menu .menu-sub .menu-link {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    .bg-menu-theme .menu-sub > .menu-item.active > .menu-link,
    #layout-menu .menu-sub .menu-item.active > .menu-link {
        color: #ffffff !important;
    }
    .layout-menu-toggle .bx,
    #layout-menu .layout-menu-toggle {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .bg-menu-theme .ps__thumb-y,
    #layout-menu .ps__thumb-y {
        background-color: rgba(255, 255, 255, 0.25) !important;
    }

    /* ===== Sidebar — scrollable for laptop screens (fixed, native thin scrollbar) ===== */
    #layout-menu,
    aside.layout-menu {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    #layout-menu .ps__rail-x,
    #layout-menu .ps__rail-y,
    .layout-menu .ps__rail-x,
    .layout-menu .ps__rail-y {
        display: none !important;
    }
    #layout-menu .ps,
    #layout-menu .menu-inner {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
    }
    #layout-menu::-webkit-scrollbar { width: 5px; }
    #layout-menu::-webkit-scrollbar-track { background: transparent; }
    #layout-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
        border-radius: 999px;
    }
    #layout-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.32);
    }
    #layout-menu {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }
    .layout-page,
    .layout-content,
    .content-wrapper {
        height: auto !important;
        overflow: visible !important;
    }

    /* ===== Sidebar user profile card (glassmorphism) ===== */
    .sidebar-user-card-wrapper {
        list-style: none;
        margin: 16px 14px 20px;
        padding: 0;
    }
    .sidebar-user-card {
        position: relative;
        display: block;
        padding: 16px;
        border-radius: 18px;
        background: linear-gradient(140deg, rgba(0, 71, 171, 0.95) 0%, rgba(0, 51, 130, 0.92) 100%);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
        text-decoration: none !important;
        overflow: hidden;
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }
    .sidebar-user-card::before {
        content: '';
        position: absolute; top: -50%; right: -30%;
        width: 180px; height: 180px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
        pointer-events: none;
    }
    .sidebar-user-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow:
            0 14px 32px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    .sidebar-user-card .suc-top {
        display: flex; align-items: center; gap: 12px;
        position: relative; z-index: 1;
    }
    .sidebar-user-card .suc-avatar {
        position: relative; width: 52px; height: 52px; flex-shrink: 0;
    }
    .sidebar-user-card .suc-avatar img {
        width: 100%; height: 100%; border-radius: 50%;
        object-fit: cover;
        border: 2.5px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    .sidebar-user-card .suc-online {
        position: absolute; bottom: 1px; right: 1px;
        width: 13px; height: 13px; border-radius: 50%;
        background: #22c55e;
        border: 2.5px solid #0047AB;
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    }
    .sidebar-user-card .suc-info { flex: 1; min-width: 0; }
    .sidebar-user-card .suc-name {
        font-weight: 700; font-size: 0.95rem; color: #ffffff;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        line-height: 1.25;
        letter-spacing: -0.01em;
    }
    .sidebar-user-card .suc-role {
        font-size: 0.78rem; color: rgba(255, 255, 255, 0.72);
        margin-top: 3px; line-height: 1.2;
        font-weight: 400;
    }
    .sidebar-user-card .suc-arrow {
        color: rgba(255, 255, 255, 0.6); font-size: 1.05rem; flex-shrink: 0;
        transition: transform 0.2s ease, color 0.2s ease;
    }
    .sidebar-user-card:hover .suc-arrow {
        color: rgba(255, 255, 255, 0.9);
        transform: translateX(2px);
    }
    .sidebar-user-card .suc-progress-text {
        font-size: 0.78rem; color: rgba(255, 255, 255, 0.85);
        margin-top: 16px; margin-bottom: 8px;
        font-weight: 500;
        position: relative; z-index: 1;
    }
    .sidebar-user-card .suc-progress-bar {
        position: relative; z-index: 1;
        height: 6px;
        background: rgba(0, 0, 0, 0.22);
        border-radius: 999px;
        overflow: hidden;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
    }
    .sidebar-user-card .suc-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #ffffff 0%, #dbeafe 100%);
        border-radius: 999px;
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
        transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .layout-menu-collapsed:not(.layout-menu-hover) .sidebar-user-card-wrapper {
        display: none;
    }

    /* ===== Navbar override to match reference image ===== */
    .layout-navbar {
        background: #ffffff !important;
        border-radius: 14px !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
        padding: 0.6rem 1rem !important;
    }
    /* Parent claims 60% (= 40% less than full) so the search pill doesn't consume the whole navbar. */
    .layout-navbar .navbar-nav-right { width: 100%; }
    .layout-navbar .navbar-nav-right > .navbar-nav:first-child {
        flex: 0 1 60% !important;
        max-width: 60%;
        display: flex !important;
        align-items: center;
    }
    .layout-navbar .navbar-nav-right > .navbar-nav:first-child > .navbar-search-wrapper {
        width: 100%;
    }

    /* Search bar — high-fidelity component */
    .navbar-search-wrapper {
        flex: 0 1 auto; max-width: 100%; min-width: 280px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 0 14px;
        height: 42px;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-right: 0.5rem;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .navbar-search-wrapper:hover {
        border-color: #cbd5e1;
    }
    .navbar-search-wrapper:focus-within {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    }
    .navbar-search-wrapper .search-toggler {
        flex: 1; padding: 0 !important;
        display: flex !important; align-items: center; gap: 10px;
        text-decoration: none !important;
        height: 100%;
        line-height: 1;
        min-width: 0;
        color: #94a3b8 !important;
    }
    /* Lucide-style magnifying glass icon */
    .navbar-search-wrapper .search-toggler::before {
        content: '';
        display: inline-block;
        width: 18px; height: 18px;
        flex-shrink: 0;
        margin-left: 6px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    /* Hide library-injected content inside #autocomplete */
    .navbar-search-wrapper .search-toggler #autocomplete {
        flex: 1;
        font-size: 0 !important;
        color: transparent !important;
        line-height: 1;
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }
    .navbar-search-wrapper .search-toggler #autocomplete > * {
        display: none !important;
    }
    .navbar-search-wrapper .search-toggler #autocomplete::before {
        content: 'Search candidates, projects, skills, tasks...';
        color: #94a3b8;
        font-size: 0.875rem;
        font-weight: 400;
        display: inline-block;
        line-height: 1;
        letter-spacing: -0.005em;
    }
    /* Ctrl + K keyboard shortcut badge */
    .navbar-search-wrapper .kbd-hint {
        font-size: 0.7rem;
        color: #64748b;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 3px 8px;
        white-space: nowrap;
        font-weight: 600;
        font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
        letter-spacing: 0.01em;
        flex-shrink: 0;
        line-height: 1.2;
    }

    /* Icon buttons (theme, apps) */
    .layout-navbar .nav-link.btn-icon,
    .layout-navbar .navbar-nav .nav-link {
        color: #475569 !important;
    }
    .layout-navbar .navbar-nav .nav-link .icon-base {
        font-size: 1.25rem !important;
    }

    /* User avatar dropdown — add chevron */
    .dropdown-user .nav-link.dropdown-toggle.hide-arrow {
        display: inline-flex !important; align-items: center; gap: 8px;
    }
    .dropdown-user .nav-link.dropdown-toggle.hide-arrow::after {
        content: '\f282' !important;
        font-family: 'bootstrap-icons' !important;
        display: inline-block !important;
        border: 0 !important;
        font-size: 0.85rem !important;
        color: #6b7280 !important;
        margin: 0 !important;
        vertical-align: middle;
    }
    .dropdown-user .avatar.avatar-online::after {
        background: #10b981 !important;
        box-shadow: 0 0 0 2px #ffffff !important;
    }

    /* ===== Public Portfolio redesign ===== */
    .pp-page-bg { background: #f5f7fb !important; }
    body { background: #f5f7fb !important; }

    /* Hero */
    .pp-hero {
        position: relative;
        border-radius: 18px;
        overflow: hidden;
        padding: 2rem 2rem 1rem;
        background: radial-gradient(circle at 90% 30%, #1e3a8a 0%, #0f172a 60%, #0a1124 100%);
        color: #fff;
        margin-bottom: 1.5rem;
    }
    .pp-hero::before {
        content: ''; position: absolute; inset: 0;
        background-image:
            radial-gradient(circle at 0% 100%, rgba(59,130,246,0.15) 0%, transparent 35%),
            radial-gradient(circle at 100% 0%, rgba(139,92,246,0.12) 0%, transparent 35%);
        pointer-events: none;
    }
    .pp-hero-row {
        position: relative; display: flex; align-items: center; gap: 2rem;
        flex-wrap: wrap;
    }
    .pp-hero-left { flex: 1; min-width: 320px; z-index: 1; }
    .pp-hero-right { z-index: 1; }
    .pp-hero-badge {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(59, 130, 246, 0.18);
        color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3);
        border-radius: 999px;
        padding: 5px 14px; font-size: 0.78rem; font-weight: 600;
        margin-bottom: 16px;
    }
    .pp-hero-name {
        font-size: 2.3rem; font-weight: 800; margin: 0 0 8px;
        letter-spacing: -0.02em;
        color: #ffffff !important;
        display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    }
    .pp-hero-name .verified { color: #3b82f6; font-size: 1.6rem; line-height: 1; }
    .pp-hero-tagline {
        font-size: 0.95rem; color: rgba(255,255,255,0.7);
        margin: 0 0 18px; line-height: 1.5;
    }
    .pp-hero-chips {
        display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px;
    }
    .pp-chip {
        display: inline-flex; align-items: center; gap: 8px;
        background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 10px; padding: 8px 14px;
        font-size: 0.82rem; font-weight: 500;
    }
    .pp-chip i { color: #93c5fd; }
    .pp-hero-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
    .pp-btn-primary {
        background: #2563eb; color: #fff !important;
        border: none; border-radius: 10px;
        padding: 11px 20px; font-weight: 600; font-size: 0.88rem;
        display: inline-flex; align-items: center; gap: 8px;
        text-decoration: none; transition: background 0.15s;
        box-shadow: 0 4px 12px rgba(37,99,235,0.35);
    }
    .pp-btn-primary:hover { background: #1d4ed8; color: #fff !important; }
    .pp-social-btn {
        width: 42px; height: 42px; border-radius: 10px;
        background: rgba(255,255,255,0.06); color: #fff !important;
        border: 1px solid rgba(255,255,255,0.1);
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.05rem; text-decoration: none;
        transition: background 0.15s, border-color 0.15s;
    }
    .pp-social-btn:hover {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.2);
        color: #fff !important;
    }

    .pp-hero-photo-wrap {
        position: relative;
        width: 220px; height: 220px;
        display: flex; align-items: center; justify-content: center;
    }
    .pp-hero-photo-wrap::before,
    .pp-hero-photo-wrap::after {
        content: ''; position: absolute; border-radius: 50%;
        border: 1px dashed rgba(255,255,255,0.18);
    }
    .pp-hero-photo-wrap::before { width: 220px; height: 220px; }
    .pp-hero-photo-wrap::after { width: 180px; height: 180px; border-style: solid; border-color: rgba(59,130,246,0.25); border-width: 2px; }
    .pp-hero-photo {
        position: relative; z-index: 1;
        width: 170px; height: 170px; border-radius: 50%;
        object-fit: cover;
        border: 4px solid rgba(255,255,255,0.08);
        background: #fff;
    }
    .pp-hero-online {
        position: absolute; right: 10px; bottom: 14px;
        width: 18px; height: 18px; border-radius: 50%;
        background: #22c55e; border: 3px solid #0a1124;
        z-index: 2;
    }

    /* Bottom strip with quick stats */
    .pp-hero-strip {
        position: relative; z-index: 1;
        margin-top: 22px;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px;
        padding: 14px 20px;
        display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap;
    }
    .pp-strip-item {
        display: flex; align-items: center; gap: 12px; min-width: 200px;
    }
    .pp-strip-icon {
        width: 38px; height: 38px; border-radius: 10px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1rem; flex-shrink: 0;
    }
    .pp-strip-item.tasks .pp-strip-icon { background: rgba(124,58,237,0.2); color: #c4b5fd; }
    .pp-strip-item.projects .pp-strip-icon { background: rgba(16,185,129,0.2); color: #6ee7b7; }
    .pp-strip-item.days .pp-strip-icon { background: rgba(245,158,11,0.2); color: #fcd34d; }
    .pp-strip-item .num {
        font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1;
    }
    .pp-strip-item .lbl {
        font-size: 0.72rem; color: rgba(255,255,255,0.6); text-transform: uppercase;
        letter-spacing: 0.5px; margin-top: 4px; font-weight: 600;
    }

    /* Progress cards (3-card row) */
    .pp-card {
        background: #ffffff;
        border: 1px solid #eef0f4;
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 1px 3px rgba(15,23,42,0.04);
        transition: box-shadow 0.2s ease;
    }
    .pp-card:hover { box-shadow: 0 8px 24px rgba(15,23,42,0.06); }

    .pp-progress-card { display: flex; flex-direction: column; gap: 14px; height: 100%; }
    .pp-progress-head {
        display: flex; align-items: center; gap: 10px;
    }
    .pp-progress-head .ico {
        width: 28px; height: 28px; border-radius: 8px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.85rem;
    }
    .pp-progress-head .lbl {
        font-size: 0.72rem; font-weight: 800; letter-spacing: 1px;
        color: #475569; text-transform: uppercase;
    }
    .pp-progress-body { display: flex; align-items: center; gap: 18px; }
    .pp-ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
    .pp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
    .pp-ring .ring-bg { fill: none; stroke: #eef2f7; stroke-width: 8; }
    .pp-ring .ring-fg {
        fill: none; stroke-width: 8; stroke-linecap: round;
        transition: stroke-dashoffset 1.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }
    .pp-ring-text {
        position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
        text-align: center;
    }
    .pp-ring-text .pct {
        font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em;
        line-height: 1;
    }
    .pp-ring-text .sub {
        font-size: 0.55rem; letter-spacing: 1px; color: #94a3b8;
        text-transform: uppercase; margin-top: 4px; font-weight: 600;
    }
    .pp-progress-info { flex: 1; }
    .pp-progress-big {
        font-size: 1.8rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.02em; line-height: 1;
    }
    .pp-progress-sublbl {
        font-size: 0.85rem; color: #64748b; margin-top: 4px; font-weight: 500;
    }
    .pp-progress-foot {
        display: flex; gap: 10px; flex-wrap: wrap;
    }
    .pp-stat-pill {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 0.78rem; font-weight: 600;
        padding: 4px 10px; border-radius: 999px;
    }
    .pp-stat-pill.completed { background: #d1fae5; color: #047857; }
    .pp-stat-pill.pending { background: #fef3c7; color: #b45309; }
    .pp-progress-btn {
        display: block; text-align: center;
        background: rgba(37,99,235,0.06); color: #2563eb !important;
        border: 1px solid rgba(37,99,235,0.2);
        border-radius: 10px; padding: 10px;
        font-weight: 600; font-size: 0.85rem; text-decoration: none;
        margin-top: auto; transition: background 0.15s;
    }
    .pp-progress-btn:hover { background: rgba(37,99,235,0.1); color: #2563eb !important; }
    .pp-progress-btn.green { background: rgba(16,185,129,0.06); color: #047857 !important; border-color: rgba(16,185,129,0.2); }
    .pp-progress-btn.green:hover { background: rgba(16,185,129,0.1); color: #047857 !important; }
    .pp-progress-btn.orange { background: rgba(245,158,11,0.06); color: #b45309 !important; border-color: rgba(245,158,11,0.2); }
    .pp-progress-btn.orange:hover { background: rgba(245,158,11,0.1); color: #b45309 !important; }

    .pp-progress-card.tasks .pp-progress-head .ico { background: #ede9fe; color: #7c3aed; }
    .pp-progress-card.tasks .pp-ring .ring-fg { stroke: #2563eb; }
    .pp-progress-card.tasks .pp-ring-text .pct { color: #2563eb; }
    .pp-progress-card.projects .pp-progress-head .ico { background: #d1fae5; color: #10b981; }
    .pp-progress-card.projects .pp-ring .ring-fg { stroke: #10b981; }
    .pp-progress-card.projects .pp-ring-text .pct { color: #10b981; }
    .pp-progress-card.internship .pp-progress-head .ico { background: #fef3c7; color: #f59e0b; }
    .pp-progress-card.internship .pp-ring .ring-fg { stroke: #f59e0b; }
    .pp-progress-card.internship .pp-ring-text .pct { color: #f59e0b; }

    /* Internship timeline at the bottom */
    .pp-timeline {
        position: relative; padding: 10px 0;
    }
    .pp-timeline-track {
        position: relative; height: 3px; background: #fde68a; border-radius: 999px;
    }
    .pp-timeline-fill {
        position: absolute; left: 0; top: 0; bottom: 0;
        background: #f59e0b; border-radius: 999px;
    }
    .pp-timeline-dot {
        position: absolute; top: 50%; transform: translate(-50%, -50%);
        width: 10px; height: 10px; border-radius: 50%;
        background: #f59e0b; border: 2px solid #fff;
    }
    .pp-timeline-labels {
        display: flex; justify-content: space-between;
        margin-top: 10px; font-size: 0.72rem; color: #94a3b8;
    }
    .pp-timeline-labels strong { display: block; color: #0f172a; font-weight: 600; font-size: 0.78rem; }

    /* Quick stats (4-card row) */
    .pp-quick-stat {
        background: #fff; border-radius: 14px; padding: 16px;
        display: flex; align-items: center; gap: 14px;
        border: 1px solid #eef0f4;
        border-bottom: 3px solid transparent;
        position: relative;
    }
    .pp-quick-stat .ico {
        width: 40px; height: 40px; border-radius: 10px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.1rem;
    }
    .pp-quick-stat .val {
        font-size: 1.6rem; font-weight: 800; color: #0f172a; line-height: 1;
    }
    .pp-quick-stat .lbl {
        font-size: 0.7rem; color: #94a3b8; text-transform: uppercase;
        letter-spacing: 1px; margin-top: 4px; font-weight: 700;
    }
    .pp-quick-stat.blue { border-bottom-color: #2563eb; }
    .pp-quick-stat.blue .ico { background: #dbeafe; color: #2563eb; }
    .pp-quick-stat.green { border-bottom-color: #10b981; }
    .pp-quick-stat.green .ico { background: #d1fae5; color: #10b981; }
    .pp-quick-stat.indigo { border-bottom-color: #6366f1; }
    .pp-quick-stat.indigo .ico { background: #e0e7ff; color: #6366f1; }
    .pp-quick-stat.orange { border-bottom-color: #f59e0b; }
    .pp-quick-stat.orange .ico { background: #fef3c7; color: #f59e0b; }

    /* Feature card head */
    .pp-feature-head {
        display: flex; justify-content: space-between; align-items: center;
        margin-bottom: 1rem;
    }
    .pp-feature-head h6 {
        margin: 0; font-size: 1rem; font-weight: 800; color: #0f172a;
        display: flex; align-items: center; gap: 8px;
        letter-spacing: -0.01em;
    }
    .pp-feature-head h6 .head-ico {
        width: 22px; height: 22px; border-radius: 6px;
        background: #dbeafe; color: #2563eb;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.78rem;
    }
    .pp-feature-head a {
        color: #2563eb; font-size: 0.82rem; font-weight: 600; text-decoration: none;
    }

    /* Featured project */
    .pp-project { display: flex; gap: 1.25rem; }
    .pp-project-img {
        width: 200px; height: 130px; border-radius: 12px; flex-shrink: 0;
        background: linear-gradient(135deg, #0f172a, #1e3a8a);
        object-fit: cover;
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-size: 0.8rem;
    }
    .pp-project-info { flex: 1; }
    .pp-project-title-row {
        display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
    }
    .pp-project-title-row h6 {
        font-size: 1.05rem; font-weight: 800; color: #0f172a; margin: 0;
    }
    .pp-badge-fullstack {
        background: #ede9fe; color: #7c3aed;
        font-size: 0.7rem; font-weight: 700;
        padding: 3px 10px; border-radius: 999px;
    }
    .pp-project-desc {
        font-size: 0.85rem; color: #64748b; line-height: 1.5; margin: 0 0 10px;
    }
    .pp-tech-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
    .pp-tech-chip {
        font-size: 0.72rem; font-weight: 500; color: #475569;
        background: #f3f4f6; border: 1px solid #e5e7eb;
        border-radius: 6px; padding: 3px 9px;
    }
    .pp-project-foot {
        display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    }
    .pp-project-date {
        font-size: 0.78rem; color: #94a3b8;
        display: inline-flex; align-items: center; gap: 6px;
    }
    .pp-project-link {
        background: rgba(37,99,235,0.06); color: #2563eb !important;
        border: 1px solid rgba(37,99,235,0.18);
        border-radius: 8px; padding: 6px 14px;
        font-size: 0.78rem; font-weight: 600; text-decoration: none;
    }
    .pp-project-link:hover { background: rgba(37,99,235,0.12); color: #2563eb !important; }

    /* Skills grid */
    .pp-skills-grid {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    }
    .pp-skill-tile {
        display: flex; align-items: center; gap: 10px;
        padding: 10px 14px; border-radius: 10px;
        background: #f8fafc; border: 1px solid #eef0f4;
        font-size: 0.85rem; font-weight: 600; color: #0f172a;
    }
    .pp-skill-tile .ico {
        width: 30px; height: 30px; border-radius: 7px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.82rem; font-weight: 700; color: #fff; flex-shrink: 0;
    }
    .pp-skill-tile .ico.php { background: #6366f1; }
    .pp-skill-tile .ico.mysql { background: #0ea5e9; }
    .pp-skill-tile .ico.js { background: #facc15; color: #1e293b; }
    .pp-skill-tile .ico.bs { background: #7c3aed; }
    .pp-skill-tile .ico.html { background: #ef4444; }
    .pp-skill-tile .ico.css { background: #3b82f6; }
    .pp-skill-tile .ico.git { background: #0f172a; }
    .pp-skill-tile .ico.default { background: #64748b; }

    /* Achievements & Certificates empty cards */
    .pp-empty-row {
        display: flex; align-items: center; gap: 14px;
        padding: 10px 4px;
    }
    .pp-empty-row .ico {
        width: 44px; height: 44px; border-radius: 12px;
        background: #fef3c7; color: #f59e0b;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.2rem; flex-shrink: 0;
    }
    .pp-empty-row.cert .ico { background: #dbeafe; color: #2563eb; }
    .pp-empty-row .text { line-height: 1.4; }
    .pp-empty-row .text strong { display: block; font-size: 0.92rem; color: #0f172a; }
    .pp-empty-row .text small { color: #94a3b8; font-size: 0.78rem; }

    :root {
        --glass-bg: rgba(255, 255, 255, 0.65);
        --glass-border: rgba(255, 255, 255, 0.4);
        --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
        --card-radius: 1.25rem;
        --transition-smooth: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    body {
        background: linear-gradient(135deg, #f6f9fc 0%, #eef2f5 100%);
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
    }

    /* HERO SECTION */
    .hero-section {
        position: relative;
        min-height: 480px;
        border-radius: 2rem;
        overflow: hidden;
        margin-bottom: 3rem;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    }
    
    .hero-bg-pattern {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(circle at 20% 80%, rgba(59,130,246,0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(139,92,246,0.15) 0%, transparent 50%),
            repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 8px);
        pointer-events: none;
    }
    
    .hero-content {
        position: relative;
        z-index: 2;
        padding: 3rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .hero-left {
        flex: 1;
        min-width: 280px;
    }
    
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(59,130,246,0.2);
        backdrop-filter: blur(10px);
        padding: 0.5rem 1rem;
        border-radius: 100px;
        font-size: 0.75rem;
        font-weight: 600;
        color: #3b82f6;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(59,130,246,0.3);
    }
    
    .hero-title {
        font-size: 3rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        color: #94a3b8;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-tag {
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(10px);
        padding: 0.4rem 1rem;
        border-radius: 100px;
        font-size: 0.8rem;
        color: #cbd5e1;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-stats {
        display: flex;
        gap: 2rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-stat {
        text-align: center;
    }
    
    .hero-stat-value {
        font-size: 1.5rem;
        font-weight: 800;
        color: white;
        display: block;
    }
    
    .hero-stat-label {
        font-size: 0.7rem;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .hero-right {
        position: relative;
    }
    
    .hero-avatar-wrapper {
        position: relative;
        width: 220px;
        height: 220px;
    }
    
    .hero-avatar {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid rgba(59,130,246,0.5);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        transition: transform 0.3s ease;
    }
    
    .hero-avatar:hover {
        transform: scale(1.02);
    }
    
    .hero-avatar-ring {
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 50%;
        border: 2px dashed rgba(59,130,246,0.4);
        animation: spin 20s linear infinite;
    }
    
    @keyframes spin {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .hero-status {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: 16px;
        height: 16px;
        background: #10b981;
        border-radius: 50%;
        border: 2px solid white;
        box-shadow: 0 0 10px rgba(16,185,129,0.5);
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(1.1); }
    }
    
    .float-1, .float-2, .float-3 {
        position: absolute;
        background: rgba(59,130,246,0.1);
        backdrop-filter: blur(5px);
        border-radius: 50%;
        pointer-events: none;
    }
    
    .float-1 {
        width: 60px;
        height: 60px;
        top: 10%;
        right: 5%;
        animation: float 6s ease-in-out infinite;
    }
    
    .float-2 {
        width: 40px;
        height: 40px;
        bottom: 15%;
        left: 5%;
        animation: float 8s ease-in-out infinite reverse;
    }
    
    .float-3 {
        width: 80px;
        height: 80px;
        top: 50%;
        right: 15%;
        animation: float 10s ease-in-out infinite;
    }
    
    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-20px); }
    }

    /* ENHANCED RING SECTION */
    .ring-card {
        background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
        backdrop-filter: blur(12px);
        border-radius: 2rem;
        padding: 2rem 1.5rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.5);
        box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
        height: 100%;
    }

    .ring-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 30px 45px -15px rgba(0,0,0,0.2);
    }

    .ring-card-tasks:hover { border-color: #3b82f6; }
    .ring-card-projects:hover { border-color: #10b981; }
    .ring-card-internship:hover { border-color: #f59e0b; }

    .progress-card {
        position: relative;
        width: 170px;
        height: 170px;
        margin: 0 auto;
    }

    .progress-ring {
        transform: rotate(-90deg);
        width: 100%;
        height: 100%;
    }

    .progress-ring-bg {
        fill: none;
        stroke: rgba(0, 0, 0, 0.06);
        stroke-width: 10;
        stroke-dasharray: 8 12;
    }

    .progress-ring-fill {
        fill: none;
        stroke-width: 10;
        stroke-linecap: round;
        transition: stroke-dashoffset 1.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }

    .progress-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .progress-value {
        font-size: 1.8rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .ring-card-tasks .progress-value { color: #3b82f6; }
    .ring-card-projects .progress-value { color: #10b981; }
    .ring-card-internship .progress-value { color: #f59e0b; }

    .progress-label {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #6c86a3;
        margin-top: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }

    .ring-details {
        text-align: center;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .ring-detail-header {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #6c86a3;
        margin-bottom: 0.75rem;
    }

    .ring-stats {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
    }

    .ring-stats .completed { color: #1e293b; }
    .ring-stats .separator {
        font-size: 1.2rem;
        color: #94a3b8;
        margin: 0 4px;
    }
    .ring-stats .total { color: #94a3b8; }
    .ring-stats .unit {
        font-size: 0.8rem;
        font-weight: 500;
        color: #94a3b8;
        margin-left: 4px;
    }

    .ring-progress-bar {
        height: 6px;
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 0.75rem;
    }

    .ring-progress-fill {
        height: 100%;
        border-radius: 10px;
        transition: width 1s ease;
    }
    .ring-card-tasks .ring-progress-fill { background: linear-gradient(90deg, #3b82f6, #1e40af); }
    .ring-card-projects .ring-progress-fill { background: linear-gradient(90deg, #10b981, #047857); }
    .ring-card-internship .ring-progress-fill { background: linear-gradient(90deg, #f59e0b, #b45309); }

    .ring-stats-sub {
        display: flex;
        justify-content: center;
        gap: 1rem;
        font-size: 0.7rem;
        flex-wrap: wrap;
    }
    .ring-stats-sub .done { color: #10b981; }
    .ring-stats-sub .pending { color: #f59e0b; }

    .ring-status-badge {
        margin-top: 1rem;
        padding: 0.5rem 1rem;
        border-radius: 100px;
        text-align: center;
        font-size: 0.7rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        transition: all 0.3s ease;
    }
    .task-status {
        background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
        color: #3b82f6;
        border: 1px solid rgba(59,130,246,0.2);
    }
    .project-status {
        background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
        color: #10b981;
        border: 1px solid rgba(16,185,129,0.2);
    }
    .internship-status {
        background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
        color: #f59e0b;
        border: 1px solid rgba(245,158,11,0.2);
    }

    /* STATS CARDS */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat-card-modern {
        background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 1.75rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.6);
        box-shadow: 0 10px 30px -8px rgba(0,0,0,0.1);
    }
    
    .stat-card-modern:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.2);
    }
    
    .stat-card-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--stat-color), transparent);
    }
    
    .stat-icon-wrapper {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .stat-icon-modern {
        font-size: 2rem;
    }
    
    .stat-value-modern {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1e293b;
        line-height: 1;
        margin-bottom: 0.25rem;
    }
    
    .stat-label-modern {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #6c86a3;
    }

    /* ABOUT SECTION */
    .about-section {
        background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 2rem;
        margin-bottom: 2rem;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.6);
        transition: all 0.4s ease;
    }
    
    .about-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
    }
    
    .about-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #3b82f6, #1e40af);
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .about-icon i {
        font-size: 1.5rem;
        color: white;
    }
    
    .about-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.5rem;
    }
    
    .about-quote {
        font-size: 0.9rem;
        color: #6c86a3;
        line-height: 1.8;
        position: relative;
        padding-left: 1rem;
        border-left: 3px solid #3b82f6;
        font-style: italic;
    }

    /* SKILLS SECTION */
    .skills-section {
        background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 2rem;
        margin-bottom: 2rem;
        transition: all 0.4s ease;
    }
    
    .skills-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
    }
    
    .skills-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .skills-icon {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #10b981, #047857);
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .skills-icon i {
        font-size: 1.5rem;
        color: white;
    }
    
    .skills-title {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0;
    }
    
    .skill-tag-advanced {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(16,185,129,0.05));
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        color: #1e293b;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 1px solid rgba(59,130,246,0.2);
        margin: 0.35rem;
    }
    
    .skill-tag-advanced:hover {
        transform: translateY(-3px);
        background: linear-gradient(135deg, #3b82f6, #1e40af);
        color: white;
        border-color: transparent;
        box-shadow: 0 10px 20px -8px rgba(59,130,246,0.4);
    }

    /* PROJECTS SECTION */
    .projects-section {
        background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 2rem;
        margin-bottom: 2rem;
        transition: all 0.4s ease;
    }
    
    .projects-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
    }
    
    .project-card-modern {
        background: rgba(255,255,255,0.6);
        border-radius: 1rem;
        padding: 1.5rem;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 1px solid rgba(0,0,0,0.05);
        height: 100%;
    }
    
    .project-card-modern:hover {
        transform: translateY(-5px);
        background: white;
        border-color: #3b82f6;
        box-shadow: 0 10px 25px -8px rgba(0,0,0,0.1);
    }
    
    .project-icon-modern {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, #3b82f6, #1e40af);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .project-icon-modern i {
        font-size: 1.5rem;
        color: white;
    }
    
    .project-title-modern {
        font-size: 1rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.5rem;
    }
    
    .project-date-modern {
        font-size: 0.7rem;
        color: #f59e0b;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }
    
    .project-desc-modern {
        font-size: 0.85rem;
        color: #6c86a3;
        line-height: 1.5;
    }

    /* CERTIFICATES SECTION */
    .certificates-section {
        background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 2rem;
        margin-bottom: 2rem;
        transition: all 0.4s ease;
    }
    
    .certificates-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
    }
    
    .cert-card-modern {
        background: rgba(255,255,255,0.6);
        border-radius: 1rem;
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid rgba(0,0,0,0.05);
        height: 100%;
    }
    
    .cert-card-modern:hover {
        transform: translateY(-5px);
        background: white;
        border-color: #f59e0b;
        box-shadow: 0 10px 25px -8px rgba(0,0,0,0.1);
    }
    
    .cert-icon-modern {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #f59e0b, #ea580c);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
    }
    
    .cert-icon-modern i {
        font-size: 1.8rem;
        color: white;
    }
    
    .cert-title-modern {
        font-size: 0.95rem;
        font-weight: 700;
        color: #1e293b;
        margin-bottom: 0.5rem;
    }
    
    .cert-date-modern {
        font-size: 0.7rem;
        color: #f59e0b;
        margin-bottom: 1rem;
    }
    
    .btn-download-modern {
        background: linear-gradient(135deg, #3b82f6, #1e40af);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        font-size: 0.8rem;
        font-weight: 600;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .btn-download-modern:hover {
        transform: translateY(-2px);
        color: white;
        box-shadow: 0 5px 15px rgba(59,130,246,0.3);
    }

    /* BADGES SECTION */
    .badges-section {
        background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 2rem;
        transition: all 0.4s ease;
    }
    
    .badges-section:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -12px rgba(0,0,0,0.15);
    }
    
    .badge-card-modern {
        text-align: center;
        padding: 1rem;
        border-radius: 1rem;
        transition: all 0.3s ease;
        cursor: pointer;
        background: rgba(255,255,255,0.5);
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .badge-card-modern.earned {
        background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(16,185,129,0.08));
        border: 1px solid rgba(59,130,246,0.3);
    }
    
    .badge-card-modern.locked {
        opacity: 0.5;
        filter: grayscale(0.3);
    }
    
    .badge-card-modern:hover {
        transform: translateY(-5px);
        background: rgba(255,255,255,0.9);
    }
    
    .badge-icon-modern {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .empty-state-modern {
        text-align: center;
        padding: 3rem;
        color: #6c86a3;
    }
    
    .empty-state-modern i {
        font-size: 3rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-card {
        animation: fadeInUp 0.5s ease-out forwards;
    }

    @media (max-width: 768px) {
        .hero-content {
            padding: 2rem;
            flex-direction: column;
            text-align: center;
        }
        .hero-title {
            font-size: 2rem;
        }
        .hero-tags {
            justify-content: center;
        }
        .hero-stats {
            justify-content: center;
        }
        .hero-avatar-wrapper {
            width: 160px;
            height: 160px;
        }
        .ring-card {
            padding: 1.5rem 1rem;
        }
        .progress-card {
            width: 140px;
            height: 140px;
        }
        .progress-value {
            font-size: 1.4rem;
        }
        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        .stat-value-modern {
            font-size: 1.5rem;
        }
        .stat-icon-wrapper {
            width: 45px;
            height: 45px;
        }
        .stat-icon-modern {
            font-size: 1.3rem;
        }
    }

    /* my projects */

   
    /* ===== Sidebar — dark navy blue override ===== */
    #layout-menu,
    aside.layout-menu,
    .bg-menu-theme {
        background: #0a2a66 !important;
        background-image: linear-gradient(180deg, #0a2a66 0%, #081f4d 100%) !important;
        border-right: 0 !important;
    }
    .bg-menu-theme .menu-inner > .menu-item .menu-link,
    #layout-menu .menu-link {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .bg-menu-theme .menu-inner > .menu-item .menu-link:hover,
    #layout-menu .menu-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }
    .bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
    #layout-menu .menu-item.active > .menu-link {
        background: #2563eb !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
    }
    .bg-menu-theme .menu-inner > .menu-item.active > .menu-link .menu-icon,
    #layout-menu .menu-item.active > .menu-link .menu-icon {
        color: #ffffff !important;
    }
    .bg-menu-theme .menu-inner .menu-header,
    #layout-menu .menu-header {
        color: rgba(255, 255, 255, 0.45) !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.7rem;
    }
    .bg-menu-theme .menu-inner .menu-icon,
    #layout-menu .menu-icon {
        color: rgba(255, 255, 255, 0.75) !important;
    }
    .bg-menu-theme .app-brand,
    #layout-menu .app-brand {
        background: transparent !important;
    }
    .bg-menu-theme .app-brand-text,
    #layout-menu .app-brand-text {
        color: #ffffff !important;
    }
    .bg-menu-theme hr,
    #layout-menu hr,
    .bg-menu-theme .menu-divider {
        border-color: rgba(255, 255, 255, 0.08) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
    }
    .bg-menu-theme .menu-sub > .menu-item .menu-link,
    #layout-menu .menu-sub .menu-link {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    .bg-menu-theme .menu-sub > .menu-item.active > .menu-link,
    #layout-menu .menu-sub .menu-item.active > .menu-link {
        color: #ffffff !important;
    }
    .layout-menu-toggle .bx,
    #layout-menu .layout-menu-toggle {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .bg-menu-theme .ps__thumb-y,
    #layout-menu .ps__thumb-y {
        background-color: rgba(255, 255, 255, 0.25) !important;
    }

    /* ===== Sidebar — scrollable for laptop screens (fixed, native thin scrollbar) ===== */
    #layout-menu,
    aside.layout-menu {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    #layout-menu .ps__rail-x,
    #layout-menu .ps__rail-y,
    .layout-menu .ps__rail-x,
    .layout-menu .ps__rail-y {
        display: none !important;
    }
    #layout-menu .ps,
    #layout-menu .menu-inner {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
    }
    #layout-menu::-webkit-scrollbar { width: 5px; }
    #layout-menu::-webkit-scrollbar-track { background: transparent; }
    #layout-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
        border-radius: 999px;
    }
    #layout-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.32);
    }
    #layout-menu {
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    }
    .layout-page,
    .layout-content,
    .content-wrapper {
        height: auto !important;
        overflow: visible !important;
    }

    /* ===== Sidebar user profile card (glassmorphism) ===== */
    .sidebar-user-card-wrapper {
        list-style: none;
        margin: 16px 14px 20px;
        padding: 0;
    }
    .sidebar-user-card {
        position: relative;
        display: block;
        padding: 16px;
        border-radius: 18px;
        background: linear-gradient(140deg, rgba(0, 71, 171, 0.95) 0%, rgba(0, 51, 130, 0.92) 100%);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
        text-decoration: none !important;
        overflow: hidden;
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }
    .sidebar-user-card::before {
        content: '';
        position: absolute; top: -50%; right: -30%;
        width: 180px; height: 180px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
        pointer-events: none;
    }
    .sidebar-user-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow:
            0 14px 32px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    .sidebar-user-card .suc-top {
        display: flex; align-items: center; gap: 12px;
        position: relative; z-index: 1;
    }
    .sidebar-user-card .suc-avatar {
        position: relative; width: 52px; height: 52px; flex-shrink: 0;
    }
    .sidebar-user-card .suc-avatar img {
        width: 100%; height: 100%; border-radius: 50%;
        object-fit: cover;
        border: 2.5px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    .sidebar-user-card .suc-online {
        position: absolute; bottom: 1px; right: 1px;
        width: 13px; height: 13px; border-radius: 50%;
        background: #22c55e;
        border: 2.5px solid #0047AB;
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    }
    .sidebar-user-card .suc-info { flex: 1; min-width: 0; }
    .sidebar-user-card .suc-name {
        font-weight: 700; font-size: 0.95rem; color: #ffffff;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        line-height: 1.25;
        letter-spacing: -0.01em;
    }
    .sidebar-user-card .suc-role {
        font-size: 0.78rem; color: rgba(255, 255, 255, 0.72);
        margin-top: 3px; line-height: 1.2;
        font-weight: 400;
    }
    .sidebar-user-card .suc-arrow {
        color: rgba(255, 255, 255, 0.6); font-size: 1.05rem; flex-shrink: 0;
        transition: transform 0.2s ease, color 0.2s ease;
    }
    .sidebar-user-card:hover .suc-arrow {
        color: rgba(255, 255, 255, 0.9);
        transform: translateX(2px);
    }
    .sidebar-user-card .suc-progress-text {
        font-size: 0.78rem; color: rgba(255, 255, 255, 0.85);
        margin-top: 16px; margin-bottom: 8px;
        font-weight: 500;
        position: relative; z-index: 1;
    }
    .sidebar-user-card .suc-progress-bar {
        position: relative; z-index: 1;
        height: 6px;
        background: rgba(0, 0, 0, 0.22);
        border-radius: 999px;
        overflow: hidden;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
    }
    .sidebar-user-card .suc-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #ffffff 0%, #dbeafe 100%);
        border-radius: 999px;
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
        transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .layout-menu-collapsed:not(.layout-menu-hover) .sidebar-user-card-wrapper {
        display: none;
    }

    /* ===== Navbar override to match reference image ===== */
    .layout-navbar {
        background: #ffffff !important;
        border-radius: 14px !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
        padding: 0.6rem 1rem !important;
    }
    /* Parent claims 60% (= 40% less than full) so the search pill doesn't consume the whole navbar. */
    .layout-navbar .navbar-nav-right { width: 100%; }
    .layout-navbar .navbar-nav-right > .navbar-nav:first-child {
        flex: 0 1 60% !important;
        max-width: 60%;
        display: flex !important;
        align-items: center;
    }
    .layout-navbar .navbar-nav-right > .navbar-nav:first-child > .navbar-search-wrapper {
        width: 100%;
    }

    /* Search bar — high-fidelity component */
    .navbar-search-wrapper {
        flex: 0 1 auto; max-width: 100%; min-width: 280px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 0 14px;
        height: 42px;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-right: 0.5rem;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .navbar-search-wrapper:hover {
        border-color: #cbd5e1;
    }
    .navbar-search-wrapper:focus-within {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    }
    .navbar-search-wrapper .search-toggler {
        flex: 1; padding: 0 !important;
        display: flex !important; align-items: center; gap: 10px;
        text-decoration: none !important;
        height: 100%;
        line-height: 1;
        min-width: 0;
        color: #94a3b8 !important;
    }
    /* Lucide-style magnifying glass icon */
    .navbar-search-wrapper .search-toggler::before {
        content: '';
        display: inline-block;
        width: 18px; height: 18px;
        flex-shrink: 0;
        margin-left: 6px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    /* Hide library-injected content inside #autocomplete */
    .navbar-search-wrapper .search-toggler #autocomplete {
        flex: 1;
        font-size: 0 !important;
        color: transparent !important;
        line-height: 1;
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }
    .navbar-search-wrapper .search-toggler #autocomplete > * {
        display: none !important;
    }
    .navbar-search-wrapper .search-toggler #autocomplete::before {
        content: 'Search candidates, projects, skills, tasks...';
        color: #94a3b8;
        font-size: 0.875rem;
        font-weight: 400;
        display: inline-block;
        line-height: 1;
        letter-spacing: -0.005em;
    }
    /* Ctrl + K keyboard shortcut badge */
    .navbar-search-wrapper .kbd-hint {
        font-size: 0.7rem;
        color: #64748b;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 6px;
        padding: 3px 8px;
        white-space: nowrap;
        font-weight: 600;
        font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
        letter-spacing: 0.01em;
        flex-shrink: 0;
        line-height: 1.2;
    }

    /* Icon buttons (theme, apps) */
    .layout-navbar .nav-link.btn-icon,
    .layout-navbar .navbar-nav .nav-link {
        color: #475569 !important;
    }
    .layout-navbar .navbar-nav .nav-link .icon-base {
        font-size: 1.25rem !important;
    }

    /* User avatar dropdown — add chevron */
    .dropdown-user .nav-link.dropdown-toggle.hide-arrow {
        display: inline-flex !important; align-items: center; gap: 8px;
    }
    .dropdown-user .nav-link.dropdown-toggle.hide-arrow::after {
        content: '\f282' !important;
        font-family: 'bootstrap-icons' !important;
        display: inline-block !important;
        border: 0 !important;
        font-size: 0.85rem !important;
        color: #6b7280 !important;
        margin: 0 !important;
        vertical-align: middle;
    }
    .dropdown-user .avatar.avatar-online::after {
        background: #10b981 !important;
        box-shadow: 0 0 0 2px #ffffff !important;
    }

    :root {
        --glass-bg: rgba(255, 255, 255, 0.65);
        --glass-border: rgba(255, 255, 255, 0.4);
        --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
        --card-radius: 1.25rem;
        --transition-smooth: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
        --primary-gradient: linear-gradient(135deg, #3b82f6, #1e40af);
        --success-gradient: linear-gradient(135deg, #10b981, #047857);
        --warning-gradient: linear-gradient(135deg, #f59e0b, #b45309);
        --info-gradient: linear-gradient(135deg, #8b5cf6, #6d28d9);
    }

    body {
        background: linear-gradient(135deg, #f6f9fc 0%, #eef2f5 100%);
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
    }

    /* Premium Card */
    .premium-card {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 1.5rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }

    .premium-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    }

    /* Stat Cards */
    .stat-card-premium {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 1.5rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }

    .stat-card-premium::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--stat-gradient);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .stat-card-premium:hover::after {
        transform: scaleX(1);
    }

    .stat-card-premium:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.2);
    }

    .stat-icon-premium {
        width: 60px;
        height: 60px;
        background: var(--stat-bg);
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .stat-value-premium {
        font-size: 2.2rem;
        font-weight: 800;
        background: var(--stat-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
    }

    /* Badge Styles */
    .badge-custom {
        padding: 0.4rem 0.8rem;
        border-radius: 50px;
        font-size: 0.7rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
    }

    .badge-ongoing { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
    .badge-submitted { background: rgba(139,92,246,0.15); color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); }
    .badge-approved { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
    .badge-rejected { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

    /* Quick Stats */
    .quick-stats {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }

    .quick-stat-item {
        flex: 1;
        min-width: 100px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 0.75rem;
        padding: 0.75rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .quick-stat-item:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
    }

    /* Table Styles */
    .projects-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .projects-table {
        width: 100%;
        min-width: 650px;
        margin-bottom: 0;
    }

    .projects-table thead th {
        background: rgba(255, 255, 255, 0.9);
        padding: 0.75rem;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #6c86a3;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        white-space: nowrap;
    }

    .projects-table tbody tr {
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .projects-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    .projects-table tbody td {
        padding: 0.75rem;
        vertical-align: middle;
    }

    .timeline-cell {
        min-width: 100px;
    }

    /* Project Cards for Mobile */
    .project-mobile-card {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
        border-radius: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

    .project-mobile-card:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
    }

    /* Animations */
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animate-card {
        animation: fadeInUp 0.5s ease-out forwards;
    }

    @media (max-width: 768px) {
        .stat-card-premium {
            padding: 1rem;
        }
        .stat-value-premium {
            font-size: 1.5rem;
        }
        .stat-icon-premium {
            width: 45px;
            height: 45px;
        }
        .quick-stats {
            flex-wrap: wrap;
        }
        .quick-stat-item {
            min-width: calc(50% - 0.5rem);
        }
        .desktop-table {
            display: none;
        }
        .mobile-cards-view {
            display: block !important;
        }
    }

    @media (min-width: 769px) {
        .mobile-cards-view {
            display: none;
        }
        .desktop-table {
            display: block;
        }
    }

    /* ===== Projects Page redesign ===== */
    body { background: #f5f7fb !important; }

    .pr-card {
        background: #ffffff;
        border: 1px solid #eef0f4;
        border-radius: 16px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        transition: box-shadow 0.2s ease;
    }
    .pr-card:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }

    /* Page header */
    .pr-page-head {
        display: flex; justify-content: space-between; align-items: center;
        flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem;
    }
    .pr-page-head h4 {
        margin: 0 0 4px; font-size: 1.5rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.01em;
        display: inline-flex; align-items: center; gap: 10px;
    }
    .pr-page-head h4 .ico {
        width: 28px; height: 28px; border-radius: 8px;
        background: #dbeafe; color: #2563eb;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
    }
    .pr-page-head .sub { font-size: 0.85rem; color: #64748b; margin: 0; }
    .pr-date-pill {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 8px 14px;
        font-size: 0.85rem; font-weight: 600; color: #2563eb;
        display: inline-flex; align-items: center; gap: 8px;
        cursor: pointer;
    }
    .pr-date-pill i { color: #2563eb; }

    /* Stat cards */
    .pr-stat {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 14px; padding: 18px;
        display: flex; align-items: center; gap: 16px;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
        transition: box-shadow 0.2s ease;
        position: relative;
    }
    .pr-stat:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
    .pr-stat .ico {
        width: 54px; height: 54px; border-radius: 50%;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.3rem; flex-shrink: 0;
    }
    .pr-stat .meta { flex: 1; min-width: 0; }
    .pr-stat .lbl {
        font-size: 0.85rem; color: #64748b; font-weight: 500;
        margin: 0 0 4px;
    }
    .pr-stat .val {
        font-size: 1.8rem; font-weight: 800; color: #0f172a; line-height: 1;
        letter-spacing: -0.02em;
    }
    .pr-stat .trend {
        margin-top: 10px; font-size: 0.78rem; color: #10b981; font-weight: 600;
        display: inline-flex; align-items: center; gap: 4px;
    }
    .pr-stat.blue .ico { background: #dbeafe; color: #2563eb; }
    .pr-stat.orange .ico { background: #fef3c7; color: #f59e0b; }
    .pr-stat.purple .ico { background: #ede9fe; color: #7c3aed; }
    .pr-stat.green .ico { background: #d1fae5; color: #10b981; }
    .pr-stat.indigo .ico { background: #e0e7ff; color: #6366f1; }
    .pr-stat.amber .ico { background: #fef3c7; color: #f59e0b; }
    .pr-stat.cyan .ico { background: #cffafe; color: #0891b2; }

    .pr-stat-rate-bar {
        height: 4px; background: #e2e8f0; border-radius: 999px; overflow: hidden;
        margin-top: 10px;
    }
    .pr-stat-rate-bar .fill {
        height: 100%; background: #f59e0b; border-radius: 999px;
        transition: width 0.6s ease;
    }
    .pr-stat-rate-row {
        display: flex; align-items: center; justify-content: space-between;
        font-size: 0.78rem; color: #94a3b8; margin-top: 6px;
    }

    /* Assigned projects card */
    .pr-assigned-card { padding: 1.5rem; margin-bottom: 1.5rem; }
    .pr-assigned-head {
        display: flex; justify-content: space-between; align-items: center;
        flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem;
    }
    .pr-assigned-head .title {
        font-size: 1.1rem; font-weight: 800; color: #0f172a; margin: 0;
        display: inline-flex; align-items: center; gap: 10px;
        letter-spacing: -0.01em;
    }
    .pr-assigned-head .title .ico {
        width: 26px; height: 26px; border-radius: 7px;
        background: #dbeafe; color: #2563eb;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.85rem;
    }
    .pr-assigned-head .sub {
        font-size: 0.82rem; color: #64748b; margin: 4px 0 0;
    }
    .pr-assigned-head .actions {
        display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    }
    .pr-search-input {
        position: relative;
    }
    .pr-search-input input {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 9px 38px 9px 14px;
        font-size: 0.85rem; width: 240px;
        transition: border-color 0.15s ease;
    }
    .pr-search-input input:focus {
        outline: none; border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    }
    .pr-search-input .ico {
        position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
        color: #94a3b8; font-size: 0.95rem;
    }
    .pr-filter-btn {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 9px 16px;
        font-size: 0.85rem; font-weight: 600; color: #475569;
        display: inline-flex; align-items: center; gap: 8px;
        cursor: pointer; transition: background 0.15s;
    }
    .pr-filter-btn:hover { background: #f8fafc; }
    .pr-new-btn {
        background: #2563eb; color: #ffffff !important;
        border: none; border-radius: 10px;
        padding: 9px 18px; font-weight: 600; font-size: 0.85rem;
        display: inline-flex; align-items: center; gap: 8px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        transition: background 0.15s;
    }
    .pr-new-btn:hover { background: #1d4ed8; color: #ffffff !important; }

    /* New table */
    .pr-table { width: 100%; }
    .pr-table thead th {
        font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: 1px; color: #94a3b8;
        padding: 14px 16px; background: transparent;
        border-bottom: 1px solid #eef0f4;
    }
    .pr-table tbody td {
        padding: 16px; font-size: 0.85rem;
        border-bottom: 1px solid #f1f5f9;
        vertical-align: middle;
    }
    .pr-table tbody tr:last-child td { border-bottom: 0; }
    .pr-proj-cell { display: flex; align-items: center; gap: 12px; }
    .pr-proj-icon {
        width: 38px; height: 38px; border-radius: 10px;
        background: #f3f4f6; color: #475569;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1rem; flex-shrink: 0;
    }
    .pr-proj-title { font-weight: 700; color: #0f172a; line-height: 1.2; }
    .pr-proj-sub { font-size: 0.75rem; color: #94a3b8; margin-top: 2px; }
    .pr-tech-pill {
        background: #e0f2fe; color: #1e40af;
        border-radius: 8px; padding: 6px 12px;
        font-size: 0.78rem; font-weight: 500;
        display: inline-flex; align-items: center; gap: 6px;
    }
    .pr-tech-pill i { color: #2563eb; }
    .pr-sup-cell { display: inline-flex; align-items: center; gap: 8px; color: #475569; font-weight: 500; }
    .pr-sup-cell .av {
        width: 28px; height: 28px; border-radius: 50%;
        background: #f1f5f9; color: #64748b;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
    }
    .pr-timeline { font-size: 0.82rem; color: #475569; line-height: 1.4; }
    .pr-timeline .arrow { color: #cbd5e1; font-size: 1rem; }
    .pr-status-pill {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 0.78rem; font-weight: 600;
        padding: 5px 12px; border-radius: 999px;
    }
    .pr-status-pill::before {
        content: ''; width: 6px; height: 6px; border-radius: 50%;
    }
    .pr-status-pill.expired { background: #f1f5f9; color: #64748b; }
    .pr-status-pill.expired::before { background: #94a3b8; }
    .pr-status-pill.ongoing { background: #fef3c7; color: #b45309; }
    .pr-status-pill.ongoing::before { background: #f59e0b; }
    .pr-status-pill.submitted { background: #ede9fe; color: #6d28d9; }
    .pr-status-pill.submitted::before { background: #7c3aed; }
    .pr-status-pill.approved { background: #d1fae5; color: #047857; }
    .pr-status-pill.approved::before { background: #10b981; }
    .pr-status-pill.rejected { background: #fee2e2; color: #b91c1c; }
    .pr-status-pill.rejected::before { background: #ef4444; }

    .pr-progress-cell { display: flex; align-items: center; gap: 10px; min-width: 160px; }
    .pr-progress-cell .bar {
        flex: 1; height: 4px; background: #e2e8f0; border-radius: 999px; overflow: hidden;
    }
    .pr-progress-cell .fill {
        height: 100%; background: #2563eb; border-radius: 999px;
    }
    .pr-progress-cell .val {
        font-size: 0.78rem; color: #64748b; font-weight: 600; min-width: 32px; text-align: right;
    }

    .pr-action-btn {
        background: transparent; border: none;
        width: 32px; height: 32px; border-radius: 8px;
        display: inline-flex; align-items: center; justify-content: center;
        color: #94a3b8; cursor: pointer; transition: background 0.15s;
    }
    .pr-action-btn:hover { background: #f1f5f9; color: #475569; }

    /* Help card */
    .pr-help {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 16px; padding: 1.25rem 1.5rem;
        display: flex; align-items: center; justify-content: space-between;
        flex-wrap: wrap; gap: 1rem;
    }
    .pr-help-left { display: flex; align-items: center; gap: 16px; }
    .pr-help-ico {
        width: 54px; height: 54px; border-radius: 12px;
        background: #ede9fe; color: #7c3aed;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.5rem; flex-shrink: 0;
    }
    .pr-help-title { font-weight: 800; color: #0f172a; margin: 0 0 4px; font-size: 1rem; }
    .pr-help-desc { font-size: 0.85rem; color: #64748b; margin: 0; }
    .pr-help-btn {
        background: #ede9fe; color: #7c3aed !important;
        border: 1px solid #ddd6fe; border-radius: 10px;
        padding: 9px 18px; font-weight: 600; font-size: 0.85rem;
        display: inline-flex; align-items: center; gap: 8px;
        text-decoration: none; transition: background 0.15s;
    }
    .pr-help-btn:hover { background: #ddd6fe; color: #6d28d9 !important; }

    /*   tasks  */

  
    /* ===== Sidebar — dark navy blue override ===== */
    #layout-menu,
    aside.layout-menu,
    .bg-menu-theme {
        background: #0a2a66 !important;
        background-image: linear-gradient(180deg, #0a2a66 0%, #081f4d 100%) !important;
        border-right: 0 !important;
    }
    .bg-menu-theme .menu-inner > .menu-item .menu-link,
    #layout-menu .menu-link { color: rgba(255, 255, 255, 0.85) !important; }
    .bg-menu-theme .menu-inner > .menu-item .menu-link:hover,
    #layout-menu .menu-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #ffffff !important;
    }
    .bg-menu-theme .menu-inner > .menu-item.active > .menu-link,
    #layout-menu .menu-item.active > .menu-link {
        background: #2563eb !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
    }
    .bg-menu-theme .menu-inner > .menu-item.active > .menu-link .menu-icon,
    #layout-menu .menu-item.active > .menu-link .menu-icon { color: #ffffff !important; }
    .bg-menu-theme .menu-inner .menu-header,
    #layout-menu .menu-header {
        color: rgba(255, 255, 255, 0.45) !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.7rem;
    }
    .bg-menu-theme .menu-inner .menu-icon,
    #layout-menu .menu-icon { color: rgba(255, 255, 255, 0.75) !important; }
    .bg-menu-theme .app-brand,
    #layout-menu .app-brand { background: transparent !important; }
    .bg-menu-theme .app-brand-text,
    #layout-menu .app-brand-text { color: #ffffff !important; }
    .bg-menu-theme hr,
    #layout-menu hr,
    .bg-menu-theme .menu-divider {
        border-color: rgba(255, 255, 255, 0.08) !important;
        background-color: rgba(255, 255, 255, 0.08) !important;
    }
    .bg-menu-theme .menu-sub > .menu-item .menu-link,
    #layout-menu .menu-sub .menu-link { color: rgba(255, 255, 255, 0.7) !important; }
    .bg-menu-theme .menu-sub > .menu-item.active > .menu-link,
    #layout-menu .menu-sub .menu-item.active > .menu-link { color: #ffffff !important; }
    .layout-menu-toggle .bx,
    #layout-menu .layout-menu-toggle { color: rgba(255, 255, 255, 0.85) !important; }
    .bg-menu-theme .ps__thumb-y,
    #layout-menu .ps__thumb-y { background-color: rgba(255, 255, 255, 0.25) !important; }

    /* ===== Sidebar — scrollable for laptop screens ===== */
    #layout-menu,
    aside.layout-menu {
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    #layout-menu .ps__rail-x,
    #layout-menu .ps__rail-y,
    .layout-menu .ps__rail-x,
    .layout-menu .ps__rail-y { display: none !important; }
    #layout-menu .ps,
    #layout-menu .menu-inner {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        position: static !important;
    }
    #layout-menu::-webkit-scrollbar { width: 5px; }
    #layout-menu::-webkit-scrollbar-track { background: transparent; }
    #layout-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 999px; }
    #layout-menu::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.32); }
    #layout-menu { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; }
    .layout-page,
    .layout-content,
    .content-wrapper { height: auto !important; overflow: visible !important; }

    /* ===== Sidebar user profile card (glassmorphism) ===== */
    .sidebar-user-card-wrapper {
        list-style: none;
        margin: 16px 14px 20px;
        padding: 0;
    }
    .sidebar-user-card {
        position: relative;
        display: block;
        padding: 16px;
        border-radius: 18px;
        background: linear-gradient(140deg, rgba(0, 71, 171, 0.95) 0%, rgba(0, 51, 130, 0.92) 100%);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.32),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
        color: #ffffff !important;
        text-decoration: none !important;
        overflow: hidden;
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }
    .sidebar-user-card::before {
        content: '';
        position: absolute; top: -50%; right: -30%;
        width: 180px; height: 180px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
        pointer-events: none;
    }
    .sidebar-user-card:hover {
        transform: translateY(-2px);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow:
            0 14px 32px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    .sidebar-user-card .suc-top { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
    .sidebar-user-card .suc-avatar { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
    .sidebar-user-card .suc-avatar img {
        width: 100%; height: 100%; border-radius: 50%;
        object-fit: cover;
        border: 2.5px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    .sidebar-user-card .suc-online {
        position: absolute; bottom: 1px; right: 1px;
        width: 13px; height: 13px; border-radius: 50%;
        background: #22c55e;
        border: 2.5px solid #0047AB;
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    }
    .sidebar-user-card .suc-info { flex: 1; min-width: 0; }
    .sidebar-user-card .suc-name {
        font-weight: 700; font-size: 0.95rem; color: #ffffff;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        line-height: 1.25; letter-spacing: -0.01em;
    }
    .sidebar-user-card .suc-role {
        font-size: 0.78rem; color: rgba(255, 255, 255, 0.72);
        margin-top: 3px; line-height: 1.2; font-weight: 400;
    }
    .sidebar-user-card .suc-arrow {
        color: rgba(255, 255, 255, 0.6); font-size: 1.05rem; flex-shrink: 0;
        transition: transform 0.2s ease, color 0.2s ease;
    }
    .sidebar-user-card:hover .suc-arrow {
        color: rgba(255, 255, 255, 0.9); transform: translateX(2px);
    }
    .sidebar-user-card .suc-progress-text {
        font-size: 0.78rem; color: rgba(255, 255, 255, 0.85);
        margin-top: 16px; margin-bottom: 8px; font-weight: 500;
        position: relative; z-index: 1;
    }
    .sidebar-user-card .suc-progress-bar {
        position: relative; z-index: 1;
        height: 6px; background: rgba(0, 0, 0, 0.22);
        border-radius: 999px; overflow: hidden;
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
    }
    .sidebar-user-card .suc-progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #ffffff 0%, #dbeafe 100%);
        border-radius: 999px;
        box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
        transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .layout-menu-collapsed:not(.layout-menu-hover) .sidebar-user-card-wrapper { display: none; }

    /* ===== Navbar override to match reference image ===== */
    .layout-navbar {
        background: #ffffff !important;
        border-radius: 14px !important;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
        padding: 0.6rem 1rem !important;
    }
    .layout-navbar .navbar-nav-right { width: 100%; }
    .layout-navbar .navbar-nav-right > .navbar-nav:first-child {
        flex: 0 1 60% !important;
        max-width: 60%;
        display: flex !important;
        align-items: center;
    }
    .layout-navbar .navbar-nav-right > .navbar-nav:first-child > .navbar-search-wrapper { width: 100%; }
    .navbar-search-wrapper {
        flex: 0 1 auto; max-width: 100%; min-width: 280px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 0 14px;
        height: 42px;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-right: 0.5rem;
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .navbar-search-wrapper:hover { border-color: #cbd5e1; }
    .navbar-search-wrapper:focus-within {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    }
    .navbar-search-wrapper .search-toggler {
        flex: 1; padding: 0 !important;
        display: flex !important; align-items: center; gap: 10px;
        text-decoration: none !important;
        height: 100%; line-height: 1; min-width: 0;
        color: #94a3b8 !important;
    }
    .navbar-search-wrapper .search-toggler::before {
        content: '';
        display: inline-block;
        width: 18px; height: 18px;
        flex-shrink: 0;
        margin-left: 6px;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    .navbar-search-wrapper .search-toggler #autocomplete {
        flex: 1; font-size: 0 !important; color: transparent !important;
        line-height: 1; position: relative; overflow: hidden; white-space: nowrap;
    }
    .navbar-search-wrapper .search-toggler #autocomplete > * { display: none !important; }
    .navbar-search-wrapper .search-toggler #autocomplete::before {
        content: 'Search candidates, projects, skills, tasks...';
        color: #94a3b8; font-size: 0.875rem; font-weight: 400;
        display: inline-block; line-height: 1; letter-spacing: -0.005em;
    }
    .navbar-search-wrapper .kbd-hint {
        font-size: 0.7rem; color: #64748b;
        background: #f8fafc; border: 1px solid #e2e8f0;
        border-radius: 6px; padding: 3px 8px;
        white-space: nowrap; font-weight: 600;
        font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
        letter-spacing: 0.01em; flex-shrink: 0; line-height: 1.2;
    }
    .layout-navbar .nav-link.btn-icon,
    .layout-navbar .navbar-nav .nav-link { color: #475569 !important; }
    .layout-navbar .navbar-nav .nav-link .icon-base { font-size: 1.25rem !important; }
    .dropdown-user .nav-link.dropdown-toggle.hide-arrow {
        display: inline-flex !important; align-items: center; gap: 8px;
    }
    .dropdown-user .nav-link.dropdown-toggle.hide-arrow::after {
        content: '\f282' !important;
        font-family: 'bootstrap-icons' !important;
        display: inline-block !important;
        border: 0 !important;
        font-size: 0.85rem !important;
        color: #6b7280 !important;
        margin: 0 !important;
        vertical-align: middle;
    }
    .dropdown-user .avatar.avatar-online::after {
        background: #10b981 !important;
        box-shadow: 0 0 0 2px #ffffff !important;
    }

    /* ===== Tasks Page redesign ===== */
    body { background: #f5f7fb !important; }

    /* Page header */
    .tk-page-head {
        display: flex; align-items: center; justify-content: space-between;
        flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem;
    }
    .tk-page-head .left {
        display: flex; align-items: center; gap: 14px;
    }
    .tk-page-head .head-ico {
        width: 48px; height: 48px; border-radius: 12px;
        background: #ede9fe; color: #6366f1;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.35rem;
    }
    .tk-page-head h4 {
        margin: 0 0 2px; font-size: 1.55rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.01em;
    }
    .tk-page-head p { font-size: 0.85rem; color: #64748b; margin: 0; }
    .tk-view-toggle {
        display: inline-flex; align-items: center;
        background: #ffffff;
        border: 1px solid #eef0f4;
        border-radius: 999px;
        padding: 5px;
        gap: 4px;
    }
    .tk-view-toggle .vbtn {
        background: transparent; border: none;
        padding: 9px 20px;
        border-radius: 999px;
        font-size: 0.88rem; font-weight: 600; color: #64748b;
        display: inline-flex; align-items: center; gap: 8px;
        cursor: pointer; transition: all 0.18s ease;
        white-space: nowrap;
    }
    .tk-view-toggle .vbtn:hover:not(.active) { color: #1e293b; }
    .tk-view-toggle .vbtn.active {
        background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
        color: #ffffff;
        box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    }
    .tk-view-toggle .vbtn i { font-size: 1rem; }

    /* Stat cards (5-in-a-row) */
    .tk-stat {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 14px; padding: 18px;
        box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    }
    .tk-stat .top {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 10px;
    }
    .tk-stat .meta { flex: 1; min-width: 0; }
    .tk-stat .ico {
        width: 48px; height: 48px; border-radius: 12px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.2rem; flex-shrink: 0;
    }
    .tk-stat .lbl { font-size: 0.82rem; color: #64748b; font-weight: 500; }
    .tk-stat .val {
        font-size: 1.8rem; font-weight: 800; color: #0f172a;
        line-height: 1; letter-spacing: -0.02em;
    }
    .tk-stat .spark { height: 32px; margin-top: 6px; }
    .tk-stat .trend {
        margin-top: 6px; font-size: 0.75rem; color: #10b981; font-weight: 600;
        display: inline-flex; align-items: center; gap: 3px;
    }
    .tk-stat.blue .ico { background: #dbeafe; color: #2563eb; }
    .tk-stat.orange .ico { background: #fef3c7; color: #f59e0b; }
    .tk-stat.purple .ico { background: #ede9fe; color: #7c3aed; }
    .tk-stat.green .ico { background: #d1fae5; color: #10b981; }
    .tk-stat.cyan .ico { background: #cffafe; color: #0891b2; }
    .tk-stat.blue .spark { color: #2563eb; }
    .tk-stat.orange .spark { color: #f59e0b; }
    .tk-stat.purple .spark { color: #7c3aed; }
    .tk-stat.green .spark { color: #10b981; }
    .tk-stat.cyan .spark { color: #0891b2; }
    .tk-stat .spark svg { display: block; width: 100%; height: 100%; }
    .tk-stat .spark svg polyline { stroke: currentColor; }

    /* Filter bar */
    .tk-filter-bar {
        display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
        margin-bottom: 1rem;
    }
    .tk-filter-btn {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 9px 14px;
        font-size: 0.85rem; font-weight: 500; color: #475569;
        display: inline-flex; align-items: center; gap: 8px;
        cursor: pointer; transition: background 0.15s;
    }
    .tk-filter-btn:hover { background: #f8fafc; }
    .tk-filter-btn .chev { color: #94a3b8; font-size: 0.75rem; margin-left: 4px; }
    .tk-search-input {
        position: relative; flex: 1; min-width: 220px; max-width: 320px;
    }
    .tk-search-input input {
        width: 100%; background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 9px 38px 9px 14px;
        font-size: 0.85rem;
    }
    .tk-search-input input:focus {
        outline: none; border-color: #c7d2fe;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }
    .tk-search-input .ico {
        position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
        color: #94a3b8; font-size: 0.95rem;
    }
    .tk-new-btn {
        background: #6366f1; color: #ffffff !important;
        border: none; border-radius: 10px;
        padding: 9px 18px; font-weight: 600; font-size: 0.85rem;
        display: inline-flex; align-items: center; gap: 8px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        transition: background 0.15s;
        margin-left: auto;
    }
    .tk-new-btn:hover { background: #4f46e5; color: #ffffff !important; }

    /* Task Table */
    .tk-card {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 16px; box-shadow: 0 1px 3px rgba(15,23,42,0.04);
        overflow: hidden;
    }
    .tk-table { width: 100%; border-collapse: collapse; }
    .tk-table thead th {
        font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: 1px; color: #94a3b8;
        padding: 14px 16px; background: transparent;
        border-bottom: 1px solid #eef0f4;
        text-align: left;
    }
    .tk-table tbody tr {
        border-bottom: 1px solid #f1f5f9;
        position: relative;
    }
    .tk-table tbody tr:last-child { border-bottom: 0; }
    .tk-table tbody td { padding: 18px 16px; vertical-align: middle; font-size: 0.85rem; }

    /* Left color stripe per row */
    .tk-row-stripe {
        position: relative;
    }
    .tk-row-stripe::before {
        content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
        width: 4px; border-radius: 999px;
    }
    .tk-row-stripe.danger::before { background: #ef4444; }
    .tk-row-stripe.warning::before { background: #f59e0b; }
    .tk-row-stripe.info::before { background: #3b82f6; }
    .tk-row-stripe.success::before { background: #10b981; }
    .tk-row-stripe.neutral::before { background: #cbd5e1; }

    .tk-task-cell { display: flex; align-items: flex-start; gap: 14px; padding-left: 14px; }
    .tk-task-icon {
        width: 44px; height: 44px; border-radius: 12px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.05rem; flex-shrink: 0;
    }
    .tk-task-icon.red { background: #fee2e2; color: #ef4444; }
    .tk-task-icon.orange { background: #fef3c7; color: #f59e0b; }
    .tk-task-icon.blue { background: #dbeafe; color: #3b82f6; }
    .tk-task-icon.green { background: #d1fae5; color: #10b981; }
    .tk-task-icon.gray { background: #f1f5f9; color: #64748b; }
    .tk-task-title { font-weight: 700; color: #0f172a; line-height: 1.3; }
    .tk-task-desc { font-size: 0.78rem; color: #64748b; margin-top: 3px; }
    .tk-status-tag {
        display: inline-flex; align-items: center; gap: 4px;
        font-size: 0.7rem; font-weight: 600;
        padding: 4px 9px; border-radius: 6px;
        margin-top: 6px;
    }
    .tk-status-tag.overdue { background: #fee2e2; color: #dc2626; }
    .tk-status-tag.urgent { background: #fef3c7; color: #b45309; }
    .tk-status-tag.due { background: #fef3c7; color: #b45309; }

    /* Assignee */
    .tk-assignee { display: inline-flex; align-items: center; gap: 10px; }
    .tk-assignee .av {
        position: relative;
        width: 32px; height: 32px; border-radius: 50%;
        background: #e2e8f0; color: #475569;
        display: inline-flex; align-items: center; justify-content: center;
        font-weight: 700; font-size: 0.7rem;
        flex-shrink: 0;
        overflow: hidden;
    }
    .tk-assignee .av img {
        width: 100%; height: 100%; object-fit: cover;
    }
    .tk-assignee .av::after {
        content: ''; position: absolute; bottom: 0; right: 0;
        width: 9px; height: 9px; border-radius: 50%;
        background: #22c55e; border: 2px solid #fff;
    }
    .tk-assignee-name { font-weight: 600; color: #0f172a; }

    /* Due date */
    .tk-due-date { font-weight: 700; }
    .tk-due-date.danger { color: #dc2626; }
    .tk-due-date.warning { color: #b45309; }
    .tk-due-date.info { color: #2563eb; }
    .tk-due-date.success { color: #047857; }
    .tk-due-sub { font-size: 0.75rem; color: #94a3b8; margin-top: 2px; }
    .tk-due-mini {
        width: 60px; height: 3px; background: #e2e8f0;
        border-radius: 999px; overflow: hidden; margin-top: 6px;
    }
    .tk-due-mini .fill { height: 100%; border-radius: 999px; }

    /* Priority pill */
    .tk-pri {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 0.78rem; font-weight: 600;
        padding: 6px 12px; border-radius: 999px;
    }
    .tk-pri.high { background: #fee2e2; color: #dc2626; }
    .tk-pri.medium { background: #fef3c7; color: #b45309; }
    .tk-pri.low { background: #d1fae5; color: #047857; }

    /* Status pill */
    .tk-stat-pill {
        display: inline-flex; align-items: center; gap: 6px;
        font-size: 0.78rem; font-weight: 600;
        padding: 6px 12px; border-radius: 999px;
    }
    .tk-stat-pill::before {
        content: ''; width: 7px; height: 7px; border-radius: 50%;
    }
    .tk-stat-pill.ongoing { background: #fef3c7; color: #b45309; }
    .tk-stat-pill.ongoing::before { background: #f59e0b; }
    .tk-stat-pill.inprogress { background: #dbeafe; color: #2563eb; }
    .tk-stat-pill.inprogress::before { background: #3b82f6; }
    .tk-stat-pill.pending { background: #f1f5f9; color: #475569; }
    .tk-stat-pill.pending::before { background: #94a3b8; }
    .tk-stat-pill.submitted { background: #ede9fe; color: #6d28d9; }
    .tk-stat-pill.submitted::before { background: #7c3aed; }
    .tk-stat-pill.approved { background: #d1fae5; color: #047857; }
    .tk-stat-pill.approved::before { background: #10b981; }
    .tk-stat-pill.rejected { background: #fee2e2; color: #b91c1c; }
    .tk-stat-pill.rejected::before { background: #ef4444; }

    /* Progress cell */
    .tk-progress-cell {
        display: flex; align-items: center; gap: 10px; min-width: 140px;
    }
    .tk-progress-cell .bar {
        flex: 1; height: 5px; background: #e2e8f0;
        border-radius: 999px; overflow: hidden;
    }
    .tk-progress-cell .fill { height: 100%; border-radius: 999px; }
    .tk-progress-cell .fill.danger { background: #ef4444; }
    .tk-progress-cell .fill.warning { background: #f59e0b; }
    .tk-progress-cell .fill.info { background: #3b82f6; }
    .tk-progress-cell .fill.success { background: #10b981; }
    .tk-progress-cell .fill.neutral { background: #94a3b8; }
    .tk-progress-cell .val {
        font-size: 0.78rem; color: #64748b; font-weight: 600;
        min-width: 36px; text-align: right;
    }

    /* Action buttons */
    .tk-action-row {
        display: inline-flex; align-items: center; gap: 8px;
    }
    .tk-eye-btn,
    .tk-more-btn {
        background: transparent; border: 1px solid #eef0f4;
        width: 34px; height: 34px; border-radius: 8px;
        display: inline-flex; align-items: center; justify-content: center;
        color: #6366f1; cursor: pointer;
        text-decoration: none; transition: background 0.15s;
    }
    .tk-eye-btn:hover { background: #ede9fe; color: #4f46e5; }
    .tk-more-btn { border-color: transparent; color: #94a3b8; }
    .tk-more-btn:hover { background: #f1f5f9; color: #475569; }

    /* Pagination row */
    .tk-pagination-row {
        display: flex; justify-content: space-between; align-items: center;
        padding: 1rem 1.5rem;
        border-top: 1px solid #eef0f4;
    }
    .tk-pagination-row .info { font-size: 0.85rem; color: #64748b; }
    .tk-pagination-row .pager { display: inline-flex; gap: 6px; }
    .tk-pagination-row .pager .pg {
        width: 36px; height: 36px; border-radius: 8px;
        border: 1px solid #eef0f4; background: #fff;
        font-size: 0.85rem; color: #475569; font-weight: 500;
        display: inline-flex; align-items: center; justify-content: center;
        cursor: pointer; text-decoration: none;
    }
    .tk-pagination-row .pager .pg.active {
        background: #6366f1; color: #fff; border-color: #6366f1;
    }
    .tk-pagination-row .pager .pg:hover:not(.active) { background: #f8fafc; }

    /* Override Bootstrap pagination to match */
    .tk-pagination-row .pagination .page-link {
        border: 1px solid #eef0f4 !important;
        color: #475569 !important;
        margin: 0 3px;
        border-radius: 8px !important;
    }
    .tk-pagination-row .pagination .page-item.active .page-link {
        background: #6366f1 !important;
        border-color: #6366f1 !important;
        color: #fff !important;
    }

    /* ===== Kanban view ===== */
    .tk-kanban-toolbar {
        display: flex; align-items: center; justify-content: space-between;
        gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
    }
    .tk-kanban-toolbar .left,
    .tk-kanban-toolbar .right {
        display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
    }
    .tk-kb-search {
        position: relative; width: 240px;
    }
    .tk-kb-search input {
        width: 100%; background: #ffffff;
        border: 1px solid #e2e8f0; border-radius: 999px;
        padding: 9px 38px 9px 16px;
        font-size: 0.85rem;
    }
    .tk-kb-search input:focus {
        outline: none; border-color: #c7d2fe;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }
    .tk-kb-search .ico {
        position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
        color: #94a3b8; font-size: 0.95rem;
    }

    .tk-kb-col {
        background: var(--col-bg, #fef3c7);
        border: 1.5px dashed var(--col-border, #fcd34d);
        border-radius: 16px;
        padding: 16px;
        height: 100%;
        min-height: 460px;
    }
    .tk-kb-col-head {
        display: flex; align-items: center; justify-content: space-between;
        margin-bottom: 14px;
    }
    .tk-kb-col-head .ttl {
        display: inline-flex; align-items: center; gap: 8px;
        font-size: 0.95rem; font-weight: 700; color: #0f172a;
    }
    .tk-kb-col-head .ttl .ic {
        width: 32px; height: 32px; border-radius: 8px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.95rem;
        background: rgba(255,255,255,0.7);
    }
    .tk-kb-col-head .count {
        font-size: 0.85rem; color: #64748b; font-weight: 600;
        margin-left: 8px;
    }
    .tk-kb-col-head .add {
        background: rgba(255,255,255,0.7);
        border: 1px solid rgba(255,255,255,0.95);
        width: 30px; height: 30px; border-radius: 8px;
        display: inline-flex; align-items: center; justify-content: center;
        color: var(--col-accent, #d97706);
        cursor: pointer; font-size: 1rem;
        transition: background 0.15s;
        text-decoration: none;
    }
    .tk-kb-col-head .add:hover { background: #ffffff; }

    .tk-kb-col.todo { --col-bg: #fef9eb; --col-border: #fcd34d; --col-accent: #d97706; }
    .tk-kb-col.todo .tk-kb-col-head .ic { color: #d97706; }
    .tk-kb-col.review { --col-bg: #f1eefe; --col-border: #c4b5fd; --col-accent: #7c3aed; }
    .tk-kb-col.review .tk-kb-col-head .ic { color: #7c3aed; }
    .tk-kb-col.done { --col-bg: #ecfdf5; --col-border: #6ee7b7; --col-accent: #059669; }
    .tk-kb-col.done .tk-kb-col-head .ic { color: #059669; }
    .tk-kb-col.revisions { --col-bg: #fef2f2; --col-border: #fca5a5; --col-accent: #dc2626; }
    .tk-kb-col.revisions .tk-kb-col-head .ic { color: #dc2626; }

    .tk-kb-card {
        background: #ffffff;
        border: 1px solid rgba(0,0,0,0.04);
        border-radius: 12px;
        padding: 12px;
        margin-bottom: 10px;
        box-shadow: 0 1px 3px rgba(15,23,42,0.05);
        transition: box-shadow 0.15s, transform 0.15s;
    }
    .tk-kb-card:hover { box-shadow: 0 6px 16px rgba(15,23,42,0.08); transform: translateY(-1px); }
    .tk-kb-card .title { font-weight: 700; color: #0f172a; font-size: 0.88rem; line-height: 1.3; }
    .tk-kb-card .sub { font-size: 0.75rem; color: #64748b; margin-top: 4px; }
    .tk-kb-card .actions { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
    .tk-kb-card .actions .view-link {
        font-size: 0.75rem; color: var(--col-accent, #2563eb);
        background: rgba(255,255,255,0.6);
        border: 1px solid var(--col-border, #e2e8f0);
        padding: 4px 10px; border-radius: 999px;
        text-decoration: none; font-weight: 600;
    }
    .tk-kb-card .actions .submit-mini {
        background: var(--col-accent, #2563eb); color: #fff;
        border: none; border-radius: 999px;
        padding: 4px 10px; font-size: 0.72rem; font-weight: 600;
        cursor: pointer;
        display: inline-flex; align-items: center; gap: 4px;
    }

    /* ===== Timeline view ===== */
    .tk-tl-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
    .tk-tl-stat {
        flex: 1; min-width: 200px;
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 14px; padding: 18px;
        box-shadow: 0 1px 3px rgba(15,23,42,0.04);
        display: flex; align-items: center; gap: 14px;
    }
    .tk-tl-stat .ico {
        width: 48px; height: 48px; border-radius: 12px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.2rem; flex-shrink: 0;
    }
    .tk-tl-stat .lbl { font-size: 0.82rem; color: #64748b; font-weight: 500; }
    .tk-tl-stat .val { font-size: 1.8rem; font-weight: 800; color: #0f172a; line-height: 1; letter-spacing: -0.02em; margin: 4px 0; }
    .tk-tl-stat .sub { font-size: 0.72rem; color: #94a3b8; font-weight: 500; }
    .tk-tl-stat.blue .ico { background: #dbeafe; color: #2563eb; }
    .tk-tl-stat.green .ico { background: #d1fae5; color: #10b981; }
    .tk-tl-stat.orange .ico { background: #fef3c7; color: #f59e0b; }
    .tk-tl-stat.red .ico { background: #fee2e2; color: #ef4444; }

    .tk-tl-filter-bar {
        display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
        margin-bottom: 1.25rem;
    }
    .tk-tl-filter-bar .right {
        margin-left: auto; display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
    }

    /* ===== Timeline — left-aligned downward progress bar (flex, in-flow) ===== */
    .tk-tl-wrap {
        position: relative !important;
        padding-left: 0 !important;
    }

    /* Continuous vertical rail — at exactly the dot's center column (x = 95px) */
    .tk-tl-rail {
        position: absolute !important;
        left: 95px !important;
        top: 20px !important;
        bottom: 20px !important;
        width: 2px !important;
        background: #e2e8f0 !important;
        z-index: 0 !important;
        border-radius: 999px !important;
    }

    /* 2026 pill — anchored above the rail */
    .tk-tl-year-badge {
        display: inline-block !important;
        background: #6366f1 !important; color: #ffffff !important;
        font-size: 0.78rem !important; font-weight: 700 !important;
        padding: 5px 14px !important;
        border-radius: 999px !important;
        position: relative !important; z-index: 2 !important;
        margin-left: 73px !important;
        margin-bottom: 22px !important;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
    }

    /* Each row: FLEX layout — [Date 80px] [Dot 30px on rail] [Card flex:1] */
    .tk-tl-wrap > .tk-tl-item,
    .tk-tl-wrap .tk-tl-item {
        position: relative !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
        margin-bottom: 20px !important;
        min-height: 110px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Date column — fixed 80px, center-aligned text, on the LEFT */
    .tk-tl-item > .tk-tl-date {
        flex: 0 0 80px !important;
        width: 80px !important;
        background: transparent !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 1 !important;
    }
    .tk-tl-date .mon {
        font-size: 0.7rem !important; font-weight: 700 !important; color: #94a3b8 !important;
        letter-spacing: 1.5px !important; text-transform: uppercase !important;
        line-height: 1 !important; display: block !important;
    }
    .tk-tl-date .day {
        font-size: 1.65rem !important; font-weight: 800 !important; color: #2563eb !important;
        line-height: 1 !important; margin: 6px 0 4px !important; display: block !important;
    }
    .tk-tl-date .wd {
        font-size: 0.7rem !important; font-weight: 700 !important; color: #94a3b8 !important;
        letter-spacing: 1.5px !important; text-transform: uppercase !important;
        line-height: 1 !important; display: block !important;
    }

    /* Dot column — fixed 30px, centers the hollow circle horizontally on the rail */
    .tk-tl-item > .tk-tl-dot-col {
        flex: 0 0 30px !important;
        width: 30px !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 2 !important;
        align-self: stretch !important;
    }
    .tk-tl-dot {
        width: 16px !important; height: 16px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        border: 2px solid var(--dot-color, #2563eb) !important;
        box-shadow: 0 0 0 3px #f5f7fb !important;
        display: block !important;
    }

    /* Task card — fills the rest of the row, with a clean gutter from the rail */
    .tk-tl-item > .tk-tl-card {
        flex: 1 1 auto !important;
        margin-left: 18px !important;
        min-width: 0 !important;
    }
    /* Override legacy .timeline-item card-like styles inherited from old CSS.
       Our row container should be transparent — only the inner .tk-tl-card has a background. */
    .tk-tl-wrap .timeline-item,
    .tk-tl-wrap .task-timeline-item,
    .tk-tl-wrap .tk-tl-item {
        background: transparent !important;
        border: 0 !important;
        border-left: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-left: 0 !important;
        backdrop-filter: none !important;
        cursor: default !important;
    }
    .tk-tl-wrap .timeline-item:hover,
    .tk-tl-wrap .task-timeline-item:hover,
    .tk-tl-wrap .tk-tl-item:hover {
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    /* Hide any legacy .timeline-badge / .timeline-month-badge artifacts that the old CSS may render */
    .tk-tl-wrap .timeline-badge,
    .tk-tl-wrap .timeline-month-badge,
    .tk-tl-wrap .timeline-year-header,
    .tk-tl-wrap .timeline-year-line {
        display: none !important;
    }
    .tk-tl-item.urgent .tk-tl-dot { --dot-color: #ef4444; }
    .tk-tl-item.warning .tk-tl-dot { --dot-color: #f59e0b; }
    .tk-tl-item.info .tk-tl-dot { --dot-color: #3b82f6; }
    .tk-tl-item.success .tk-tl-dot { --dot-color: #10b981; }
    /* Dot color variants matching the card icon */
    .tk-tl-item .tk-tl-dot.dot-blue { --dot-color: #3b82f6; }
    .tk-tl-item .tk-tl-dot.dot-orange { --dot-color: #f59e0b; }
    .tk-tl-item .tk-tl-dot.dot-purple { --dot-color: #7c3aed; }
    .tk-tl-item .tk-tl-dot.dot-red { --dot-color: #ef4444; }
    .tk-tl-item .tk-tl-dot.dot-green { --dot-color: #10b981; }

    /* Circular progress ring inside timeline cards (matches reference image) */
    .tk-tl-ring {
        position: relative;
        width: 72px; height: 72px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .tk-tl-ring svg {
        position: absolute; top: 0; left: 0;
        width: 100%; height: 100%;
        transform: rotate(-90deg);
        overflow: visible;
    }
    .tk-tl-ring .ring-bg {
        fill: none;
        stroke: #cbd5e1;
        stroke-width: 5;
    }
    .tk-tl-ring .ring-fg {
        fill: none;
        stroke-width: 5;
        stroke-linecap: round;
        transition: stroke-dashoffset 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }
    .tk-tl-ring .ring-fg.blue { stroke: #3b82f6; }
    .tk-tl-ring .ring-fg.orange { stroke: #f59e0b; }
    .tk-tl-ring .ring-fg.purple { stroke: #7c3aed; }
    .tk-tl-ring .ring-fg.red { stroke: #ef4444; }
    .tk-tl-ring .ring-fg.green { stroke: #10b981; }
    .tk-tl-ring .ring-fg.indigo { stroke: #4f46e5; }
    .tk-tl-ring .ring-text {
        position: relative;
        z-index: 1;
        font-size: 1rem;
        font-weight: 800;
        color: #475569;
        letter-spacing: -0.02em;
    }

    .tk-tl-card {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 14px; padding: 18px;
        box-shadow: 0 2px 4px rgba(15,23,42,0.04);
        transition: box-shadow 0.15s, transform 0.15s;
        display: grid;
        grid-template-columns: 64px 1fr auto;
        gap: 18px;
        align-items: center;
    }
    .tk-tl-card:hover {
        box-shadow: 0 8px 24px rgba(15,23,42,0.08);
        transform: translateY(-1px);
    }
    .tk-tl-card-icon {
        width: 56px; height: 56px; border-radius: 14px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.45rem;
    }
    .tk-tl-card-icon.blue { background: #dbeafe; color: #2563eb; }
    .tk-tl-card-icon.orange { background: #fef3c7; color: #f59e0b; }
    .tk-tl-card-icon.purple { background: #ede9fe; color: #7c3aed; }
    .tk-tl-card-icon.red { background: #fee2e2; color: #ef4444; }
    .tk-tl-card-icon.green { background: #d1fae5; color: #10b981; }
    .tk-tl-card-icon.indigo { background: #e0e7ff; color: #4f46e5; }
    .tk-tl-card-info { min-width: 0; }
    .tk-tl-title-row {
        display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px;
    }
    .tk-tl-title { font-size: 1rem; font-weight: 700; color: #0f172a; line-height: 1.3; }
    .tk-tl-due-badge {
        display: inline-flex; align-items: center; gap: 5px;
        background: #fee2e2; color: #dc2626;
        font-size: 0.72rem; font-weight: 600;
        padding: 4px 10px; border-radius: 6px;
    }
    .tk-tl-desc { font-size: 0.82rem; color: #64748b; margin: 0 0 8px; line-height: 1.45; }
    .tk-tl-tags { display: flex; gap: 14px; flex-wrap: wrap; }
    .tk-tl-tag {
        display: inline-flex; align-items: center; gap: 5px;
        font-size: 0.78rem; color: #64748b; font-weight: 500;
    }
    .tk-tl-tag.pri-high { color: #dc2626; }
    .tk-tl-tag.pri-medium { color: #b45309; }
    .tk-tl-tag.pri-low { color: #047857; }
    .tk-tl-tag.expired i { color: #94a3b8; }

    .tk-tl-right { display: inline-flex; align-items: center; gap: 14px; }
    .tk-tl-progress { font-size: 0.95rem; font-weight: 700; color: #64748b; }
    .tk-tl-details-btn {
        background: #ffffff;
        border: 1px solid #c7d2fe;
        color: #6366f1 !important;
        border-radius: 8px;
        padding: 8px 14px;
        font-size: 0.82rem; font-weight: 600;
        display: inline-flex; align-items: center; gap: 6px;
        text-decoration: none;
        transition: background 0.15s;
    }
    .tk-tl-details-btn:hover { background: #eef2ff; color: #4f46e5 !important; }
    .tk-tl-more {
        background: transparent; border: none;
        color: #94a3b8; width: 32px; height: 32px;
        border-radius: 8px;
        display: inline-flex; align-items: center; justify-content: center;
        cursor: pointer;
    }
    .tk-tl-more:hover { background: #f1f5f9; color: #475569; }

    /* Show More button */
    .tk-tl-show-more {
        margin: 1rem auto 0; display: inline-flex; align-items: center; gap: 6px;
        background: #ede9fe; color: #6366f1 !important;
        border: none; border-radius: 999px;
        padding: 10px 24px; font-size: 0.85rem; font-weight: 600;
        cursor: pointer; text-decoration: none;
    }
    .tk-tl-show-more:hover { background: #ddd6fe; color: #4f46e5 !important; }

    /* Empty state in Kanban */
    .tk-kb-empty {
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
        padding: 1.5rem 1rem; text-align: center;
        height: calc(100% - 60px);
    }
    .tk-kb-empty .illu {
        width: 110px; height: 110px;
        display: flex; align-items: center; justify-content: center;
        font-size: 2.4rem;
        margin-bottom: 14px;
        background: rgba(255,255,255,0.65);
        border-radius: 20px;
        border: 1px dashed rgba(0,0,0,0.06);
        color: var(--col-accent, #94a3b8);
    }
    .tk-kb-empty h6 {
        font-size: 0.95rem; font-weight: 700; color: #0f172a; margin: 0 0 4px;
    }
    .tk-kb-empty p {
        font-size: 0.78rem; color: #64748b; margin: 0 0 14px;
    }
    .tk-kb-empty .add-btn {
        display: inline-flex; align-items: center; gap: 6px;
        background: rgba(255,255,255,0.85);
        border: 1px dashed var(--col-border, #cbd5e1);
        color: var(--col-accent, #475569);
        padding: 8px 18px; border-radius: 999px;
        font-size: 0.82rem; font-weight: 600;
        cursor: pointer; text-decoration: none;
        transition: background 0.15s;
    }
    .tk-kb-empty .add-btn:hover { background: #ffffff; }

    :root {
        --glass-bg: rgba(255, 255, 255, 0.65);
        --glass-border: rgba(255, 255, 255, 0.4);
        --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
        --card-radius: 1.25rem;
        --transition-smooth: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
        --primary-gradient: linear-gradient(135deg, #3b82f6, #1e40af);
        --success-gradient: linear-gradient(135deg, #10b981, #047857);
        --warning-gradient: linear-gradient(135deg, #f59e0b, #b45309);
        --danger-gradient: linear-gradient(135deg, #ef4444, #b91c1c);
        --info-gradient: linear-gradient(135deg, #8b5cf6, #6d28d9);
    }

    body {
        background: linear-gradient(135deg, #f6f9fc 0%, #eef2f5 100%);
        font-family: 'Inter', system-ui, -apple-system, sans-serif;
    }

    .premium-card {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 1.5rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }

    .premium-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s ease;
    }

    .premium-card:hover::before {
        left: 100%;
    }

    .premium-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    }

    .stat-card-premium {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 1.5rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border: 1px solid rgba(255, 255, 255, 0.6);
    }

    .stat-card-premium::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--stat-gradient);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

    .stat-card-premium:hover::after {
        transform: scaleX(1);
    }

    .stat-card-premium:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.2);
    }

    .stat-icon-premium {
        width: 60px;
        height: 60px;
        background: var(--stat-bg);
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .stat-value-premium {
        font-size: 2.2rem;
        font-weight: 800;
        background: var(--stat-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1;
    }

    .kanban-column {
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(8px);
        border-radius: 1rem;
        padding: 1rem;
        min-height: 500px;
        transition: all 0.3s ease;
    }

    .kanban-column:hover {
        background: rgba(255, 255, 255, 0.7);
    }

    .kanban-header {
        padding: 0.75rem;
        border-radius: 0.75rem;
        margin-bottom: 1rem;
        text-align: center;
        font-weight: 700;
    }

    .kanban-card {
        background: white;
        border-radius: 0.75rem;
        padding: 1rem;
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
        cursor: grab;
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .kanban-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        cursor: grab;
    }

    .view-toggle {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(8px);
        border-radius: 50px;
        padding: 0.25rem;
        display: inline-flex;
        gap: 0.25rem;
    }

    .view-btn {
        padding: 0.5rem 1rem;
        border-radius: 50px;
        border: none;
        background: transparent;
        font-weight: 600;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .view-btn.active {
        background: var(--primary-gradient);
        color: white;
        box-shadow: 0 4px 12px rgba(59,130,246,0.3);
    }

    .quick-stats {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.5rem;
    }

    .quick-stat-item {
        flex: 1;
        min-width: 100px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 0.75rem;
        padding: 0.75rem;
        text-align: center;
        transition: all 0.3s ease;
    }

    .quick-stat-item:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
    }

    .timeline-view {
        position: relative;
    }

    .timeline-year-header {
        margin: 1rem 0;
    }

    .timeline-year-line {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    }

    .timeline-year-badge {
        background: rgba(59,130,246,0.1);
        color: #3b82f6;
        font-weight: 600;
        font-size: 0.8rem;
    }

    .timeline-month-badge {
        position: absolute;
        left: -40px;
        top: 20px;
        background: white;
        border-radius: 20px;
        padding: 2px 10px;
        font-size: 0.7rem;
        font-weight: 600;
        color: #3b82f6;
        border: 1px solid rgba(59,130,246,0.2);
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        white-space: nowrap;
    }

    .timeline-item {
        position: relative;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
        border-radius: 1rem;
        margin-bottom: 1rem;
        margin-left: 30px;
        transition: all 0.3s ease;
        border-left: 4px solid;
        cursor: pointer;
    }

    .timeline-item:hover {
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
    }

    .timeline-badge {
        position: absolute;
        left: -12px;
        top: 20px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: white;
        border: 3px solid;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .timeline-description {
        transition: all 0.3s ease;
    }

    #timelineContainer {
        scroll-behavior: smooth;
        max-height: 550px;
        overflow-y: auto;
        padding-right: 10px;
    }

    #timelineContainer::-webkit-scrollbar {
        width: 6px;
    }

    #timelineContainer::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 10px;
    }

    #timelineContainer::-webkit-scrollbar-thumb {
        background: rgba(59,130,246,0.3);
        border-radius: 10px;
    }

    #timelineContainer::-webkit-scrollbar-thumb:hover {
        background: rgba(59,130,246,0.5);
    }

    .scroll-top-btn {
        position: sticky;
        bottom: 20px;
        left: calc(100% - 60px);
        background: rgba(59,130,246,0.9);
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0.7;
        transition: all 0.3s ease;
        color: white;
        box-shadow: 0 4px 15px rgba(59,130,246,0.3);
        margin-top: 10px;
        float: right;
    }

    .scroll-top-btn:hover {
        opacity: 1;
        transform: translateY(-3px);
    }

    .alert-success-custom {
        background: linear-gradient(135deg, #d1fae5, #a7f3d0);
        border: none;
        border-radius: 1rem;
    }

    .alert-danger-custom {
        background: linear-gradient(135deg, #fee2e2, #fecaca);
        border: none;
        border-radius: 1rem;
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animate-card {
        animation: fadeInUp 0.6s ease-out forwards;
    }

    .table-danger {
        background: linear-gradient(90deg, rgba(239,68,68,0.08), transparent);
    }

    .task-row {
        transition: all 0.3s ease;
    }

    .task-row:hover {
        background: rgba(59,130,246,0.03);
    }

    .btn-group .btn {
        transition: all 0.2s ease;
    }

    .btn-group .btn:hover {
        transform: translateY(-2px);
    }

    #taskSearch {
        padding-right: 2rem;
    }

    .btn-loading {
        opacity: 0.7;
        cursor: not-allowed;
    }

    @media (max-width: 768px) {
        .kanban-column {
            margin-bottom: 1rem;
        }
        .quick-stats {
            flex-wrap: wrap;
        }
        .quick-stat-item {
            min-width: calc(50% - 0.5rem);
        }
        .timeline-month-badge {
            position: relative;
            left: 0;
            top: 0;
            margin-bottom: 8px;
            display: inline-block;
        }
        .timeline-item {
            margin-left: 0;
        }
        .view-toggle {
            width: 100%;
            justify-content: center;
        }
    }

    /* settings */
    
    body { background: #f5f7fb !important; }

    /* Page header */
    .st-page-head { margin-bottom: 0.5rem; }
    .st-page-head .st-hero-img-wrap { margin-bottom: -1px; }
    .st-page-head .left { display: flex; align-items: center; gap: 14px; }
    .st-page-head .head-ico {
        width: 56px; height: 56px; border-radius: 14px;
        background: #ede9fe; color: #6366f1;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.5rem;
    }
    .st-page-head h4 {
        margin: 0 0 4px; font-size: 1.55rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.01em;
    }
    .st-page-head p { font-size: 0.88rem; color: #64748b; margin: 0; }
    .st-hero-img-wrap {
        display: flex; justify-content: flex-end; align-items: center;
    }
    .st-hero-img {
        max-width: 340px; width: 100%; height: auto;
        opacity: 0.95;
    }

    /* Cards */
    .st-card {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 16px; padding: 1.75rem;
        box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    }
    .st-card-head {
        display: flex; justify-content: space-between; align-items: center;
        margin-bottom: 1.5rem;
    }
    .st-card-head .left {
        display: flex; align-items: center; gap: 12px;
    }
    .st-card-head .ic {
        width: 40px; height: 40px; border-radius: 10px;
        background: #ede9fe; color: #6366f1;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1.05rem;
    }
    .st-card-head h5 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #0f172a; letter-spacing: -0.01em; }
    .st-card-head .sub { font-size: 0.82rem; color: #64748b; margin: 2px 0 0; }
    .st-edit-photo-btn {
        background: #eef2ff; color: #6366f1 !important;
        border: 1px solid #c7d2fe; border-radius: 8px;
        padding: 7px 14px; font-size: 0.82rem; font-weight: 600;
        display: inline-flex; align-items: center; gap: 6px;
        text-decoration: none; cursor: pointer;
    }
    .st-edit-photo-btn:hover { background: #e0e7ff; color: #4f46e5 !important; }

    /* Form fields with leading icons */
    .st-field { margin-bottom: 1.1rem; }
    .st-field .lbl { font-size: 0.85rem; font-weight: 600; color: #0f172a; margin-bottom: 8px; }
    .st-field-input {
        display: flex; align-items: stretch;
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; overflow: hidden;
        transition: border-color 0.15s, box-shadow 0.15s;
    }
    .st-field-input:focus-within {
        border-color: #c7d2fe;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
    }
    .st-field-input .ic-side {
        width: 46px; flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        background: #f8fafc; color: #6366f1;
        border-right: 1px solid #e2e8f0;
        font-size: 1rem;
    }
    .st-field-input.textarea .ic-side { align-items: flex-start; padding-top: 14px; }
    .st-field-input input,
    .st-field-input textarea {
        flex: 1; border: 0; background: transparent;
        padding: 11px 14px; font-size: 0.9rem;
        outline: none; color: #0f172a;
        min-width: 0;
    }
    .st-field-input textarea { min-height: 80px; resize: vertical; }
    .st-field-input .ic-right {
        background: transparent; border: 0;
        width: 44px; flex-shrink: 0;
        display: flex; align-items: center; justify-content: center;
        color: #94a3b8; cursor: pointer;
    }
    .st-field-input .ic-right:hover { color: #475569; }

    .st-info-notice {
        background: #f8fafc; border: 1px solid #eef0f4;
        border-radius: 12px; padding: 14px;
        display: flex; align-items: flex-start; gap: 12px;
        margin: 1rem 0 1.25rem;
    }
    .st-info-notice .ic {
        width: 28px; height: 28px; border-radius: 50%;
        background: #dbeafe; color: #2563eb;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.85rem; flex-shrink: 0;
    }
    .st-info-notice .txt { font-size: 0.82rem; color: #475569; line-height: 1.45; }

    .st-save-btn {
        background: #6366f1; color: #ffffff !important;
        border: none; border-radius: 10px;
        padding: 11px 24px; font-weight: 600; font-size: 0.9rem;
        display: inline-flex; align-items: center; gap: 8px;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        cursor: pointer; transition: background 0.15s;
    }
    .st-save-btn:hover { background: #4f46e5; color: #ffffff !important; }

    .st-update-btn {
        width: 100%;
        background: #6366f1; color: #ffffff !important;
        border: none; border-radius: 10px;
        padding: 12px 18px; font-weight: 600; font-size: 0.92rem;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        cursor: pointer; transition: background 0.15s;
        margin-top: 6px;
    }
    .st-update-btn:hover { background: #4f46e5; color: #ffffff !important; }

    /* Password requirements box */
    .st-pwd-req {
        background: #f5f3ff; border: 1px solid #ddd6fe;
        border-radius: 12px; padding: 14px 16px;
        margin: 1rem 0;
    }
    .st-pwd-req .header {
        display: flex; align-items: center; gap: 8px;
        font-size: 0.88rem; font-weight: 700; color: #4f46e5;
        margin-bottom: 8px;
    }
    .st-pwd-req .header i { color: #6366f1; }
    .st-pwd-req .req-grid {
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
        margin-top: 4px;
    }
    .st-pwd-req .req-item {
        display: flex; align-items: center; gap: 8px;
        font-size: 0.8rem; color: #475569;
    }
    .st-pwd-req .req-item i { color: #10b981; font-size: 0.9rem; flex-shrink: 0; }

    @media (max-width: 768px) {
        .st-page-head { padding-right: 0; }
        .st-hero-img { display: none; }
        .st-pwd-req .req-grid { grid-template-columns: 1fr; }
    }

  /*  resources
  */

    body { background: #f5f7fb !important; }

    /* Hero banner — full-size image on the left + progress card on the right */
    .lr-hero {
        background: #ffffff;
        border: 1px solid #eef0f4;
        border-radius: 16px;
        padding: 0;
        margin-bottom: 1.5rem;
        position: relative;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }
    .lr-hero-row {
        display: flex; align-items: stretch; justify-content: space-between;
        gap: 0; flex-wrap: nowrap;
    }
    .lr-hero-left {
        flex: 1; min-width: 0;
        display: flex; align-items: stretch; justify-content: stretch;
        background: linear-gradient(135deg, #eff6ff 0%, #ede9fe 100%);
        padding: 0;
    }
    .lr-hero-banner-img {
        width: 100%; height: 100%;
        max-height: 220px;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    /* **Ye chaar rules asal heading ko chhupa rahe the.**
       Jab hero mein `banner1.PNG` lagayi gayi thi to us tasveer ke ANDAR hi
       heading likhi hui thi, is liye asal matn chhupa diya gaya - do dafa ek
       hi baat na dikhe. Ab tasveer hat chuki hai aur matn wapas asli markup
       mein hai, magar chhupane wala rule reh gaya tha: safha khali box
       dikhata tha jis mein sirf ek icon tha.

       Yehi wajah hai ke tasveer mein matn pakana bura hai - hatate waqt us ka
       nishaan kisi teesri stylesheet mein baith kar reh jata hai. */
    .lr-hero-illu { display: none; }
    .lr-hero-progress {
        flex: 0 0 320px;
        padding: 1.5rem 1.75rem 1.5rem 2rem;
        border-left: 1px solid #e5e7eb;
        background: #ffffff;
        display: flex; flex-direction: column; justify-content: center;
    }
    @media (max-width: 768px) {
        .lr-hero-row { flex-wrap: wrap; }
        .lr-hero-left { width: 100%; }
        .lr-hero-progress { flex-basis: 100%; border-left: 0; border-top: 1px solid #e5e7eb; }
    }
    .lr-hero-progress .lbl { font-size: 0.85rem; color: #94a3b8; font-weight: 500; }
    .lr-hero-progress .pct { font-size: 2.25rem; font-weight: 800; color: #1e3a8a; line-height: 1; letter-spacing: -0.02em; }
    .lr-hero-progress .pct-row {
        display: flex; align-items: center; gap: 14px; margin: 6px 0 10px;
    }
    .lr-hero-progress .pbar {
        flex: 1; height: 6px; background: #e5e7eb; border-radius: 999px; overflow: hidden;
    }
    .lr-hero-progress .pfill {
        height: 100%; background: #1e3a8a; border-radius: 999px; transition: width 0.6s ease;
    }
    .lr-hero-progress .sub { font-size: 0.85rem; color: #475569; font-weight: 400; margin-bottom: 12px; }
    .lr-progress-btn {
        width: 100%;
        background: #ffffff; color: #1e3a8a !important;
        border: 1px solid #d1d5db; border-radius: 10px;
        padding: 10px 16px; font-weight: 600; font-size: 0.88rem;
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        text-decoration: none;
        cursor: pointer;
        transition: background 0.15s;
    }
    .lr-progress-btn:hover { background: #f9fafb; color: #1e3a8a !important; border-color: #9ca3af; }
    .lr-progress-btn i { font-size: 0.95rem; }

    /* Filter row */
    .lr-filter-row {
        display: flex; align-items: center; gap: 14px;
        flex-wrap: wrap; margin-bottom: 1.25rem;
    }
    .lr-search {
        position: relative; flex: 1; min-width: 240px; max-width: 360px;
    }
    .lr-search input {
        width: 100%; background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 9px 14px 9px 38px;
        font-size: 0.85rem;
    }
    .lr-search input:focus {
        outline: none; border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
    }
    .lr-search .ico {
        position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
        color: #94a3b8; font-size: 0.95rem;
    }
    .lr-select {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 9px 14px;
        font-size: 0.85rem; font-weight: 500; color: #475569;
        min-width: 180px;
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='%2364748b'%3E%3Cpath d='M8 10.5L3.5 6h9z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        padding-right: 34px;
    }
    .lr-sort-wrap { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
    .lr-sort-wrap .lbl { font-size: 0.85rem; color: #64748b; }
    .lr-view-toggle {
        display: inline-flex; background: #ffffff;
        border: 1px solid #e2e8f0; border-radius: 10px;
        padding: 3px;
    }
    .lr-view-toggle button {
        background: transparent; border: 0;
        width: 32px; height: 32px;
        display: inline-flex; align-items: center; justify-content: center;
        color: #94a3b8; cursor: pointer; border-radius: 7px;
    }
    .lr-view-toggle button.active { background: #eef2ff; color: #2563eb; }

    /* Category tabs */
    .lr-cat-tabs {
        display: flex; flex-wrap: wrap; gap: 10px;
        margin-bottom: 1.5rem;
    }
    .lr-cat-tab {
        background: #ffffff; border: 1px solid #e2e8f0;
        border-radius: 10px; padding: 9px 16px;
        font-size: 0.85rem; font-weight: 500; color: #475569;
        display: inline-flex; align-items: center; gap: 8px;
        text-decoration: none;
        transition: background 0.15s;
    }
    .lr-cat-tab:hover { background: #f8fafc; }
    .lr-cat-tab.active {
        background: #eff6ff; color: #2563eb; border-color: #bfdbfe;
        font-weight: 600;
    }
    .lr-cat-tab .count {
        display: inline-flex; align-items: center; justify-content: center;
        background: #f1f5f9; color: #64748b;
        font-size: 0.72rem; font-weight: 700;
        min-width: 20px; height: 20px; padding: 0 6px;
        border-radius: 999px;
    }
    .lr-cat-tab.active .count { background: #bfdbfe; color: #1e40af; }

    /* Section header */
    .lr-section-head {
        display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
    }
    .lr-section-head .ic {
        width: 24px; height: 24px; border-radius: 6px;
        background: #2563eb; color: #ffffff;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 0.85rem;
    }
    .lr-section-head h5 {
        margin: 0; font-size: 1.05rem; font-weight: 800; color: #0f172a;
        letter-spacing: -0.01em;
    }
    .lr-section-sub { font-size: 0.82rem; color: #64748b; margin: 0 0 1.25rem 32px; }

    /* Resource card */
    .lr-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
    }
    @media (max-width: 992px) { .lr-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 576px) { .lr-grid { grid-template-columns: 1fr; } }

    .lr-card {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 14px; padding: 1.25rem;
        box-shadow: 0 1px 3px rgba(15,23,42,0.04);
        transition: box-shadow 0.15s, transform 0.15s;
        position: relative;
    }
    .lr-card:hover { box-shadow: 0 8px 24px rgba(15,23,42,0.08); transform: translateY(-1px); }
    .lr-card-top {
        display: flex; justify-content: space-between; align-items: flex-start;
        margin-bottom: 1rem;
    }
    .lr-card-icon-row { display: inline-flex; align-items: center; gap: 10px; }
    .lr-card-icon {
        width: 38px; height: 38px; border-radius: 10px;
        display: inline-flex; align-items: center; justify-content: center;
        font-size: 1rem; flex-shrink: 0;
    }
    .lr-card-icon.purple { background: #ede9fe; color: #7c3aed; }
    .lr-card-icon.green { background: #d1fae5; color: #10b981; }
    .lr-card-icon.blue { background: #dbeafe; color: #2563eb; }
    .lr-card-icon.indigo { background: #e0e7ff; color: #4f46e5; }
    .lr-card-icon.amber { background: #fef3c7; color: #f59e0b; }
    .lr-card-icon.red { background: #fee2e2; color: #ef4444; }
    .lr-card-icon.pink { background: #fce7f3; color: #db2777; }
    .lr-card-cat {
        font-size: 0.82rem; font-weight: 600;
    }
    .lr-card-cat.purple { color: #7c3aed; }
    .lr-card-cat.green { color: #10b981; }
    .lr-card-cat.blue { color: #2563eb; }
    .lr-card-cat.indigo { color: #4f46e5; }
    .lr-card-cat.amber { color: #d97706; }
    .lr-card-cat.red { color: #ef4444; }
    .lr-card-cat.pink { color: #db2777; }
    .lr-card-actions {
        display: inline-flex; align-items: center; gap: 4px;
    }
    .lr-card-actions .ic-btn {
        background: transparent; border: 0;
        width: 26px; height: 26px;
        display: inline-flex; align-items: center; justify-content: center;
        color: #94a3b8; cursor: pointer; border-radius: 6px;
    }
    .lr-card-actions .ic-btn:hover { background: #f1f5f9; color: #475569; }
    .lr-card-title {
        font-size: 1rem; font-weight: 700; color: #0f172a;
        margin: 0 0 8px; line-height: 1.35;
    }
    .lr-card-desc {
        font-size: 0.85rem; color: #64748b; line-height: 1.5;
        margin: 0 0 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .lr-card-foot {
        display: flex; justify-content: space-between; align-items: center;
        gap: 12px; padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }
    .lr-card-meta {
        display: inline-flex; align-items: center; gap: 12px;
        font-size: 0.78rem; color: #64748b;
    }
    .lr-card-meta .item { display: inline-flex; align-items: center; gap: 4px; }
    .lr-card-meta .item i { color: #94a3b8; }
    .lr-card-view {
        background: #ffffff; color: #2563eb !important;
        border: 1px solid #bfdbfe; border-radius: 8px;
        padding: 6px 14px; font-size: 0.82rem; font-weight: 600;
        display: inline-flex; align-items: center; gap: 6px;
        text-decoration: none;
        transition: background 0.15s;
    }
    .lr-card-view:hover { background: #eff6ff; color: #1d4ed8 !important; }

    /* All resources card wrapper */
    .lr-resources-card {
        background: #ffffff; border: 1px solid #eef0f4;
        border-radius: 16px; padding: 1.5rem;
        box-shadow: 0 1px 3px rgba(15,23,42,0.04);
    }

    /* Pagination row */
    .lr-pagination-row {
        display: flex; justify-content: space-between; align-items: center;
        margin-top: 1.5rem; flex-wrap: wrap; gap: 12px;
    }
    .lr-pagination-row .info { font-size: 0.85rem; color: #64748b; }
    .lr-pager { display: inline-flex; gap: 6px; }
    .lr-pager a, .lr-pager button {
        width: 34px; height: 34px; border-radius: 8px;
        border: 1px solid #eef0f4; background: #fff;
        font-size: 0.85rem; color: #475569; font-weight: 500;
        display: inline-flex; align-items: center; justify-content: center;
        cursor: pointer; text-decoration: none;
    }
    .lr-pager a.active, .lr-pager button.active {
        background: #2563eb; color: #fff; border-color: #2563eb;
    }

/* ============================================================
   TASK MODULE — RESPONSIVE FIXES
   ============================================================ */

/* Page header — stack on mobile */
@media (max-width: 768px) {
    .tk-page-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .tk-view-toggle {
        width: 100%;
        overflow-x: auto;
        border-radius: 12px;
    }
    .tk-view-toggle .vbtn {
        flex: 1;
        justify-content: center;
        padding: 9px 10px;
        font-size: 0.78rem;
    }
    .tk-view-toggle .vbtn i { display: none; }
}

/* Stat cards — 2 per row on mobile */
@media (max-width: 576px) {
    .tk-stat .val { font-size: 1.4rem; }
    .tk-stat .ico { width: 38px; height: 38px; font-size: 1rem; }
    .tk-stat .spark { display: none; }
    .tk-stat .trend { font-size: 0.7rem; }
}

/* Table — hide less important columns on mobile */
@media (max-width: 768px) {
    .tk-table thead th:nth-child(3),
    .tk-table thead th:nth-child(5),
    .tk-table thead th:nth-child(7),
    .tk-table tbody td:nth-child(3),
    .tk-table tbody td:nth-child(5),
    .tk-table tbody td:nth-child(7) {
        display: none;
    }
    .tk-task-cell { gap: 8px; padding-left: 10px; }
    .tk-task-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .tk-task-title { font-size: 0.82rem; }
    .tk-task-desc { display: none; }
    .tk-status-tag { display: none; }
}

@media (max-width: 480px) {
    .tk-table thead th:nth-child(4),
    .tk-table tbody td:nth-child(4) {
        display: none;
    }
}

/* Filter bar — wrap properly */
@media (max-width: 768px) {
    .tk-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .tk-search-input {
        max-width: 100%;
        width: 100%;
    }
    .tk-new-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* Pagination */
@media (max-width: 576px) {
    .tk-pagination-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 1rem;
    }
}

/* Kanban toolbar */
@media (max-width: 768px) {
    .tk-kanban-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .tk-kb-search {
        width: 100%;
    }
}

/* Timeline stats — 2 per row on mobile */
@media (max-width: 768px) {
    .tk-tl-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .tk-tl-stat {
        min-width: unset;
    }
    .tk-tl-stat .val { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .tk-tl-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* Timeline filter bar */
@media (max-width: 768px) {
    .tk-tl-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .tk-tl-filter-bar .right {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
    }
    .tk-tl-filter-bar .right .tk-search-input {
        width: 100%;
        max-width: 100%;
    }
}

/* Timeline cards — stack on mobile */
@media (max-width: 768px) {
    .tk-tl-card {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .tk-tl-right {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .tk-tl-ring { width: 52px; height: 52px; }
    .tk-tl-ring .ring-text { font-size: 0.78rem; }
    .tk-tl-card-icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .tk-tl-title { font-size: 0.88rem; }
    .tk-tl-due-badge { display: none; }
    .tk-tl-tags { gap: 8px; }
}

/* Timeline row layout — compress on mobile */
@media (max-width: 576px) {
    .tk-tl-wrap .tk-tl-item {
        min-height: auto !important;
    }
    .tk-tl-item > .tk-tl-date {
        flex: 0 0 60px !important;
        width: 60px !important;
    }
    .tk-tl-date .day { font-size: 1.3rem !important; }
    .tk-tl-rail { left: 75px !important; }
    .tk-tl-year-badge { margin-left: 53px !important; }
    .tk-tl-item > .tk-tl-card {
        margin-left: 12px !important;
    }
}

/* Show more btn */
@media (max-width: 576px) {
    .tk-tl-show-more {
        width: 100%;
        justify-content: center;
    }
}



/* ==========================================================================
   Sidebar ka user card - naam ke neeche wali satar
   ==========================================================================

   **"Digital Marketing Intern" do satron mein toot kar card se bahar nikal
   rahi thi.** Avatar aur teer ke baad yahan sirf ~109px bachte hain aur
   technology ka naam us mein nahi aata. `suc-name` par ye ehtiyat pehle se
   thi, `suc-role` par reh gayi thi.

   **Selector jaan boojh kar lamba hai.** Asal rule
   `core-*.css` mein `body.ez-shell-theme .sidebar-user-card .suc-role` ke
   tor par baitha hai - wo bundle rebuild nahi ho sakta (CLAUDE.md), aur us
   ki specificity is file ke aam rules se ziyada hai. `.suc-info` beech mein
   daal kar ye us se ooper chala jata hai, chahe file kis tarteeb se load ho.
   Isi liye chhota selector yahan kaam nahi karta - ye maloom karne mein
   waqt laga tha, dobara chhota na kiya jaye. */
body.ez-shell-theme .sidebar-user-card .suc-info .suc-role,
.sidebar-user-card .suc-info .suc-role {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ==========================================================================
   Sidebar ka user card - sidebar se bahar nikal raha tha
   ==========================================================================

   Malik ne ye das dafa bataya, aur har dafa main ne rang dekha jab ke masla
   **chaurai** ka tha. Naapne par ye nikla:

     menu-inner : client 249px, scrollWidth 277px   (content bahar)
     aam menu item : 260px                          (Vuexy ka apna dhancha)
     hamara card   : 260px + 14px margin har taraf  = 291px

   `menu-inner` flex hai, is liye card apne bhaiyon ki tarah 260px tak phailta
   hai - aur us ke BAAD margins lagte hain. Natija: card sidebar se ~17px
   bahar nikal jata tha, aur bahar wala hissa kat kar ek seedhi lakeer bana
   deta tha. Wohi "beech se kata hua" card tha.

   Hal margin ko padding se badalna hai: card ab apne bhaiyon jitna hi chaura
   rehta hai, aur andar ka fasla padding deta hai. Koi ginti hardcode nahi ki
   gayi, is liye sidebar ki chaurai badle to ye sath chalta hai. */
body.ez-shell-theme #layout-menu .sidebar-user-card-wrapper,
#layout-menu .sidebar-user-card-wrapper {
    margin: 16px 0 20px !important;
    padding: 0 14px !important;
    box-sizing: border-box;
    max-width: 100%;
}

body.ez-shell-theme #layout-menu .sidebar-user-card,
#layout-menu .sidebar-user-card {
    box-sizing: border-box;
    max-width: 100%;
}
