.career-main {
  position: relative;
}

.career-status-pill {
  border-radius: 999px;
  border: 1px solid #99f6e4;
  background: rgba(240, 253, 250, 0.8);
  color: #0f766e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 0.8rem;
  font-weight: 500;
}

.career-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.career-head-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.career-head-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2dd4bf, #06b6d4);
  color: #ffffff;
  display: grid;
  place-items: center;
}

.career-head h1 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #111827;
}

.career-head-kicker {
  margin: 12px 0 6px;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 600;
}

.career-head-desc {
  margin: 0;
  color: #6b7280;
  line-height: 1.65;
}

.career-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 18px;
  min-height: calc(100vh - 250px);
  padding-bottom: 18px;
}

.career-agents-col {
  border-radius: 24px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.career-agents-head {
  padding: 16px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
  background: rgba(255, 255, 255, 0.42);
}

.career-agents-head h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 0.9rem;
}

.career-agents-head button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(to right, #14b8a6, #06b6d4);
  color: #ffffff;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.39);
}

.career-agents-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 4px;
}

.career-agents-list button {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4b5563;
  padding: 10px 11px;
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.career-agents-list button:hover {
  background: rgba(249, 250, 251, 0.9);
  color: #111827;
}

.career-agents-list button.active {
  border: 1px solid #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 500;
}

.career-agents-list button.active i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #14b8a6;
}

.career-reco-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.career-reco-head {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.career-reco-head h2 {
  margin: 0;
  color: #111827;
  font-size: 1.03rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}

.career-reco-head h2 span {
  color: #0f766e;
  border: 1px solid #99f6e4;
  background: #f0fdfa;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.84rem;
}

.career-reco-head button {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.career-cards {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}

.career-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  grid-auto-rows: min-content;
}

.career-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(153, 246, 228, 0.5);
  background: linear-gradient(135deg, #ffffff, rgba(240, 253, 250, 0.45));
  padding: 12px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.career-card:hover {
  border-color: #5eead4;
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.08);
}

.career-card-glow {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, rgba(45, 212, 191, 0.18), rgba(34, 211, 238, 0.16));
  filter: blur(22px);
  transition: transform 0.5s ease;
}

.career-card:hover .career-card-glow {
  transform: scale(1.5);
}

.career-card-wand {
  position: absolute;
  top: 11px;
  right: 11px;
  color: #5eead4;
}

.career-card-content {
  position: relative;
  z-index: 1;
}

.career-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.career-card-icon.blue { background: #eff6ff; color: #3b82f6; }
.career-card-icon.indigo { background: #eef2ff; color: #6366f1; }
.career-card-icon.emerald { background: #ecfdf5; color: #10b981; }
.career-card-icon.orange { background: #fff7ed; color: #f97316; }
.career-card-icon.rose { background: #fff1f2; color: #f43f5e; }
.career-card-icon.slate { background: #f1f5f9; color: #475569; }

.career-card h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.career-card p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.4;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
}

.career-card p.tone.strong { color: #0f766e; }
.career-card p.tone.neutral { color: #4f46e5; }
.career-card p.tone.soft { color: #6b7280; }

.theme-dark .career-status-pill {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
}

.theme-dark .career-head h1,
.theme-dark .career-agents-head h2,
.theme-dark .career-reco-head h2,
.theme-dark .career-card h3 {
  color: #ffffff;
}

.theme-dark .career-head-desc,
.theme-dark .career-agents-list button,
.theme-dark .career-reco-head button,
.theme-dark .career-card p.tone.soft,
.theme-dark .career-head-kicker {
  color: #9ca3af;
}

.theme-dark .career-head-icon,
.theme-dark .career-agents-col,
.theme-dark .career-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.theme-dark .career-agents-col,
.theme-dark .career-card {
  background: rgba(255, 255, 255, 0.02);
}

.theme-dark .career-agents-head {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .career-agents-list button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f3f4f6;
}

.theme-dark .career-agents-list button.active {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
}

.theme-dark .career-reco-head h2 span {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
}

.theme-dark .career-card-glow {
  background: linear-gradient(to bottom right, rgba(45, 212, 191, 0.15), rgba(99, 102, 241, 0.14));
}

.theme-dark .career-card-wand {
  color: #2dd4bf;
}

@media (max-width: 1180px) {
  .career-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .career-agents-col {
    max-height: 280px;
  }

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

@media (max-width: 760px) {
  .career-cards {
    grid-template-columns: 1fr;
  }
}
