:root {
    --page-bg: #edf3ff;
    --page-bg-strong: #e7eeff;
    --surface: #ffffff;
    --surface-alt: #f7f9ff;
    --surface-strong: #1a2340;
    --primary: #7c5cff;
    --primary-strong: #5047e5;
    --primary-soft: rgba(124, 92, 255, 0.12);
    --deep-slate: #111827;
    --navy: #1a2334;
    --navy-soft: #2c3a5f;
    --muted: #59657c;
    --line: rgba(15, 23, 42, 0.1);
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 22px 52px rgba(17, 24, 39, 0.06);
    --success: #1ea97c;
    --warning: #d37d2f;
    --danger: #d24f5f;
    --white: #ffffff;
    --text: #101828;
    --secondary: #5f6f82;
    --border: rgba(15, 23, 42, 0.1);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    background: linear-gradient(
        180deg,
        var(--page-bg) 0%,
        var(--page-bg-strong) 100%
    );
    color: var(--text);
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
}

.card,
.card-body,
.card-header,
.card-footer,
.list-group-item {
    background: var(--surface) !important;
    border-color: var(--line) !important;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.container {
    max-width: 1180px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--deep-slate);
}

p,
span,
div,
input,
textarea,
select,
button,
a,
li,
td,
th {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
}

p {
    color: var(--muted);
}

img {
    max-width: 100%;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--deep-slate);
}

.navbar-brand span {
    color: var(--primary);
}

.premium-navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.07);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.04);
}

.premium-navbar .navbar-brand {
    padding: 0.35rem 0.2rem;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    display: inline-block;
    box-shadow: 0 0 0 6px rgba(124, 77, 255, 0.12);
}

.nav-actions .btn {
    border-radius: 14px;
}

.premium-footer {
    background: linear-gradient(180deg, #0a1226 0%, #09121f 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 4rem 0 2.5rem;
    margin-top: 4rem;
    color: #e2e8f0;
}

.premium-footer .container {
    position: relative;
    z-index: 1;
}

.footer-copy,
.footer-meta,
.footer-link,
.footer-title {
    color: rgba(226, 232, 240, 0.8);
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
    max-width: 28rem;
    line-height: 1.7;
}

.footer-link {
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-developer-btn {
    border-radius: 12px;
    padding: 0.8rem 1.15rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
}

.text-primary-custom {
    color: var(--primary);
}
.bg-primary-custom {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-strong) 100%
    );
}
.bg-soft-blue {
    background: linear-gradient(
        180deg,
        rgba(124, 92, 255, 0.08),
        rgba(79, 70, 229, 0.03)
    );
}
.text-secondary-custom {
    color: var(--muted);
}
.border-soft {
    border-color: var(--line);
}

.hero-badge {
    background: rgba(124, 77, 255, 0.08);
    color: var(--primary-strong);
    border: 1px solid rgba(124, 77, 255, 0.15);
    border-radius: 999px;
    padding: 0.7rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.feature-card,
.testimonial-card,
.process-card,
.card-soft {
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 246, 255, 0.95)
    );
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.04);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    background: linear-gradient(
        135deg,
        rgba(124, 77, 255, 0.12),
        rgba(79, 70, 229, 0.08)
    );
    color: var(--primary-strong);
    border: 1px solid rgba(124, 77, 255, 0.12);
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.bg-navy {
    background: linear-gradient(180deg, #171f2d 0%, #101827 100%);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.72) !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(124, 77, 255, 0.06);
    color: var(--deep-slate) !important;
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5.15rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.07em;
    color: var(--deep-slate);
    text-wrap: balance;
}

.card-soft,
.summary-card,
.feature-tile,
.process-card,
.auth-card,
.stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.summary-card {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    min-height: 180px;
    border: 1px solid #e8edf5;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.03);
}

.summary-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        90deg,
        rgba(124, 77, 255, 0.95),
        rgba(79, 70, 229, 0.72)
    );
}

.summary-card .display-6 {
    letter-spacing: -0.06em;
    line-height: 1;
    font-weight: 800;
}

.dashboard-mini-card,
.analysis-item,
.progress-row {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(247, 250, 255, 0.96)
    );
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.025);
}

.dashboard-mini-card {
    padding: 1rem 1rem 0.85rem;
}

.analysis-item {
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
}

.progress-row {
    padding: 0.8rem 0.9rem;
}

.feature-tile,
.process-card,
.auth-card {
    backdrop-filter: blur(4px);
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--deep-slate);
    text-wrap: balance;
}

.how-it-works-shell {
    max-width: 880px;
    margin: 0 auto;
    padding: 2rem 1.25rem 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.03);
}

.how-it-works-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #8b5cf6;
}

.how-it-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 1.2rem 0.9rem 0.5rem;
}

.step-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(124, 92, 255, 0.25);
    color: #5b4ef7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.step-circle--purple {
    border-color: rgba(139, 92, 246, 0.45);
    color: #7c3aed;
}

.step-circle--blue {
    border-color: rgba(59, 130, 246, 0.45);
    color: #2563eb;
}

.step-circle--green {
    border-color: rgba(34, 197, 94, 0.45);
    color: #16a34a;
}

.step-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.03);
}

.how-it-step h5 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--deep-slate);
}

.how-it-step p {
    margin: 0;
    max-width: 15rem;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.metric-showcase-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 28px;
    background: linear-gradient(
        180deg,
        rgba(245, 247, 255, 0.78),
        rgba(242, 244, 249, 0.95)
    );
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.03);
}

.metric-showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 210px;
    padding: 1.1rem 0.8rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.metric-ring {
    --percent: 50;
    --ring-color: #7c3aed;
    position: relative;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(
        var(--ring-color) calc(var(--percent) * 1%),
        #e7e7eb 0
    );
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.04);
    transition: background 0.08s linear;
}

.metric-ring::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.metric-ring span {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--deep-slate);
}

.metric-ring--purple {
    --ring-color: #8b5cf6;
}

.metric-ring--blue {
    --ring-color: #4f8ef7;
}

.metric-ring--green {
    --ring-color: #2bb673;
}

.metric-ring--orange {
    --ring-color: #f3a64a;
}

.metric-showcase-copy {
    text-align: center;
}

.metric-showcase-copy h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--deep-slate);
}

.metric-showcase-copy small {
    display: inline-block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.recent-activity-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: 1.3rem 1.1rem;
    border-radius: 24px;
    background: rgba(226, 233, 245, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.activity-block {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    padding: 1rem 1rem 0.8rem;
    min-height: 220px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.activity-block__head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    color: var(--deep-slate);
    font-weight: 700;
}

.activity-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.activity-icon--purple {
    background: rgba(139, 92, 246, 0.1);
}

.activity-icon--blue {
    background: rgba(79, 142, 247, 0.1);
}

.activity-icon--green {
    background: rgba(34, 197, 94, 0.1);
}

.activity-block h4 {
    margin: 0 0 0.8rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--deep-slate);
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.activity-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.activity-item strong {
    display: block;
    font-size: 0.96rem;
    color: var(--deep-slate);
}

.activity-item small {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.activity-item span {
    color: var(--muted);
    font-size: 0.72rem;
    white-space: nowrap;
}

.activity-badge {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.activity-empty {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

@keyframes metricPulse {
    0% {
        transform: scale(0.995);
        box-shadow:
            inset 0 0 0 1px rgba(148, 163, 184, 0.08),
            0 8px 18px rgba(109, 94, 252, 0.05);
    }
    100% {
        transform: scale(1.012);
        box-shadow:
            inset 0 0 0 1px rgba(148, 163, 184, 0.1),
            0 16px 30px rgba(109, 94, 252, 0.12);
    }
}

.public-home-hero {
    background:
        radial-gradient(
            circle at top left,
            rgba(124, 77, 255, 0.12),
            transparent 28%
        ),
        linear-gradient(180deg, #ffffff 0%, #f6f3ff 100%);
    position: relative;
    overflow: hidden;
}

.public-home-hero::before {
    content: "";
    position: absolute;
    inset: 10% auto auto -10%;
    width: 42rem;
    height: 42rem;
    background: radial-gradient(
        circle,
        rgba(143, 114, 246, 0.16),
        transparent 60%
    );
    pointer-events: none;
}

.public-home-hero::after {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -18%;
    width: 30rem;
    height: 30rem;
    background: radial-gradient(
        circle,
        rgba(79, 70, 229, 0.08),
        transparent 60%
    );
    pointer-events: none;
}

section .section-title {
    margin-bottom: 1.5rem;
}

section .card-soft {
    position: relative;
    overflow: hidden;
}

section .card-soft::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(124, 77, 255, 0.9),
        rgba(79, 70, 229, 0.4)
    );
    opacity: 0.8;
}

section .form-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--deep-slate);
}

section .form-control,
section .form-select,
section textarea.form-control {
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    padding: 0.82rem 0.95rem !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.02);
    min-height: 48px;
}

section .form-control:focus,
section .form-select:focus,
section textarea.form-control:focus {
    border-color: rgba(124, 77, 255, 0.6) !important;
    box-shadow:
        0 0 0 4px rgba(124, 77, 255, 0.08),
        inset 0 1px 2px rgba(15, 23, 42, 0.02) !important;
    outline: none !important;
}

section .alert-success {
    border-radius: 14px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
}

.hero-panel {
    position: relative;
    border: 1px solid rgba(124, 77, 255, 0.12);
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.08);
    background: linear-gradient(
        180deg,
        rgba(17, 24, 39, 0.97),
        rgba(20, 30, 58, 0.96)
    );
    border-radius: 28px;
    transform: translateY(0);
}

.hero-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 32px 70px rgba(17, 24, 39, 0.1);
}

.dark-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.8rem 0.9rem;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(124, 92, 255, 0.17),
        rgba(79, 70, 229, 0.04)
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(124, 92, 255, 0.28);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(23, 222, 170, 0.12);
    border: 1px solid rgba(23, 222, 170, 0.2);
    color: #9ae6b4;
    font-size: 0.74rem;
    font-weight: 700;
}

.dark-score-card {
    padding: 1rem 1rem 0.9rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-progress {
    background: rgba(255, 255, 255, 0.09);
}

.hero-metric-pill {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: rgba(255, 255, 255, 0.82);
    font-weight: 600;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.03);
    backdrop-filter: blur(8px);
}

.hero-feature-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlight-card {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 12px 22px rgba(17, 24, 39, 0.03);
    color: var(--deep-slate);
    font-size: 0.8rem;
    font-weight: 600;
}

.mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}

.premium-mini-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.08);
    border: 1px solid rgba(124, 92, 255, 0.12);
    color: #4f46e5;
    font-size: 0.72rem;
    font-weight: 700;
}

.trusted-brand {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: rgba(15, 23, 42, 0.42);
}

.hero-job-row {
    background: rgba(255, 255, 255, 0.68);
}

.stat-card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(248, 244, 240, 0.96)
    );
    border-radius: var(--radius-md);
    padding: 1.2rem;
    border: 1px solid rgba(17, 24, 39, 0.06);
}

.feature-card,
.testimonial-card,
.process-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover,
.testimonial-card:hover,
.process-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 44px rgba(17, 24, 39, 0.08);
}

.cta-panel {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(245, 241, 255, 0.98)
    );
    border: 1px solid rgba(124, 77, 255, 0.12);
    border-radius: 28px;
    padding: 2.25rem 1.5rem;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.05);
}

.btn-primary-custom,
.btn-outline-custom,
.btn-primary,
.btn-outline-primary {
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding: 0.8rem 1.2rem !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.btn-primary-custom,
.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-strong) 100%
    );
    border: none !important;
    color: #fff !important;
    box-shadow: 0 15px 28px rgba(124, 77, 255, 0.22);
    letter-spacing: -0.01em;
}

.btn-primary-custom:hover,
.btn-primary:hover {
    box-shadow: 0 18px 32px rgba(124, 77, 255, 0.26);
}

.btn-primary-custom:hover,
.btn-primary:hover,
.btn-outline-custom:hover,
.btn-outline-primary:hover {
    transform: translateY(-1px);
}

.btn-outline-custom,
.btn-outline-primary {
    background: rgba(124, 77, 255, 0.05);
    border: 1px solid rgba(124, 77, 255, 0.18) !important;
    color: var(--primary-strong) !important;
}

.app-shell {
    min-height: 100vh;
    background: linear-gradient(180deg, #edf4ff 0%, #ecedff 100%);
}

.jobflow-dashboard-shell {
    width: 100%;
    max-width: 1470px;
    min-height: calc(100vh - 30px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    border: 1px solid rgba(100, 116, 139, 0.1);
    border-radius: 28px;
    background: #f8f9fd;
    box-shadow: 0 28px 70px rgba(30, 41, 59, 0.12);
    overflow: hidden;
}

.jobflow-sidebar {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 30px);
    padding: 24px 18px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, #17182f, #20203f);
}

.jobflow-logo {
    margin: 2px 8px 24px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
}

.jobflow-logo-mark,
.jobflow-icon-badge {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #a78bfa, #6758eb);
    color: #fff;
    box-shadow: 0 10px 24px rgba(124, 92, 255, 0.28);
}

.jobflow-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.jobflow-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 2px 18px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
}

.jobflow-user-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #4f46e5);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
}

.jobflow-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jobflow-user-chip strong,
.jobflow-user-chip small {
    display: block;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jobflow-user-chip strong {
    font-size: 0.82rem;
}

.jobflow-user-chip small {
    margin-top: 2px;
    color: #adb3cf;
    font-size: 0.68rem;
}

.jobflow-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.jobflow-nav a {
    min-height: 43px;
    display: flex;
    align-items: center;
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #babfd5;
    font-size: 0.84rem;
    font-weight: 650;
    text-decoration: none;
    transition: 0.18s ease;
}

.jobflow-nav a:hover {
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    transform: translateX(2px);
}

.jobflow-nav a.active {
    border-color: rgba(167, 139, 250, 0.2);
    background: linear-gradient(135deg, #7769ef, #6255d9);
    color: #fff;
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.24);
}

.jobflow-sidebar .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    color: #dce0ef;
}

.jobflow-main-panel {
    width: 100%;
    min-width: 0;
    background: #f6f7fc;
}

.jobflow-header-bar {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    max-width: 100%;
    min-height: 104px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    left: 0;
    right: 0;
}

.jobflow-title-wrap,
.jobflow-header-actions,
.jobflow-user-panel {
    display: flex;
    align-items: center;
}

.jobflow-title-wrap {
    gap: 12px;
}

.jobflow-icon-badge {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
}

.jobflow-title-wrap h2 {
    margin: 0;
    color: #15182a;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.jobflow-title-wrap p {
    margin: 3px 0 0;
    color: #7b8397;
    font-size: 0.75rem;
}

.jobflow-header-actions {
    gap: 9px;
}

.jobflow-search {
    width: 270px;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    background: #f8f9fd;
    color: #939aad;
}

.jobflow-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 0.78rem;
}

.jobflow-notification-btn,
.jobflow-user-panel {
    height: 42px;
    border: 1px solid #e5e7ef;
    background: #fff;
    box-shadow: 0 8px 18px rgba(40, 45, 70, 0.055);
}

.jobflow-notification-btn {
    width: 42px;
    border-radius: 12px;
}

.jobflow-user-panel {
    gap: 8px;
    padding: 5px 9px 5px 5px;
    border-radius: 14px;
    color: #252940;
}

.jobflow-user-avatar.small {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}

.jobflow-user-mini-card {
    max-width: 120px;
    text-align: left;
}

.jobflow-user-mini-card strong,
.jobflow-user-mini-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jobflow-user-mini-card strong {
    font-size: 0.72rem;
}

.jobflow-user-mini-card small {
    color: #858da1;
    font-size: 0.62rem;
}

.jobflow-dashboard-page {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 22px 26px 28px;
    box-sizing: border-box;
}

.jobflow-hero-banner {
    min-height: 180px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: center;
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 86% 18%,
            rgba(255, 255, 255, 0.16),
            transparent 22%
        ),
        linear-gradient(135deg, #6557e7, #8171f4 58%, #9c88ff);
    box-shadow: 0 18px 38px rgba(79, 70, 229, 0.2);
}

.jobflow-hero-copy {
    padding: 26px 32px;
}

.jobflow-hero-pill {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #f4f2ff;
    font-size: 0.66rem;
    font-weight: 800;
}

.jobflow-hero-copy h2 {
    margin: 12px 0 6px;
    color: #fff;
    font-size: 1.62rem;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.jobflow-hero-copy p {
    margin: 0 0 16px;
    color: #e8e6ff;
    font-size: 0.82rem;
}

.jobflow-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 11px;
    background: #fff;
    color: #5b50d8;
    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
}

.jobflow-hero-visual {
    position: relative;
    height: 180px;
}

.jobflow-hero-device {
    position: absolute;
    right: 44px;
    bottom: -20px;
    width: 145px;
    height: 135px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, 0.1);
}

.jobflow-hero-screen {
    position: absolute;
    inset: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.32);
}

.jobflow-mini-card {
    position: absolute;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 28px rgba(48, 40, 130, 0.18);
}

.jobflow-mini-card--chart {
    top: 18px;
    right: 18px;
}

.jobflow-mini-card--briefcase {
    left: 12px;
    top: 70px;
}

.jobflow-mini-card--note {
    right: 28px;
    bottom: 16px;
}

.jobflow-upper-grid,
.jobflow-lower-grid,
.jobflow-bottom-grid {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.jobflow-upper-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
}

.jobflow-lower-grid {
    grid-template-columns: 270px minmax(0, 1fr);
}

.jobflow-bottom-grid {
    grid-template-columns: 270px minmax(0, 1fr);
}

.jobflow-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.jobflow-stat-card,
.jobflow-schedule-card,
.jobflow-donut-card,
.jobflow-table-card,
.jobflow-recommendation-panel,
.jobflow-purple-cta {
    border: 1px solid rgba(116, 126, 151, 0.12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(42, 48, 75, 0.07);
}

.jobflow-stat-card {
    position: relative;
    min-height: 138px;
    padding: 18px;
    overflow: hidden;
}

.jobflow-stat-card.is-primary {
    border: 0;
    background: linear-gradient(145deg, #7567ed, #5d52d2);
    color: #fff;
}

.jobflow-stat-header,
.jobflow-card-header,
.jobflow-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jobflow-stat-header {
    color: #747d92;
    font-size: 0.72rem;
    font-weight: 800;
}

.jobflow-stat-card.is-primary .jobflow-stat-header {
    color: #eceaff;
}

.jobflow-arrow {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f2f3f8;
}

.jobflow-stat-card.is-primary .jobflow-arrow {
    background: rgba(255, 255, 255, 0.14);
}

.jobflow-stat-value {
    margin-top: 18px;
    color: #1b1e31;
    font-size: 1.72rem;
    font-weight: 850;
}

.jobflow-stat-card.is-primary .jobflow-stat-value {
    color: #fff;
}

.jobflow-stat-meta {
    margin-top: 5px;
    color: #8a91a3;
    font-size: 0.68rem;
}

.jobflow-schedule-card,
.jobflow-donut-card,
.jobflow-table-card,
.jobflow-recommendation-panel {
    min-width: 0;
    padding: 16px;
}

.jobflow-card-header h3,
.jobflow-card-title-row h3,
.jobflow-recommend-header h3 {
    margin: 0;
    color: #202437;
    font-size: 0.88rem;
    font-weight: 800;
}

.jobflow-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 8px;
    color: #777f92;
    font-size: 0.68rem;
}

.jobflow-schedule-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
    border-bottom: 1px solid #f0f1f5;
}

.jobflow-date-box {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f1efff;
    color: #6658df;
    font-size: 0.62rem;
    font-weight: 800;
}

.jobflow-schedule-name {
    color: #25293d;
    font-size: 0.74rem;
    font-weight: 800;
}

.jobflow-schedule-meta {
    margin-top: 2px;
    color: #8b92a4;
    font-size: 0.62rem;
}

.jobflow-donut-wrap {
    min-height: 155px;
    display: grid;
    place-items: center;
}

.jobflow-donut-ring {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.jobflow-donut-center {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 20px rgba(42, 48, 75, 0.06);
}

.jobflow-donut-center span {
    color: #252940;
    font-size: 1.24rem;
    font-weight: 850;
}

.jobflow-score-list {
    display: grid;
    gap: 9px;
}

.jobflow-score-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 7px;
    color: #697187;
    font-size: 0.62rem;
}

.jobflow-score-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #eceef5;
}

.jobflow-score-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #6658df, #9a83ff);
}

.jobflow-primary-button {
    width: 100%;
    margin-top: 14px;
    padding: 10px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #7567ed, #5d52d2);
    color: #fff;
    font-weight: 800;
    text-align: center;
}

.jobflow-table-card table {
    width: 100%;
    margin-top: 12px;
    border-collapse: collapse;
}

.jobflow-table-card th {
    padding: 8px 6px;
    border-bottom: 1px solid #eceef4;
    color: #9299aa;
    font-size: 0.62rem;
    text-align: left;
}

.jobflow-table-card td {
    padding: 11px 6px;
    border-bottom: 1px solid #f0f1f5;
    color: #596176;
    font-size: 0.68rem;
}

.jobflow-company-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jobflow-company-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eeecff;
    color: #6357df;
    font-weight: 850;
}

.jobflow-badge {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eff8f4;
    color: #25806a;
    font-size: 0.61rem;
    font-weight: 800;
}

.jobflow-purple-cta {
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 0;
    background: linear-gradient(145deg, #6255d9, #8c7cf3);
    color: #fff;
}

.jobflow-cta-label {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.66rem;
    font-weight: 800;
}

.jobflow-purple-cta h3 {
    margin: 12px 0 14px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.jobflow-purple-cta button {
    align-self: flex-start;
    padding: 8px 10px;
    border: 0;
    border-radius: 11px;
    background: #fff;
    color: #5d52d2;
    font-weight: 800;
}

.jobflow-job-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.jobflow-job-card {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid rgba(116, 126, 151, 0.12);
    border-radius: 14px;
    background: #fafaff;
}

.mobile-bottom-nav,
.mobile-more-backdrop,
.mobile-more-sheet,
.mobile-install-popup {
    display: none;
}

/* Mobile Jobs tracking cards */
.jobflow-mobile-tracking {
    display: none;
}

@media (max-width: 1199.98px) {
    .jobflow-dashboard-shell {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .jobflow-upper-grid {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    .jobflow-lower-grid,
    .jobflow-bottom-grid {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .jobflow-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .app-shell {
        padding: 0 !important;
    }

    .jobflow-dashboard-shell {
        width: 100%;
        max-width: 100%;
        min-height: 100dvh;
        display: block !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
    }

    .jobflow-sidebar {
        display: none !important;
    }

    .jobflow-main-panel {
        width: 100%;
        min-height: 100dvh;
        overflow-x: hidden;
        padding-bottom: calc(102px + env(safe-area-inset-bottom)) !important;
    }

    .jobflow-header-bar {
        position: sticky;
        top: 0;
        z-index: 1030;
        width: 100%;
        max-width: 100%;
        min-height: 104px;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-sizing: border-box;
        left: 0;
        right: 0;
    }

    .jobflow-title-wrap h2,
    .jobflow-title-wrap p {
        display: none;
    }

    .jobflow-icon-badge {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px;
    }

    .jobflow-title-wrap::after {
        content: none;
        display: none;
    }

    .jobflow-search {
        display: none;
    }

    .jobflow-header-actions {
        margin-left: auto;
    }

    .jobflow-notification-btn {
        width: 46px;
        height: 46px;
        border: 0;
        border-radius: 50%;
        background: #fff;
        color: #6454d8;
    }

    .jobflow-user-panel {
        width: 46px;
        height: 46px;
        padding: 3px;
        border: 0;
        border-radius: 50%;
        background: #fff;
    }

    .jobflow-user-mini-card {
        display: none;
    }

    .jobflow-user-avatar.small {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .jobflow-dashboard-page {
        width: 100%;
        max-width: 100%;
        gap: 14px;
        padding: 14px 14px calc(96px + env(safe-area-inset-bottom));
        overflow: hidden;
        background: #f7f8fd;
    }

    .jobflow-hero-banner {
        min-height: 235px;
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .jobflow-hero-copy {
        width: 100%;
        padding: 24px 22px;
    }

    .jobflow-hero-copy h2 {
        max-width: 250px;
        margin: 0 0 12px;
        font-size: 1.72rem;
        line-height: 1.08;
    }

    .jobflow-hero-copy p {
        max-width: 255px;
        margin: 0 0 18px;
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .jobflow-hero-visual {
        display: none;
    }

    .jobflow-hero-device,
    .jobflow-mini-card {
        display: none;
    }

    .jobflow-hero-banner {
        background:
            radial-gradient(
                circle at 92% 18%,
                rgba(255, 255, 255, 0.14),
                transparent 24%
            ),
            linear-gradient(135deg, #5946cc 0%, #685df3 58%, #48a9cf 100%);
    }
}

@media (max-width: 360px) {
    .mobile-bottom-nav {
        padding-left: 4px;
        padding-right: 4px;
    }
    .mobile-bottom-nav__item {
        border-radius: 12px;
    }
    .mobile-bottom-nav__label {
        font-size: 10px;
    }
}

/* Final mobile reference match */
.jobflow-mobile-brand {
    display: none;
}

@media (max-width: 768px) {
    .jobflow-mobile-brand {
        display: flex;
        min-width: 0;
        flex-direction: column;
        line-height: 1.12;
    }
    .jobflow-mobile-brand strong {
        color: #fff;
        font-size: 1.12rem;
        font-weight: 850;
    }
    .jobflow-mobile-brand small {
        margin-top: 5px;
        color: #dddafa;
        font-size: 0.68rem;
    }
    .jobflow-title-wrap
        > div:not(.jobflow-icon-badge):not(.jobflow-mobile-brand) {
        display: none;
    }

    .jobflow-header-bar {
        min-height: 112px;
        background:
            radial-gradient(
                circle at 86% 5%,
                rgba(198, 177, 255, 0.32),
                transparent 20%
            ),
            linear-gradient(135deg, #35208a 0%, #5541bc 58%, #8b7be8 100%);
    }
    .jobflow-header-bar .jobflow-icon-badge {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.12);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .jobflow-dashboard-page {
        gap: 14px;
        padding: 14px 14px calc(96px + env(safe-area-inset-bottom));
        background: #f7f8fd;
    }
    .jobflow-hero-banner {
        min-height: 235px;
        grid-template-columns: 58% 42%;
        border-radius: 22px;
    }
    .jobflow-hero-copy {
        padding: 22px 8px 22px 20px;
    }
    .jobflow-hero-copy h2 {
        font-size: 1.62rem;
        line-height: 1.08;
    }
    .jobflow-hero-copy p {
        max-width: 210px;
        line-height: 1.4;
    }

    .jobflow-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .jobflow-stat-card {
        min-height: 154px;
        padding: 16px;
        border-radius: 20px;
    }
    .jobflow-stat-card:not(.is-primary):nth-child(2) {
        background: linear-gradient(145deg, #fff, #f2f7ff);
    }
    .jobflow-stat-card:not(.is-primary):nth-child(3) {
        background: linear-gradient(145deg, #fff, #f1fdf8);
    }
    .jobflow-stat-card:not(.is-primary):nth-child(4) {
        background: linear-gradient(145deg, #fff, #fff8ed);
    }
    .jobflow-stat-header {
        height: 42px;
    }
    .jobflow-arrow {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #f1efff;
        color: #6254ef;
    }
    .jobflow-stat-value {
        margin-top: 10px;
        font-size: 1.48rem;
    }
    .jobflow-stat-meta {
        display: none;
    }

    .jobflow-upper-grid,
    .jobflow-lower-grid,
    .jobflow-bottom-grid {
        grid-template-columns: 1fr;
    }
    .jobflow-schedule-card,
    .jobflow-donut-card,
    .jobflow-table-card,
    .jobflow-recommendation-panel {
        border-radius: 20px;
    }

    .jobflow-donut-card {
        min-height: 250px;
        display: grid;
        grid-template-columns: 138px minmax(0, 1fr);
        align-items: center;
    }
    .jobflow-donut-card .jobflow-card-title-row {
        grid-column: 1 / -1;
    }
    .jobflow-donut-wrap {
        min-height: 180px;
    }
    .jobflow-donut-ring {
        width: 132px;
        height: 132px;
        box-shadow: 0 12px 28px rgba(99, 87, 232, 0.12);
    }
    .jobflow-donut-center {
        width: 96px;
        height: 96px;
    }
    .jobflow-donut-center span {
        line-height: 1;
    }
    .jobflow-primary-button {
        grid-column: 1 / -1;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 1000;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(76px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
        padding: 8px 7px env(safe-area-inset-bottom);
        border: 0;
        border-radius: 30px 30px 0 0;
        background: #211b49;
        box-shadow: 0 -10px 28px rgba(27, 19, 73, 0.2);
        overflow: hidden;
    }
    .mobile-bottom-nav__item {
        width: 100%;
        min-width: 0;
        height: 58px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border: 0;
        border-radius: 14px;
        background: transparent;
        color: #f5f3ff;
        text-decoration: none;
        transition: 0.22s ease;
    }
    .mobile-bottom-nav__item.active {
        background: linear-gradient(135deg, #702bff 0%, #913eff 100%);
        color: #fff;
        box-shadow: 0 8px 18px rgba(112, 43, 255, 0.28);
        transform: scale(1.02);
        animation: careerpilot-nav-active 0.26s ease-out;
    }
    .mobile-bottom-nav__icon {
        width: 24px;
        height: 24px;
        display: grid;
        place-items: center;
    }
    .mobile-bottom-nav__icon svg {
        width: 21px;
        height: 21px;
        fill: currentColor;
    }
    .mobile-bottom-nav__label {
        width: 100%;
        overflow: hidden;
        font-size: 11px;
        line-height: 1;
        font-weight: 700;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mobile-more-backdrop {
        z-index: 1090;
    }
    .mobile-more-sheet {
        z-index: 1100;
    }

    /* Consistent mobile styling for all dashboard navigation pages */
    .jobflow-header-bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .jobflow-title-wrap {
        min-width: 0;
        align-items: center;
    }

    .jobflow-header-actions {
        margin-left: 0;
        justify-content: flex-end;
        align-items: center;
    }

    .jobflow-content-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 14px 14px calc(96px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        background: #f7f8fd;
    }

    .jobflow-content-wrap > .row,
    .jobflow-content-wrap > form,
    .jobflow-content-wrap > div {
        max-width: 100%;
    }

    .jobflow-content-wrap .card-soft,
    .jobflow-content-wrap .summary-card,
    .jobflow-content-wrap .settings-sidebar,
    .jobflow-content-wrap .settings-summary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border: 1px solid rgba(116, 126, 151, 0.12);
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(42, 48, 75, 0.07);
    }

    .jobflow-content-wrap .row {
        margin-left: 0;
        margin-right: 0;
    }

    .jobflow-content-wrap .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .jobflow-content-wrap .row.g-4,
    .jobflow-content-wrap .row.g-3 {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    .jobflow-content-wrap .card-soft,
    .jobflow-content-wrap .summary-card {
        padding: 16px !important;
    }

    .jobflow-content-wrap .form-control,
    .jobflow-content-wrap .form-select,
    .jobflow-content-wrap .auth-input {
        min-height: 46px;
        border-radius: 12px;
    }

    .jobflow-content-wrap .btn,
    .jobflow-content-wrap .btn-primary-custom {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .jobflow-content-wrap .table-responsive {
        width: 100%;
        margin: 0;
        overflow-x: auto;
        border-radius: 14px;
    }

    .jobflow-content-wrap .table {
        min-width: 620px;
    }

    .profile-settings-layout {
        display: flex;
        flex-direction: column;
    }

    .settings-sidebar {
        position: static !important;
        min-height: auto !important;
    }

    .settings-summary {
        overflow: hidden;
    }
}

@media (max-width: 360px) {
    .jobflow-content-wrap,
    .jobflow-dashboard-page {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Public homepage: complete mobile header and bottom dock */
@media (max-width: 768px) {
    .is-homepage .public-home-header {
        position: sticky;
        top: 10px;
        left: auto;
        right: auto;
        z-index: 1030;
        width: calc(100% - 24px);
        max-width: none;
        min-height: 64px;
        margin: 10px 12px 0;
        transform: none;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 12px 30px rgba(38, 31, 92, 0.12);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .is-homepage .public-home-header .container {
        width: 100%;
        max-width: none;
        min-height: 64px;
        margin: 0 auto;
        padding-left: 14px;
        padding-right: 14px;
    }

    .is-homepage .public-home-header .navbar-brand {
        margin: 0;
        max-width: calc(100% - 52px);
        font-size: 1rem;
    }

    .is-homepage .public-home-header .premium-navbar__toggler {
        margin-left: auto;
    }

    .public-mobile-bottom-nav {
        position: fixed;
        z-index: 1000;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: auto;
        height: 72px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: center;
        padding: 7px 6px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        background: #211b49;
        box-shadow: 0 10px 34px rgba(27, 19, 73, 0.32);
        overflow: hidden;
    }

    .public-mobile-bottom-nav__item {
        min-width: 0;
        height: 58px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 13px;
        color: #dcd9f4;
        font-size: 10px;
        font-weight: 750;
        text-decoration: none;
    }

    .public-mobile-bottom-nav__item.active {
        background: linear-gradient(135deg, #702bff 0%, #913eff 100%);
        color: #fff;
        box-shadow: 0 8px 18px rgba(112, 43, 255, 0.28);
    }

    .public-mobile-bottom-nav__item span,
    .public-mobile-bottom-nav__item span svg {
        width: 20px;
        height: 20px;
        display: block;
        fill: currentColor;
    }

    .public-mobile-bottom-nav__item small {
        max-width: 58px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 9.5px;
    }

    body.is-homepage,
    body.is-homepage main {
        padding-bottom: calc(98px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 360px) {
    .is-homepage .public-home-header {
        width: calc(100% - 16px);
        margin-left: 8px;
        margin-right: 8px;
    }

    .public-mobile-bottom-nav {
        left: 8px;
        right: 8px;
        bottom: calc(8px + env(safe-area-inset-bottom));
    }
}

/* Final polished native mobile radius and centering */
@media (max-width: 768px) {
    .jobflow-header-bar {
        width: calc(100% - 20px);
        min-height: 104px;
        margin: 10px 10px 0;
        border-radius: 24px;
    }

    .jobflow-dashboard-page {
        width: 100%;
        max-width: 100%;
        gap: 14px;
        padding: 12px 14px calc(96px + env(safe-area-inset-bottom));
        background: #f7f8fd;
    }

    .jobflow-hero-banner {
        width: 100%;
        min-height: 220px;
        grid-template-columns: 54% 46%;
        border-radius: 20px;
        overflow: hidden;
    }

    .jobflow-hero-copy {
        min-width: 0;
        padding: 20px 8px 20px 18px;
    }

    .jobflow-hero-copy h2 {
        max-width: 190px;
        margin: 0 0 8px;
        font-size: 1.48rem;
        line-height: 1.06;
    }

    .jobflow-hero-copy p {
        max-width: 180px;
        margin: 0 0 14px;
        font-size: 0.76rem;
        line-height: 1.38;
    }

    .jobflow-cta-button {
        min-height: 42px;
        padding: 9px 10px;
        border-radius: 12px;
        font-size: 0.68rem;
    }

    .jobflow-hero-visual {
        width: 100%;
        height: 220px;
        display: block;
    }

    .jobflow-hero-image {
        width: 100%;
        height: 220px;
        display: block;
        object-fit: cover;
        object-position: 72% center;
    }
}

@media (max-width: 360px) {
    .jobflow-header-bar {
        width: 100%;
        margin: 0;
    }

    .jobflow-dashboard-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .jobflow-hero-banner {
        min-height: 210px;
        grid-template-columns: 52% 48%;
    }

    .jobflow-hero-copy h2 {
        font-size: 1.34rem;
    }

    .jobflow-hero-visual,
    .jobflow-hero-image {
        height: 210px;
    }
}

/* Mobile More menu working state */
@media (max-width: 768px) {
    body.mobile-more-open {
        overflow: hidden;
    }

    .mobile-more-backdrop {
        position: fixed;
        z-index: 1090;
        inset: 0;
        display: none;
        background: rgba(20, 20, 54, 0.38);
        backdrop-filter: blur(4px);
    }

    .mobile-more-backdrop.is-visible {
        display: block;
    }

    .mobile-more-sheet {
        position: fixed;
        z-index: 1100;
        left: 14px;
        right: 14px;
        bottom: calc(100px + env(safe-area-inset-bottom));
        display: block;
        max-height: 68vh;
        overflow-y: auto;
        border: 1px solid rgba(124, 92, 255, 0.12);
        border-radius: 26px;
        background: rgba(255, 255, 255, 0.985);
        box-shadow: 0 -16px 50px rgba(24, 27, 67, 0.28);
        transform: translateY(calc(100% + 150px));
        transition: transform 260ms cubic-bezier(0.22, 0.75, 0.25, 1);
    }

    .mobile-more-sheet.is-open {
        transform: translateY(0);
    }
}

@media (max-width: 360px) {
    .mobile-more-sheet {
        left: 8px;
        right: 8px;
    }
}

/* Desktop header alignment */
@media (min-width: 769px) {
    .jobflow-header-bar {
        display: grid;
        grid-template-columns: minmax(260px, 1fr) minmax(300px, 520px) minmax(
                260px,
                1fr
            );
        align-items: center;
        padding-left: 26px;
        padding-right: 26px;
    }

    .jobflow-title-wrap {
        justify-self: start;
        min-width: 0;
    }

    .jobflow-header-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .jobflow-search {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: min(360px, 32vw);
        justify-self: center;
    }

    .jobflow-header-actions {
        grid-column: 3;
        justify-self: end;
    }
}

@media (min-width: 769px) and (max-width: 1199.98px) {
    .jobflow-header-bar {
        grid-template-columns: minmax(220px, 1fr) minmax(240px, 400px) minmax(
                220px,
                1fr
            );
    }

    .jobflow-search {
        width: min(300px, 30vw);
    }

    .jobflow-user-mini-card {
        display: none;
    }
}
