/* Zuyini Health Sciences Academy - matches the dark / gold branding of the main site. */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #151617;
  color: white;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 34px;
  background-color: #151617;
  border-bottom: 1px solid #262626;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 20px;
  color: white;
  text-decoration: none;
}

.logo-mark {
  display: inline-block;
  width: 34px;
  height: 34px;
  background-color: #ffc629;
  color: #151617;
  text-align: center;
  line-height: 34px;
  font-weight: bold;
  border-radius: 4px;
}

.nav-links a {
  margin-left: 28px;
  color: #d7d7d7;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #ffc629;
}

.academy-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 34px 28px;
  text-align: center;
}

.section-label {
  color: #ffc629;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 0 0 12px;
}

.academy-hero h1,
.academy-hero .hero-tagline-heading {
  font-size: 30px;
  margin: 0 0 14px;
}

.hero-description {
  color: #b9b9b9;
  font-size: 15px;
  margin: 0;
}

.skill-finder {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 24px auto 0;
}

.skill-finder input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  background-color: #151617;
  border: 1px solid #333;
  border-radius: 8px;
  color: white;
  font-size: 14px;
}

.skill-finder input:focus {
  outline: none;
  border-color: #ffc629;
}

.skill-finder button {
  padding: 13px 20px;
  background-color: #ffc629;
  color: #151617;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.skill-finder button:hover {
  background-color: #ffd35c;
}

@media (max-width: 480px) {
  .skill-finder {
    flex-direction: column;
  }
}

.skill-results .detail-card {
  max-width: 720px;
  margin: 0 auto;
}

.skill-results-query {
  color: #a8a8a8;
  font-size: 14px;
  margin: 0 0 20px;
}

.skill-results-query strong {
  color: #ffc629;
}

.skill-result-card {
  display: block;
  text-align: left;
  width: 100%;
  background: linear-gradient(180deg, #1c1d1e 0%, #17181a 100%);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.skill-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 198, 41, 0.5);
}

.skill-result-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.skill-result-type {
  display: inline-block;
  color: #ffc629;
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: bold;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 198, 41, 0.35);
  border-radius: 999px;
  background: rgba(255, 198, 41, 0.06);
}

.skill-result-match {
  display: inline-block;
  color: #151617;
  font-size: 10.5px;
  font-weight: bold;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: #ffc629;
}

.skill-result-name {
  color: white;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}

.skill-result-snippet {
  color: #a8a8a8;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.skill-results-empty {
  color: #a8a8a8;
  font-size: 14px;
  line-height: 1.6;
}

.app-shell {
  display: flex;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 34px 60px;
  gap: 28px;
  align-items: flex-start;
}

.role-panel {
  width: 320px;
  flex-shrink: 0;
  background-color: #1c1d1e;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 18px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.category-select {
  width: 100%;
  padding: 10px 12px;
  background-color: #151617;
  border: 1px solid #333;
  border-radius: 6px;
  color: white;
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 10px;
}

.category-select:focus {
  outline: none;
  border-color: #ffc629;
}

.search-box input {
  width: 100%;
  padding: 12px 14px;
  background-color: #151617;
  border: 1px solid #333;
  border-radius: 6px;
  color: white;
  font-size: 14px;
}

.search-box input:focus {
  outline: none;
  border-color: #ffc629;
}

.role-count {
  color: #8a8a8a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 14px 0 8px;
}

.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.role-list li {
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #d7d7d7;
}

.role-list li:hover {
  background-color: #26272a;
}

.role-list li.active {
  background-color: #ffc629;
  color: #151617;
  font-weight: bold;
}

.role-list li .no-match {
  color: #666;
}

.role-detail {
  flex: 1;
  min-width: 0;
}

.empty-state {
  background-color: #1c1d1e;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 60px 40px;
  text-align: center;
  color: #b9b9b9;
}

.empty-state h2 {
  color: white;
  margin-top: 0;
}

.detail-card {
  background-color: #1c1d1e;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 30px;
}

.detail-card h2 {
  font-size: 28px;
  margin: 0 0 8px;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.share-label {
  color: #8a8a8a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 2px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  background-color: #17181a;
  border: 1px solid #333;
  border-radius: 999px;
  color: #d7d7d7;
  font-size: 12.5px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.share-btn:hover {
  border-color: #ffc629;
  color: #ffc629;
}

.topic-phase {
  display: inline-block;
  color: #ffc629;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 0 20px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 198, 41, 0.35);
  border-radius: 999px;
  background: rgba(255, 198, 41, 0.06);
}

.hsa-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #2a2a2a;
}

.hsa-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.hsa-section h3 {
  color: #ffc629;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.hsa-paragraph {
  color: #d7d7d7;
  font-size: 14.5px;
  margin: 0;
}

.hsa-bullets {
  margin: 0;
  padding-left: 22px;
  color: #d7d7d7;
  font-size: 14.5px;
}

.hsa-bullets li {
  margin-bottom: 8px;
}

.hsa-table-wrap {
  overflow-x: auto;
}

.hsa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.hsa-table th {
  text-align: left;
  color: #ffc629;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 8px 12px;
  border-bottom: 1px solid #333;
  white-space: nowrap;
}

.hsa-table td {
  color: #d7d7d7;
  padding: 10px 12px;
  border-bottom: 1px solid #232426;
  vertical-align: top;
}

.hsa-table tr:last-child td {
  border-bottom: none;
}

.hsa-table td a {
  color: #ffc629;
  text-decoration: none;
}

.hsa-table td a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  background: none;
  border: none;
  color: #ffc629;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
}

.back-link:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 24px;
  color: #6f6f6f;
  font-size: 12px;
  border-top: 1px solid #262626;
}

@media (max-width: 860px) {
  .app-shell {
    flex-direction: column;
  }

  .role-panel {
    width: 100%;
    position: static;
    max-height: 320px;
  }
}
