/* ═══════════════════════════════════════════════════════════════
   UISTO CAREERS – career.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Section wrapper ── */
.careers-wrap {
  padding: 60px 5%;
  text-align: center;
}

/* ── Section header ── */
.careers-wrap .careers-header {
  margin-bottom: 2rem;
  border-bottom: 2px solid #1e3a5f;
  padding-bottom: 1.25rem;
}

.careers-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #1e3a5f;
  margin: 0 0 0.35rem;
}

.careers-header p {
  font-size: 14px;
  color: #5a6a7a;
  margin: 0;
}

/* ── Filter pills ── */
.careers-wrap .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.careers-wrap .filter-btn {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 4px;
  border: 1px solid #c8d4e0;
  background: #ffffff;
  color: #3a5068;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.15s ease;
}

.careers-wrap .filter-btn:hover {
  background: #e8f0f8;
  border-color: #1e3a5f;
  color: #1e3a5f;
}

.filter-btn.active {
  background: #1e3a5f;
  border-color: #1e3a5f;
  color: #ffffff;
}

/* ── Count bar ── */
.count-bar {
  font-size: 12.5px;
  color: #8496a8;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Cards grid ── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 2.5rem;
}

/* ── Individual card ── */
.job-card {
  background: #ffffff;
  border: 1px solid #dde5ed;
  border-top: 3px solid #1e3a5f;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.job-card:hover {
  box-shadow: 0 6px 24px rgba(30, 58, 95, 0.13);
  transform: translateY(-3px);
}

.careers-wrap .card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.careers-wrap .card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #1a2e42;
  line-height: 1.4;
}

/* ── Card footer row ── */
.card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f0f4f8;
}

.card-type-tag,
.card-level-tag {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 3px;
  background: #f0f4f8;
  color: #3a5068;
  white-space: nowrap;
}

.card-arrow {
  margin-left: auto;
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: #1e3a5f;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.job-card:hover .card-arrow {
  opacity: 1;
}

/* ── Category badges ── */
.badge {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-academic {
  background: #dbeafe;
  color: #1e40af;
}

.badge-admin {
  background: #ede9fe;
  color: #4c1d95;
}

.badge-accounts {
  background: #fef3c7;
  color: #92400e;
}

.badge-audit {
  background: #d1fae5;
  color: #065f46;
}

.badge-medical {
  background: #fee2e2;
  color: #991b1b;
}

.badge-technical {
  background: #ccfbf1;
  color: #134e4a;
}

.badge-ict {
  background: #fce7f3;
  color: #831843;
}

.badge-library {
  background: #f3f4f6;
  color: #374151;
}

.badge-legal {
  background: #fee2e2;
  color: #7f1d1d;
}

.badge-secretarial {
  background: #e0e7ff;
  color: #3730a3;
}

.badge-planning {
  background: #d1fae5;
  color: #064e3b;
}

/* ── Requirements text ── */
.careers-wrap .card-req {
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ── Divider ── */
.careers-divider {
  border: none;
  border-top: 1px solid #dde5ed;
  margin: 2rem 0;
}

/* ── CTA bar ── */
.cta-bar {
  background: #1e3a5f;
  border-radius: 8px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-note {
  font-size: 13.5px;
  color: #c8d8e8;
  line-height: 1.75;
  margin: 0;
  max-width: 620px;
}

.cta-note strong {
  color: #ffffff;
  font-weight: 600;
}

.cta-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c9a84c;
  color: #ffffff;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 5px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.cta-apply-btn:hover {
  background: #b8943e;
}

/* ═══════════════════════════════════════════════════════════════
   APPLICATION MODAL
   ═══════════════════════════════════════════════════════════════ */

.apply-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.apply-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.apply-modal {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(10, 20, 35, 0.28);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-behavior: smooth;
}

.apply-overlay.active .apply-modal {
  transform: translateY(0) scale(1);
}

/* Close */
.apply-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #dde5ed;
  background: #ffffff;
  color: #3a5068;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.15s ease, color 0.15s ease;
}

.apply-close:hover {
  background: #1e3a5f;
  color: #ffffff;
}

/* Modal Head */
.apply-modal-head {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(135deg, #1e3a5f 0%, #1a5276 100%);
  border-radius: 12px 12px 0 0;
}

.apply-modal-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.apply-position-label {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: #a8c4de;
  margin: 0 0 1.25rem;
  font-weight: 400;
}

/* Step indicators */
.apply-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.apply-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.apply-step-indicator.active .step-num {
  background: #c9a84c;
  color: #ffffff;
}

.step-lbl {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.apply-step-indicator.active .step-lbl {
  color: #ffffff;
}

.apply-step-connector {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 12px;
  min-width: 40px;
}

/* Form Steps */
.apply-step {
  display: none;
  padding: 1.5rem 2rem;
}

.apply-step.active {
  display: block;
}

/* Form Grid */
.apply-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.apply-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.apply-field--full {
  grid-column: 1 / -1;
}

.apply-field label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1a2e42;
  letter-spacing: 0.01em;
}

.req-star {
  color: #e53e3e;
}

.apply-field input,
.apply-field select,
.apply-field textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #dde5ed;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #1a2e42;
  background: #fafcff;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.apply-field input:focus,
.apply-field select:focus,
.apply-field textarea:focus {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
  background: #ffffff;
}

.apply-field input.error,
.apply-field select.error,
.apply-field textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.apply-field textarea {
  resize: vertical;
  min-height: 64px;
}

.field-error {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: #e53e3e;
  margin-top: 2px;
}

/* File Uploads */
.apply-file-group {
  margin-bottom: 1.25rem;
}

.apply-file-label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1a2e42;
  display: block;
  margin-bottom: 3px;
}

.apply-file-hint {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  color: #8496a8;
  margin: 0 0 8px;
}

.file-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed #c8d4e0;
  border-radius: 8px;
  padding: 24px 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  background: #f8fafc;
}

.file-drop-zone:hover {
  border-color: #1e3a5f;
  background: #eef4fb;
}

.file-drop-zone input[type="file"] {
  display: none;
}

.file-drop-text {
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  color: #3a5068;
  text-align: center;
}

.file-drop-text.has-file {
  color: #1e3a5f;
  font-weight: 600;
}

/* Step Nav */
.apply-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid #edf2f7;
  margin-top: 0.5rem;
}

.apply-next-btn,
.apply-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e3a5f;
  color: #ffffff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.18s ease, transform 0.15s ease;
}

.apply-next-btn:hover,
.apply-submit-btn:hover {
  background: #c9a84c;
  transform: translateY(-1px);
}

.apply-submit-btn {
  background: #15803d;
}

.apply-submit-btn:hover {
  background: #166534;
}

.apply-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: #3a5068;
  border: 1.5px solid #dde5ed;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.apply-back-btn:hover {
  border-color: #1e3a5f;
  color: #1e3a5f;
}

/* Disclaimer */
.apply-disclaimer {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 1rem;
}

.apply-disclaimer p {
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  color: #78350f;
  margin: 0;
  line-height: 1.6;
}

/* ── Success State ── */
.apply-success {
  text-align: center;
  padding: 3rem 2rem !important;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.success-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2e42;
  margin: 0 0 0.75rem;
}

.success-msg {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.75;
  max-width: 400px;
  margin: 0 auto 1.75rem;
}

.apply-done-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e3a5f;
  color: #ffffff;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.apply-done-btn:hover {
  background: #c9a84c;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .careers-wrap {
    padding: 2rem 1rem;
  }

  .cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .jd-panel {
    width: 100vw;
  }

  .apply-form-grid {
    grid-template-columns: 1fr;
  }

  .apply-step {
    padding: 1.25rem 1.25rem;
  }

  .apply-modal-head {
    padding: 1.25rem 1.25rem 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   UISTO CAREER OPPORTUNITY SECTION
   ═══════════════════════════════════════════════════════════════ */

.uisto-career-section {
  padding: 80px 5%;
  background: linear-gradient(160deg, #f4f7fa 0%, #eef2f8 100%);
  position: relative;
  overflow: hidden;
}

.uisto-career-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.04);
  pointer-events: none;
}

.uisto-career-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Left: Content ── */
.uisto-career-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.uisto-career-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1e3a5f;
  color: #c9a84c;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
}

.uisto-career-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #1a2e42;
  line-height: 1.25;
  margin: 0;
}

.uisto-career-p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #4a6072;
  line-height: 1.85;
  margin: 0;
  max-width: 480px;
}

.uisto-career-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.uisto-career-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #dde5ed;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #3a5068;
  box-shadow: 0 1px 4px rgba(30,58,95,0.06);
}

.uisto-career-badge strong {
  color: #1e3a5f;
  font-weight: 600;
}

.uisto-apply-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c9a84c;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.uisto-apply-trigger:hover {
  background: #b8943e;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.45);
}

/* ── Right: Position Cards ── */
.uisto-career-positions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uisto-pos-card {
  background: #fff;
  border: 1px solid #dde5ed;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  position: relative;
}

.uisto-pos-card:hover {
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.11);
  transform: translateY(-2px);
}

.uisto-pos-card--highlight {
  border-color: #f0e4be;
  background: linear-gradient(135deg, #fffdf5 0%, #fff9e8 100%);
}

.uisto-pos-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0f5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.uisto-pos-icon--gold {
  background: #fefae8;
}

.uisto-pos-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a2e42;
  margin: 4px 0 0;
}

.uisto-pos-card p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.uisto-pos-tag {
  display: inline-block;
  background: #e8f0f8;
  color: #1e3a5f;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}

.uisto-pos-tag--gold {
  background: #fff8e8;
  color: #c9a84c;
}

/* ═══════════════════════════════════════════════════════════════
   ROLE TYPE SELECTOR (inside application modal)
   ═══════════════════════════════════════════════════════════════ */

.role-selector-wrap {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f7;
}

.role-selector-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #1a2e42;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
}

.role-selector-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.role-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid #dde5ed;
  border-radius: 10px;
  background: #fafcff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  color: #3a5068;
}

.role-tab:hover {
  border-color: #1e3a5f;
  background: #f0f5fa;
}

.role-tab.active {
  border-color: #1e3a5f;
  background: #1e3a5f;
  color: #fff;
}

.role-tab.active svg {
  stroke: #c9a84c;
}

.role-tab svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.role-tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.role-tab-name {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

.role-tab-sub {
  font-size: 11px;
  color: rgba(58, 80, 104, 0.72);
  font-weight: 400;
  line-height: 1.3;
}

.role-tab.active .role-tab-sub {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Responsive: career section ── */
@media (max-width: 920px) {
  .uisto-career-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .uisto-career-p {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .uisto-career-section {
    padding: 50px 5%;
  }

  .role-selector-tabs {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   JOB SELECTOR & PREVIEW CARD (inside modal)
   ═══════════════════════════════════════════════════════════════ */

.job-selector-wrap {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #edf2f7;
}

.job-selector-wrap .apply-field label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.job-selector-wrap select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #dde5ed;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #1a2e42;
  background: #fafcff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.job-selector-wrap select:focus {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
  background: #fff;
}

/* Preview card shown after job selection */
.job-preview-card {
  margin-top: 10px;
  background: linear-gradient(135deg, #f0f5fa 0%, #e8f0f8 100%);
  border: 1.5px solid #c8d8ea;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeSlideIn 0.25s ease;
}

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

.job-preview-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.job-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job-preview-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a2e42;
}

.job-preview-dept {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #5a6a7a;
}

.job-preview-badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-academic-type {
  background: #dbeafe;
  color: #1e40af;
}

.badge-nonacdemic-type {
  background: #ede9fe;
  color: #4c1d95;
}

.job-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.job-preview-meta span {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #3a5068;
}

/* ═══════════════════════════════════════════════════════════════
   APPLICATION STATUS MODAL & TRIGGERS
   ═══════════════════════════════════════════════════════════════ */

.uisto-status-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #1e3a5f;
  border: 1px solid #1e3a5f;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.uisto-status-trigger:hover {
  background: rgba(30, 58, 95, 0.05);
}

.uisto-career-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .uisto-career-actions {
    flex-direction: column;
    width: 100%;
  }
  .uisto-status-trigger {
    justify-content: center;
  }
}

.status-modal {
  max-width: 500px;
}

.status-modal-body {
  padding: 24px 30px 30px;
}

.status-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.status-check-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  margin-top: 8px;
  background: #1e3a5f;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.status-check-btn:hover {
  background: #152c4a;
}

.status-check-btn:disabled {
  background: #aab8c8;
  cursor: not-allowed;
}

/* Spinner for the check status button */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Result Card */
.status-result {
  margin-top: 24px;
  animation: fadeSlideIn 0.3s ease;
}

.result-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.result-role {
  font-weight: 600;
  font-size: 15px;
  color: #1a2e42;
}

.result-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-shortlisted { background: #dcfce7; color: #166534; }
.status-rejected { background: #fee2e2; color: #991b1b; }

.result-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 16px;
}

.result-meta strong {
  color: #1a2e42;
  font-weight: 600;
}

.result-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.result-msg-info { background: #eff6ff; color: #1e40af; border-left: 3px solid #3b82f6; }
.result-msg-success { background: #f0fdf4; color: #15803d; border-left: 3px solid #22c55e; }
.result-msg-error { background: #fef2f2; color: #b91c1c; border-left: 3px solid #ef4444; }