.explorer-controls {
  margin-bottom: 1rem;
}
.explorer-controls label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#explorer-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  align-items: flex-start;
}

#career-grid-section h2, #career-details-section h2 {
  margin-top: 0;
}

#career-grid-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.career-card {
  background-color: #25344f;
  border: 1px solid #7b96c2;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.career-card:hover {
  border-color: #E1E1E1;
  transform: translateX(3px);
}
.career-card.active {
  background-color: #374e73;
  border-color: #FFC107;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}
.career-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

#career-details-container .placeholder-message,
#career-grid-container .placeholder-message {
  text-align: center;
  padding: 3rem 1rem;
  color: #E1E1E1;
}

#career-details-container h3 {
  font-size: 1.75rem;
  margin-top: 0;
  color: #FFC107;
}

.career-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  background: #25344f;
  padding: 1rem;
  border-radius: 6px;
}

.career-description {
  margin-bottom: 2rem;
}

.requirements-section h4 {
  font-size: 1.2rem;
  border-bottom: 1px solid #7b96c2;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.requirements-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  columns: 2;
  gap: 1rem;
}

.requirements-section li {
  margin-bottom: 0.5rem;
}

.career-outlook {
  margin-bottom: 1.5rem;
  background: #25344f;
  padding: 1rem;
  border-radius: 6px;
}

.outlook-legend {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #E1E1E1;
}

.outlook-legend .legend-item::before {
  content: '■';
  margin-right: 0.5rem;
}

.outlook-legend .legend-item.Strong::before { color: #5cb85c; }
.outlook-legend .legend-item.Good::before { color: #5ab2d6; }
.outlook-legend .legend-item.Average::before { color: #f0ad4e; }
.outlook-legend .legend-item.Limited::before { color: #d9534f; }

@media (max-width: 900px) {
  #explorer-layout {
    grid-template-columns: 1fr;
  }
}

/* --- Modal Styles --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #25344f;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #7b96c2;
  text-align: left;
  max-width: 500px;
  width: 90%;
}

.modal-content h3 {
  text-align: center;
  margin-top: 0;
}

.modal-content #info-modal-message {
    margin-top: 1rem;
    max-height: 40vh;
    overflow-y: auto;
}

.modal-content #info-modal-message ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    text-align: left;
}

.modal-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}