﻿/* ===================================================
   cvoor – Unified Design System (Rebuilt clean version)
   Same selector names preserved where used by the site
   =================================================== */

/* ===================================================
   1) RESET / BASE
   =================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.5;
}

html[dir="rtl"] body,
html.rtl body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
    font-family: "Tajawal", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* ===================================================
   2) TOKENS
   =================================================== */
:root {
    --cv-bg: #f8fafc;
    --cv-surface: #ffffff;
    --cv-surface-2: #f5f7fb;
    --cv-text: #0f172a;
    --cv-text-soft: #334155;
    --cv-text-muted: #64748b;
    --cv-border: rgba(15, 23, 42, .10);
    --cv-border-strong: rgba(15, 23, 42, .14);
    --cv-primary: #2e7dff;
    --cv-primary-hover: #1c5ed6;
    --cv-primary-soft: #eef4ff;
    --cv-table-head-bg: #f6f9ff;
    --cv-table-head-bg-2: #eaf1ff;
    --cv-table-head-text: #173b71;
    --cv-table-head-border: rgba(120, 150, 204, .34);
    --cv-table-head-separator: rgba(191, 219, 254, .92);
    --cv-table-head-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), inset 0 -1px 0 rgba(219, 234, 254, .74);
    --cv-dark: #151A2D;
    --cv-dark-2: #0f172a;
    --cv-linkedin: #0A66C2;
    --cv-danger-soft: #fca5a5;
    --cv-success: #10b981;
    --cv-shadow-sm: 0 6px 18px rgba(2, 8, 23, .08);
    --cv-shadow-md: 0 10px 26px rgba(2, 8, 23, .08);
    --cv-shadow-lg: 0 14px 34px rgba(2, 8, 23, .10);
    --cv-shadow-xl: 0 18px 45px rgba(0, 0, 0, .22);
    --cv-radius-sm: 10px;
    --cv-radius-md: 12px;
    --cv-radius-lg: 16px;
    --cv-radius-xl: 18px;
    --cv-sidebar-w: 270px;
    --cv-sidebar-w-collapsed: 85px;
    --cv-sidebar-gap: 16px;
    --cv-sidebar-offset: 302px;
    --cv-sidebar-offset-collapsed: 117px;
}

/* ===================================================
   3) RTL / LTR CORE
   =================================================== */
.rtl,
.rtl * {
    direction: rtl;
    text-align: right;
}

html.rtl .page-wrap {
    direction: rtl;
    text-align: right;
}

html.ltr .page-wrap {
    direction: ltr;
    text-align: left;
}

html.rtl .gv td:last-child,
html.rtl .gv th:last-child {
    text-align: right;
}

html.ltr .gv td:last-child,
html.ltr .gv th:last-child {
    text-align: left;
}

/* ===================================================
   4) LAYOUT WRAPPERS
   =================================================== */
.home-wrap,
.page-wrap,
.container {
    max-width: 1200px;
    margin: 26px auto;
    padding: 0 18px;
}

@media (max-width: 768px) {
    .home-wrap,
    .page-wrap,
    .container {
        padding: 0 14px;
    }

    section {
        margin-top: 16px;
    }
}

/* ===================================================
   5) HERO / LANDING
   =================================================== */
.hero {
    background: radial-gradient(1200px 520px at 20% 10%, rgba(46, 125, 255, .32), transparent 55%), radial-gradient(900px 420px at 90% 10%, rgba(120, 86, 255, .22), transparent 55%), linear-gradient(135deg, #0b122b 0%, #070b18 100%);
    border-radius: var(--cv-radius-xl);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: var(--cv-shadow-xl);
    color: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    font-weight: 800;
    color: #dbeafe;
}

.hero h1 {
    margin: 12px 0 10px;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 900;
}

.hero p {
    margin: 0;
    color: #d1d5db;
    font-weight: 650;
    line-height: 1.7;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--cv-radius-lg);
    padding: 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
}

    .hero-card h3 {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: 900;
        color: #fff;
    }

.mini-grid {
    display: grid;
    gap: 10px;
}

.mini {
    border-radius: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .10);
}

    .mini .k {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 10px;
    }

        .mini .k b {
            font-size: 14px;
            color: #e5e7eb;
            font-weight: 900;
        }

        .mini .k span {
            font-size: 13px;
            color: #93c5fd;
            font-weight: 900;
        }

    .mini p {
        margin: 8px 0 0;
        color: #cbd5e1;
        font-weight: 650;
        line-height: 1.6;
        font-size: 14px;
    }

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px;
    }

        .hero h1 {
            font-size: 26px;
            line-height: 1.35;
        }

        .hero p {
            font-size: 14px;
        }

    .hero-actions {
        flex-direction: column;
    }
}

/* ===================================================
   6) BUTTONS
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
    cursor: pointer;
}

    .btn.primary {
        background: var(--cv-primary);
        color: #fff;
        box-shadow: 0 10px 22px rgba(46, 125, 255, .28);
    }

        .btn.primary:hover {
            transform: translateY(-1px);
            background: var(--cv-primary-hover);
        }

    .btn.ghost {
        background: rgba(255, 255, 255, .06);
        color: #fff;
        border-color: rgba(255, 255, 255, .14);
    }

        .btn.ghost:hover {
            background: rgba(255, 255, 255, .10);
        }

    .btn.outline {
        background: transparent;
        color: #dbeafe;
        border-color: rgba(219, 234, 254, .35);
    }

        .btn.outline:hover {
            background: rgba(219, 234, 254, .08);
        }

button,
input[type="submit"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn),
input[type="button"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn) {
    background: var(--cv-primary);
    color: #fff;
    font-weight: 900;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(46, 125, 255, .28);
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

    button:hover,
    input[type="submit"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn):hover,
    input[type="button"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn):hover {
        background: var(--cv-primary-hover);
        transform: translateY(-1px);
    }

    button:disabled,
    input[type="submit"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn):disabled,
    input[type="button"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn):disabled {
        background: #94a3b8;
        cursor: not-allowed;
        box-shadow: none;
    }

.btn-main {
    background: var(--cv-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 15px;
    cursor: pointer;
}

    .btn-main:hover {
        background: var(--cv-primary-hover);
    }

.btn-add {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--cv-primary) !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-top: 8px;
    padding: 0 !important;
}

.save-btn {
    margin-top: 30px;
    background: var(--cv-primary);
    color: #fff;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    width: auto !important;
    align-self: flex-start;
}

    .save-btn:hover {
        background: var(--cv-primary-hover);
    }

/* LinkedIn button */
a.li-btn,
.li-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    padding: 0 16px !important;
    background: var(--cv-linkedin) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

    a.li-btn:hover,
    a.li-btn:focus,
    a.li-btn:active,
    .li-btn:hover,
    .li-btn:focus,
    .li-btn:active {
        background: var(--cv-linkedin) !important;
        color: #fff !important;
        outline: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
        transform: none !important;
    }

    a.li-btn .li-icon {
        display: flex;
        align-items: center;
    }

input.li-btn {
    height: 38px !important;
    line-height: 38px !important;
    padding: 0 16px !important;
}

/* ===================================================
   7) PANELS / CARDS / SECTIONS
   =================================================== */
.panel {
    background: var(--cv-surface);
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-xl);
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: var(--cv-shadow-lg);
}

    .panel h1 {
        margin: 0 0 14px;
        font-size: 22px;
        font-weight: 1000;
        color: var(--cv-text);
    }

.section {
    margin-top: 18px;
}

    .section h2 {
        margin: 18px 0 10px;
        font-size: 20px;
        font-weight: 1000;
        color: #0b122b;
    }

.muted {
    color: var(--cv-text-soft);
    font-weight: 650;
    line-height: 1.8;
    margin: 0 0 14px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    background: var(--cv-surface);
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-lg);
    padding: 16px;
    box-shadow: var(--cv-shadow-md);
}

    .card h3 {
        margin: 0 0 10px;
        font-size: 16px;
        font-weight: 1000;
        color: var(--cv-text);
    }

    .card ul {
        margin: 0;
    }

@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .card,
    .panel,
    .hero-card,
    .mini {
        padding: 14px;
        border-radius: 14px;
    }
}

/* ===================================================
   8) STEPS
   =================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.step {
    background: #fff;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius-lg);
    padding: 14px;
    box-shadow: var(--cv-shadow-md);
}

    .step .n {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--cv-primary);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 1000;
        margin-bottom: 10px;
        box-shadow: 0 10px 18px rgba(46, 125, 255, .18);
    }

    .step h4 {
        margin: 0 0 6px;
        font-size: 14px;
        font-weight: 1000;
        color: var(--cv-text);
    }

    .step p {
        margin: 0;
        color: var(--cv-text-soft);
        font-weight: 650;
        line-height: 1.7;
        font-size: 13px;
    }

@media (max-width: 900px) {
    .steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   9) TABLES / GRIDVIEW
   =================================================== */
.gv {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

    .gv thead {
        display: table-header-group;
    }

    .gv tbody {
        display: table-row-group;
    }

    .gv tr {
        background: transparent;
    }

    .gv th {
        background: linear-gradient(180deg, var(--cv-table-head-bg) 0%, var(--cv-table-head-bg-2) 100%);
        color: var(--cv-table-head-text);
        padding: 12px 15px;
        border-top: 1px solid var(--cv-table-head-border);
        border-bottom: 1px solid var(--cv-table-head-border);
        font-weight: 1000;
        font-size: 12px;
        letter-spacing: 0;
        line-height: 1.45;
        text-transform: none;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
        text-wrap: balance;
        vertical-align: middle;
    }

    .gv td {
        padding: 10px;
        border-bottom: 1px solid rgba(15, 23, 42, .08);
        color: var(--cv-text);
        font-weight: 650;
        vertical-align: middle;
    }

    .gv tr:nth-child(even) {
        background: #f8fafc;
    }

    .gv a {
        color: var(--cv-primary);
        font-weight: 900;
        text-decoration: none;
        word-break: break-word;
    }

    .gv .cell {
        position: relative;
    }

    .gv td::before {
        content: none;
    }

    /* RTL checkbox/radio in GridView */
    .gv input[type="checkbox"],
    .gv input[type="radio"] {
        display: block;
        margin-left: auto;
        margin-right: 0;
        vertical-align: middle;
    }

/* Mobile card view */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .gv {
        width: 100%;
        border-spacing: 0 14px;
    }

        .gv thead,
        .gv th,
        .gv tr:has(th) {
            display: none !important;
        }

        .gv tbody {
            display: block;
        }

        .gv tr {
            display: block;
            background: #fff;
            border: 1px solid rgba(15, 23, 42, .12);
            border-radius: 14px;
            padding: 12px;
            margin-bottom: 14px;
            box-shadow: var(--cv-shadow-sm);
            direction: rtl;
        }

        .gv td {
            display: block;
            border: none !important;
            padding: 0 !important;
            background: transparent !important;
        }

        .gv .cell {
            display: grid;
            grid-template-columns: 110px 1fr;
            gap: 10px;
            align-items: start;
            padding: 7px 0;
            color: var(--cv-text);
            word-break: break-word;
            overflow-wrap: anywhere;
            white-space: normal;
            border-bottom: 1px dashed rgba(15, 23, 42, .10);
            text-align: left;
        }

            .gv .cell:last-child {
                border-bottom: none;
            }

            .gv .cell::before {
                content: attr(data-label);
                font-weight: 900;
                color: #475569;
                white-space: nowrap;
                text-align: right;
            }

            .gv .cell > *:last-child,
            .gv .cell a,
            .gv .cell span,
            .gv .cell div {
                max-width: 100%;
                word-break: break-word;
                overflow-wrap: anywhere;
                white-space: normal;
            }

    .remote-on,
    .remote-off {
        font-weight: 900;
    }

    #gvCvs tr {
        cursor: pointer;
    }

        #gvCvs tr.selected-cv {
            border: 2px solid var(--cv-primary);
            background: var(--cv-primary-soft);
        }
}

/* ===================================================
   10) STATUS / HELPERS
   =================================================== */
.status {
    margin-top: 10px;
    font-weight: 900;
    color: var(--cv-text);
}

.remote-on {
    color: var(--cv-primary);
    font-weight: 900;
}

.remote-off {
    color: #cbd5e1;
    font-weight: 900;
}

.counter {
    display: inline-flex;
    gap: 4px;
    direction: ltr;
}

    .counter .digit {
        position: relative;
        width: 32px;
        height: 56px;
        overflow: hidden;
    }

        .counter .digit span {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 46px;
            font-weight: 1000;
            line-height: 1;
            background: linear-gradient(90deg, #fb923c 0%, #f97316 40%, #facc15 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transform: translateY(0);
            transition: transform .45s ease;
        }

/* ===================================================
   11) FORMS / INPUTS
   =================================================== */
input[type="text"],
input[type="date"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    width: 100%;
    font-size: 16px;
}

input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="submit"],
input[type="button"],
button {
    max-width: 100%;
}

    input[type="checkbox"] + label,
    label:has(input[type="checkbox"]),
    span:has(input[type="checkbox"]),
    asp\:CheckBox {
        white-space: nowrap;
    }

.select-country {
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-weight: 900;
    font-size: 14px;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(2, 8, 23, .08);
    transition: .15s ease;
}

    .select-country:focus {
        outline: none;
        border-color: var(--cv-primary);
        box-shadow: 0 0 0 3px rgba(46, 125, 255, .25);
    }

#btnFetch,
input[id*="btnFetch"] {
    width: auto !important;
    min-width: 200px;
}

@media (max-width: 768px) {
    #btnFetch,
    input[id*="btnFetch"] {
        width: auto !important;
        align-self: flex-start;
    }
}

/* ===================================================
   12) UploadCv.aspx
   =================================================== */
.cv-card {
    background: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    width: 100%;
}

    .cv-card h3 {
        margin-top: 0;
        font-size: 28px;
        font-weight: 700;
        color: #1a1a1a;
    }

    .cv-card h4 {
        margin-top: 36px;
        font-size: 20px;
        color: var(--cv-primary);
        border-bottom: 2px solid #e6f0ff;
        padding-bottom: 6px;
    }

    .cv-card .cv-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 20px;
    }

.upload-box {
    min-width: 320px;
    border: 2px dashed #d6deea;
    border-radius: 16px;
    padding: 18px 16px;
    background: #f9fbff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: .15s ease;
    user-select: none;
    flex: 1 1 420px;
}

.cv-card .upload-box {
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: var(--cv-primary);
    background: #f1f6ff;
}

.upload-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e9f1ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

    .upload-ic svg {
        width: 22px;
        height: 22px;
        stroke: var(--cv-primary);
    }

.upload-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.upload-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.upload-sub {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.2;
}

.file-hidden,
.cv-card input[id$="fuCv"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.cv-grid {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
    font-size: 14px;
}

    .cv-grid th {
        background: #f5f7fb;
        padding: 10px;
        text-align: left;
        font-weight: 600;
        border-bottom: 1px solid #ddd;
        font-size: 14px;
    }

.rtl .cv-grid th {
    text-align: right;
}

.cv-grid td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.cv-grid input[type="text"],
.cv-grid input[type="date"],
.cv-grid textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.cv-grid textarea {
    resize: vertical;
}

.cv-card input[id$="btnUpload"],
.cv-card #btnUpload {
    width: auto !important;
    display: inline-block !important;
    padding: 14px 30px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 22px rgba(46, 125, 255, .28) !important;
}

/* ===================================================
   13) LEGACY SIDEBAR SYSTEM (.sidebar)
   =================================================== */
.material-symbols-rounded {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

body.with-sidebar {
    padding-inline-start: var(--cv-sidebar-offset);
}

    body.with-sidebar.sidebar-collapsed {
        padding-inline-start: var(--cv-sidebar-offset-collapsed);
    }

.rtl body.with-sidebar {
    padding-inline-start: 0;
    padding-inline-end: var(--cv-sidebar-offset);
}

    .rtl body.with-sidebar.sidebar-collapsed {
        padding-inline-end: var(--cv-sidebar-offset-collapsed);
    }

.sidebar {
    position: fixed;
    width: var(--cv-sidebar-w);
    margin: 16px;
    border-radius: 16px;
    background: var(--cv-dark);
    height: calc(100vh - 32px);
    transition: all .4s ease;
    z-index: 1000;
    inset-block-start: 0;
    inset-inline-start: 0;
}

.rtl .sidebar {
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.sidebar.collapsed {
    width: var(--cv-sidebar-w-collapsed);
}

.sidebar .sidebar-header {
    display: flex;
    position: relative;
    padding: 25px 20px;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header .header-logo img {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    padding: 6px;
}

.sidebar-header .toggler {
    height: 35px;
    width: 35px;
    color: var(--cv-dark);
    border: none;
    cursor: pointer;
    display: flex;
    background: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: .4s ease;
}

    .sidebar-header .toggler:hover {
        background: #dde4fb;
    }

.sidebar-header .sidebar-toggler {
    position: absolute;
    inset-inline-end: 20px;
}

.sidebar-header .menu-toggler {
    display: none;
}

.sidebar-header .toggler span {
    font-size: 1.75rem;
    transition: .4s ease;
}

.sidebar.collapsed .sidebar-header .toggler {
    transform: translate(-4px, 65px);
}

.rtl .sidebar.collapsed .sidebar-header .toggler {
    transform: translate(4px, 65px);
}

.sidebar.collapsed .sidebar-header .toggler span {
    transform: rotate(180deg);
}

.sidebar-nav .nav-list,
.sidebar .sidebar-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 4px;
    padding: 0 15px;
    flex-direction: column;
    transform: translateY(15px);
    transition: .4s ease;
    margin: 0;
}

.sidebar.collapsed .sidebar-nav .primary-nav {
    transform: translateY(65px);
}

.sidebar-nav .nav-item {
    position: relative;
}

.sidebar-nav .nav-link {
    color: #fff;
    display: flex;
    gap: 12px;
    white-space: nowrap;
    border-radius: 8px;
    padding: 12px 15px;
    align-items: center;
    text-decoration: none;
    transition: .4s ease;
    font-weight: 800;
}

    .sidebar-nav .nav-link .nav-icon {
        font-size: 1.37rem;
    }

.sidebar.collapsed .sidebar-nav .nav-link {
    border-radius: 12px;
}

.sidebar .sidebar-nav .nav-link .nav-label {
    transition: opacity .3s ease;
}

.sidebar.collapsed .sidebar-nav .nav-link .nav-label {
    opacity: 0;
    pointer-events: none;
}

.sidebar-nav .nav-link:hover {
    color: var(--cv-dark);
    background: #fff;
}

.sidebar-nav .nav-tooltip {
    position: absolute;
    top: -10px;
    opacity: 0;
    color: var(--cv-dark);
    display: none;
    pointer-events: none;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    background: #fff;
    inset-inline-start: calc(100% + 25px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    transition: 0s;
}

.rtl .user-menu,
.rtl .auth-panel,
.rtl .sidebar-nav .nav-tooltip {
    inset-inline-start: auto;
    inset-inline-end: calc(100% + 12px);
}

.sidebar.collapsed .sidebar-nav .nav-tooltip {
    display: block;
}

.sidebar-nav .nav-item:hover .nav-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(50%);
    transition: all .4s ease;
}

.sidebar-nav .secondary-nav {
    position: absolute;
    bottom: 30px;
    width: 100%;
}

.user-menu {
    position: absolute;
    bottom: 95px;
    inset-inline-start: calc(100% + 12px);
    min-width: 220px;
    background: var(--cv-dark-2);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
    padding: 6px;
    display: none;
    z-index: 1200;
}

    .user-menu.open {
        display: block;
    }

    .user-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .user-menu li a {
        display: block;
        padding: 10px;
        border-radius: 10px;
        text-decoration: none;
        color: #e5e7eb;
        font-weight: 800;
    }

        .user-menu li a:hover {
            background: rgba(255, 255, 255, .08);
        }

.auth-panel {
    position: absolute;
    bottom: 30px;
    inset-inline-start: calc(100% + 12px);
    width: min(360px, 92vw);
    background: var(--cv-dark-2);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
    padding: 14px;
    display: none;
    z-index: 1300;
}

    .auth-panel.open {
        display: block;
    }

.auth-fields {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.login-input {
    background: #151a33;
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
}

    .login-input::placeholder {
        color: #94a3b8;
    }

.auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-btn {
    width: 100% !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    height: auto !important;
}

.auth-btn-primary {
    background: var(--cv-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(46, 125, 255, .28) !important;
}

    .auth-btn-primary:hover {
        background: var(--cv-primary-hover) !important;
    }

.auth-btn-outline {
    background: rgba(255, 255, 255, .06) !important;
    color: #dbeafe !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
}

    .auth-btn-outline:hover {
        background: rgba(255, 255, 255, .10) !important;
    }

.auth-meta {
    display: grid;
    gap: 6px;
}

.auth-msg {
    color: var(--cv-danger-soft);
    font-weight: 900;
}

.forgot-link {
    color: #93c5fd;
    text-decoration: underline;
    font-weight: 900;
}

.only-logged-in {
    display: none;
}

.only-guest {
    display: block;
}

body.logged-in .only-logged-in {
    display: block;
}

body.logged-in .only-guest {
    display: none;
}

/* ===================================================
   14) PRIMARY SIDEBAR SYSTEM (.cvoor-sidebar)
   =================================================== */
html.cvoor-has-sidebar body {
    padding-left: var(--cv-sidebar-offset);
    transition: padding-left .4s ease, padding-right .4s ease;
}

    html.cvoor-has-sidebar body:has(#cvoorSidebar.is-collapsed) {
        padding-left: var(--cv-sidebar-offset-collapsed);
    }

    html.cvoor-has-sidebar body.cvoor-no-sidebar-padding {
        padding-left: 0;
    }

.cvoor-sidebar,
#cvoorSidebar {
    position: fixed;
    left: 16px;
    top: 16px;
    width: var(--cv-sidebar-w);
    height: calc(100vh - 32px);
    margin: 0;
    border-radius: 16px;
    background:
        radial-gradient(220px 220px at 84% 8%, rgba(255,255,255,.12), transparent 62%),
        radial-gradient(180px 180px at 12% 92%, rgba(255,255,255,.08), transparent 65%),
        linear-gradient(180deg, #0f172a 0%, #1d4ed8 56%, #38bdf8 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 26px 58px rgba(15, 23, 42, .18);
    transition: all .4s ease;
    z-index: 3000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .cvoor-sidebar.is-collapsed,
    #cvoorSidebar.is-collapsed {
        width: var(--cv-sidebar-w-collapsed);
    }

    .cvoor-sidebar__header,
    #cvoorSidebar .cvoor-sidebar__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 18px 18px 14px;
        z-index: 50;
        min-height: 92px;
        gap: 12px;
    }

.cvoor-sidebar__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    text-decoration: none;
    min-width: 0;
    flex: 1 1 auto;
}

    .cvoor-sidebar__logo img,
    #cvoorSidebar .cvoor-sidebar__logo img {
        width: 122px;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .18));
    }

.cvoor-sidebar.is-collapsed .cvoor-sidebar__logo img,
#cvoorSidebar.is-collapsed .cvoor-sidebar__logo img {
    width: 52px;
}

.cvoor-toggler {
    height: 40px;
    width: 40px;
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    color: var(--cv-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
    flex: 0 0 40px;
}

    .cvoor-toggler:hover {
        background: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .24);
    }

    .cvoor-toggler span {
        font-size: 1.35rem;
        line-height: 1;
        transition: .3s ease;
    }

.cvoor-toggler--collapse {
    position: static;
    z-index: 60;
    pointer-events: auto;
    margin-inline-start: 8px;
}

.cvoor-toggler--menu {
    display: none;
}

.cvoor-sidebar.is-collapsed .cvoor-toggler--collapse span,
.cvoor-sidebar.is-collapsed .cvoor-nav__label,
.cvoor-sidebar.is-collapsed .cvoor-nav__tooltip,
#cvoorSidebar.is-collapsed .cvoor-toggler--collapse span {
    transform: rotate(180deg);
}

.cvoor-sidebar__nav,
#cvoorSidebar .cvoor-sidebar__nav {
    position: relative;
    z-index: 1;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 12px;
}

.cvoor-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 14px;
    transform: none;
    transition: .25s ease;
    margin: 0;
}

.cvoor-sidebar.is-collapsed .cvoor-nav--primary {
    transform: translateY(65px);
}

#cvoorSidebar .cvoor-nav--primary {
    flex-shrink: 0;
}

.cvoor-nav--secondary,
#cvoorSidebar .cvoor-nav--secondary {
    position: absolute;
    bottom: 30px;
    width: 100%;
}

#cvoorSidebar .cvoor-nav--secondary {
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    inset: auto !important;
    margin-top: auto !important;
    padding-bottom: 16px !important;
    width: 100% !important;
}

.cvoor-nav__item {
    position: relative;
}

.cvoor-nav__link {
    color: rgba(255, 255, 255, .88);
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    border-radius: 14px;
    padding: 13px 16px;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
    font-weight: 800;
    letter-spacing: -.01em;
    min-height: 52px;
}

    .cvoor-nav__link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, .08);
        transform: translateX(-1px);
    }

html.ltr .cvoor-nav__link:hover {
    transform: translateX(1px);
}

.cvoor-nav__link.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .10) 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 22px rgba(0, 0, 0, .18);
}

.cvoor-nav__icon {
    font-size: 1.35rem;
    line-height: 1;
    color: rgba(147, 197, 253, .92);
    flex: 0 0 22px;
    text-align: center;
}

.cvoor-nav__link.is-active .cvoor-nav__icon,
.cvoor-nav__link:hover .cvoor-nav__icon {
    color: #dbeafe;
}

.cvoor-nav__label {
    transition: opacity .3s ease, transform .3s ease;
}

.cvoor-sidebar.is-collapsed .cvoor-nav__label {
    opacity: 0;
    pointer-events: none;
    transform: none;
}

.cvoor-nav__tooltip {
    position: absolute;
    top: -10px;
    left: calc(100% + 25px);
    opacity: 0;
    display: none;
    pointer-events: none;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    background: #fff;
    color: var(--cv-dark);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    transition: 0s;
}

.cvoor-sidebar.is-collapsed .cvoor-nav__tooltip {
    display: block;
}

.cvoor-nav__item:hover .cvoor-nav__tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(50%);
    transition: all .4s ease;
}

.cvoor-nav--secondary .cvoor-nav__link {
    background: rgba(255, 255, 255, .94);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 10px 22px rgba(2, 8, 23, .10);
}

.cvoor-nav--secondary .cvoor-nav__icon {
    color: #334155;
}

.cvoor-nav--secondary .cvoor-nav__link:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-1px);
}

html.ltr .cvoor-nav--secondary .cvoor-nav__link:hover {
    transform: translateY(-1px);
}

.cvoor-guest-only {
    display: block;
}

.cvoor-user-only {
    display: none;
}

.cvoor-sidebar.is-logged-in .cvoor-guest-only,
#cvoorSidebar.is-logged-in .cvoor-guest-only {
    display: none !important;
}

.cvoor-sidebar.is-logged-in .cvoor-user-only,
#cvoorSidebar.is-logged-in .cvoor-user-only {
    display: block !important;
}

#cvoorSidebar:not(.is-logged-in) .cvoor-nav--primary .cvoor-nav__item {
    display: none !important;
}

#cvoorSidebar:not(.is-logged-in) .cvoor-nav--primary .cvoor-nav__item--home {
    display: block !important;
}

#cvoorSidebar:not(.is-logged-in) .cvoor-user-only {
    display: none !important;
}

.cvoor-user-menu {
    position: absolute;
    bottom: 88px;
    left: calc(100% + 12px);
    min-width: 240px;
    background:
        radial-gradient(180px 180px at 88% 10%, rgba(255,255,255,.12), transparent 62%),
        linear-gradient(135deg,#0f172a 0%, #1d4ed8 52%, #38bdf8 100%);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .34);
    padding: 8px;
    display: none;
    z-index: 3100;
}

    .cvoor-user-menu.open {
        display: block;
    }

    .cvoor-user-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .cvoor-user-menu li a {
        display: block;
        padding: 10px;
        border-radius: 10px;
        text-decoration: none;
        color: #e5e7eb;
        font-weight: 600;
    }

        .cvoor-user-menu li a:hover {
            background: rgba(255, 255, 255, .08);
        }

.cvoor-auth {
    position: absolute;
    bottom: 24px;
    left: calc(100% + 12px);
    width: min(360px, 92vw);
    background:
        radial-gradient(180px 180px at 88% 10%, rgba(255,255,255,.12), transparent 62%),
        linear-gradient(135deg,#0f172a 0%, #1d4ed8 52%, #38bdf8 100%);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
    padding: 16px;
    display: none;
    z-index: 3200;
}

    .cvoor-auth.open {
        display: block;
    }

.cvoor-auth__fields {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.cvoor-auth__input {
    background: #151a33;
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
    width: 100%;
}

    .cvoor-auth__input::placeholder {
        color: #94a3b8;
    }

.cvoor-auth__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.cvoor-auth__btn {
    width: 100% !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    height: auto !important;
}

.cvoor-auth__btn--primary {
    background: var(--cv-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(46, 125, 255, .28) !important;
}

    .cvoor-auth__btn--primary:hover {
        background: var(--cv-primary-hover) !important;
    }

.cvoor-auth__btn--outline {
    background: rgba(255, 255, 255, .06) !important;
    color: #dbeafe !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
}

    .cvoor-auth__btn--outline:hover {
        background: rgba(255, 255, 255, .10) !important;
    }

.cvoor-auth__meta {
    display: grid;
    gap: 6px;
}

.cvoor-auth__msg {
    color: #fca5a5;
    font-weight: 700;
}

.cvoor-auth__forgot {
    color: #93c5fd;
    text-decoration: underline;
    font-weight: 700;
}

/* Language switch */
#cvoorSidebar .cvoor-sidebar__nav .lang-switch,
.cvoor-sidebar__nav .lang-switch {
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 8px !important;
    margin: 10px 14px 14px !important;
    padding: 6px !important;
    width: calc(100% - 28px) !important;
    max-width: 242px;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 26px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(10px);
}

    #cvoorSidebar .cvoor-sidebar__nav .lang-switch .lang-btn,
    .cvoor-sidebar__nav .lang-switch .lang-btn {
        all: unset;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 1 0;
        min-width: 0 !important;
        height: 36px !important;
        padding: 0 10px !important;
        border-radius: 12px !important;
        cursor: pointer !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 12px !important;
        font-weight: 900 !important;
        letter-spacing: .3px !important;
        color: #dbeafe !important;
        background: rgba(255, 255, 255, .04) !important;
        border: 1px solid rgba(255, 255, 255, .08) !important;
        transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease !important;
    }

        #cvoorSidebar .cvoor-sidebar__nav .lang-switch .lang-btn:hover,
        .cvoor-sidebar__nav .lang-switch .lang-btn:hover,
        #cvoorSidebar .cvoor-sidebar__nav .lang-switch .lang-btn.active,
        .cvoor-sidebar__nav .lang-switch .lang-btn.active,
        #cvoorSidebar .cvoor-sidebar__nav .lang-switch .lang-btn[aria-current="true"],
        .cvoor-sidebar__nav .lang-switch .lang-btn[aria-current="true"] {
            background: rgba(255, 255, 255, .14) !important;
            color: #ffffff !important;
            border-color: rgba(255, 255, 255, .18) !important;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
            transform: none;
        }

#cvoorSidebar.is-collapsed .cvoor-sidebar__nav .lang-switch,
.cvoor-sidebar.is-collapsed .cvoor-sidebar__nav .lang-switch {
    margin: 10px auto 14px !important;
    width: calc(100% - 18px) !important;
    max-width: none;
}

    #cvoorSidebar.is-collapsed .cvoor-sidebar__nav .lang-switch .lang-btn,
    .cvoor-sidebar.is-collapsed .cvoor-sidebar__nav .lang-switch .lang-btn {
        padding: 0 6px !important;
        font-size: 11px !important;
    }

/* ===================================================
   15) FOOTERS
   =================================================== */
.home-footer {
    margin-top: 18px;
    background: radial-gradient(1200px 520px at 20% 10%, rgba(255, 255, 255, .14), transparent 55%), radial-gradient(900px 420px at 90% 10%, rgba(255, 255, 255, .10), transparent 55%), linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #38bdf8 100%);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: var(--cv-shadow-xl);
    color: #e5e7eb;
}

.home-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo {
    width: 140px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

    .footer-links a {
        color: #dbeafe;
        text-decoration: none;
        font-weight: 850;
        border-radius: 8px;
        transition: all .15s ease;
    }

.home-footer .footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 900;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
}

.footer-links a:hover {
    color: #fff;
}

.home-footer .footer-links a:hover {
    background: #fff;
    color: var(--cv-dark);
    transform: translateY(-1px);
    text-decoration: none;
}

.home-footer-bottom {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #cbd5e1;
    font-weight: 650;
}

.site-footer {
    margin-top: 26px;
    background: radial-gradient(1200px 520px at 20% 10%, rgba(255, 255, 255, .14), transparent 55%), radial-gradient(900px 420px at 90% 10%, rgba(255, 255, 255, .10), transparent 55%), linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #38bdf8 100%);
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

    .site-footer .footer-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 26px 18px;
        display: grid;
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 18px;
    }

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-desc {
    margin: 0;
    color: #94a3b8;
    font-weight: 650;
    line-height: 1.7;
    max-width: 520px;
    font-size: 13px;
}

.footer-title {
    margin: 0 0 10px;
    color: #e5e7eb;
    font-weight: 1000;
    font-size: 14px;
}

.site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .site-footer .footer-links a {
        padding: 6px 0;
        opacity: .92;
    }

        .site-footer .footer-links a:hover {
            opacity: 1;
            color: #fff;
            text-decoration: underline;
            transform: none;
        }

.footer-support {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-support a {
        color: #93c5fd;
        text-decoration: none;
        font-weight: 900;
    }

        .footer-support a:hover {
            text-decoration: underline;
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .03);
}

    .footer-bottom .footer-bottom-inner,
    .home-footer-bottom,
    .footer-bottom .footer-bottom-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    .footer-bottom .footer-bottom-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 12px 18px;
        color: #94a3b8;
        font-weight: 650;
        font-size: 13px;
    }

html.rtl .footer-bottom .footer-bottom-inner {
    flex-direction: row-reverse;
}

/* ===================================================
   16) ACTION ALIGNMENT HELPERS (CVs.aspx etc.)
   =================================================== */
.page-wrap > div:first-child {
    margin-bottom: 18px;
    display: flex;
}

.card > div:last-child {
    margin-top: 20px;
    display: flex;
}

.card-actions {
    display: flex;
    margin-top: 20px;
}

html.rtl .page-wrap > div:first-child,
html.rtl .card > div:last-child,
html.rtl .card-actions,
html.rtl .page-wrap > div[style*="margin-bottom"],
html.rtl .page-wrap .card > div[style*="margin-top"] {
    justify-content: flex-end !important;
}

html.ltr .page-wrap > div:first-child,
html.ltr .card > div:last-child,
html.ltr .card-actions,
html.ltr .page-wrap > div[style*="margin-bottom"],
html.ltr .page-wrap .card > div[style*="margin-top"] {
    justify-content: flex-start !important;
}

.page-wrap > div[style*="margin-bottom"],
.page-wrap .card > div[style*="margin-top"] {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    text-align: initial !important;
}

.page-wrap .cv-top-actions,
.page-wrap .cv-bottom-actions {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

    .page-wrap .cv-top-actions .btn,
    .page-wrap .cv-bottom-actions .btn,
    #btnUpload,
    #btnDelete,
    html.rtl input[id$="btnUpload"],
    html.rtl input[id$="btnDelete"],
    html.ltr input[id$="btnUpload"],
    html.ltr input[id$="btnDelete"] {
        float: none !important;
        width: auto !important;
    }

/* ===================================================
   17) FORCE RTL/LTR FOR CVOOR SIDEBAR
   =================================================== */
html.rtl #cvoorSidebar {
    left: auto !important;
    right: 16px !important;
}

html.ltr #cvoorSidebar {
    right: auto !important;
    left: 16px !important;
}

html.rtl.cvoor-has-sidebar body {
    padding-left: 0 !important;
    padding-right: var(--cv-sidebar-offset) !important;
}

html.ltr.cvoor-has-sidebar body {
    padding-right: 0 !important;
    padding-left: var(--cv-sidebar-offset) !important;
}

html.rtl.cvoor-has-sidebar body:has(#cvoorSidebar.is-collapsed) {
    padding-left: 0 !important;
    padding-right: var(--cv-sidebar-offset-collapsed) !important;
}

html.ltr.cvoor-has-sidebar body:has(#cvoorSidebar.is-collapsed) {
    padding-right: 0 !important;
    padding-left: var(--cv-sidebar-offset-collapsed) !important;
}

html.rtl #cvoorSidebar .cvoor-user-menu,
html.rtl #cvoorSidebar .cvoor-auth {
    left: auto !important;
    right: calc(100% + 12px) !important;
}

html.ltr #cvoorSidebar .cvoor-user-menu,
html.ltr #cvoorSidebar .cvoor-auth {
    right: auto !important;
    left: calc(100% + 12px) !important;
}

html.rtl .btn,
html.rtl .btn-primary,
html.rtl .btn-danger,
html.ltr .btn,
html.ltr .btn-primary,
html.ltr .btn-danger {
    float: none !important;
}

/* ===================================================
   18) MOBILE / RESPONSIVE SIDEBAR
   =================================================== */
@media (max-width: 1024px) {
    body.with-sidebar {
        padding-inline-start: 0 !important;
        padding-inline-end: 0 !important;
        padding-top: 82px;
    }

    .sidebar {
        height: 56px;
        margin: 13px;
        overflow-y: hidden;
        scrollbar-width: none;
        width: calc(100% - 26px);
        max-height: calc(100vh - 26px);
        inset-inline-start: 0 !important;
        inset-inline-end: 0 !important;
    }

        .sidebar.menu-active {
            overflow-y: auto;
            height: auto;
        }

        .sidebar .sidebar-header {
            position: sticky;
            top: 0;
            z-index: 20;
            border-radius: 16px;
            background: var(--cv-dark);
            padding: 8px 10px;
        }

    .sidebar-header .header-logo img {
        width: 40px;
        height: 40px;
    }

    .sidebar-header .sidebar-toggler,
    .sidebar-nav .nav-item:hover .nav-tooltip {
        display: none;
    }

    .sidebar-header .menu-toggler {
        display: flex;
        height: 30px;
        width: 30px;
    }

        .sidebar-header .menu-toggler span {
            font-size: 1.3rem;
        }

    .sidebar .sidebar-nav .nav-list {
        padding: 0 10px;
    }

    .sidebar-nav .nav-link {
        gap: 10px;
        padding: 10px;
        font-size: .94rem;
    }

    .sidebar-nav .secondary-nav {
        position: relative;
        bottom: 0;
        margin: 40px 0 30px;
    }

    .user-menu,
    .auth-panel {
        position: relative;
        inset-inline-start: 0 !important;
        inset-inline-end: 0 !important;
        bottom: 0;
        width: 100%;
        margin: 10px 0 0;
    }

    html.cvoor-has-sidebar body,
    html.cvoor-has-sidebar body:has(#cvoorSidebar.is-collapsed) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 82px;
    }

    .cvoor-sidebar,
    #cvoorSidebar {
        left: 13px !important;
        top: 13px !important;
        width: calc(100% - 26px) !important;
        height: 56px !important;
        max-height: 56px !important;
        border-radius: 16px;
        overflow: hidden !important;
    }

        .cvoor-sidebar.menu-active,
        #cvoorSidebar.menu-active {
            height: calc(100vh - 26px) !important;
            max-height: calc(100vh - 26px) !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch;
        }

        .cvoor-sidebar__header,
        #cvoorSidebar .cvoor-sidebar__header {
            position: sticky !important;
            top: 0 !important;
            z-index: 9999 !important;
            background: var(--cv-dark) !important;
            border-radius: 16px !important;
            padding: 6px 12px !important;
            min-height: 56px !important;
            height: 56px !important;
            box-sizing: border-box;
        }

        .cvoor-sidebar__logo img,
        #cvoorSidebar .cvoor-sidebar__logo img {
            width: 96px;
            max-height: 34px !important;
            transform: translateY(0) !important;
            margin: 0 !important;
        }

    .cvoor-toggler--collapse {
        display: none;
    }

    .cvoor-toggler--menu {
        display: flex;
        height: 36px;
        width: 36px;
        transform: translateY(0) !important;
        margin: 0 !important;
    }

        .cvoor-toggler--menu span {
            font-size: 1.3rem;
        }

    .cvoor-nav {
        padding: 0 10px;
        gap: 6px;
    }

    .cvoor-nav__link {
        gap: 10px;
        padding: 11px 12px;
        font-size: .94rem;
        min-height: 48px;
    }

    .cvoor-nav__icon {
        font-size: 1.2rem;
    }

    .cvoor-nav--secondary {
        position: relative;
        bottom: 0;
        margin: 40px 0 30px;
    }

    .cvoor-user-menu,
    .cvoor-auth {
        position: relative;
        left: 0 !important;
        right: 0 !important;
        bottom: 0;
        width: 100%;
        margin-top: 10px;
    }

    #cvoorSidebar .cvoor-sidebar__nav .lang-switch,
    .cvoor-sidebar__nav .lang-switch {
        margin: 10px 10px 12px !important;
        width: calc(100% - 20px) !important;
        max-width: none;
    }
}

@media (max-width: 1024px) and (max-width: 520px) {
    .cvoor-sidebar__logo img,
    #cvoorSidebar .cvoor-sidebar__logo img {
        width: 100px;
    }
}

/* ===================================================
   19) FOOTER / HOME MOBILE
   =================================================== */
@media (max-width: 900px) {
    .site-footer .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        width: 120px;
    }
}

@media (max-width: 520px) {
    .footer-logo {
        width: 110px;
    }

    .home-footer .footer-links a {
        width: 100%;
        justify-content: center;
    }

    .home-footer-bottom {
        justify-content: center;
        text-align: center;
    }
}


/* ===================================================
   99) SIDEBAR FINAL HARDENED PATCH
   =================================================== */

/* tighter header */
.cvoor-sidebar__header,
#cvoorSidebar .cvoor-sidebar__header {
    padding: 14px 16px 10px !important;
    min-height: 74px !important;
    gap: 10px !important;
}

/* smaller logo for better balance */
.cvoor-sidebar__logo img,
#cvoorSidebar .cvoor-sidebar__logo img {
    width: 98px !important;
    max-height: 48px !important;
}

.cvoor-sidebar.is-collapsed .cvoor-sidebar__logo img,
#cvoorSidebar.is-collapsed .cvoor-sidebar__logo img {
    width: 44px !important;
    max-height: 44px !important;
}

/* calmer collapse button */
.cvoor-toggler {
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.16) !important;
}

    .cvoor-toggler span {
        font-size: 1rem !important;
    }

/* language switch less bulky */
#cvoorSidebar .cvoor-sidebar__nav .lang-switch,
.cvoor-sidebar__nav .lang-switch {
    margin: 8px 14px 10px !important;
    padding: 5px !important;
    border-radius: 14px !important;
    max-width: 232px !important;
    background: rgba(255,255,255,.05) !important;
}

    #cvoorSidebar .cvoor-sidebar__nav .lang-switch .lang-btn,
    .cvoor-sidebar__nav .lang-switch .lang-btn {
        height: 34px !important;
        border-radius: 11px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        background: rgba(255,255,255,.03) !important;
    }

/* tighter navigation rhythm */
.cvoor-sidebar__nav,
#cvoorSidebar .cvoor-sidebar__nav {
    padding-top: 8px !important;
}

.cvoor-nav {
    gap: 4px !important;
    padding: 0 14px !important;
}

.cvoor-nav__link {
    min-height: 44px !important;
    padding: 10px 14px !important;
    gap: 12px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

    /* support more active-state class names */
    .cvoor-nav__link.is-active,
    .cvoor-nav__link.active,
    .cvoor-nav__link[aria-current="page"],
    .cvoor-nav__item.active > .cvoor-nav__link,
    .cvoor-nav__item.current > .cvoor-nav__link,
    .cvoor-nav__item.selected > .cvoor-nav__link {
        color: #ffffff !important;
        background: linear-gradient(180deg, rgba(59,130,246,.26) 0%, rgba(59,130,246,.14) 100%) !important;
        border: 1px solid rgba(191,219,254,.22) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 20px rgba(0,0,0,.16) !important;
    }

        .cvoor-nav__link.is-active .cvoor-nav__icon,
        .cvoor-nav__link.active .cvoor-nav__icon,
        .cvoor-nav__link[aria-current="page"] .cvoor-nav__icon,
        .cvoor-nav__item.active > .cvoor-nav__link .cvoor-nav__icon,
        .cvoor-nav__item.current > .cvoor-nav__link .cvoor-nav__icon,
        .cvoor-nav__item.selected > .cvoor-nav__link .cvoor-nav__icon {
            color: #ffffff !important;
        }

    /* much stronger icon visibility */
    .cvoor-nav__icon,
    .cvoor-nav__link .material-symbols-rounded,
    .cvoor-nav__link .nav-icon,
    .cvoor-nav__link > i,
    .cvoor-nav__link > svg {
        color: rgba(226,232,240,.96) !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .cvoor-nav__link:hover .cvoor-nav__icon,
    .cvoor-nav__link:hover .material-symbols-rounded,
    .cvoor-nav__link:hover .nav-icon,
    .cvoor-nav__link:hover > i,
    .cvoor-nav__link:hover > svg {
        color: #ffffff !important;
    }

/* make labels a bit less heavy */
.cvoor-nav__label {
    font-weight: 700 !important;
}

/* secondary actions visually closer to the sidebar system */
.cvoor-nav--secondary {
    padding-bottom: 24px !important;
}

    .cvoor-nav--secondary .cvoor-nav__link {
        min-height: 46px !important;
        border-radius: 14px !important;
        background: rgba(255,255,255,.96) !important;
    }

/* more space at bottom */
#cvoorSidebar .cvoor-nav--secondary {
    padding-bottom: 20px !important;
}

/* collapsed state: do not rotate labels/tooltips accidentally */
.cvoor-sidebar.is-collapsed .cvoor-nav__label,
.cvoor-sidebar.is-collapsed .cvoor-nav__tooltip,
#cvoorSidebar.is-collapsed .cvoor-nav__label,
#cvoorSidebar.is-collapsed .cvoor-nav__tooltip {
    transform: none !important;
}

/* mobile safety */
@media (max-width: 1024px) {
    .cvoor-sidebar__header,
    #cvoorSidebar .cvoor-sidebar__header {
        min-height: 62px !important;
        padding: 10px 12px !important;
    }

    .cvoor-sidebar__logo img,
    #cvoorSidebar .cvoor-sidebar__logo img {
        width: 90px !important;
        max-height: 42px !important;
    }

    .cvoor-toggler {
        width: 32px !important;
        height: 32px !important;
        flex-basis: 32px !important;
    }

    .cvoor-nav__link {
        min-height: 42px !important;
        padding: 9px 12px !important;
    }
}

/* ===================================================
   100) FINAL FIX — PRIMARY SIDEBAR ICONS MUST BE WHITE
   =================================================== */

/* primary menu text stays white */
#cvoorSidebar .cvoor-nav--primary .cvoor-nav__link,
.cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link {
    color: #ffffff !important;
}

    /* font / inline svg icons in primary menu */
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link .cvoor-nav__icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link .material-symbols-rounded,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link .nav-icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link > i,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link > svg,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link > svg *,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link .cvoor-nav__icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link .material-symbols-rounded,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link .nav-icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link > i,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link > svg,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link > svg * {
        color: #ffffff !important;
        fill: #ffffff !important;
        stroke: #ffffff !important;
        opacity: 1 !important;
        filter: none !important;
    }

    /* image icons in primary menu */
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link .cvoor-icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link img,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link .cvoor-icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link img {
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
    }

    /* keep active/hover primary icons white */
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link:hover .cvoor-nav__icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link:hover .material-symbols-rounded,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link:hover .nav-icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link:hover > i,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link:hover > svg,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link:hover > svg *,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link.is-active .cvoor-nav__icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link.active .cvoor-nav__icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link[aria-current="page"] .cvoor-nav__icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link:hover .cvoor-nav__icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link:hover .material-symbols-rounded,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link:hover .nav-icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link:hover > i,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link:hover > svg,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link:hover > svg *,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link.is-active .cvoor-nav__icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link.active .cvoor-nav__icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link[aria-current="page"] .cvoor-nav__icon {
        color: #ffffff !important;
        fill: #ffffff !important;
        stroke: #ffffff !important;
    }

    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link:hover .cvoor-icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link.is-active .cvoor-icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link.active .cvoor-icon,
    #cvoorSidebar .cvoor-nav--primary .cvoor-nav__link[aria-current="page"] .cvoor-icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link:hover .cvoor-icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link.is-active .cvoor-icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link.active .cvoor-icon,
    .cvoor-sidebar .cvoor-nav--primary .cvoor-nav__link[aria-current="page"] .cvoor-icon {
        filter: brightness(0) invert(1) !important;
    }

/* bottom white cards stay dark and readable */
#cvoorSidebar .cvoor-nav--secondary .cvoor-nav__link,
.cvoor-sidebar .cvoor-nav--secondary .cvoor-nav__link {
    color: #334155 !important;
}

#cvoorSidebar .cvoor-nav--secondary .cvoor-nav__icon,
#cvoorSidebar .cvoor-nav--secondary .material-symbols-rounded,
#cvoorSidebar .cvoor-nav--secondary .nav-icon,
#cvoorSidebar .cvoor-nav--secondary > i,
#cvoorSidebar .cvoor-nav--secondary > svg,
#cvoorSidebar .cvoor-nav--secondary > svg *,
.cvoor-sidebar .cvoor-nav--secondary .cvoor-nav__icon,
.cvoor-sidebar .cvoor-nav--secondary .material-symbols-rounded,
.cvoor-sidebar .cvoor-nav--secondary .nav-icon,
.cvoor-sidebar .cvoor-nav--secondary > i,
.cvoor-sidebar .cvoor-nav--secondary > svg,
.cvoor-sidebar .cvoor-nav--secondary > svg * {
    color: #334155 !important;
    fill: #334155 !important;
    stroke: #334155 !important;
}

#cvoorSidebar .cvoor-nav--secondary .cvoor-icon,
#cvoorSidebar .cvoor-nav--secondary img,
.cvoor-sidebar .cvoor-nav--secondary .cvoor-icon,
.cvoor-sidebar .cvoor-nav--secondary img {
    filter: none !important;
}

/* ===================================================
   101) FINAL FIX — RESTORE OLD SIDEBAR COLLAPSE ARROW
   =================================================== */

/* always use the old collapse arrow button, not the empty mobile menu button */
#cvoorSidebar .cvoor-toggler--collapse,
.cvoor-sidebar .cvoor-toggler--collapse {
    display: inline-flex !important;
}

#cvoorSidebar .cvoor-toggler--menu,
.cvoor-sidebar .cvoor-toggler--menu {
    display: none !important;
}

/* restore old white square shape and hide any duplicate internal icon markup */
#cvoorSidebar .cvoor-toggler--collapse,
#cvoorSidebar .cvoor-toggler--collapse:hover,
.cvoor-sidebar .cvoor-toggler--collapse,
.cvoor-sidebar .cvoor-toggler--collapse:hover {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    flex: 0 0 35px !important;
    border: none !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    transform: none !important;
    margin-inline-start: 8px !important;
}

    #cvoorSidebar .cvoor-toggler--collapse > *,
    .cvoor-sidebar .cvoor-toggler--collapse > * {
        display: none !important;
    }

    #cvoorSidebar .cvoor-toggler--collapse::after,
    .cvoor-sidebar .cvoor-toggler--collapse::after {
        content: none !important;
    }

/* draw exactly one arrow */
html.ltr #cvoorSidebar .cvoor-toggler--collapse::before,
html.ltr .cvoor-sidebar .cvoor-toggler--collapse::before {
    content: "‹";
}

html.rtl #cvoorSidebar .cvoor-toggler--collapse::before,
html.rtl .cvoor-sidebar .cvoor-toggler--collapse::before {
    content: "›";
}

#cvoorSidebar .cvoor-toggler--collapse::before,
.cvoor-sidebar .cvoor-toggler--collapse::before {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #151A2D !important;
    font-size: 31px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    transform: translateY(-1px);
}

#cvoorSidebar.is-collapsed .cvoor-toggler--collapse::before,
.cvoor-sidebar.is-collapsed .cvoor-toggler--collapse::before {
    transform: rotate(180deg) translateY(1px);
}

@media (max-width: 1024px) {
    #cvoorSidebar .cvoor-toggler--collapse,
    .cvoor-sidebar .cvoor-toggler--collapse {
        display: inline-flex !important;
    }

    #cvoorSidebar .cvoor-toggler--menu,
    .cvoor-sidebar .cvoor-toggler--menu {
        display: none !important;
    }
}
/* ===== FIX USER PROFILE DROPDOWN ===== */

#cvoorSidebar,
.cvoor-sidebar {
    overflow: visible !important;
}

    #cvoorSidebar .cvoor-sidebar__nav,
    .cvoor-sidebar__nav {
        overflow: visible !important;
        position: relative !important;
    }

    #cvoorSidebar .cvoor-user-menu,
    .cvoor-user-menu {
        display: none;
        position: absolute;
        bottom: 88px;
        left: calc(100% + 12px);
        min-width: 240px;
        z-index: 99999 !important;
    }

html.rtl #cvoorSidebar .cvoor-user-menu,
html.rtl .cvoor-user-menu {
    left: auto !important;
    right: calc(100% + 12px) !important;
}

#cvoorSidebar .cvoor-user-menu.open,
.cvoor-user-menu.open {
    display: block !important;
}

@media (max-width: 1024px) {
    #cvoorSidebar .cvoor-sidebar__nav,
    .cvoor-sidebar__nav {
        overflow: visible !important;
    }

    #cvoorSidebar .cvoor-user-menu,
    .cvoor-user-menu {
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        margin-top: 10px !important;
        z-index: 99999 !important;
    }
}
/* =========================================================
   MOBILE SIDEBAR — SINGLE FINAL BLOCK
   PUT THIS AT THE VERY END OF site.css
   ========================================================= */
@media (max-width: 1024px) {

    html.cvoor-has-sidebar body,
    html.cvoor-has-sidebar body:has(#cvoorSidebar.is-collapsed) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 82px !important;
    }

    #cvoorSidebar,
    .cvoor-sidebar {
        left: 13px !important;
        right: 13px !important;
        top: 13px !important;
        width: auto !important;
        height: 56px !important;
        max-height: 56px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

        /* closed = header only */
        #cvoorSidebar:not(.menu-active) .cvoor-sidebar__nav,
        .cvoor-sidebar:not(.menu-active) .cvoor-sidebar__nav {
            max-height: 0 !important;
            opacity: 0 !important;
            overflow: hidden !important;
            pointer-events: none !important;
            padding-top: 0 !important;
        }

        /* open = show full menu */
        #cvoorSidebar.menu-active,
        .cvoor-sidebar.menu-active {
            height: calc(100vh - 26px) !important;
            max-height: calc(100vh - 26px) !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch !important;
        }

            #cvoorSidebar.menu-active .cvoor-sidebar__nav,
            .cvoor-sidebar.menu-active .cvoor-sidebar__nav {
                max-height: none !important;
                opacity: 1 !important;
                overflow: visible !important;
                pointer-events: auto !important;
                padding-top: 8px !important;
            }

        #cvoorSidebar .cvoor-sidebar__header,
        .cvoor-sidebar__header {
            position: sticky !important;
            top: 0 !important;
            z-index: 9999 !important;
            background: linear-gradient(135deg,#0f172a 0%, #1d4ed8 52%, #38bdf8 100%) !important;
            border-radius: 16px !important;
            padding: 6px 12px !important;
            min-height: 56px !important;
            height: 56px !important;
            box-sizing: border-box !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }

        #cvoorSidebar .cvoor-sidebar__logo img,
        .cvoor-sidebar__logo img {
            width: 96px !important;
            max-height: 34px !important;
            margin: 0 !important;
            transform: none !important;
        }

        /* on mobile use one button only */
        #cvoorSidebar .cvoor-toggler--collapse,
        .cvoor-sidebar .cvoor-toggler--collapse {
            display: flex !important;
            width: 36px !important;
            height: 36px !important;
            min-width: 36px !important;
            min-height: 36px !important;
            margin: 0 !important;
        }

        #cvoorSidebar .cvoor-toggler--menu,
        .cvoor-sidebar .cvoor-toggler--menu {
            display: none !important;
        }

        #cvoorSidebar .cvoor-nav,
        .cvoor-sidebar .cvoor-nav {
            padding: 0 10px !important;
            gap: 6px !important;
            margin: 0 !important;
            transform: none !important;
        }

        #cvoorSidebar .cvoor-nav__link,
        .cvoor-sidebar .cvoor-nav__link {
            gap: 10px !important;
            padding: 11px 12px !important;
            font-size: .94rem !important;
            min-height: 48px !important;
        }

        #cvoorSidebar .cvoor-nav__icon,
        .cvoor-sidebar .cvoor-nav__icon,
        #cvoorSidebar .cvoor-icon,
        .cvoor-sidebar .cvoor-icon {
            opacity: 1 !important;
        }

        #cvoorSidebar .cvoor-nav--secondary,
        .cvoor-sidebar .cvoor-nav--secondary {
            position: relative !important;
            bottom: 0 !important;
            margin: 16px 0 20px !important;
            padding-bottom: 0 !important;
        }

        #cvoorSidebar .cvoor-sidebar__nav .lang-switch,
        .cvoor-sidebar__nav .lang-switch {
            margin: 10px 10px 12px !important;
            width: calc(100% - 20px) !important;
            max-width: none !important;
        }

        #cvoorSidebar .cvoor-user-menu,
        #cvoorSidebar .cvoor-auth,
        .cvoor-user-menu,
        .cvoor-auth {
            position: relative !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100% !important;
            margin-top: 10px !important;
        }
}
.top-matches-card {
    background: linear-gradient(180deg,#07122b 0%, #091633 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 14px 34px rgba(2,8,23,.18);
    color: #fff;
}

.tm-head {
    margin-bottom: 12px;
}

.tm-title {
    margin: 0;
    font-size: 20px;
    font-weight: 1000;
    color: #f8fafc;
}

.tm-list {
    display: grid;
    gap: 0;
}

.tm-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .tm-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.tm-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#1e3a8a 0%, #312e81 100%);
    color: #c7d2fe;
    font-size: 14px;
    font-weight: 1000;
    text-transform: uppercase;
}

.tm-copy {
    min-width: 0;
}

.tm-job {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-meta {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-score {
    color: #818cf8;
    font-size: 28px;
    font-weight: 1000;
    line-height: 1;
    min-width: 64px;
    text-align: right;
}
.latest-jobs-section {
    background: linear-gradient(180deg,#ffffff 0%, #fbfdfd 100%);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--cv-shadow-sm);
}

.latest-jobs-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.latest-jobs-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e6f9f6;
    color: var(--cv-teal);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.latest-jobs-title {
    margin: 0;
    font-size: 24px;
    font-weight: 1000;
    color: var(--cv-ink);
}

.latest-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.latest-job-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(180deg,#f9fbfc 0%, #ffffff 100%);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

    .latest-job-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(2,8,23,.08);
        border-color: rgba(37,99,235,.18);
    }

.latest-job-top {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.latest-job-code {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--cv-blue) 0%, var(--cv-blue-2) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 1000;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(37,99,235,.18);
}

.latest-job-title {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 900;
    color: var(--cv-ink);
}

.latest-job-company {
    margin: 0;
    color: var(--cv-text-soft);
    font-size: 14px;
    font-weight: 800;
}

.latest-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.latest-job-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4f7;
    color: var(--cv-text-soft);
    font-size: 12px;
    font-weight: 800;
}

    .latest-job-chip.remote {
        background: #e8faf1;
        color: #0f8a52;
    }

.latest-job-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.latest-job-date {
    color: var(--cv-text-muted);
    font-size: 12px;
    font-weight: 800;
}

.latest-job-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    background: linear-gradient(135deg,var(--cv-teal) 0%, var(--cv-teal-2) 100%);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(20,184,166,.18);
}

    .latest-job-link:hover {
        opacity: .95;
    }

@media (max-width: 900px) {
    .latest-jobs-grid {
        grid-template-columns: 1fr;
    }
}
.latest-job-card.is-loading .latest-job-title,
.latest-job-card.is-loading .latest-job-company,
.latest-job-card.is-loading .latest-job-date,
.latest-job-card.is-loading .latest-job-chip {
    color: transparent !important;
    position: relative;
    overflow: hidden;
}

    .latest-job-card.is-loading .latest-job-title::after,
    .latest-job-card.is-loading .latest-job-company::after,
    .latest-job-card.is-loading .latest-job-date::after,
    .latest-job-card.is-loading .latest-job-chip::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 10px;
        background: linear-gradient(90deg,#eef3f6 0%, #f8fbfc 50%, #eef3f6 100%);
        background-size: 200% 100%;
        animation: jobShimmer 1.2s linear infinite;
    }

.latest-job-card.is-loading .latest-job-title {
    min-height: 22px;
}

.latest-job-card.is-loading .latest-job-company {
    min-height: 18px;
}

.latest-job-card.is-loading .latest-job-date {
    min-width: 90px;
    min-height: 16px;
}

.latest-job-card.is-loading .latest-job-chip {
    min-width: 70px;
    min-height: 30px;
}

@keyframes jobShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===================================================
   35) SITE-WIDE VISUAL REFRESH
   Based on MyCompanyJobs design language
   Styling only - no behavior changes
   =================================================== */
html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(900px 320px at 12% 0%, rgba(59, 130, 246, .08), transparent 60%),
        radial-gradient(780px 300px at 100% 0%, rgba(56, 189, 248, .07), transparent 58%),
        linear-gradient(180deg, #f3f8fd 0%, #f8fbff 34%, #ffffff 100%);
    color: var(--cv-text);
}

.layout {
    min-height: 100vh;
}

.main-content {
    position: relative;
    min-height: 100vh;
    padding: 18px 0 34px;
}

.main-content::before {
    content: "";
    position: fixed;
    inset: auto auto 24px 24px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,.10) 0%, rgba(59,130,246,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.main-content > * {
    position: relative;
    z-index: 1;
}

.page-wrap,
.home-wrap,
.container,
.ed-wrap,
.sec-grid,
.acct,
.pj-card,
.emp-card,
.jd-card,
.ja-card,
.cv-card {
    position: relative;
}

h1,
h2,
h3,
h4 {
    color: #0f172a;
    letter-spacing: -.02em;
}

.page-wrap h1,
.page-wrap h2,
.page-wrap h3,
.page-wrap h4,
.container h1,
.container h2,
.container h3,
.container h4,
.ed-wrap h1,
.ed-wrap h2,
.ed-wrap h3,
.ed-wrap h4,
.jd-card h1,
.jd-card h2,
.jd-card h3,
.jd-card h4,
.ja-card h1,
.ja-card h2,
.ja-card h3,
.ja-card h4,
.emp-card h1,
.emp-card h2,
.emp-card h3,
.emp-card h4,
.pj-card h1,
.pj-card h2,
.pj-card h3,
.pj-card h4,
.cv-card h1,
.cv-card h2,
.cv-card h3,
.cv-card h4 {
    font-weight: 900;
}

.card,
.panel,
.invoice-card,
.emp-card,
.pj-card,
.jd-card,
.ja-card,
.cv-card,
.ed-card,
.ed-panel,
.surface-card,
.topbar,
.acct__side,
.hero-side,
.hero-main,
.stat-card,
.invoice,
.inv {
    border-radius: 24px !important;
    border: 1px solid rgba(148, 163, 184, .18) !important;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .07) !important;
}

.card,
.panel,
.invoice-card,
.emp-card,
.pj-card,
.jd-card,
.ja-card,
.cv-card,
.ed-card,
.ed-panel,
.surface-card,
.topbar,
.acct__side,
.hero-side,
.stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

.card,
.panel,
.invoice-card,
.ed-card,
.ed-panel,
.emp-card,
.pj-card,
.jd-card,
.ja-card,
.cv-card {
    overflow: hidden;
}

.title,
.jd-title,
.mcj-title,
.hero h1,
.hero-copy h1,
.emp-card h2,
.pj-card h2,
.ed-top h2,
.ja-card h2,
.cv-card h3,
.panel h3,
.card h3 {
    letter-spacing: -.03em;
}

.muted,
.status,
.pj-note,
.emp-note,
.jd-company,
.jd-company-extra,
.jd-company-text,
.jd-desc,
.ed-k,
.mcj-muted {
    color: #64748b !important;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea,
.text,
.cvoor-auth__input,
.emp-field input,
.emp-field textarea,
.emp-field select,
.pj-card input,
.pj-card textarea,
.pj-card select,
.ja-grid textarea,
.ja-grid select,
.jd-apply select,
.cv-grid input[type="text"],
.cv-grid input[type="date"],
.cv-grid textarea {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid #d7e1ee !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 2px 10px rgba(15,23,42,.03);
    color: #0f172a !important;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus,
.text:focus,
.cvoor-auth__input:focus,
.emp-field input:focus,
.emp-field textarea:focus,
.emp-field select:focus,
.pj-card input:focus,
.pj-card textarea:focus,
.pj-card select:focus,
.ja-grid textarea:focus,
.ja-grid select:focus,
.jd-apply select:focus,
.cv-grid input[type="text"]:focus,
.cv-grid input[type="date"]:focus,
.cv-grid textarea:focus {
    outline: none;
    border-color: rgba(37,99,235,.48) !important;
    box-shadow: 0 0 0 4px rgba(37,99,235,.10), 0 10px 22px rgba(15,23,42,.06) !important;
    background: #ffffff !important;
}

textarea {
    line-height: 1.7;
}

button,
input[type="submit"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn),
input[type="button"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn),
.btn,
.btn-main,
.save-btn,
.emp-btn,
.pj-btn,
.ja-btn,
.ed-btn,
.buy-btn {
    border-radius: 14px !important;
    font-weight: 900 !important;
    letter-spacing: -.01em;
}

.btn,
.btn-main,
.save-btn,
.emp-btn,
.pj-btn,
.ja-btn,
.ed-btn,
.buy-btn {
    box-shadow: 0 14px 28px rgba(37,99,235,.18) !important;
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background .16s ease;
}

.btn:hover,
.btn-main:hover,
.save-btn:hover,
.emp-btn:hover,
.pj-btn:hover,
.ja-btn:hover,
.ed-btn:hover,
.buy-btn:hover,
button:hover,
input[type="submit"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn):hover,
input[type="button"]:not(.btn-add):not(.btn-main):not(.save-btn):not(.auth-btn):not(.cvoor-auth__btn):not(.li-btn):hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(37,99,235,.22) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 14px 28px rgba(220,38,38,.18) !important;
}

.btn-danger:hover {
    box-shadow: 0 18px 30px rgba(220,38,38,.22) !important;
}

.btn-add {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 0 !important;
    font-weight: 900 !important;
    color: #2563eb !important;
}

.badge,
.jd-chip,
.mcj-chip,
.panel-badge,
.mcj-status,
.jd-meta span,
.hero-point,
.hero-card,
.mini,
.fit-card {
    border-radius: 18px !important;
}

.badge,
.jd-chip,
.mcj-chip,
.panel-badge {
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 8px 16px rgba(15,23,42,.05);
}

.gv,
.cv-grid,
.ed-table,
.ja-grid {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 14px !important;
}

.gv tr,
.cv-grid tr,
.ed-table tr,
.ja-grid tr {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.gv th,
.cv-grid th,
.ed-table th,
.ja-grid th {
    background: linear-gradient(180deg, var(--cv-table-head-bg) 0%, var(--cv-table-head-bg-2) 100%) !important;
    color: var(--cv-table-head-text) !important;
    border-top: 1px solid var(--cv-table-head-border) !important;
    border-bottom: 1px solid var(--cv-table-head-border) !important;
    border-inline-end: 1px solid var(--cv-table-head-separator) !important;
    padding: 12px 15px !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
    line-height: 1.45;
    text-transform: none;
    text-shadow: none !important;
    background-clip: padding-box;
    box-shadow: var(--cv-table-head-shadow) !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none;
    text-wrap: balance;
    vertical-align: middle;
}

.gv th > a,
.cv-grid th > a,
.ed-table th > a,
.ja-grid th > a {
    display: block;
    max-width: 100%;
    color: inherit !important;
    text-decoration: none;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    white-space: inherit !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: inherit;
    text-wrap: balance;
}

html.rtl .gv th,
html.rtl .cv-grid th,
html.rtl .ed-table th,
html.rtl .ja-grid th,
html[dir="rtl"] .gv th,
html[dir="rtl"] .cv-grid th,
html[dir="rtl"] .ed-table th,
html[dir="rtl"] .ja-grid th {
    letter-spacing: 0 !important;
    line-height: 1.5;
}

.gv th:first-child,
.cv-grid th:first-child,
.ed-table th:first-child,
.ja-grid th:first-child {
    border-inline-start: 1px solid var(--cv-table-head-border) !important;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.gv th:last-child,
.cv-grid th:last-child,
.ed-table th:last-child,
.ja-grid th:last-child {
    border-inline-end: 1px solid var(--cv-table-head-border) !important;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

html.rtl .gv th:first-child,
html.rtl .cv-grid th:first-child,
html.rtl .ed-table th:first-child,
html.rtl .ja-grid th:first-child {
    border-radius: 0 16px 16px 0;
}

html.rtl .gv th:last-child,
html.rtl .cv-grid th:last-child,
html.rtl .ed-table th:last-child,
html.rtl .ja-grid th:last-child {
    border-radius: 16px 0 0 16px;
}

.gv td,
.cv-grid td,
.ed-table td,
.ja-grid td {
    padding: 14px !important;
    border-top: 1px solid rgba(226,232,240,.9) !important;
    border-bottom: 1px solid rgba(226,232,240,.9) !important;
    background: transparent !important;
    color: #0f172a !important;
    font-weight: 650;
}

.gv td:first-child,
.cv-grid td:first-child,
.ed-table td:first-child,
.ja-grid td:first-child {
    border-inline-start: 1px solid rgba(226,232,240,.9) !important;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.gv td:last-child,
.cv-grid td:last-child,
.ed-table td:last-child,
.ja-grid td:last-child {
    border-inline-end: 1px solid rgba(226,232,240,.9) !important;
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

html.rtl .gv td:first-child,
html.rtl .cv-grid td:first-child,
html.rtl .ed-table td:first-child,
html.rtl .ja-grid td:first-child {
    border-radius: 0 18px 18px 0;
}

html.rtl .gv td:last-child,
html.rtl .cv-grid td:last-child,
html.rtl .ed-table td:last-child,
html.rtl .ja-grid td:last-child {
    border-radius: 18px 0 0 18px;
}

.gv tr:hover td,
.cv-grid tr:hover td,
.ed-table tr:hover td,
.ja-grid tr:hover td {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    border-color: rgba(191,219,254,.95) !important;
}

.empty,
.mcj-empty {
    border-radius: 22px !important;
    border: 1px dashed rgba(148,163,184,.32) !important;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%) !important;
}

.cv-card,
.emp-card,
.pj-card,
.jd-card,
.ja-card {
    padding: 28px !important;
}

.cv-card h4,
.pj-section h3,
.jd-section h3,
.panel h3,
.ed-panel h3 {
    position: relative;
    padding-bottom: 10px;
}

.cv-card h4::after,
.pj-section h3::after,
.jd-section h3::after,
.panel h3::after,
.ed-panel h3::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
}

.upload-box,
.jd-company-card,
.inv,
.invoice-card.sticky,
.fit-card,
.hero-point,
.hero-card,
.mini,
.pj-summary {
    border-radius: 20px !important;
    border: 1px solid rgba(148,163,184,.18) !important;
    box-shadow: 0 12px 26px rgba(15,23,42,.05) !important;
}

.upload-box,
.jd-company-card,
.inv,
.fit-card,
.hero-point,
.hero-card,
.mini {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.emp-grid,
.pj-grid,
.ed-grid,
.ed-panels,
.sec-grid,
.cards {
    gap: 18px !important;
}

.ed-wrap {
    max-width: 1180px;
    margin: 28px auto;
    padding: 0 18px !important;
}

.ed-top,
.card-header,
.pj-actions,
.emp-actions,
.hero-actions,
.ed-links {
    gap: 12px !important;
}

.ed-card,
.ed-panel,
.acct__side,
.topbar,
.card,
.panel {
    padding: 22px !important;
}

.ed-card .ed-v,
.card .v {
    font-size: 30px !important;
    line-height: 1.1;
}

.ed-k,
.mcj-meta-label,
.pj-help,
.pj-error,
.emp-field label,
.pj-card label {
    letter-spacing: .02em;
}

.pj-readonly {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%) !important;
    color: #475569 !important;
}

.row {
    align-items: flex-start !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
}

.row label {
    color: #475569 !important;
    font-weight: 800 !important;
    padding-top: 12px;
}

.sec-grid .panel,
.acct__side,
.acct__main .panel,
.acct__main .card {
    min-height: 100%;
}

.jd-meta {
    gap: 10px !important;
}

.jd-chip {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    padding: 10px 14px !important;
    font-weight: 800 !important;
}

.jd-panel,
.mcj-stat-panel,
.mcj-actions-panel {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%) !important;
    border-radius: 18px !important;
}

.status,
.ok-msg,
.val-msg,
.pj-summary,
.pj-error,
.emp-note,
#MainContent_lblStatus,
#Main_lblStatus {
    font-weight: 800;
}

@media (max-width: 900px) {
    .main-content {
        padding: 14px 0 28px;
    }

    .cv-card,
    .emp-card,
    .pj-card,
    .jd-card,
    .ja-card,
    .ed-card,
    .ed-panel,
    .card,
    .panel {
        border-radius: 20px !important;
        padding: 20px !important;
    }

    .row {
        flex-direction: column;
    }

    .row label {
        min-width: 0 !important;
        padding-top: 0;
    }
}
