/* =========================================================
   public/css/job-details.css
   Job Details Page — /jobs/{slug}
   Version: 1.3
   Depends on variables from: layout.css (:root)
   ========================================================= */

/* ═══════════════════════════════════════════════════════
   WRAPPER
   ═══════════════════════════════════════════════════════ */
.jd-wrapper{
    background:#f5f7fa;
    min-height:100vh;
    padding:24px 0 60px;
}

.jd-container{
    max-width:1160px;
    margin:0 auto;
    padding:0 16px;
}

/* ═══════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════ */
.jd-breadcrumb{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:6px;
    font-size:12.5px;
    color:#94a3b8;
    margin-bottom:16px;
}
.jd-breadcrumb a{
    color:#1B6079;
    text-decoration:none;
    font-weight:500;
}
.jd-breadcrumb a:hover{text-decoration:underline}
.jd-breadcrumb .jd-bc-company{color:#64748b}
.jd-breadcrumb .jd-bc-current{
    color:#0f172a;
    font-weight:600;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:340px;
}

/* ═══════════════════════════════════════════════════════
   HEADER CARD
   ═══════════════════════════════════════════════════════ */
.jd-header{
    background:#fff;
    border-radius:14px;
    padding:24px;
    margin-bottom:20px;
    box-shadow:0 2px 12px rgba(0,0,0,.04);
    border:1px solid #e2e8f0;
    position:relative;
    overflow:hidden;
}

.jd-header::before{
    content:'';
    position:absolute;
    top:0;left:0;right:0;
    height:4px;
    background:linear-gradient(90deg,#1B6079,#8CC426);
}

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

/* ═══════════════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════════════ */
.jd-logo {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -1px;

    /* Default: teal gradient (used when only initials are shown) */
    background: linear-gradient(135deg, #1B6079, #2b7b98);
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(27, 96, 121, 0.35);
}

.jd-logo img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
}

/* ═══════════════════════════════════════════════════════
   TITLE BLOCK
   ═══════════════════════════════════════════════════════ */
.jd-title-block{flex:1;min-width:0}

.jd-company{
    font-size:14px;
    color:#64748b;
    margin-bottom:4px;
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

.jd-company a{
    color:#1B6079;
    text-decoration:none;
    font-weight:600;
}
.jd-company a:hover{text-decoration:underline}

.jd-via-agency{
    font-size:12px;
    color:#94a3b8;
}
.jd-via-agency a{
    color:#64748b;
    text-decoration:none;
}
.jd-via-agency a:hover{text-decoration:underline}

.jd-title{
    font-size:24px;
    font-weight:800;
    color:#0f172a;
    margin:0 0 10px;
    line-height:1.3;
}

/* ═══════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════ */
.jd-badges{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.jd-badge{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:4px 12px;
    border-radius:12px;
    font-size:11px;
    font-weight:600;
    text-transform:capitalize;
}

.jd-badge-blue{background:#eff6ff;color:#2563eb}
.jd-badge-green{background:#f0fdf4;color:#16a34a}
.jd-badge-red{background:#fef2f2;color:#dc2626}
.jd-badge-amber{background:#fffbeb;color:#d97706}
.jd-badge-purple{background:#faf5ff;color:#9333ea}
.jd-badge-gray{background:#f1f5f9;color:#475569}

.jd-posted{
    font-size:11.5px;
    color:#94a3b8;
    margin-top:8px;
}

/* ═══════════════════════════════════════════════════════
   APPLY BAR
   ═══════════════════════════════════════════════════════ */
.jd-apply-bar{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    align-items:center;
    justify-content:space-between;
    padding:18px 0 0;
    border-top:1px solid #f1f5f9;
    margin-top:18px;
}

.jd-deadline{
    font-size:13px;
    color:#64748b;
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.jd-deadline i{color:#94a3b8}
.jd-deadline strong{color:#dc2626;font-weight:700}

.jd-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS — BASE
   ═══════════════════════════════════════════════════════ */
.jd-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 22px;
    height:48px;
    border-radius:24px;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    border:none;
    font-family:inherit;
    text-decoration:none;
    transition:all .25s ease;
    white-space:nowrap;
    box-sizing:border-box;
}

/* Primary — Apply */
.jd-btn-primary{
    background:linear-gradient(135deg,#1B6079 0%,#0f3d4d 100%);
    color:#fff;
    box-shadow:0 4px 14px rgba(27,96,121,.25);
    position:relative;
    overflow:hidden;
}
.jd-btn-primary::before{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);
    transition:left .5s ease;
}
.jd-btn-primary:hover::before{left:100%}
.jd-btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(27,96,121,.4);
    color:#fff;
}
.jd-btn-primary:active{transform:translateY(0)}

/* Outline — Save */
.jd-btn-outline{
    background:#fff;
    color:#1B6079;
    border:2px solid #e2e8f0;
}
.jd-btn-outline:hover{
    border-color:#1B6079;
    background:#f0f9ff;
    transform:translateY(-2px);
    box-shadow:0 4px 14px rgba(27,96,121,.15);
}
.jd-btn-outline:active{transform:translateY(0)}

/* Success — Already Applied */
.jd-btn-success{
    background:linear-gradient(135deg,#16a34a 0%,#15803d 100%);
    color:#fff;
    box-shadow:0 4px 14px rgba(22,163,74,.25);
    cursor:default;
}

/* Size variant */
.jd-btn-sm{
    height:40px;
    padding:0 16px;
    font-size:13px;
    border-radius:20px;
}

/* Group — Apply + Save side by side */
.jd-action-group{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:4px;
    background:#f8fafc;
    border-radius:30px;
    border:1px solid #e2e8f0;
}
.jd-action-group .jd-btn{flex-shrink:0}

/* Icon badge inside a button */
.jd-btn-icon-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px;
    border-radius:50%;
    font-size:11px;
    flex-shrink:0;
}
.jd-btn-primary .jd-btn-icon-badge{background:rgba(255,255,255,.2);color:#fff}
.jd-btn-outline .jd-btn-icon-badge{background:#eff6ff;color:#1B6079}
.jd-btn-outline:hover .jd-btn-icon-badge{background:#1B6079;color:#fff;transition:all .25s ease}
.jd-btn-success .jd-btn-icon-badge{background:rgba(255,255,255,.2);color:#fff}

/* ═══════════════════════════════════════════════════════
   MAIN LAYOUT GRID
   ═══════════════════════════════════════════════════════ */
.jd-layout{
    display:grid;
    grid-template-columns:1fr 340px;
    gap:20px;
    align-items:start;
}

/* ═══════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════ */
.jd-card{
    background:#fff;
    border-radius:14px;
    border:1px solid #e2e8f0;
    margin-bottom:20px;
    overflow:hidden;
    box-shadow:0 2px 12px rgba(0,0,0,.04);
}

.jd-card-head{
    padding:16px 20px;
    border-bottom:1px solid #f1f5f9;
    display:flex;
    align-items:center;
    gap:10px;
}
.jd-card-head i{
    width:32px;
    height:32px;
    border-radius:8px;
    background:#eff6ff;
    color:#1B6079;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    flex-shrink:0;
}
.jd-card-head h3{
    font-size:15px;
    font-weight:700;
    color:#0f172a;
    margin:0;
    flex:1;
    min-width:0;
}

.jd-card-body{padding:20px}

/* View-all inline link in card head */
.jd-view-all-inline{
    font-size:12.5px;
    color:#1B6079;
    text-decoration:none;
    font-weight:600;
    white-space:nowrap;
    flex-shrink:0;
}
.jd-view-all-inline:hover{text-decoration:underline}

/* ═══════════════════════════════════════════════════════
   KEY-VALUE FACTS (Job Overview)
   ═══════════════════════════════════════════════════════ */
.jd-facts{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
}

.jd-fact{
    display:flex;
    padding:12px 0;
    border-bottom:1px solid #f8fafc;
    font-size:13.5px;
}

/* Remove the border on the last visual row — using nth-last-child
   covers both odd and even item counts in a 2-column grid. */
.jd-fact:nth-last-child(-n+2){border-bottom:none}

.jd-fact-label{
    color:#94a3b8;
    font-weight:600;
    min-width:130px;
    flex-shrink:0;
    font-size:12.5px;
    text-transform:uppercase;
    letter-spacing:.3px;
}

.jd-fact-value{
    color:#0f172a;
    font-weight:500;
    flex:1;
    word-break:break-word;
}

/* ═══════════════════════════════════════════════════════
   RICH TEXT CONTENT
   ═══════════════════════════════════════════════════════ */
.jd-content{
    color:#334155;
    font-size:14px;
    line-height:1.8;
    word-break:break-word;
}
.jd-content p{margin:0 0 14px}
.jd-content p:last-child{margin-bottom:0}
.jd-content strong{color:#0f172a;font-weight:700}
.jd-content ul,
.jd-content ol{padding-left:20px;margin:8px 0 14px}
.jd-content li{margin-bottom:6px}
.jd-content br{line-height:1.8}

/* ═══════════════════════════════════════════════════════
   SKILL CHIPS
   ═══════════════════════════════════════════════════════ */
.jd-skills{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:4px;
}

.jd-skill-chip{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:6px 14px;
    background:#eff6ff;
    color:#2563eb;
    border-radius:20px;
    font-size:12.5px;
    font-weight:600;
    border:1px solid #dbeafe;
}

/* ═══════════════════════════════════════════════════════
   MORE JOBS FROM COMPANY — list item
   ═══════════════════════════════════════════════════════ */
.jd-card-body .jd-more-job-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 20px;
    border-bottom:1px solid #eef2f7;
    text-decoration:none;
    color:inherit;
    transition:background .15s ease;
}
.jd-card-body .jd-more-job-item:last-child{
    border-bottom:none;
}
.jd-card-body .jd-more-job-item:hover{
    background:#f8fafc;
}

.jd-more-job-info{
    flex:1 1 auto;
    min-width:0;
}

.jd-more-job-title{
    font-weight:600;
    font-size:14.5px;
    color:#0f172a;
    margin-bottom:4px;
    line-height:1.35;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.jd-more-job-meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    font-size:12.5px;
    color:#64748b;
    line-height:1.4;
}
.jd-more-job-meta span{
    display:inline-flex;
    align-items:center;
    gap:5px;
}
.jd-more-job-meta span i{
    color:#94a3b8;
    font-size:12px;
}

.jd-more-job-arrow{
    flex:0 0 auto;
    color:#94a3b8;
    font-size:14px;
    transition:transform .2s ease, color .2s ease;
}
.jd-more-job-item:hover .jd-more-job-arrow{
    color:#1B6079;
    transform:translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   APPLY INSTRUCTION CARD  ("How to Apply")
   ═══════════════════════════════════════════════════════ */
.jd-apply-instruction-card .jd-ai-head{
    background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);
    border-bottom:1px solid #bae6fd;
}
.jd-apply-instruction-card .jd-ai-head i,
.jd-apply-instruction-card .jd-ai-head h3{
    color:#075985;
}
.jd-apply-instruction-card .jd-ai-head i{
    background:rgba(255,255,255,.7);
}

.jd-apply-instruction{
    display:flex;
    gap:14px;
    align-items:flex-start;
    background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%);
    border:1px solid #bae6fd;
    border-left:5px solid #0284c7;
    border-radius:10px;
    padding:16px 18px;
    box-shadow:0 2px 8px rgba(2,132,199,.06);
    animation:jdAiFadeIn .35s ease-out;
}

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

.jd-ai-icon-wrap{
    flex:0 0 auto;
    padding-top:2px;
}

.jd-ai-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    background:#0284c7;
    color:#fff;
    font-size:16px;
    box-shadow:0 3px 8px rgba(2,132,199,.35);
}

.jd-ai-text{
    flex:1;
    font-size:14px;
    line-height:1.75;
    color:#1e293b;
    word-break:break-word;
    white-space:normal;
}
.jd-ai-text a{
    color:#0284c7;
    font-weight:600;
    text-decoration:underline;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR — Quick Apply Card
   ═══════════════════════════════════════════════════════ */
.jd-apply-card{
    background:#fff;
    border-radius:14px;
    border:1px solid #e2e8f0;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 2px 12px rgba(0,0,0,.04);
    position:sticky;
    top:90px;
}
.jd-apply-card h3{
    font-size:15px;
    font-weight:700;
    color:#0f172a;
    margin:0 0 12px;
    display:flex;
    align-items:center;
    gap:8px;
}
.jd-apply-card .jd-btn{width:100%}

/* ═══════════════════════════════════════════════════════
   SIDEBAR — Company Mini Card
   ═══════════════════════════════════════════════════════ */
.jd-company-mini{
    display:flex;
    align-items:center;
    gap:14px;
    padding:16px 0;
    border-bottom:1px solid #f1f5f9;
    margin-bottom:12px;
}
.jd-company-mini:last-child{
    border-bottom:none;
    margin-bottom:0;
    padding-bottom:0;
}

.jd-company-mini-logo {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #1B6079, #2b7b98);
    color: #fff;
}
.jd-company-mini-logo img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    display:block;
}

.jd-company-mini-info{flex:1;min-width:0}
.jd-company-mini-info h4{
    font-size:14px;
    font-weight:700;
    color:#0f172a;
    margin:0 0 3px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.jd-company-mini-info h4 a{
    color:inherit;
    text-decoration:none;
}
.jd-company-mini-info h4 a:hover{color:#1B6079}
.jd-company-mini-info p{
    font-size:12px;
    color:#64748b;
    margin:0;
}

/* ═══════════════════════════════════════════════════════
   SIDEBAR — Summary Rows
   ═══════════════════════════════════════════════════════ */
.jd-summary-row{
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    font-size:13px;
    border-bottom:1px solid #f8fafc;
}
.jd-summary-row:last-child{border-bottom:none}
.jd-summary-row span{color:#94a3b8}
.jd-summary-row strong{color:#0f172a;font-weight:600}
.jd-summary-row strong.text-danger{color:#dc2626}

/* ═══════════════════════════════════════════════════════
   SIDEBAR — Mini Stats
   ═══════════════════════════════════════════════════════ */
.jd-side-stats{
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid #f1f5f9;
    font-size:12.5px;
    color:#64748b;
}
.jd-side-stats > div{
    display:flex;
    justify-content:space-between;
    margin-bottom:6px;
}
.jd-side-stats > div:last-child{margin-bottom:0}
.jd-side-stats strong{color:#0f172a}

/* ═══════════════════════════════════════════════════════
   SIDEBAR — Employer Detail
   ═══════════════════════════════════════════════════════ */
.jd-employer-detail{
    font-size:12.5px;
    color:#64748b;
    margin-bottom:10px;
}
.jd-employer-detail:last-of-type{margin-bottom:14px}
.jd-employer-detail i{color:#94a3b8;margin-right:4px}
.jd-employer-detail a{color:#1B6079;text-decoration:none}
.jd-employer-detail a:hover{text-decoration:underline}

/* ═══════════════════════════════════════════════════════
   APPLY FORM
   ═══════════════════════════════════════════════════════ */
.jd-apply-form label{
    display:block;
    font-size:13px;
    font-weight:600;
    color:#334155;
    margin-bottom:6px;
}

.jd-apply-form textarea,
.jd-apply-form input[type="file"]{
    width:100%;
    padding:12px 14px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    font-family:inherit;
    font-size:13.5px;
    resize:vertical;
    box-sizing:border-box;
}
.jd-apply-form textarea:focus,
.jd-apply-form input[type="file"]:focus{
    outline:none;
    border-color:#1B6079;
    box-shadow:0 0 0 3px rgba(27,96,121,.1);
}
.jd-apply-form input[type="file"]{padding:8px 14px}

.jd-apply-form .form-hint{
    margin:6px 0 0;
    font-size:11.5px;
    color:#94a3b8;
}

.jd-apply-form .form-group{margin-bottom:16px}
.jd-apply-form .form-group:last-of-type{margin-bottom:18px}

/* ═══════════════════════════════════════════════════════
   ALREADY APPLIED
   ═══════════════════════════════════════════════════════ */
.jd-already-applied{
    padding:14px 16px;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
    border-radius:10px;
    color:#166534;
}
.jd-already-applied a{color:#166534;text-decoration:underline}

/* ═══════════════════════════════════════════════════════
   LOGIN PROMPT
   ═══════════════════════════════════════════════════════ */
.jd-login-prompt{
    text-align:center;
    padding:20px 0;
}
.jd-login-prompt i{
    font-size:36px;
    color:#cbd5e1;
    margin-bottom:12px;
    display:block;
}
.jd-login-prompt p{
    color:#64748b;
    margin:0 0 16px;
}
.jd-login-prompt .jd-btn{
    max-width:240px;
    margin:0 auto;
}

/* ═══════════════════════════════════════════════════════
   STICKY BOTTOM ACTION BAR
   ═══════════════════════════════════════════════════════ */
.jd-sticky-bar{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:100;
    background:#fff;
    border-top:1px solid #e2e8f0;
    box-shadow:0 -4px 20px rgba(0,0,0,.08);
    padding:12px 16px;
    transform:translateY(100%);
    transition:transform .3s ease;
    display:none;
}
.jd-sticky-bar.show{transform:translateY(0)}

.jd-sticky-bar-inner{
    max-width:1160px;
    margin:0 auto;
    display:flex;
    align-items:center;
    gap:12px;
}

.jd-sticky-info{flex:1;min-width:0}

.jd-sticky-title{
    font-size:13.5px;
    font-weight:700;
    color:#0f172a;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin-bottom:2px;
}
.jd-sticky-sub{
    font-size:11.5px;
    color:#64748b;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.jd-sticky-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
}
.jd-sticky-actions .jd-btn{
    height:42px;
    padding:0 16px;
    font-size:13px;
    border-radius:21px;
}
.jd-sticky-actions .jd-btn-icon-badge{
    width:22px;
    height:22px;
    font-size:10px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 992px
   ═══════════════════════════════════════════════════════ */
@media (max-width:992px){
    .jd-layout{grid-template-columns:1fr}
    .jd-apply-card{position:static}

    .jd-sticky-bar{display:block}
    .jd-wrapper{padding-bottom:90px}
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 640px
   ═══════════════════════════════════════════════════════ */
@media (max-width:640px){
    .jd-wrapper{padding:16px 0 40px}
    .jd-container{padding:0 12px}
    .jd-header{padding:20px 16px}

    .jd-header-top{
        flex-direction:column;
        gap:14px;
    }

    .jd-logo{width:64px;height:64px;font-size:20px;padding:6px}
    .jd-title{font-size:20px}

    .jd-facts{grid-template-columns:1fr}
    .jd-fact{padding:10px 0}
    .jd-fact:nth-last-child(-n+2){border-bottom:1px solid #f8fafc}
    .jd-fact:last-child{border-bottom:none}
    .jd-fact-label{min-width:110px;font-size:11.5px}

    .jd-card-body{padding:16px}

    .jd-apply-bar{
        flex-direction:column;
        align-items:stretch;
        gap:14px;
    }
    .jd-actions{width:100%}
    .jd-action-group{width:100%}
    .jd-action-group .jd-btn{flex:1}

    .jd-btn{padding:0 16px;height:44px;font-size:13.5px}
    .jd-btn-icon-badge{width:22px;height:22px;font-size:10px}

    .jd-content{font-size:13.5px}

    /* More jobs */
    .jd-card-body .jd-more-job-item{
        padding:12px 16px;
        gap:10px;
    }
    .jd-more-job-title{font-size:14px}
    .jd-more-job-meta{gap:10px;font-size:12px}

    /* Apply instruction */
    .jd-apply-instruction{
        flex-direction:column;
        gap:10px;
        padding:14px;
    }
    .jd-ai-badge{
        width:32px;
        height:32px;
        font-size:14px;
    }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ═══════════════════════════════════════════════════════ */
@media (max-width:480px){
    .jd-header{padding:16px 12px}
    .jd-logo{width:56px;height:56px;font-size:18px}
    .jd-title{font-size:18px}

    .jd-card-head{padding:14px 16px}
    .jd-card-head h3{font-size:14px}
    .jd-card-body{padding:14px}

    .jd-skill-chip{padding:5px 12px;font-size:12px}

    .jd-btn{padding:0 14px;height:42px;font-size:13px;gap:8px}
    .jd-btn-icon-badge{width:20px;height:20px;font-size:9.5px}

    .jd-sticky-bar{padding:10px 12px}
    .jd-sticky-info{display:none}
    .jd-sticky-actions{width:100%}
    .jd-sticky-actions .jd-btn{flex:1;justify-content:center}
}

/* ═══════════════════════════════════════════════════════════════
   COMPANY LOGO — white background + full image when present
   ═══════════════════════════════════════════════════════════════ */

/* Main header logo (top of job page) */
.jd-logo:has(img) {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.08);
}

.jd-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
    background: #ffffff;
}

/* Sidebar mini logo (About the Client card) */
.jd-company-mini-logo:has(img) {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.jd-company-mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    display: block;
    background: #ffffff;
}