/* Careers / job openings page (resources/views/careers/careers.blade.php) */
.jb-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0070ad; }
.jb-h2 { font-size: 1.9rem; font-weight: 600; line-height: 1.25; color: #0b2a4a; margin: 0 0 10px; }
.jb-h3 { font-size: 1.35rem; font-weight: 600; color: #0b2a4a; margin: 0; }
.jb-lead { color: #4a5563; line-height: 1.7; margin: 0 0 18px; max-width: 780px; }
.jb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 8px; font-size: .95rem; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, box-shadow .15s ease; }
.jb-btn:disabled { opacity: .7; cursor: default; }
.jb-btn-primary { background: #142D41; color: #fff; border: 1px solid #142D41; }
.jb-btn-primary:hover:not(:disabled) { background: #0b2a4a; box-shadow: 0 4px 14px rgba(20, 45, 65, .25); }

/* intro */
.jb-intro { padding-top: 52px; }
.jb-areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.jb-areas li { padding: 5px 12px; border-radius: 999px; background: #f0f6fb; border: 1px solid #dbe8f3; color: #0b2a4a; font-size: .85rem; }

/* openings */
.jb-section { margin-top: 48px; }
.jb-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.jb-count { font-size: .9rem; color: #6b7684; }
.jb-filters { padding: 16px; margin-bottom: 18px; border: 1px solid #e3e9f1; border-radius: 12px; background: #f7f9fc; }
.jb-search { display: flex; align-items: center; gap: 10px; position: relative; }
.jb-search i { position: absolute; left: 14px; color: #8a96a6; }
.jb-search input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px 0 40px; border: 1px solid #d5dde8; border-radius: 8px; background: #fff; font-size: .95rem; outline: none; }
.jb-search input:focus { border-color: #0070ad; box-shadow: 0 0 0 3px rgba(0, 112, 173, .12); }
.jb-locs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.jb-locs-label { font-size: .85rem; color: #6b7684; margin-right: 2px; }
.jb-chip { position: relative; margin: 0; cursor: pointer; }
.jb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.jb-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #d5dde8; border-radius: 999px; background: #fff; font-size: .88rem; color: #2b3442; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.jb-chip em { font-style: normal; font-size: .75rem; color: #6b7684; background: #eef2f6; border-radius: 999px; padding: 0 7px; }
.jb-chip:hover span { border-color: #9cc3df; }
.jb-chip input:checked + span { background: #0b2a4a; border-color: #0b2a4a; color: #fff; }
.jb-chip input:checked + span em { background: rgba(255, 255, 255, .2); color: #fff; }
.jb-chip input:focus-visible + span { outline: 2px solid #0070ad; outline-offset: 2px; }
.jb-clear { font-size: .85rem; color: #0070ad; margin-left: 4px; }

.jb-list { display: grid; gap: 12px; }
.jb-job { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid #e3e9f1; border-radius: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.jb-job:hover, .jb-job:focus-within { border-color: #cfdbe9; box-shadow: 0 8px 22px rgba(11, 42, 74, .08); transform: translateY(-1px); }
.jb-job h3 { font-size: 1.08rem; font-weight: 600; margin: 0 0 6px; line-height: 1.4; }
.jb-job-link { color: #0b2a4a; text-decoration: none; }
.jb-job-link::after { content: ""; position: absolute; inset: 0; }   /* whole card is the link */
.jb-job:hover .jb-job-link { color: #0070ad; }
.jb-job-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; color: #5b6573; font-size: .88rem; }
.jb-job-meta i { margin-right: 6px; color: #8a96a6; }
.jb-apply { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; background: #f0f6fb; color: #0070ad; font-size: .9rem; font-weight: 500; transition: background-color .15s ease, color .15s ease; }
.jb-job:hover .jb-apply { background: #0070ad; color: #fff; }
.jb-empty { text-align: center; padding: 32px 20px; border: 1px dashed #d5dde8; border-radius: 12px; color: #5b6573; }
.jb-empty-title { font-weight: 600; color: #0b2a4a; margin-bottom: 4px; }
.jb-pagination { margin-top: 18px; }

/* unsolicited application */
.jb-section#unsolicited { margin-top: 64px; margin-bottom: 80px; }
.jb-apply-card { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 32px; border: 1px solid #e3e9f1; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(11, 42, 74, .06); }
.jb-apply-intro p:not(.jb-kicker) { color: #4a5563; line-height: 1.7; margin-top: 8px; }
.jb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.jb-span-2 { grid-column: 1 / -1; }
.jb-field { margin-bottom: 14px; }
.jb-field > label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 500; color: #2b3442; }
.jb-req { color: #c0392b; }
.jb-optional { font-weight: 400; color: #8a96a6; }
.jb-form .form-control, .jb-form .form-select { height: 44px; border: 1px solid #d5dde8; border-radius: 8px; font-size: .95rem; box-shadow: none; }
.jb-form textarea.form-control { height: auto; resize: vertical; }
.jb-form .form-control:focus, .jb-form .form-select:focus { border-color: #0070ad; box-shadow: 0 0 0 3px rgba(0, 112, 173, .12); }
.jb-form .is-invalid { border-color: #c0392b !important; background-image: none; }
.jb-error { margin: 4px 0 0; font-size: .82rem; color: #c0392b; }
.jb-error:empty { display: none; }
.jb-file { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px dashed #c3d0df; border-radius: 10px; background: #f7f9fc; color: #4a5563; font-size: .9rem; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.jb-file:hover, .jb-file.is-drag { border-color: #0070ad; background: #f0f6fb; }
.jb-file.is-invalid { border-color: #c0392b; }
.jb-file i { font-size: 1.5rem; color: #0070ad; }
.jb-file strong { color: #0070ad; }
.jb-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.jb-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 6px; }
.jb-privacy { margin: 0; font-size: .85rem; color: #6b7684; max-width: 420px; }
.jb-privacy a { color: #0070ad; }

@media (max-width: 991.98px) {
    .jb-apply-card { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 575.98px) {
    .jb-intro { padding-top: 32px; }
    .jb-h2 { font-size: 1.5rem; }
    .jb-search { flex-wrap: wrap; }
    .jb-search .jb-btn { width: 100%; }
    .jb-job { flex-direction: column; align-items: flex-start; }
    .jb-apply-card { padding: 20px 16px; }
    .jb-grid { grid-template-columns: 1fr; }
    .jb-submit .jb-btn { width: 100%; }
}
