/* AlphaReaction Career Details */

.ar-career-hero-crumb.page-title {
  padding: 70px 0 18px;
}

.ar-career-hero-crumb .breadcumb-wrap h2 {
  display: none;
}

.ar-career-details {
  padding: 10px 0 90px;
}

.ar-career-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.ar-career-hero__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.35);
}

.ar-career-hero__title {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
}

.ar-career-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 16px;
}

.ar-career-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
}

.ar-career-hero__stat > i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.ar-career-hero__stat strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.ar-career-hero__stat strong.is-active {
  color: #86efac;
}

.ar-career-hero__stat span {
  display: block;
  color: #8ea2c5;
  font-size: 0.75rem;
}

.ar-career-hero__status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #64748b;
}

.ar-career-hero__status-dot.is-active {
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
}

.ar-career-hero__desc {
  margin: 0 0 16px;
  color: #b7c6e0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 40rem;
}

.ar-career-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ar-career-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(10, 18, 36, 0.85);
  color: #dbeafe;
  font-size: 0.8rem;
}

.ar-career-pill i {
  color: #67e8f9;
}

.ar-career-hero__media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.12), 0 18px 40px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4 / 3;
  background: #0b1428;
}

.ar-career-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ar-career-hero__media:hover img {
  transform: scale(1.03);
}

.ar-career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.ar-career-panel {
  padding: 8px 18px 22px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(16, 24, 44, 0.92), rgba(8, 14, 28, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.ar-career-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  margin: 0 -6px 8px;
  padding: 10px 6px 12px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  scrollbar-width: thin;
}

.ar-career-tabs__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  color: #8ea2c5;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ar-career-tabs__btn:hover,
.ar-career-tabs__btn.is-active {
  color: #fff;
  border-bottom-color: transparent;
  background-image: linear-gradient(90deg, #22d3ee, #a855f7);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.25));
}

.ar-career-section {
  padding: 22px 4px 8px;
  scroll-margin-top: 110px;
}

.ar-career-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.ar-career-section__title i {
  color: #67e8f9;
}

.ar-career-prose,
.ar-career-prose p,
.ar-career-prose li {
  color: #c9d6ef;
  font-size: 0.95rem;
  line-height: 1.7;
}

.ar-career-prose p {
  margin: 0 0 12px;
}

.ar-career-empty {
  color: #8ea2c5;
}

.ar-career-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ar-career-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: #d5e0f5;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ar-career-checklist i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  color: #67e8f9;
  border: 1px solid rgba(103, 232, 249, 0.45);
  background: rgba(8, 145, 178, 0.15);
  font-size: 0.7rem;
}

.ar-career-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ar-career-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 16px 10px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(10, 18, 36, 0.7);
}

.ar-career-benefit__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.4);
  background: rgba(124, 58, 237, 0.15);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.18);
  font-size: 1.2rem;
}

.ar-career-benefit strong {
  color: #fff;
  font-size: 0.88rem;
}

.ar-career-benefit span {
  color: #8ea2c5;
  font-size: 0.78rem;
  line-height: 1.4;
}

.ar-career-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}

.ar-career-side-card {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(16, 24, 44, 0.94), rgba(8, 14, 28, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.08), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.ar-career-side-card__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
}

.ar-career-side-card__lead {
  margin: 0 0 14px;
  color: #8ea2c5;
  font-size: 0.9rem;
}

.ar-career-deadline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.ar-career-deadline__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.35);
}

.ar-career-deadline__label {
  display: block;
  color: #b7c6e0;
  font-size: 0.78rem;
}

.ar-career-deadline strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

.ar-career-deadline span:last-child {
  color: #9eb0cf;
  font-size: 0.8rem;
}

.ar-career-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ar-career-btn--primary {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, #7c3aed 0%, #db2777 100%);
  box-shadow: 0 0 18px rgba(219, 39, 119, 0.28);
  margin-bottom: 10px;
}

.ar-career-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.4);
}

.ar-career-btn--primary:hover i {
  transform: translateX(3px);
}

.ar-career-btn--primary i {
  transition: transform 0.2s ease;
}

.ar-career-btn--ghost {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  color: #dbeafe;
}

.ar-career-btn--ghost:hover,
.ar-career-btn--ghost.is-active {
  border-color: rgba(167, 139, 250, 0.75);
  color: #fff;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.25);
}

.ar-career-btn--ghost.is-active i {
  color: #f472b6;
}

.ar-career-closed {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 0.9rem;
}

.ar-career-summary {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ar-career-summary li {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.ar-career-summary li:last-child {
  border-bottom: 0;
}

.ar-career-summary__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8ea2c5;
  font-size: 0.84rem;
}

.ar-career-summary__label i {
  color: #a78bfa;
}

.ar-career-summary__value {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: right;
}

.ar-career-similar {
  margin-top: 36px;
}

.ar-career-similar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ar-career-similar__head h2 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
}

.ar-career-similar__head a {
  color: #67e8f9;
  font-weight: 600;
  text-decoration: none;
}

.ar-career-similar__head a:hover {
  color: #e879f9;
}

.ar-career-similar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ar-similar-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(160deg, rgba(16, 24, 44, 0.92), rgba(8, 14, 28, 0.96));
  border: 1px solid rgba(56, 189, 248, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ar-similar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.2);
}

.ar-similar-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ar-similar-card__icon--cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.ar-similar-card__icon--purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.ar-similar-card__icon--teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.ar-similar-card__icon--magenta { background: linear-gradient(135deg, #db2777, #a855f7); }
.ar-similar-card__icon--orange { background: linear-gradient(135deg, #ea580c, #fb923c); }
.ar-similar-card__icon--violet { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }

.ar-similar-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ar-similar-card__body strong {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.3;
}

.ar-similar-card__dept,
.ar-similar-card__meta,
.ar-similar-card__foot {
  color: #8ea2c5;
  font-size: 0.78rem;
}

.ar-similar-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ar-similar-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.ar-similar-card__foot i {
  color: #93c5fd;
  transition: transform 0.2s ease;
}

.ar-similar-card:hover .ar-similar-card__foot i {
  transform: translateX(3px);
  color: #e879f9;
}

.ar-career-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(16, 24, 44, 0.95), rgba(37, 99, 235, 0.18), rgba(124, 58, 237, 0.22));
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.15);
}

.ar-career-cta__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.35);
}

.ar-career-cta__copy {
  flex: 1 1 220px;
}

.ar-career-cta__copy h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}

.ar-career-cta__copy p {
  margin: 0;
  color: #b7c6e0;
}

.ar-career-cta .ar-career-btn {
  width: auto;
  min-width: 200px;
}

.ar-career-flash {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #e8eefc;
}

.ar-career-flash i {
  margin-top: 2px;
  font-size: 1.1rem;
}

.ar-career-flash--success {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.35);
}

.ar-career-flash--error {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(248, 113, 113, 0.35);
}

.ar-career-flash ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* Dark apply modal — fixed to viewport, centered, scrollable when tall */
body > .ar-career-apply-backdrop.career-apply-backdrop,
.ar-career-apply-backdrop.career-apply-backdrop {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  inset: 0 !important;
  z-index: 10050 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  background: rgba(5, 8, 16, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body > .ar-career-apply-backdrop.career-apply-backdrop[hidden],
.ar-career-apply-backdrop.career-apply-backdrop[hidden] {
  display: none !important;
}

body.ar-career-modal-open {
  overflow: hidden !important;
}

.ar-career-apply-backdrop .career-apply-modal {
  width: min(560px, 100%) !important;
  max-width: min(560px, 92vw) !important;
  height: auto !important;
  max-height: min(85dvh, 85vh, 820px) !important;
  margin: auto !important;
  flex-shrink: 0;
  background: linear-gradient(160deg, rgba(16, 24, 44, 0.98), rgba(8, 14, 28, 0.99));
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 16px;
  color: #e8eefc;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.ar-career-apply-backdrop .career-apply-modal-header {
  border-bottom-color: rgba(56, 189, 248, 0.15);
  color: #fff;
  flex-shrink: 0;
}

.ar-career-apply-backdrop .career-apply-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.ar-career-apply-backdrop .career-apply-close {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.ar-career-apply-backdrop .career-apply-close:hover {
  background: rgba(37, 99, 235, 0.25);
  color: #fff;
}

.ar-career-apply-backdrop .form-label,
.ar-career-apply-backdrop .form-text {
  color: #b7c6e0;
}

.ar-career-apply-backdrop .form-control {
  background: rgba(7, 14, 28, 0.9);
  border-color: #1a2a45;
  color: #f8fbff;
}

.ar-career-apply-backdrop .career-phone-country-btn {
  background: rgba(7, 14, 28, 0.9);
  border-color: #1a2a45;
  color: #e8eefc;
}

.ar-career-apply-backdrop .career-phone-country-panel {
  background: #0b1428;
  border-color: #1a2a45;
}

.ar-career-apply-backdrop .career-phone-country-list li {
  color: #e8eefc;
}

.ar-career-apply-backdrop .career-phone-country-list li:hover,
.ar-career-apply-backdrop .career-phone-country-list li[aria-selected="true"] {
  background: rgba(99, 102, 241, 0.22);
}

.ar-career-apply-backdrop .career-phone-search {
  background: rgba(7, 14, 28, 0.95);
  color: #f8fbff;
  border-bottom-color: #1a2a45;
}

@media (max-width: 1199.98px) {
  .ar-career-similar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ar-career-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .ar-career-hero,
  .ar-career-layout {
    grid-template-columns: 1fr;
  }

  .ar-career-sidebar {
    position: static;
    order: -1;
  }

  .ar-career-hero__media {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .ar-career-similar__grid,
  .ar-career-benefits {
    grid-template-columns: 1fr;
  }

  .ar-career-summary li {
    grid-template-columns: 1fr;
  }

  .ar-career-summary__value {
    text-align: left;
  }

  .ar-career-cta .ar-career-btn {
    width: 100%;
  }
}
