body {
  padding-top: 88px;
  background:
    radial-gradient(circle at 80% 0%, rgba(37, 99, 235, 0.16), transparent 40%),
    radial-gradient(circle at 10% 30%, rgba(15, 23, 42, 0.08), transparent 35%),
    #f4f7ff;
}

.careers-hero {
  padding: 76px 0 64px;
  background: linear-gradient(120deg, #0f172a 0%, #1d4ed8 60%, #2563eb 100%);
}

.careers-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.section-card {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}

.role-grid {
  display: grid;
  gap: 16px;
}

.role-card {
  border: 1px solid #dbe4ff;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
}

.role-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.role-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #0f172a;
}

.role-meta {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
}

.role-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 0.8rem;
  font-weight: 600;
}

.role-summary {
  margin: 14px 0;
  color: #1e293b;
}

.role-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-outline-clean {
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.empty-state {
  border: 1px dashed #93c5fd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #475569;
  background: #f8fbff;
}

body.apply-popup-open {
  overflow: hidden;
}

body.apply-popup-open > *:not(.apply-popup-overlay) {
  filter: blur(5px);
}

.apply-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.apply-popup-overlay.is-visible {
  display: flex;
}

.apply-popup-card {
  width: min(560px, 100%);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.35);
  border: 1px solid #cbd5e1;
  padding: 1.5rem;
  position: relative;
}

.apply-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.apply-popup-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: #2563eb;
  font-weight: 700;
}

.apply-popup-title {
  margin: 0.6rem 0 0.8rem;
  color: #0f172a;
  font-size: 1.3rem;
}

.apply-popup-label {
  margin-bottom: 1rem;
  color: #334155;
  word-break: break-word;
}

.apply-popup-note {
  margin: 0.8rem 0 0;
  color: #64748b;
  font-size: 0.88rem;
}

.apply-popup-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.copy-email-status {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d4ed8;
  min-height: 1.2rem;
}

@media (max-width: 991px) {
  body {
    padding-top: 76px;
  }

  .careers-hero {
    padding: 60px 0 52px;
  }
}

@media (max-width: 576px) {
  .role-top {
    flex-direction: column;
  }

  .apply-popup-card {
    padding: 1.2rem;
  }

  .apply-popup-title {
    font-size: 1.12rem;
  }
}
