/* =========================================================
   Pishewar Public CSS
   Cleaned + Mobile Menu Fixed
========================================================= */

/* Font */
@font-face {
    font-family: 'Rudaw';
    src: url('../fonts/rudaw/rudawregular2.woff') format('woff'),
        url('../fonts/rudaw/rudawregular2.ttf') format('truetype'),
        url('../fonts/rudaw/rudawregular2.eot');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    --cv-primary: #155dfc;
    --cv-primary-dark: #0f3ea9;
    --cv-primary-soft: rgba(21, 93, 252, 0.08);
    --cv-accent: #7c3aed;
    --cv-accent-soft: rgba(124, 58, 237, 0.08);
    --cv-success: #16a34a;
    --cv-success-soft: rgba(22, 163, 74, 0.08);
    --cv-danger: #dc2626;
    --cv-warning: #f59e0b;

    --cv-text: #0f172a;
    --cv-muted: #64748b;
    --cv-border: #e2e8f0;
    --cv-bg: #f4f7fb;
    --cv-soft: #f8fafc;
    --cv-card: rgba(255, 255, 255, 0.86);
    --cv-card-solid: #ffffff;

    --cv-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
    --cv-shadow-md: 0 18px 60px rgba(15, 23, 42, 0.08);
    --cv-shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.12);

    --cv-radius-xl: 30px;
    --cv-radius-lg: 22px;
    --cv-radius-md: 16px;
    --cv-radius-sm: 12px;
}

/* Base */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.cv-body {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(21, 93, 252, 0.10), transparent 26%),
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
    color: var(--cv-text);
    font-family: 'Rudaw', Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
}

body.cv-menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: 'Rudaw', Tahoma, Arial, sans-serif;
}

.cv-site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 70%);
}

.cv-platform-stats-section {
    position: relative;
}

.cv-platform-stats-shell {
    position: relative;
    overflow: hidden;
    padding: 42px 28px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(46, 125, 255, 0.14), transparent 34%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.cv-platform-stat-card {
    height: 100%;
    min-height: 220px;
    padding: 28px 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    text-align: center;
    transition: all 0.25s ease;
}

.cv-platform-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.cv-platform-stat-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
}

.cv-platform-stat-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    color: #0f172a;
}

.cv-platform-stat-card span {
    display: block;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 700;
    color: #475569;
}

.cv-wizard-language-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.cv-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.cv-language-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #374151;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all .2s ease;
}

.cv-language-item:hover {
    color: #111827;
    background: #ffffff;
    text-decoration: none;
}

.cv-language-item.active {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .18);
}

/* =========================================================
   Header right actions: language + mobile menu
========================================================= */
.cv-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cv-desktop-language-wrap,
.cv-mobile-language-top {
    display: flex;
    align-items: center;
}

/* Make language switcher visually clear in header */
.cv-header-actions .cv-language-switcher,
.cv-mobile-language-wrap .cv-language-switcher {
    position: relative;
}

/* Mobile language inside opened menu */
.cv-mobile-language-wrap {
    width: 100%;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* On mobile: keep logo, language and menu aligned */
@media (max-width: 991.98px) {
    .cv-header-shell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .cv-brand-box {
        min-width: 0;
        flex: 1;
    }

    .cv-header-actions {
        gap: 10px;
    }

    .cv-mobile-language-top {
        display: flex !important;
        align-items: center;
    }
}


/* =========================================================
   Language Dropdown
========================================================= */
.cv-language-dropdown {
    position: relative;
}

.cv-language-toggle {
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid rgba(21, 93, 252, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
}

.cv-language-toggle:hover,
.cv-language-toggle:focus {
    color: #155dfc;
    border-color: rgba(21, 93, 252, 0.35);
    background: #ffffff;
}

.cv-language-toggle::after {
    margin: 0;
    font-size: 12px;
}

.cv-language-toggle i {
    color: #155dfc;
    font-size: 15px;
}

.cv-language-current-icon,
.cv-language-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #155dfc, #3b82f6);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    flex-shrink: 0;
}

.cv-language-menu {
    min-width: 210px;
    padding: 10px;
    border: 0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.cv-language-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 13px;
    color: #0f172a;
    font-weight: 800;
    transition: all 0.18s ease;
}

.cv-language-item:hover {
    background: rgba(21, 93, 252, 0.08);
    color: #155dfc;
}

.cv-language-item.active {
    background: rgba(21, 93, 252, 0.12);
    color: #155dfc;
}

.cv-language-item-name {
    flex: 1;
}

.cv-language-check {
    font-size: 13px;
    color: #155dfc;
}

/* =========================================================
   Mobile language button
========================================================= */
@media (max-width: 991.98px) {
    .cv-language-toggle {
        width: 46px;
        min-width: 46px;
        padding: 0;
        border-radius: 15px;
        gap: 0;
    }

    .cv-language-toggle .fa-globe,
    .cv-language-toggle::after {
        display: none;
    }

    .cv-language-current-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .cv-language-menu {
        min-width: 205px;
    }
}

/* =========================================================
   Header Actions
========================================================= */
.cv-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* =========================================================
   Language Dropdown Button
========================================================= */
.cv-lang-dropdown {
    position: relative;
}

.cv-lang-btn {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 17px;
    background: #ffffff;
    color: #155dfc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.10);
    transition: all 0.2s ease;
}

.cv-lang-btn:hover,
.cv-lang-btn:focus {
    background: #f8fbff;
    color: #0b4de0;
    transform: translateY(-1px);
}

/* =========================================================
   Language Dropdown Menu
========================================================= */
.cv-lang-menu {
    min-width: 220px;
    padding: 10px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
    background: #ffffff;
}

.cv-lang-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 12px;
    border-radius: 14px;
    color: #0f172a;
    font-weight: 800;
    transition: all 0.18s ease;
}

.cv-lang-item:hover {
    background: rgba(21, 93, 252, 0.08);
    color: #155dfc;
}

.cv-lang-item.active {
    background: rgba(21, 93, 252, 0.12);
    color: #155dfc;
}

.cv-lang-badge {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: linear-gradient(135deg, #155dfc, #4f46e5);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
}

.cv-lang-name {
    flex: 1;
}

.cv-lang-check {
    font-size: 13px;
    color: #155dfc;
}

/* =========================================================
   Mobile Header Fix
========================================================= */
@media (max-width: 991.98px) {
    .cv-header-shell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .cv-brand-box {
        flex: 1;
        min-width: 0;
    }

    .cv-header-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .cv-lang-btn,
    .cv-mobile-menu-toggle {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 17px;
    }

    .cv-lang-menu {
        min-width: 210px;
    }
}

@media (max-width: 767.98px) {
    .cv-wizard-language-bar {
        justify-content: center;
    }

    .cv-language-item {
        min-width: 70px;
        padding: 7px 12px;
    }
}

@media (max-width: 767px) {
    .cv-platform-stats-shell {
        padding: 30px 16px;
        border-radius: 24px;
    }

    .cv-platform-stat-card {
        min-height: 190px;
        padding: 24px 16px;
    }

    .cv-platform-stat-card strong {
        font-size: 32px;
    }
}


/* =========================================================
   Header + Navigation
========================================================= */

.cv-public-header {
    position: sticky;
    top: 0;
    z-index: 20000;
    padding: 18px 0 0;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(248, 251, 255, 0.72));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cv-header-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--cv-shadow-sm);
}

.cv-brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cv-brand-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.12), rgba(124, 58, 237, 0.10));
    border: 1px solid rgba(21, 93, 252, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.60);
}

.cv-brand-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 16px;
}

.cv-brand-content {
    min-width: 0;
}

.cv-brand-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.3px;
    color: var(--cv-text);
}

.cv-brand-subtitle {
    margin: 6px 0 0;
    color: var(--cv-muted);
    font-size: 14px;
    line-height: 1.7;
}

.cv-public-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cv-public-nav a,
.cv-public-nav button {
    height: 46px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: #fff;
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.cv-public-nav a:hover,
.cv-public-nav button:hover {
    transform: translateY(-1px);
    border-color: rgba(21, 93, 252, 0.16);
    color: var(--cv-primary);
    background: #fff;
}

.cv-public-nav a.active {
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-accent));
    color: #fff;
    box-shadow: 0 14px 30px rgba(21, 93, 252, 0.20);
}

.cv-nav-btn-danger {
    background: #fff5f5 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

/* Mobile Menu Controls */
.cv-mobile-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    outline: 0;
    border-radius: 14px;
    background: #fff;
    color: var(--cv-text);
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    cursor: pointer;
}

.cv-mobile-menu-close {
    width: 40px;
    height: 40px;
    border: 0;
    outline: 0;
    border-radius: 12px;
    background: #f3f4f6;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cv-mobile-menu-toggle:focus,
.cv-mobile-menu-close:focus {
    box-shadow: 0 0 0 0.22rem rgba(21, 93, 252, 0.12);
}

.cv-mobile-nav-head {
    display: none;
}

.cv-mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 19990;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
}

/* =========================================================
   Main Page
========================================================= */

.cv-page-wrap {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 170px);
    padding: 28px 0 48px;
}

/* =========================================================
   Cards + Wizard
========================================================= */

.cv-wizard-shell,
.cv-wizard-shell-simple {
    max-width: 1360px;
    margin: 0 auto;
}

.cv-wizard-shell-simple {
    max-width: 1180px;
}

.cv-wizard-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: var(--cv-radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.18), rgba(124, 58, 237, 0.12));
    box-shadow: var(--cv-shadow-lg);
}

.cv-wizard-hero::before,
.cv-wizard-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
}

.cv-wizard-hero::before {
    top: -80px;
    left: -60px;
    width: 240px;
    height: 240px;
}

.cv-wizard-hero::after {
    bottom: -90px;
    right: -70px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.08);
}

.cv-wizard-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: center;
    padding: 34px;
    border-radius: calc(var(--cv-radius-xl) - 1px);
    background: linear-gradient(135deg, #0f172a 0%, #15295f 45%, #155dfc 100%);
    color: #fff;
}

.cv-wizard-hero-title {
    margin: 18px 0 12px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.cv-wizard-hero-subtitle {
    max-width: 760px;
    margin: 0;
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.84);
}

.cv-hero-pill,
.cv-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.cv-hero-pill {
    padding: 9px 14px;
    font-size: 13px;
}

.cv-hero-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.cv-hero-meta-item {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
}

.cv-hero-progress-card {
    border-radius: 24px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.cv-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

.cv-progress-top strong {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.cv-progress-track,
.cv-progress-track-simple {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.cv-progress-track-simple {
    margin-top: 14px;
    background: #e2e8f0;
}

.cv-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #a78bfa, #f59e0b);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.28);
}

.cv-progress-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.cv-progress-stat {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
}

.cv-progress-stat .label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.70);
}

.cv-progress-stat strong {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.cv-side-card,
.cv-main-card {
    border: 1px solid rgba(226, 232, 240, 0.90);
    border-radius: var(--cv-radius-xl);
    background: var(--cv-card);
    box-shadow: var(--cv-shadow-md);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cv-side-card {
    top: 96px;
}

.cv-side-card-body,
.cv-main-card-body {
    padding: 28px;
}

/* =========================================================
   Steps
========================================================= */

.cv-steps-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.cv-steps-mini-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--cv-primary-soft), var(--cv-accent-soft));
    color: var(--cv-primary);
    font-size: 20px;
}

.cv-steps-title {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: var(--cv-text);
}

.cv-steps-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--cv-muted);
    line-height: 1.8;
}

.cv-steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cv-step-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid transparent;
    background: rgba(248, 250, 252, 0.70);
    color: #334155;
    transition: 0.25s ease;
}

.cv-step-link:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 93, 252, 0.14);
    background: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    color: var(--cv-primary);
}

.cv-step-link.active {
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.10), rgba(124, 58, 237, 0.08));
    border-color: rgba(21, 93, 252, 0.16);
    box-shadow: 0 12px 28px rgba(21, 93, 252, 0.08);
}

.cv-step-link.done {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(34, 197, 94, 0.05));
    border-color: rgba(22, 163, 74, 0.14);
}

.cv-step-badge {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9eef7;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

.cv-step-link.active .cv-step-badge {
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-accent));
    color: #fff;
}

.cv-step-link.done .cv-step-badge {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
}

.cv-step-content {
    flex: 1 1 auto;
    min-width: 0;
}

.cv-step-title {
    display: block;
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 800;
    color: var(--cv-text);
}

.cv-step-desc {
    display: block;
    font-size: 12px;
    color: var(--cv-muted);
    line-height: 1.7;
}

.cv-step-arrow {
    color: #94a3b8;
    font-size: 14px;
}

/* =========================================================
   Content + Forms
========================================================= */

.cv-content-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.cv-content-kicker,
.cv-admin-kicker,
.cv-wizard-step-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(21, 93, 252, 0.08);
    color: var(--cv-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.cv-section-title {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--cv-text);
}

.cv-section-subtitle {
    max-width: 760px;
    margin: 0;
    font-size: 14px;
    line-height: 1.95;
    color: var(--cv-muted);
}

.cv-head-badge,
.cv-admin-badge {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--cv-border);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--cv-shadow-sm);
}

.cv-form-shell,
.cv-admin-form,
.cv-simple-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cv-form-section,
.cv-simple-section {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--cv-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96));
}

.cv-simple-section {
    padding: 20px;
    border-radius: 20px;
    background: #fff;
}

.cv-form-section-head,
.cv-simple-section-head,
.cv-panel-head {
    margin-bottom: 20px;
}

.cv-simple-section-head,
.cv-panel-head {
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
}

.cv-form-section-head h4,
.cv-panel-head h4,
.cv-simple-section-head h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 800;
    color: var(--cv-text);
}

.cv-simple-section-head h3 {
    font-size: 18px;
}

.cv-form-section-head p,
.cv-panel-head p,
.cv-simple-section-head p {
    margin: 0;
    color: var(--cv-muted);
    font-size: 13px;
    line-height: 1.8;
}

.cv-form-grid,
.cv-form-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.cv-form-grid-compact {
    gap: 14px 16px;
}

.cv-field {
    min-width: 0;
}

.cv-field-full {
    grid-column: 1 / -1;
}

.cv-form-label {
    display: block;
    margin-bottom: 9px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 800;
}

.cv-form-label span {
    color: var(--cv-danger);
}

.cv-main-card .form-control,
.cv-main-card .form-select,
.cv-main-card textarea,
.cv-input,
.cv-static-input {
    width: 100%;
    min-height: 56px;
    height: 56px;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
}

.cv-main-card .form-control,
.cv-main-card .form-select,
.cv-main-card textarea,
.cv-input {
    border: 1px solid #d9e3f0;
    background: #fff;
    color: var(--cv-text);
    box-shadow: none;
    transition: 0.2s ease;
}

.cv-main-card textarea,
.cv-textarea {
    min-height: 180px !important;
    height: auto !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    resize: vertical;
    line-height: 1.9;
}

.cv-main-card .form-control::placeholder,
.cv-main-card textarea::placeholder {
    color: #94a3b8;
}

.cv-main-card .form-control:focus,
.cv-main-card .form-select:focus,
.cv-main-card textarea:focus,
.cv-input:focus {
    border-color: rgba(21, 93, 252, 0.42);
    box-shadow: 0 0 0 0.24rem rgba(21, 93, 252, 0.10);
    background: #fff;
}

.cv-readonly-box,
.cv-static-input {
    border: 1px solid #d9e3ee;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.cv-readonly-box {
    min-height: 56px;
    border-radius: 16px;
    padding: 14px 16px;
}

.cv-readonly-box i,
.cv-static-input i {
    color: var(--cv-primary);
}

/* Buttons + Alerts */
.cv-action-bar,
.cv-admin-actions,
.cv-sticky-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cv-action-bar {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(226, 232, 240, 0.90);
}

.cv-btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    transition: 0.25s ease;
}

.cv-btn:hover {
    transform: translateY(-1px);
}

.cv-btn-primary {
    background: linear-gradient(135deg, var(--cv-primary), var(--cv-accent));
    color: #fff;
    box-shadow: 0 18px 34px rgba(21, 93, 252, 0.20);
}

.cv-btn-primary:hover {
    color: #fff;
}

.cv-btn-light {
    background: #fff;
    color: #334155;
    border: 1px solid #dbe4ee;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.cv-btn-light:hover {
    background: #f8fafc;
    color: var(--cv-text);
}

.cv-alert {
    margin-bottom: 18px;
    border: none;
    border-radius: 18px;
    padding: 15px 18px;
    font-weight: 700;
}

/* =========================================================
   Admin Style Form
========================================================= */

.cv-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.cv-admin-title {
    margin: 10px 0 8px;
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.cv-admin-subtitle {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.9;
}

.cv-admin-badge {
    border-radius: 14px;
}

.cv-panel-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.cv-admin-actions {
    padding-top: 4px;
}

.cv-admin-actions .cv-btn {
    border-radius: 14px;
}

/* =========================================================
   Simple Wizard
========================================================= */

.cv-wizard-topbar {
    margin-bottom: 18px;
    padding: 20px 22px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--cv-shadow-sm);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cv-wizard-topbar-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cv-wizard-topbar-content {
    min-width: 0;
}

.cv-wizard-simple-title {
    margin: 10px 0 6px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--cv-text);
}

.cv-wizard-simple-subtitle {
    max-width: 780px;
    margin: 0;
    color: var(--cv-muted);
    font-size: 14px;
    line-height: 1.9;
}

.cv-wizard-progress-inline {
    min-width: 110px;
    min-height: 64px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(21, 93, 252, 0.08), rgba(124, 58, 237, 0.08));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

.cv-wizard-progress-inline strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--cv-text);
    line-height: 1;
}

.cv-wizard-progress-inline span,
.cv-wizard-mobile-meta {
    font-size: 12px;
    color: var(--cv-muted);
    font-weight: 700;
}

.cv-wizard-mobile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.cv-side-card-compact .cv-side-card-body {
    padding: 20px;
}

.cv-main-card-compact .cv-main-card-body {
    padding: 22px;
}

.cv-sticky-submit {
    position: sticky;
    bottom: 10px;
    z-index: 20;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* =========================================================
   Footer
========================================================= */

.cv-public-footer {
    position: relative;
    z-index: 1;
    padding: 12px 0 30px;
}

.cv-footer-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 20px 22px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.70);
    box-shadow: var(--cv-shadow-sm);
    backdrop-filter: blur(14px);
}

.cv-footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cv-footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--cv-primary-soft), var(--cv-accent-soft));
    color: var(--cv-primary);
    font-size: 18px;
}

.cv-footer-title {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 800;
    color: var(--cv-text);
}

.cv-footer-text {
    font-size: 13px;
    color: var(--cv-muted);
}

.cv-footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cv-footer-links a {
    font-size: 14px;
    font-weight: 700;
    color: var(--cv-primary);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1199.98px) {
    .cv-wizard-hero-grid {
        grid-template-columns: 1fr;
    }

    .cv-side-card {
        top: 0;
    }
}

@media (max-width: 991.98px) {
    .cv-public-header {
        padding: 12px 0 0;
    }

    .cv-header-shell {
        padding: 12px 14px;
        border-radius: 22px;
        flex-wrap: nowrap;
        align-items: center;
        gap: 12px;
    }

    .cv-brand-box {
        flex: 1 1 auto;
        min-width: 0;
        gap: 12px;
    }

    .cv-brand-title {
        font-size: 22px;
    }

    .cv-brand-subtitle {
        display: none;
    }

    .cv-mobile-menu-toggle {
        display: inline-flex !important;
        flex: 0 0 46px;
        position: relative;
        z-index: 20003;
    }

    .cv-mobile-nav-overlay {
        display: block;
    }

    body.cv-menu-open .cv-mobile-nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .cv-public-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(360px, 86vw);
        height: 100vh;
        padding: calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid rgba(226, 232, 240, 0.92);
        box-shadow: -18px 0 40px rgba(15, 23, 42, 0.14);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 20002;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
        flex-wrap: nowrap;
        overflow-y: auto;
        transform: translateX(110%);
        opacity: 0;
        visibility: hidden;
        transition: 0.28s ease;
        pointer-events: auto;
    }

    body.cv-menu-open .cv-public-nav {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .cv-mobile-nav-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 6px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--cv-border);
        font-size: 16px;
        font-weight: 800;
        color: var(--cv-text);
    }

    .cv-public-nav form {
        width: 100%;
        margin: 0;
    }

    .cv-public-nav a,
    .cv-public-nav button {
        position: relative;
        z-index: 20003;
        width: 100%;
        min-height: 52px;
        height: auto;
        padding: 14px 16px;
        border-radius: 16px;
        justify-content: flex-start;
        flex: unset;
        text-align: right;
        pointer-events: auto;
    }

    .cv-public-nav a.active,
    .cv-public-nav a:hover {
        background: #eef2ff;
        color: #4338ca;
    }

    .cv-page-wrap {
        min-height: calc(100vh - 140px);
        padding: 18px 0 28px;
    }

    .cv-wizard-hero {
        margin-bottom: 16px;
        border-radius: 22px;
    }

    .cv-wizard-hero-grid {
        padding: 18px;
        gap: 16px;
        border-radius: 22px;
    }

    .cv-wizard-hero-title {
        margin: 14px 0 10px;
        font-size: 24px;
        line-height: 1.5;
    }

    .cv-wizard-hero-subtitle {
        font-size: 14px;
        line-height: 1.9;
    }

    .cv-side-card,
    .cv-main-card,
    .cv-main-card-compact,
    .cv-side-card-compact {
        border-radius: 20px;
    }

    .cv-side-card-body,
    .cv-main-card-body {
        padding: 18px;
    }

    .cv-main-card-compact .cv-main-card-body {
        padding: 16px;
    }

    .cv-side-card-compact {
        display: none !important;
    }

    .cv-content-head {
        margin-bottom: 18px;
    }

    .cv-section-title {
        font-size: 21px;
    }

    .cv-section-subtitle {
        font-size: 13px;
        line-height: 1.9;
    }

    .cv-form-grid,
    .cv-form-grid-compact {
        grid-template-columns: 1fr;
    }

    .cv-field-full {
        grid-column: auto;
    }

    .cv-form-section,
    .cv-simple-section {
        padding: 16px;
        border-radius: 18px;
    }

    .cv-action-bar {
        margin-top: 20px;
        padding-top: 18px;
    }

    .cv-wizard-topbar {
        padding: 16px;
        border-radius: 20px;
        margin-bottom: 14px;
    }

    .cv-wizard-topbar-main {
        flex-direction: column;
        align-items: stretch;
    }

    .cv-wizard-simple-title,
    .cv-admin-title {
        font-size: 22px;
    }

    .cv-wizard-simple-subtitle {
        font-size: 13px;
        line-height: 1.85;
    }

    .cv-wizard-progress-inline {
        min-height: 54px;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .cv-public-footer {
        padding: 8px 0 22px;
    }

    .cv-footer-shell {
        padding: 16px;
        border-radius: 20px;
    }
}

@media (max-width: 767.98px) {
    .cv-brand-title {
        font-size: 20px;
    }

    .cv-panel-card {
        padding: 18px;
        border-radius: 18px;
    }

    .cv-action-bar,
    .cv-admin-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .cv-btn,
    .cv-admin-actions .cv-btn {
        width: 100%;
        justify-content: center;
    }

    .cv-footer-shell {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .cv-header-shell {
        padding: 10px 12px;
        border-radius: 18px;
    }

    .cv-brand-box {
        gap: 10px;
    }

    .cv-brand-logo-wrap {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .cv-brand-logo {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }

    .cv-public-nav {
        width: min(92vw, 360px);
    }

    .cv-wizard-hero,
    .cv-side-card,
    .cv-main-card,
    .cv-footer-shell {
        border-radius: 18px;
    }

    .cv-wizard-hero-grid {
        padding: 16px;
    }

    .cv-hero-pill,
    .cv-hero-meta-item {
        width: 100%;
        justify-content: center;
    }

    .cv-progress-top strong {
        font-size: 22px;
    }

    .cv-progress-stats {
        grid-template-columns: 1fr;
    }

    .cv-section-title {
        font-size: 19px;
    }

    .cv-main-card .form-control,
    .cv-main-card .form-select,
    .cv-main-card textarea,
    .cv-input,
    .cv-static-input {
        min-height: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .cv-textarea,
    .cv-main-card textarea {
        min-height: 140px !important;
        height: auto !important;
    }

    .cv-wizard-topbar {
        padding: 14px;
        border-radius: 18px;
    }

    .cv-wizard-step-pill {
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }

    .cv-wizard-simple-title {
        font-size: 20px;
    }

    .cv-wizard-simple-subtitle {
        font-size: 12px;
    }

    .cv-main-card-compact .cv-main-card-body {
        padding: 14px;
    }

    .cv-simple-section {
        padding: 14px;
        border-radius: 16px;
    }

    .cv-simple-section-head h3 {
        font-size: 16px;
    }

    .cv-sticky-submit {
        flex-direction: column-reverse;
        align-items: stretch;
        bottom: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    .cv-sticky-submit .cv-btn {
        width: 100%;
        justify-content: center;
    }

    .cv-footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {

    .cv-mobile-nav-head,
    .cv-mobile-nav-overlay {
        display: none !important;
    }
}

.cv-partners-section {
    position: relative;
}

.cv-partners-shell {
    position: relative;
    overflow: hidden;
    padding: 42px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(76, 111, 255, 0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.14), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.cv-partners-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    filter: blur(24px);
    opacity: 0.28;
    pointer-events: none;
}

.cv-partners-glow-one {
    top: -80px;
    right: -80px;
    background: #4f46e5;
}

.cv-partners-glow-two {
    bottom: -90px;
    left: -90px;
    background: #10b981;
}

.cv-partners-title {
    position: relative;
    margin: 10px 0 10px;
    font-size: clamp(1.6rem, 2.4vw, 2.5rem);
    font-weight: 900;
    color: #101827;
    letter-spacing: -0.03em;
}

.cv-partners-subtitle {
    position: relative;
    max-width: 720px;
    margin: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 2;
}

.cv-partners-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #101827;
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cv-partners-link:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

.cv-partners-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.cv-partner-card {
    min-height: 156px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    text-decoration: none;
    color: #101827;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cv-partner-card:hover {
    color: #101827;
    text-decoration: none;
    transform: translateY(-6px);
    border-color: rgba(79, 70, 229, 0.28);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.cv-partner-logo-box {
    height: 74px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 14px;
}

.cv-partner-logo-box img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.cv-partner-fallback {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    font-size: 1.1rem;
}

.cv-partner-logo-box.is-broken .cv-partner-fallback {
    display: inline-flex;
}

.cv-partner-info strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.6;
}

.cv-partner-info span {
    display: block;
    margin-top: 2px;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1199px) {
    .cv-partners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .cv-partners-shell {
        padding: 28px 18px;
        border-radius: 26px;
    }

    .cv-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cv-partner-card {
        min-height: 142px;
        padding: 12px;
        border-radius: 20px;
    }

    .cv-partner-logo-box {
        height: 64px;
        border-radius: 16px;
    }

    .cv-partners-link {
        width: 100%;
        justify-content: center;
    }


}