:root {
        --wz-bg: #f5f5f5;
        --wz-card: #FFFFFF;
        --wz-ink: #1A1A1A;
        --wz-ink-soft: #555555;
        --wz-ink-muted: #8C8C8C;
        --wz-border: #E2DFD9;
        --wz-border-hover: #C8C4BC;
        --wz-accent: #0088FF;
        --wz-accent-hover: #0070D6;
        --wz-accent-soft: #EFF4FF;
        --wz-accent-mid: #BFDBFE;
        --wz-green: #16A34A;
        --wz-green-soft: #F0FDF4;
        --wz-amber: #D97706;
        --wz-amber-soft: #FFFBEB;
        --wz-red: #DC2626;
        --wz-red-soft: #FEF2F2;
        --wz-hero-dark: #0F172A;
        --wz-radius: 14px;
        --wz-radius-sm: 10px;
        --wz-radius-xs: 7px;
        --wz-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
        --wz-mono: 'JetBrains Mono', monospace;
    }

    body {
        font-family: var(--wz-font);
        background: var(--wz-bg);
        color: var(--wz-ink);
        -webkit-font-smoothing: antialiased;
    }

    /* ========== PAGE LAYOUT ========== */
    .wz-detail-page {
        padding-top: 90px;
        padding-bottom: 80px;
    }

    /* ========== BREADCRUMB ========== */
    .wz-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 500;
        color: var(--wz-ink-muted);
        margin-bottom: 24px;
        flex-wrap: wrap;
        animation: wz-fadeIn .4s ease both;
    }

    .wz-breadcrumb a {
        color: var(--wz-ink-muted);
        text-decoration: none;
        transition: color .2s;
    }

    .wz-breadcrumb a:hover { color: var(--wz-accent); }

    .wz-breadcrumb .sep {
        font-size: 9px;
        opacity: .4;
    }

    .wz-breadcrumb .current {
        color: var(--wz-ink-soft);
        font-weight: 700;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 300px;
    }

    /* ========== JOB HERO HEADER ========== */
    .wz-job-hero {
        background: var(--wz-card);
        border: 1.5px solid var(--wz-border);
        border-radius: var(--wz-radius);
        padding: 36px 40px 32px;
        margin-bottom: 24px;
        position: relative;
        overflow: hidden;
        animation: wz-slideUp .5s ease both;
    }

    .wz-job-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--wz-accent), #60A5FA, var(--wz-accent));
    }

    .wz-hero-top {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;
    }

    .wz-hero-logo {
        width: 64px;
        height: 64px;
        border-radius: var(--wz-radius-sm);
        border: 1.5px solid var(--wz-border);
        padding: 7px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .wz-hero-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .wz-hero-text { flex: 1; min-width: 0; }

    .wz-hero-title {
        font-size: clamp(22px, 3vw, 28px);
        font-weight: 800;
        color: var(--wz-ink);
        margin: 0 0 8px;
        letter-spacing: -0.03em;
        line-height: 1.25;
        word-break: break-word;
    }

    .wz-hero-org {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .wz-hero-org a {
        color: var(--wz-ink-soft);
        text-decoration: none;
        transition: color .2s;
    }

    .wz-hero-org a:hover { color: var(--wz-accent); }

    .wz-hero-views {
        font-size: 12px;
        color: var(--wz-ink-muted);
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .wz-hero-views i { font-size: 11px; }

    /* top-right actions */
    .wz-hero-actions {
        position: absolute;
        top: 20px;
        right: 24px;
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 5;
    }

    .wz-hero-time {
        font-family: var(--wz-mono);
        font-size: 11px;
        font-weight: 700;
        color: var(--wz-ink-muted);
        background: var(--wz-bg);
        border: 1.5px solid var(--wz-border);
        padding: 5px 12px;
        border-radius: 100px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .wz-hero-time i { font-size: 10px; }

    .wz-save-detail {
        width: 38px;
        height: 38px;
        border-radius: var(--wz-radius-xs);
        background: var(--wz-bg);
        border: 1.5px solid var(--wz-border);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--wz-ink-muted);
        font-size: 15px;
        cursor: pointer;
        transition: all .25s;
    }

    .wz-save-detail:hover {
        background: var(--wz-accent);
        border-color: var(--wz-accent);
        color: #fff;
        transform: scale(1.1);
    }

    .wz-save-detail.saved {
        background: var(--wz-accent);
        border-color: var(--wz-accent);
        color: #fff;
    }

    /* expired banner */
    .wz-expired-banner {
        background: var(--wz-red-soft);
        border: 1.5px solid #FECACA;
        border-radius: 8px;
        padding: 10px 16px;
        font-size: 13px;
        font-weight: 700;
        color: var(--wz-red);
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 16px;
    }

    /* meta pills row */
    .wz-hero-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .wz-pill {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 600;
        padding: 7px 14px;
        border-radius: 100px;
        background: var(--wz-bg);
        color: var(--wz-ink-soft);
        border: 1px solid var(--wz-border);
        white-space: nowrap;
    }

    .wz-pill i {
        font-size: 11px;
        color: var(--wz-ink-muted);
    }

    .wz-pill--accent {
        background: var(--wz-accent-soft);
        color: var(--wz-accent);
        border-color: var(--wz-accent-mid);
        font-weight: 700;
    }

    /* ========== DETAILS GRID (replaces tables) ========== */
    .wz-details-grid {
        background: var(--wz-card);
        border: 1.5px solid var(--wz-border);
        border-radius: var(--wz-radius);
        padding: 28px 32px;
        margin-bottom: 20px;
        animation: wz-slideUp .5s ease .08s both;
    }

    .wz-details-grid-title {
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: var(--wz-ink-muted);
        margin: 0 0 20px;
        padding-bottom: 14px;
        border-bottom: 1.5px solid var(--wz-border);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .wz-details-grid-title i {
        font-size: 14px;
        color: var(--wz-accent);
    }

    .wz-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 0;
    }

    .wz-grid-item {
        padding: 14px 8px;
        border-bottom: 1px solid var(--wz-border);
    }

    .wz-grid-item:last-child,
    .wz-grid-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .wz-grid-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: var(--wz-ink-muted);
        margin-bottom: 4px;
    }

    .wz-grid-value {
        font-size: 14px;
        font-weight: 600;
        color: var(--wz-ink);
        word-break: break-word;
    }

    .wz-grid-value--accent {
        color: var(--wz-accent);
        font-weight: 700;
    }

    .wz-grid-value--empty {
        color: var(--wz-ink-muted);
        font-style: italic;
        font-weight: 500;
    }

    /* ========== CONTENT SECTIONS ========== */
    .wz-content-card {
        background: var(--wz-card);
        border: 1.5px solid var(--wz-border);
        border-radius: var(--wz-radius);
        padding: 32px 36px;
        margin-bottom: 20px;
        animation: wz-slideUp .5s ease .14s both;
    }

    .wz-content-section {
        margin-bottom: 36px;
    }

    .wz-content-section:last-child {
        margin-bottom: 0;
    }

    .wz-section-heading {
        font-size: 18px;
        font-weight: 800;
        color: var(--wz-ink);
        margin: 0 0 16px;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--wz-accent);
        display: inline-block;
        letter-spacing: -0.02em;
    }

    .wz-section-body {
        font-size: 14px;
        line-height: 1.75;
        color: var(--wz-ink-soft);
        word-break: break-word;
    }

    .wz-section-body p {
        margin: 0 0 12px;
    }

    .wz-section-body ul,
    .wz-section-body ol {
        padding-left: 20px;
        margin: 0 0 12px;
    }

    .wz-section-body li {
        margin-bottom: 6px;
    }

    .wz-section-body a {
        color: var(--wz-accent);
        font-weight: 600;
        text-decoration: none;
    }

    .wz-section-body a:hover {
        text-decoration: underline;
    }

    .wz-section-body h2,
    .wz-section-body h3,
    .wz-section-body h4,
    .wz-section-body h5,
    .wz-section-body h6 {
        font-size: 15px !important;
        font-weight: 700;
        color: var(--wz-ink);
        margin: 16px 0 8px;
    }

    /* ========== APPLY CTA ========== */
    .wz-apply-section {
        background: var(--wz-hero-dark);
        border-radius: var(--wz-radius);
        padding: 28px 32px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
        position: relative;
        overflow: hidden;
        animation: wz-slideUp .5s ease .18s both;
    }

    .wz-apply-section::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -15%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(0,136,255,0.15) 0%, transparent 65%);
        pointer-events: none;
    }

    .wz-apply-left {
        position: relative;
        z-index: 2;
    }

    .wz-apply-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: rgba(255,255,255,.45);
        margin-bottom: 4px;
    }

    .wz-apply-email {
        font-size: 15px;
        font-weight: 600;
        color: rgba(255,255,255,.85);
        word-break: break-all;
    }

    .wz-apply-email a {
        color: rgba(255,255,255,.85);
        text-decoration: none;
    }

    .wz-apply-btn {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 40px;
        background: var(--wz-accent);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        border: none;
        border-radius: 100px;
        cursor: pointer;
        text-decoration: none;
        transition: all .25s;
        letter-spacing: -0.01em;
        font-family: var(--wz-font);
        white-space: nowrap;
    }

    .wz-apply-btn:hover {
        background: var(--wz-accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,136,255,0.3);
        color: #fff;
        text-decoration: none;
    }

    .wz-apply-btn i { font-size: 14px; }

    .wz-apply-expired {
        background: var(--wz-red-soft);
        border: 1.5px solid #FECACA;
        border-radius: var(--wz-radius);
        padding: 20px 28px;
        margin-bottom: 20px;
        text-align: center;
    }

    .wz-apply-expired p {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
        color: var(--wz-red);
    }

    /* ========== ATTACHMENTS ========== */
    .wz-attachments {
        margin-top: 32px;
        padding-top: 28px;
        border-top: 1.5px solid var(--wz-border);
    }

    .wz-attach-title {
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .6px;
        color: var(--wz-ink-muted);
        margin-bottom: 14px;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .wz-attach-title i {
        color: var(--wz-accent);
        font-size: 14px;
    }

    .wz-attach-item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 18px;
        background: var(--wz-bg);
        border: 1.5px solid var(--wz-border);
        border-radius: var(--wz-radius-sm);
        margin-bottom: 8px;
        text-decoration: none;
        transition: all .25s;
    }

    .wz-attach-item:last-child { margin-bottom: 0; }

    .wz-attach-item:hover {
        border-color: var(--wz-accent);
        background: var(--wz-accent-soft);
    }

    .wz-attach-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background: var(--wz-accent-soft);
        border: 1px solid var(--wz-accent-mid);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--wz-accent);
        font-size: 18px;
        flex-shrink: 0;
    }

    .wz-attach-name {
        font-size: 13px;
        font-weight: 600;
        color: var(--wz-ink);
        word-break: break-word;
    }

    .wz-attach-dl {
        margin-left: auto;
        font-size: 12px;
        font-weight: 700;
        color: var(--wz-accent);
        flex-shrink: 0;
    }

    /* ========== SIDEBAR ========== */
    .wz-sidebar {
        position: sticky;
        top: 90px;
    }

    .wz-sidebar-ad {
        background: var(--wz-card);
        border: 1.5px solid var(--wz-border);
        border-radius: var(--wz-radius);
        padding: 16px;
        margin-bottom: 16px;
    }

    .wz-sidebar-ad-label {
        font-family: var(--wz-mono);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: var(--wz-ink-muted);
        margin-bottom: 10px;
    }

    .wz-sidebar-ad img {
        width: 100%;
        border-radius: 8px;
        display: block;
    }

    .wz-sidebar-ad-link {
        display: block;
        margin-top: 10px;
        font-size: 13px;
        font-weight: 600;
        color: var(--wz-accent);
        text-decoration: none;
        text-align: center;
    }

    .wz-sidebar-ad-link:hover { text-decoration: underline; }

    /* ========== SIMILAR JOBS ========== */
    .wz-similar {
        margin-top: 8px;
        animation: wz-slideUp .5s ease .22s both;
    }

    .wz-similar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    .wz-similar-title {
        font-size: 20px;
        font-weight: 800;
        color: var(--wz-ink);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        letter-spacing: -0.02em;
    }

    .wz-similar-icon {
        width: 34px;
        height: 34px;
        border-radius: var(--wz-radius-xs);
        background: var(--wz-accent);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    /* similar job cards — compact */
    .wz-sim-job {
        background: var(--wz-card);
        border: 1.5px solid var(--wz-border);
        border-radius: var(--wz-radius);
        padding: 20px 22px;
        margin-bottom: 12px;
        transition: border-color .3s, box-shadow .3s, transform .3s;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .wz-sim-job:hover {
        border-color: var(--wz-accent);
        box-shadow: 0 6px 24px rgba(0,136,255,0.08);
        transform: translateY(-2px);
    }

    .wz-sim-strip {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--wz-accent);
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform .3s cubic-bezier(.4,0,.2,1);
    }

    .wz-sim-job:hover .wz-sim-strip {
        transform: scaleY(1);
    }

    .wz-sim-logo {
        width: 44px;
        height: 44px;
        border-radius: 8px;
        border: 1.5px solid var(--wz-border);
        padding: 4px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .wz-sim-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .wz-sim-content { flex: 1; min-width: 0; }

    .wz-sim-time {
        font-size: 11px;
        color: var(--wz-ink-muted);
        font-weight: 500;
        margin-bottom: 4px;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .wz-sim-time i { font-size: 10px; }

    .wz-sim-name {
        font-size: 15px;
        font-weight: 700;
        color: var(--wz-ink);
        text-decoration: none;
        display: block;
        margin-bottom: 6px;
        line-height: 1.3;
        transition: color .2s;
    }

    .wz-sim-name:hover { color: var(--wz-accent); }

    .wz-sim-meta {
        display: flex;
        align-items: center;
        gap: 4px 14px;
        flex-wrap: wrap;
        font-size: 12px;
        color: var(--wz-ink-muted);
        font-weight: 500;
    }

    .wz-sim-meta a {
        color: var(--wz-ink-soft);
        text-decoration: none;
        font-weight: 600;
    }

    .wz-sim-meta a:hover { color: var(--wz-accent); }

    .wz-sim-meta i { font-size: 11px; }

    .wz-sim-deadline {
        color: var(--wz-accent) !important;
        font-weight: 700 !important;
    }

    .wz-sim-tags {
        display: flex;
        gap: 6px;
        margin-top: 8px;
        flex-wrap: wrap;
    }

    .wz-sim-tag {
        font-size: 10px;
        font-weight: 600;
        padding: 3px 9px;
        border-radius: 5px;
        background: var(--wz-bg);
        color: var(--wz-ink-soft);
        border: 1px solid var(--wz-border);
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }

    .wz-sim-badge-new {
        font-family: var(--wz-mono);
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        padding: 2px 7px;
        border-radius: 4px;
        background: var(--wz-green-soft);
        color: var(--wz-green);
        border: 1px solid #BBF7D0;
        margin-left: 6px;
    }

    /* empty similar */
    .wz-sim-empty {
        text-align: center;
        padding: 48px 20px;
        background: var(--wz-card);
        border: 1.5px solid var(--wz-border);
        border-radius: var(--wz-radius);
    }

    .wz-sim-empty-icon {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: var(--wz-bg);
        border: 2px dashed var(--wz-border);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: var(--wz-ink-muted);
        margin-bottom: 16px;
    }

    .wz-sim-empty h4 {
        font-size: 16px;
        font-weight: 700;
        color: var(--wz-ink);
        margin: 0 0 6px;
    }

    .wz-sim-empty p {
        color: var(--wz-ink-muted);
        font-size: 13px;
        margin: 0 0 18px;
    }

    .wz-browse-all-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 28px;
        background: var(--wz-accent);
        color: #fff;
        border-radius: 100px;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        border: none;
        transition: all .25s;
    }

    .wz-browse-all-btn:hover {
        background: var(--wz-accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0,136,255,0.2);
        color: #fff;
        text-decoration: none;
    }

    /* ========== ANIMATIONS ========== */
    @keyframes wz-fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes wz-slideUp {
        from { opacity: 0; transform: translateY(16px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .wz-sim-job {
        animation: wz-slideUp .4s ease both;
    }
    .wz-sim-job:nth-child(1) { animation-delay: .05s; }
    .wz-sim-job:nth-child(2) { animation-delay: .1s; }
    .wz-sim-job:nth-child(3) { animation-delay: .15s; }
    .wz-sim-job:nth-child(4) { animation-delay: .2s; }
    .wz-sim-job:nth-child(5) { animation-delay: .25s; }
    .wz-sim-job:nth-child(6) { animation-delay: .3s; }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 991px) {
        .wz-detail-page { padding-top: 80px; }
        .wz-sidebar { position: static; }
    }

    @media (max-width: 767px) {
        .wz-detail-page { padding-top: 70px; padding-bottom: 40px; }
        .wz-job-hero { padding: 28px 20px 24px; }
        .wz-hero-top { flex-direction: column; gap: 14px; }
        .wz-hero-logo { width: 52px; height: 52px; }
        .wz-hero-actions { position: static; margin-bottom: 14px; display: flex; }
        .wz-hero-pills { gap: 6px; }
        .wz-pill { font-size: 11px; padding: 5px 10px; }
        .wz-details-grid { padding: 20px; }
        .wz-grid { grid-template-columns: 1fr 1fr; }
        .wz-content-card { padding: 24px 20px; }
        .wz-apply-section { flex-direction: column; padding: 24px 20px; text-align: center; }
        .wz-apply-btn { width: 100%; justify-content: center; }
        .wz-sim-job { flex-direction: column; gap: 10px; padding: 16px; }
        .wz-sim-logo { width: 38px; height: 38px; }
        .wz-breadcrumb .current { max-width: 160px; }
    }

    @media (max-width: 400px) {
        .wz-grid { grid-template-columns: 1fr; }
    }


    /* Add this to your style block to force correct positioning */
.wz-save-detail.wz-save {
    position: static !important; /* 1. Force it back into the flow */
    margin: 0 !important;        /* 2. Remove any default margins */
    transform: none;             /* 3. Reset transforms that might move it */
    display: inline-flex !important; 
    align-items: center;
    justify-content: center;
    
    /* Ensure your design styles stick */
    width: 38px;
    height: 38px;
    border-radius: var(--wz-radius-xs);
    background: var(--wz-bg);
    border: 1.5px solid var(--wz-border);
    color: var(--wz-ink-muted);
    font-size: 15px;
    cursor: pointer;
    transition: all .25s;
    padding: 0 !important;
    line-height: 0;
}

/* Ensure hover works */
.wz-save-detail.wz-save:hover {
    background: var(--wz-accent);
    border-color: var(--wz-accent);
    color: #fff;
    transform: scale(1.1);
}

/* Ensure saved state works */
.wz-save-detail.wz-save.saved {
    background: var(--wz-accent);
    border-color: var(--wz-accent);
    color: #fff;
}


.wz-section-body,
.wz-section-body *,
.wz-section-body p,
.wz-section-body li,
.wz-section-body span,
.wz-section-body div,
.wz-section-body h1,
.wz-section-body h2,
.wz-section-body h3,
.wz-section-body h4,
.wz-section-body h5,
.wz-section-body h6,
.wz-section-body a,
.wz-section-body strong,
.wz-section-body em,
.wz-section-body b,
.wz-section-body i,
.wz-section-body td,
.wz-section-body th,
.wz-section-body blockquote,
.wz-section-body pre,
.wz-section-body code,
.wz-section-body label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}