/* ==========================================================
   Employer Job Manager Pro v2.0 — WorkVapor Matched UI
   ========================================================== */

/* --- SHARED ALERTS & UTILS --- */
.ejm-alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.ejm-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ejm-alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.ejm-alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ejm-no-data { padding: 32px 20px; text-align: center; background: #fff; border-radius: 16px; color: #64748b; border: 1px dashed #cbd5e1; font-size: 14.5px; }

/* --- AUTH CONTAINERS --- */
.ejm-auth-box { max-width: 460px; margin: 30px auto; background: #fff; padding: 32px; border-radius: 20px; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); font-family: 'Inter', 'Segoe UI', sans-serif; }
.ejm-auth-box h2 { margin: 0 0 20px; color: #0f172a; font-size: 24px; font-weight: 800; }
.ejm-auth-form .ejm-form-group { margin-bottom: 16px; }
.ejm-auth-links { margin-top: 14px; text-align: center; font-size: 13.5px; }
.ejm-auth-links a { color: #2563eb; text-decoration: none; font-weight: 600; }

/* --- DASHBOARD WRAPPER & STATS --- */
.ejm-dashboard-container, .ejm-job-form-container { max-width: 1500px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.ejm-dashboard-wrapper { max-width: 1500px; width: 100%; margin: 20px auto; font-family: 'Inter', 'Segoe UI', sans-serif; box-sizing: border-box; }
.ejm-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.ejm-stat-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 18px 20px; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04); display: flex; flex-direction: column; gap: 6px; }
.ejm-stat-label { font-size: 12.5px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.4px; }
.ejm-stat-val { font-size: 28px; font-weight: 800; color: #0f172a; line-height: 1.1; }
.ejm-text-green { color: #10b981; }
.ejm-text-blue { color: #2563eb; }
.ejm-credit-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ejm-cpill { font-size: 12px; background: #f1f5f9; color: #334155; padding: 4px 10px; border-radius: 99px; }
.ejm-cpill-feat { background: #d1fae5; color: #065f46; }

/* --- DASHBOARD HEADER --- */
.ejm-dashboard-header { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 14px 18px; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05); margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.ejm-nav-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ejm-nav-btn { display: inline-flex; align-items: center; text-decoration: none; padding: 9px 15px; border-radius: 10px; font-weight: 600; color: #475569 !important; font-size: 14px; background: #f8fafc; border: 1px solid #e2e8f0; transition: 0.2s; }
.ejm-nav-btn:hover { background: #e2e8f0; }
.ejm-nav-btn.active { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; }
.ejm-app-badge { background: #d1fae5; color: #065f46; border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 800; margin-left: 7px; }
.ejm-nav-btn.active .ejm-app-badge { background: #fff; color: #2563eb; }
.ejm-header-actions { display: flex; align-items: center; gap: 12px; }
.ejm-create-btn { background: linear-gradient(90deg, #10b981, #059669) !important; color: #fff !important; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25); }
.ejm-logout-link { color: #dc2626 !important; text-decoration: none; font-size: 13.5px; font-weight: 600; }

/* --- DASHBOARD JOB CARDS --- */
.ejm-job-list { display: flex; flex-direction: column; gap: 14px; }
.ejm-job-card { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05); transition: 0.25s; z-index: 1; }
.ejm-job-card:hover { border-color: #3b82f6; box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1); z-index: 30; }
.ejm-job-card.menu-active { z-index: 100 !important; }
.ejm-card-featured { border-left: 4px solid #10b981; }
.ejm-job-content-box { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ejm-job-top-bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ejm-job-title { margin: 0 0 4px !important; font-size: 17px; font-weight: 700; }
.ejm-job-title a { color: #0f172a !important; text-decoration: none !important; }
.ejm-job-title a:hover { color: #2563eb !important; }
.ejm-job-meta-line { font-size: 13px; color: #64748b; }
.ejm-job-bottom-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ejm-status-pill { padding: 4px 12px; border-radius: 99px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: #fff; }
.ejm-status-live { background: #10b981; }
.ejm-status-pending { background: #f59e0b; }
.ejm-status-review { background: #3b82f6; }
.ejm-status-rejected { background: #ef4444; }
.ejm-status-expired { background: #64748b; }
.ejm-status-unpaid { background: #0f172a; }
.ejm-plan-pill { padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; background: #f1f5f9; color: #475569; }
.ejm-plan-pill-feat { background: #d1fae5; color: #065f46; }
.ejm-pay-now-mini { font-size: 12.5px; font-weight: 700; color: #2563eb; text-decoration: none; }
.ejm-rejection-note { background: #fef2f2; color: #991b1b; padding: 10px 14px; border-radius: 8px; font-size: 13px; border: 1px solid #fecaca; }

.ejm-action-menu-container { position: relative; }
.ejm-three-dots { background: none; border: none; font-size: 22px; cursor: pointer; color: #64748b; padding: 0 6px; }
.ejm-job-actions-dropdown { display: none; position: absolute; right: 0; top: 100%; background: #fff; min-width: 150px; border-radius: 10px; border: 1px solid #e2e8f0; box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14); z-index: 999; flex-direction: column; overflow: hidden; padding: 4px 0; }
.ejm-job-actions-dropdown.show { display: flex; }
.ejm-menu-link { padding: 10px 14px; text-decoration: none; font-size: 13.5px; font-weight: 600; color: #1e293b !important; }
.ejm-menu-link:hover { background: #f8fafc; }

/* --- APPLICATIONS ACCORDION --- */
.ejm-app-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.ejm-app-header { padding: 16px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.header-main { display: flex; flex-direction: column-reverse; gap: 4px; }
.cand-name { font-weight: 700; color: #0f172a; font-size: 16px; }
.job-tag { color: #64748b; font-size: 13px; }
.ejm-new-label { background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px; margin-left: 8px; }
.ejm-app-content { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 20px; }
.detail-row { display: flex; margin-bottom: 12px; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; }
.detail-row label { width: 160px; font-weight: 700; color: #64748b; font-size: 13px; flex-shrink: 0; }
.cv-btn { background: #2563eb !important; color: #fff !important; padding: 6px 14px; border-radius: 8px; text-decoration: none; font-size: 12.5px; font-weight: 700; display: inline-block; }

/* --- CLEAN TABLE --- */
.ejm-table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; }
.ejm-clean-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ejm-clean-table th, .ejm-clean-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f1f5f9; }
.ejm-clean-table th { background: #f8fafc; color: #475569; font-weight: 700; }

/* --- 3-TIER PRICING CARDS --- */
.ejm-pricing-section { padding: 10px 0; font-family: 'Inter', 'Segoe UI', sans-serif; }
.ejm-pricing-header { text-align: center; margin-bottom: 28px; }
.ejm-pricing-header h3 { font-size: 26px; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.ejm-pricing-header p { color: #64748b; font-size: 15px; margin: 0; }
.ejm-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ejm-plan-card { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); transition: 0.25s; overflow: hidden; }
.ejm-plan-card:hover { transform: translateY(-4px); border-color: #3b82f6; box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12); }
.ejm-plan-popular { border: 2px solid #10b981; }
.ejm-plan-ribbon { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(90deg, #10b981, #34d399); color: #fff; text-align: center; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.7px; padding: 5px 10px; }
.ejm-plan-head { margin-top: 14px; text-align: center; padding-bottom: 18px; border-bottom: 1px solid #f1f5f9; }
.ejm-plan-head h4 { margin: 0 0 6px; font-size: 19px; font-weight: 800; color: #0f172a; }
.ejm-plan-tagline { margin: 0 0 14px; font-size: 13px; color: #64748b; }
.ejm-plan-price { display: flex; align-items: baseline; justify-content: center; gap: 3px; }
.ejm-currency { font-size: 20px; font-weight: 700; color: #0f172a; }
.ejm-amount { font-size: 38px; font-weight: 900; color: #0f172a; line-height: 1; }
.ejm-per { font-size: 13.5px; color: #64748b; font-weight: 600; }
.ejm-plan-features { list-style: none !important; list-style-type: none !important; padding: 18px 0 !important; margin: 0 !important; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: #334155; }
.ejm-plan-features li { list-style: none !important; list-style-type: none !important; margin: 0 !important; padding: 0 !important; display: flex; align-items: flex-start; gap: 6px; }
.ejm-plan-features li::before, .ejm-plan-features li::marker { content: none !important; display: none !important; }
.ejm-check { color: #10b981; font-weight: 900; margin-right: 6px; }
.ejm-buy-plan-btn { width: 100%; display: block; text-align: center; padding: 13px 16px; border-radius: 12px; font-weight: 700; font-size: 14.5px; cursor: pointer; text-decoration: none; border: none; transition: 0.2s; }
.ejm-btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff !important; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28); }
.ejm-btn-primary:hover { transform: translateY(-1px); }
.ejm-btn-outline { background: #f8fafc; color: #0f172a !important; border: 1.5px solid #cbd5e1; }
.ejm-btn-outline:hover { border-color: #2563eb; color: #2563eb !important; }

/* --- JOB FORM --- */
.ejm-pro-wrapper { max-width: 1500px; width: 100%; margin: 20px auto; padding: 36px; background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); border: 1px solid #e2e8f0; font-family: 'Inter', 'Segoe UI', sans-serif; box-sizing: border-box; }
.ejm-pro-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 2px solid #f1f5f9; flex-wrap: wrap; gap: 14px; }
.ejm-back-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #ffffff !important; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 13.5px; border: none; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24); transition: all 0.2s ease; }
.ejm-back-btn:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af); transform: translateY(-1px); color: #ffffff !important; }
.ejm-page-title { margin: 0 0 4px; font-size: 24px; font-weight: 800; color: #0f172a; }
.ejm-page-subtitle { margin: 0; font-size: 13.5px; color: #64748b; }
.ejm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ejm-full { grid-column: 1 / -1; }
.ejm-form-group { display: flex; flex-direction: column; }
.ejm-label { font-weight: 700; color: #1e293b; margin-bottom: 7px; font-size: 13.5px; }
.ejm-req { color: #ef4444; }
.ejm-note-inline { font-weight: 500; color: #94a3b8; font-size: 12.5px; }
.ejm-input { width: 100%; padding: 13px 15px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 14.5px; color: #0f172a; background: #f8fafc; box-sizing: border-box; outline: none; transition: 0.2s; }

/* Fix mobile select dropdown text clipping across WordPress themes */
select.ejm-input {
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.45 !important;
    padding: 12px 38px 12px 15px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #f8fafc !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 13px !important;
    color: #0f172a !important;
    font-size: 15px !important;
    vertical-align: middle !important;
}
.ejm-contact-confirm-note {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 7px 10px;
    border-radius: 8px;
}


.ejm-input::placeholder { color: #94a3b8 !important; opacity: 0.72 !important; font-weight: 400 !important; }
.ejm-input:focus { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15); }
.ejm-input-error { border-color: #ef4444 !important; background: #fef2f2 !important; }
.ejm-error-text { color: #dc2626; font-size: 12.5px; font-weight: 600; margin-top: 5px; }
.ejm-word-count { margin-top: 10px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; display: inline-block; background: #f1f5f9; }
.ejm-word-count.valid { background: #ecfdf5; color: #065f46; }
.ejm-word-count.invalid { background: #fef2f2; color: #dc2626; }
.ejm-credit-box { background: #f8fafc; padding: 18px; border-radius: 14px; border: 1px solid #e2e8f0; }
.ejm-credit-radios { display: flex; flex-direction: column; gap: 10px; }
.ejm-radio-card { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 14px; border-radius: 10px; border: 1px solid #cbd5e1; cursor: pointer; font-size: 13.5px; }
.ejm-checkbox-inline { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #334155; cursor: pointer; }
.ejm-form-footer { margin-top: 26px; padding-top: 20px; border-top: 2px solid #f1f5f9; display: flex; justify-content: flex-end; }
.ejm-submit-btn { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff !important; border: none; padding: 14px 30px; border-radius: 12px; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25); transition: 0.2s; }
.ejm-submit-btn:hover { transform: translateY(-2px); }

/* ==========================================================
   WORKVAPOR PREMIUM JOB CARDS (Single, Grid, Slider)
   ========================================================== */
.ejm-wv-card { position: relative; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06); transition: all 0.25s ease; display: flex; flex-direction: column; font-family: 'Inter', 'Segoe UI', sans-serif; height: 100%; box-sizing: border-box; }
.ejm-wv-card:hover { border-color: #3b82f6; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12); transform: translateY(-3px); }
.ejm-wv-featured { padding-top: 26px; }
.ejm-wv-urgent-banner { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(90deg, #10b981, #34d399); color: #ffffff; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; text-align: center; padding: 5px 12px; }
.ejm-wv-card-inner { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ejm-wv-card-head { display: flex; align-items: flex-start; gap: 12px; }
.ejm-wv-avatar { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #3b82f6); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ejm-wv-title { margin: 0 0 4px !important; font-size: 17px; font-weight: 800; line-height: 1.3; }
.ejm-wv-title a { color: #0f172a; text-decoration: none; }
.ejm-wv-title a:hover { color: #2563eb; }
.ejm-wv-company { font-size: 13.5px; color: #475569; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ejm-wv-verified { font-size: 11px; background: #ecfdf5; color: #059669; padding: 2px 8px; border-radius: 99px; font-weight: 700; }

/* Fluid Chips */
.ejm-wv-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.ejm-chip { background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; line-height: 1.2; }
.ejm-chip-mode { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.ejm-chip-sal { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.ejm-chip-id { color: #64748b; }

/* Contact HR Anti-Scraping Row */
.ejm-wv-contact-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: #f8fafc; padding: 10px 12px; border-radius: 12px; border: 1px solid #e2e8f0; }
.ejm-contact-label { font-size: 12px; font-weight: 800; color: #0f172a; }
.ejm-contact-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ejm-contact-pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; text-decoration: none; }
.ejm-pill-open { background: #d1fae5; color: #065f46; }
.ejm-pill-masked { background: #e2e8f0; color: #334155; }
.ejm-blur-text { filter: blur(3.5px); opacity: 0.7; user-select: none; -webkit-user-select: none; display: inline-block; }

.ejm-wv-card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ejm-posted-time { font-size: 12px; color: #64748b; font-weight: 500; }
.ejm-wv-cta-btn { background: #2563eb; color: #fff !important; text-decoration: none; padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 700; transition: 0.2s; text-align: center; }
.ejm-wv-cta-btn:hover { background: #1d4ed8; }

/* Grid & Pagination */
.ejm-single-embed-wrap { max-width: 560px; margin: 18px auto; }
.ejm-jobs-grid { display: grid; gap: 22px; }
.ejm-cols-1 { grid-template-columns: 1fr; }
.ejm-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ejm-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ejm-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.ejm-page-link { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; color: #334155; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: 0.2s; }
.ejm-page-link:hover, .ejm-page-link.active { background: #2563eb; color: #fff; border-color: #2563eb; }

/* Slider Carousel */
.ejm-slider-wrapper { position: relative; padding: 10px 0 28px; overflow: hidden; }
.ejm-slider-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 4px 16px; }
.ejm-slider-track::-webkit-scrollbar { display: none; }
.ejm-slider-slide { flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start; min-width: 300px; }
.ejm-slider-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.ejm-slider-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); transition: 0.2s; }
.ejm-slider-btn:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.ejm-slider-dots { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.ejm-slider-dot { width: 8px; height: 8px; border-radius: 99px; background: #cbd5e1; border: none; padding: 0; cursor: pointer; transition: 0.25s; }
.ejm-slider-dot.active { width: 22px; background: #2563eb; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .ejm-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ejm-pricing-grid, .ejm-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .ejm-slider-slide { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 640px) {
    .ejm-stats-grid, .ejm-pricing-grid, .ejm-grid, .ejm-cols-2, .ejm-cols-3 { grid-template-columns: 1fr; }
    .ejm-pro-wrapper { padding: 20px 16px; }
    .ejm-slider-slide { flex: 0 0 92%; min-width: 270px; }
    .ejm-wv-contact-row { flex-direction: column; align-items: flex-start; }
    .ejm-contact-label { text-transform: uppercase; letter-spacing: 0.5px; }
    .ejm-wv-card-footer { flex-direction: column; align-items: stretch; }
    .ejm-wv-cta-btn { width: 100%; box-sizing: border-box; }
    .detail-row { flex-direction: column; gap: 4px; }
}

/* ==========================================================
   DEDICATED SINGLE EMPLOYER JOB PAGE (/jobs/...-emp-ID/)
   ========================================================== */
.ejm-single-page-wrap { max-width: 1280px; width: 100%; margin: 28px auto 48px; padding: 0 18px; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', sans-serif; }
.ejm-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; align-items: start; }
.ejm-single-card { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 30px; box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06); overflow: hidden; }
.ejm-single-featured { padding-top: 46px; }
.ejm-single-header { display: flex; align-items: flex-start; gap: 16px; }
.ejm-single-title { margin: 0 0 6px !important; font-size: 26px; font-weight: 800; color: #0f172a; line-height: 1.3; }
.ejm-single-desc { margin-top: 22px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.ejm-single-desc h3 { margin: 0 0 14px; font-size: 19px; font-weight: 800; color: #0f172a; }
.ejm-desc-body { font-size: 15.5px; line-height: 1.75; color: #334155; word-break: break-word; }
.ejm-desc-body p { margin-bottom: 14px; }
.ejm-desc-body ul, .ejm-desc-body ol { padding-left: 22px; margin-bottom: 14px; }

.ejm-single-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.ejm-side-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 24px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
.ejm-side-title { margin: 0 0 16px !important; font-size: 18px; font-weight: 800; color: #0f172a; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.ejm-side-contact-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.ejm-side-lbl { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: #64748b; margin-bottom: 4px; }
.ejm-side-val { font-size: 15.5px; font-weight: 700; color: #0f172a; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ejm-open-link { color: #2563eb; text-decoration: none; font-weight: 700; }
.ejm-wa-mini { background: #10b981; color: #fff !important; text-decoration: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.ejm-unlock-btn { display: block; text-align: center; margin-top: 10px; padding: 12px 16px; background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff !important; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.ejm-apply-form .ejm-form-group { margin-bottom: 14px; }

@media (max-width: 960px) {
    .ejm-single-layout { grid-template-columns: 1fr; }
    .ejm-single-sidebar { position: static; }
    .ejm-single-card { padding: 20px; }
    .ejm-single-title { font-size: 21px; }
}

/* --- TOP ROLE TOAST NOTIFICATION --- */
.ejm-top-toast { position: fixed; top: -100px; left: 50%; transform: translateX(-50%); z-index: 999999; width: 92%; max-width: 680px; transition: top 0.35s cubic-bezier(0.22, 1, 0.36, 1); font-family: 'Inter', 'Segoe UI', sans-serif; }
.ejm-top-toast.ejm-toast-show { top: 20px; }
.ejm-toast-inner { display: flex; align-items: center; gap: 12px; background: #0f172a; color: #ffffff; padding: 14px 18px; border-radius: 14px; box-shadow: 0 14px 36px rgba(15, 23, 42, 0.32); border: 1px solid #334155; flex-wrap: wrap; }
.ejm-toast-text { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.4; min-width: 180px; }
.ejm-toast-btn { background: #2563eb; color: #fff !important; text-decoration: none; padding: 7px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ejm-toast-btn:hover { background: #1d4ed8; }
.ejm-toast-close { background: none; border: none; color: #94a3b8; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
.ejm-toast-close:hover { color: #fff; }

/* --- LIGHTWEIGHT RICH TEXT EDITOR (ZERO TINYMCE IFRAME BUGS) --- */
.ejm-editor-wrapper { border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #fff; }
.ejm-editor-error { border-color: #ef4444 !important; }
.ejm-rte-toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.ejm-rte-btn { background: #fff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 11px; font-size: 13px; color: #1e293b; cursor: pointer; line-height: 1.2; transition: 0.15s; }
.ejm-rte-btn:hover { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }
.ejm-rte-area { min-height: 210px; max-height: 480px; overflow-y: auto; padding: 15px 16px; font-size: 15px; line-height: 1.65; color: #0f172a !important; background: #ffffff !important; outline: none; box-sizing: border-box; }
.ejm-rte-area:empty::before { content: attr(data-placeholder); color: #94a3b8; opacity: 0.78; pointer-events: none; }
.ejm-rte-area ul, .ejm-rte-area ol { padding-left: 22px; margin: 8px 0; }
.ejm-rte-area p { margin: 0 0 10px; }

/* Strictly prevent site-wide contact blur scripts/CSS from blurring Employer's own form inputs */
.ejm-pro-wrapper .ejm-rte-area,
.ejm-pro-wrapper .ejm-rte-area *,
.ejm-pro-wrapper input,
.ejm-pro-wrapper textarea {
    filter: none !important;
    -webkit-filter: none !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    opacity: 1 !important;
}

.ejm-rte-sep { width: 1px; height: 22px; background: #cbd5e1; align-self: center; margin: 0 2px; }
.ejm-rte-area b, .ejm-rte-area strong { font-weight: 800 !important; color: #0f172a !important; }
.ejm-rte-area i, .ejm-rte-area em { font-style: italic !important; }
.ejm-rte-area u { text-decoration: underline !important; }
.ejm-rte-area h3 { font-size: 18px !important; font-weight: 800 !important; margin: 10px 0 6px !important; color: #0f172a !important; }
.ejm-rte-area ul { list-style-type: disc !important; padding-left: 24px !important; }
.ejm-rte-area ol { list-style-type: decimal !important; padding-left: 24px !important; }

/* --- PROFESSIONAL PLAN NOTICE BOX (STEP 1 FOOTER) --- */
.ejm-pro-plan-notice { background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); border: 1px solid #bfdbfe; border-left: 4px solid #2563eb; border-radius: 14px; padding: 18px 20px; }
.ejm-notice-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.ejm-notice-head h4 { margin: 0 !important; font-size: 16px; font-weight: 800; color: #0f172a; }
.ejm-notice-badge { background: #2563eb; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 10px; border-radius: 99px; }
.ejm-notice-desc { margin: 0 0 12px !important; font-size: 13.5px; color: #475569; line-height: 1.5; }
.ejm-notice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ejm-npill { background: #ffffff; border: 1px solid #cbd5e1; color: #334155; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 6px; }
.ejm-npill strong { color: #0f172a; font-weight: 800; }
.ejm-npill-pop { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.ejm-npill-pop strong { color: #047857; }

/* --- MOBILE FRIENDLY PAYMENT HISTORY CARDS --- */
.ejm-pay-code { font-size: 12px; background: #f1f5f9; padding: 3px 7px; border-radius: 6px; word-break: break-all; display: inline-block; }
@media (max-width: 720px) {
    .ejm-table-wrap { background: transparent !important; border: none !important; overflow: visible !important; }
    .ejm-clean-table, .ejm-clean-table tbody, .ejm-clean-table tr, .ejm-clean-table td { display: block !important; width: 100% !important; box-sizing: border-box !important; }
    .ejm-clean-table thead { display: none !important; }
    .ejm-clean-table, .ejm-clean-table tbody { background: transparent !important; border: none !important; }
    .ejm-clean-table tr, .ejm-clean-table tr:nth-child(even), .ejm-clean-table tr:nth-child(odd) { background: #ffffff !important; border: 1px solid #e2e8f0 !important; border-radius: 16px !important; padding: 14px 16px !important; margin-bottom: 14px !important; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important; }
    .ejm-clean-table td, .ejm-clean-table tr td { background: transparent !important; display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 12px !important; padding: 9px 0 !important; border: none !important; border-bottom: 1px dashed #e2e8f0 !important; text-align: right !important; font-size: 13.5px !important; }
    .ejm-clean-table td:last-child { border-bottom: none !important; padding-bottom: 2px !important; }
    .ejm-clean-table td::before { content: attr(data-label); font-weight: 700; color: #64748b; font-size: 12.5px; text-align: left; flex-shrink: 0; }
}
