/* Public job board — home/jobs.php + home/job.php (dark home theme) */
.ejb-hero .hero-content { text-align: center; }
.ejb-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.16);
    border: 1px solid rgba(94, 234, 212, 0.35);
    color: #5eead4;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}
.ejb-filter { margin-top: 28px; padding: 18px; text-align: left; }
.ejb-filter-grid { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 12px; align-items: end; }
.ejb-filter .form-label { color: var(--text-secondary, #cbd5e1); font-weight: 600; font-size: 0.85rem; }
.ejb-filter-actions { display: flex; gap: 8px; min-width: 160px; }

.ejb-results-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--text-secondary, #cbd5e1);
}
.ejb-register-link { color: #5eead4; font-weight: 700; text-decoration: none; }
.ejb-register-link:hover { color: #99f6e4; }

.ejb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ejb-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #171e31;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    color: var(--text-primary, #f8fafc);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ejb-card:hover {
    color: var(--text-primary, #f8fafc);
    transform: translateY(-4px);
    border-color: rgba(94, 234, 212, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(94, 234, 212, 0.15);
}
.ejb-card-cover { position: relative; height: 130px; background: linear-gradient(135deg, #0c2340, #0f766e); }
.ejb-card-cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.ejb-card-cover-empty { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 2.2rem; color: rgba(255, 255, 255, 0.55); }
.ejb-card-open {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(6, 6, 11, 0.75);
    border: 1px solid rgba(94, 234, 212, 0.4);
    color: #5eead4;
    font-weight: 800;
    font-size: 0.78rem;
}
.ejb-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.ejb-card-role { margin: 0; font-size: 1.2rem; font-weight: 800; }
.ejb-card-event { color: #5eead4; font-weight: 600; font-size: 0.92rem; }
.ejb-card-meta { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-direction: column; gap: 4px; color: var(--text-secondary, #cbd5e1); font-size: 0.88rem; }
.ejb-card-meta i { color: var(--text-muted, #94a3b8); margin-right: 8px; }
.ejb-card-pay { color: var(--text-primary, #f8fafc) !important; font-weight: 700; }
.ejb-card-pay span + span { color: var(--text-muted, #94a3b8); font-weight: 600; margin-left: 4px; }
.ejb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ejb-chip {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.16);
    border: 1px solid rgba(129, 140, 248, 0.3);
    color: #c7d2fe;
    font-size: 0.76rem;
    font-weight: 600;
}
.ejb-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
    color: var(--text-muted, #94a3b8);
    font-size: 0.8rem;
}
.ejb-card-cta { color: #5eead4; font-weight: 700; white-space: nowrap; }

.ejb-empty { padding: 48px 20px; text-align: center; color: var(--text-secondary, #cbd5e1); }
.ejb-empty > i { font-size: 2.8rem; color: var(--text-muted, #94a3b8); }
.ejb-empty h3 { margin-top: 12px; color: var(--text-primary, #f8fafc); }

/* Detail */
.ejb-detail-section { padding-top: 110px; }
.ejb-back { display: inline-flex; align-items: center; margin-bottom: 16px; color: #5eead4; font-weight: 700; text-decoration: none; }
.ejb-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.ejb-detail-main { display: flex; flex-direction: column; gap: 16px; }
.ejb-detail-head { overflow: hidden; padding: 0; }
.ejb-detail-banner { width: 100%; max-height: 220px; object-fit: cover; display: block; }
.ejb-detail-head-body { padding: 22px 24px; }
.ejb-detail-role { font-size: 2rem; font-weight: 800; margin: 0 0 6px; color: var(--text-primary, #f8fafc); }
.ejb-detail-event { color: #5eead4; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.ejb-detail-event:hover { color: #99f6e4; }
.ejb-detail-org { margin-top: 6px; color: var(--text-secondary, #cbd5e1); }
.ejb-block { padding: 20px 24px; color: var(--text-secondary, #cbd5e1); }
.ejb-block h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 800; color: var(--text-primary, #f8fafc); margin-bottom: 12px; }
.ejb-block h2 i { color: #5eead4; }
.ejb-block h3 { font-size: 0.95rem; font-weight: 800; color: var(--text-primary, #f8fafc); margin-top: 14px; }
.ejb-text { white-space: normal; line-height: 1.6; margin: 0; }
.ejb-hint { color: var(--text-muted, #94a3b8); font-size: 0.85rem; }
.ejb-shifts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ejb-shifts li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 4px solid #f59e0b;
}
.ejb-shifts strong { color: var(--text-primary, #f8fafc); }
.ejb-shifts small { color: var(--text-muted, #94a3b8); }
.ejb-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.ejb-steps .ejb-chips { display: flex; }

.ejb-detail-side { position: sticky; top: 100px; }
.ejb-apply { padding: 22px; }
.ejb-apply-pay { display: flex; flex-direction: column; margin-bottom: 14px; }
.ejb-apply-pay strong { font-size: 2rem; font-weight: 800; color: var(--text-primary, #f8fafc); line-height: 1.1; }
.ejb-apply-pay span { color: var(--text-muted, #94a3b8); font-weight: 600; }
.ejb-apply-facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; color: var(--text-secondary, #cbd5e1); }
.ejb-apply-facts li { display: flex; gap: 10px; align-items: flex-start; }
.ejb-apply-facts i { color: #5eead4; }
.ejb-apply-btn {
    border: 0;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    box-shadow: 0 10px 26px rgba(20, 184, 166, 0.35);
}
.ejb-apply-btn:hover { filter: brightness(1.1); }
.ejb-closed { padding: 12px 14px; border-radius: 12px; background: rgba(245, 158, 11, 0.12); color: #fcd34d; font-weight: 600; }

@media (max-width: 991.98px) {
    .ejb-filter-grid { grid-template-columns: 1fr 1fr; }
    .ejb-filter-grid > div:first-child { grid-column: 1 / -1; }
    .ejb-detail { grid-template-columns: 1fr; }
    .ejb-detail-side { position: static; }
}
@media (max-width: 575.98px) {
    .ejb-filter-grid { grid-template-columns: 1fr; }
    .ejb-detail-role { font-size: 1.6rem; }
}
