/* =====================================================
   Job Card Global Styles
   اعمال روی: .post-bx در همه صفحات
   ===================================================== */


/* ── Wrapper card ── */
.post-bx {
    background: #fff;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    transition: box-shadow 0.2s, border-color 0.2s;
    position: relative;
}
.post-bx:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.07) !important;
    border-color: #c9d6e3 !important;
}

/* ── Company logo ── */
.job-post-company span {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    flex-shrink: 0;
}
.job-post-company span img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* ── Job title ── */
.job-post-info h4 {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 7px !important;
    line-height: 1.5 !important;
}
.job-post-info h4 a {
    color: #111 !important;
    text-decoration: none !important;
    transition: color 0.15s;
}
.job-post-info h4 a:hover {
    color: #2e55fa !important;
}

/* ── Meta list (location, date, company) ── */
.job-post-info ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.job-post-info ul li {
    font-size: 12px !important;
    color: #6b7280 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.job-post-info ul li i {
    font-size: 13px !important;
    color: #9ca3af !important;
}
.job-post-info ul li a {
    color: #2e55fa !important;
    text-decoration: none !important;
}
.job-post-info ul li a:hover {
    text-decoration: underline !important;
}

/* ── Bottom row ── */
.post-bx .d-flex:last-of-type {
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid #f3f4f6 !important;
    align-items: center !important;
}

/* ── Job type & level badges ── */
.job-time a span {
    display: inline-block;
    font-size: 11px !important;
    font-weight: 500 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    margin-left: 4px !important;
}
.job-time a:first-child span {
    background: #FAEEDA !important;
    color: #633806 !important;
}
.job-time a:last-of-type span {
    background: #EEEDFE !important;
    color: #3C3489 !important;
}

/* ── Salary ── */
.salary-bx {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #16a34a !important;
    white-space: nowrap;
}
.salary-bx * {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #16a34a !important;
}

/* ── Send resume button ── */
#[id^="send_resume_"] .site-button,
[id^="send_resume_"] .site-button {
    font-size: 12px !important;
    padding: 5px 14px !important;
    border-radius: 6px !important;
}

/* ── Applied badge ── */
.job-time .text-success {
    font-size: 12px !important;
    background: #DCFCE7;
    color: #16a34a !important;
    border-radius: 6px;
    padding: 3px 10px;
    font-weight: 500;
}

/* ── Like button ── */
.like-btn {
    position: absolute !important;
    top: 14px !important;
    left: 16px !important;
    cursor: pointer;
    margin: 0 !important;
}
.like-btn input[type="checkbox"] {
    display: none !important;
}
.like-btn .checkmark {
    font-size: 18px !important;
    color: #d1d5db !important;
    transition: color 0.15s, transform 0.15s;
    display: block;
    line-height: 1;
}
.like-btn input[type="checkbox"]:checked ~ .checkmark {
    color: #ef4444 !important;
}
.like-btn:hover .checkmark {
    transform: scale(1.2);
}

/* ── List wrapper spacing ── */
.post-job-bx > li {
    margin-bottom: 12px !important;
    list-style: none !important;
}
.post-job-bx {
    padding: 0 !important;
}