/* ── Career Page ────────────────────────────────────────────────────────── */

/* Override cinematic background for Careers (Near-Black Premium) */
.visual-bg__base { background: #030406 !important; }
.visual-bg__ambient { background: radial-gradient(circle at 50% 30%, rgba(12, 22, 45, 0.4) 0%, transparent 70%) !important; opacity: 1 !important; }
.vbg-blob { display: none !important; } /* Hide loud blobs for calmer feel */

.career-hero {
  padding: 120px 0 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.career-hero h1 {
  font-size: 48px; font-weight: var(--font-weight-semibold); color: #fff; /* M-1: was 800 — not in design token set */
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.career-hero p { font-size: 18px; color: rgba(255,255,255,0.55); max-width: 560px; margin: 0 auto; }

/* ── Values Strip ────────────────────────────────────────────────────────── */
.values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 80px;
}
.values-strip__item {
  background: linear-gradient(135deg, rgba(10, 31, 74, 0.4) 0%, rgba(5, 16, 36, 0.5) 100%); padding: 32px 24px; text-align: center;
  transition: background 0.25s ease;
}
.values-strip__item:hover {
  background: rgba(41, 151, 255, 0.06);
}
.values-strip__icon { font-size: 28px; margin-bottom: 12px; }
.values-strip__label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); }

/* ── Roles ───────────────────────────────────────────────────────────────── */
#roles-list {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 80px;
}
.role-card {
  background: linear-gradient(135deg, rgba(10, 31, 74, 0.5) 0%, rgba(5, 16, 36, 0.6) 100%);
  border: 1px solid rgba(41,151,255,0.15);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.role-card:hover {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(10, 31, 74, 0.8) 0%, rgba(5, 16, 36, 0.9) 100%);
  transform: translateX(4px);
}
.role-card__left {}
.role-card__title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.role-card__meta { display: flex; flex-wrap: wrap; gap: 12px; }
.role-meta-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06); padding: 4px 10px; border-radius: 6px;
}
.role-card__action {
  flex-shrink: 0;
}
.role-card__dept {
  font-size: 12px; font-weight: 600; color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}

/* ── Empty State ─────────────────────────────────────────────────────────── */
.career-empty {
  text-align: center; padding: 80px 24px;
  border: 1px dashed rgba(255,255,255,0.1); border-radius: 16px;
}
.career-empty__icon { font-size: 56px; margin-bottom: 16px; }
.career-empty__title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.career-empty__text { font-size: 16px; color: rgba(255,255,255,0.45); }

/* ── Apply Modal ─────────────────────────────────────────────────────────── */
.apply-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.apply-overlay.open { opacity: 1; pointer-events: all; }
.apply-modal {
  background: linear-gradient(135deg, rgba(10, 31, 74, 0.95) 0%, rgba(5, 16, 36, 0.98) 100%); border: 1px solid rgba(41,151,255,0.2);
  border-radius: 20px; width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto; padding: 40px;
  transform: translateY(20px);
  transition: transform 0.35s ease;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.apply-overlay.open .apply-modal { transform: translateY(0); }
.apply-modal__header {
  display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px;
}
.apply-modal__role-label {
  font-size: 12px; font-weight: 600; color: var(--color-primary);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}
.apply-modal__title { font-size: 22px; font-weight: 700; }
.apply-modal__close {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; color: rgba(255,255,255,0.6);
  width: 44px; height: 44px; /* H-3: was ~32px — below 44px minimum tap target */
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; line-height: 1; flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.apply-modal__close:hover { color: #fff; background: rgba(255,255,255,0.12); }

/* Form fields */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.form-label span { color: var(--color-primary); }
.form-input, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: #fff; font-size: 15px; font-family: Inter, sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--color-primary);
  background: rgba(0,174,239,0.05);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-file {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15); border-radius: 10px;
  color: rgba(255,255,255,0.5); font-size: 14px; cursor: pointer;
  box-sizing: border-box;
}
.form-file::file-selector-button {
  background: var(--color-primary); border: none; border-radius: 6px;
  color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px;
  cursor: pointer; margin-right: 12px; font-family: Inter, sans-serif;
}
.form-submit-row {
  display: flex; gap: 12px; margin-top: 28px;
}
.apply-success {
  text-align: center; padding: 32px 0;
}
.apply-success__icon { font-size: 48px; margin-bottom: 16px; }
.apply-success__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.apply-success__text { color: rgba(255,255,255,0.55); }

@media (max-width: 768px) {
  .role-card { flex-direction: column; align-items: flex-start; }
  .apply-modal { padding: 28px 20px; }
}
