/* Original Hmskills guest interface. Framework and icon licenses remain with their packages. */
:root {
  --hm-blue: #2563eb;
  --hm-navy: #142b57;
  --hm-ink: #172b4d;
  --hm-muted: #64748b;
  --hm-border: #e2e8f0;
  --hm-canvas: #f6f8fc;
  --hm-radius: 16px
}

body.hmskills-site {
  margin: 0;
  background: var(--hm-canvas);
  color: var(--hm-ink);
  font: 15px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden
}

.hmskills-site * {
  box-sizing: border-box
}

.hmskills-site img {
  max-width: 100%
}

.hmskills-site a {
  color: var(--hm-blue)
}

.hmskills-site button,
.hmskills-site input,
.hmskills-site textarea,
.hmskills-site select {
  font: inherit
}

.hmskills-site h1,
.hmskills-site h2,
.hmskills-site h3,
.hmskills-site h4,
.hmskills-site h5,
.hmskills-site h6 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em
}

.hmskills-site p {
  color: var(--hm-muted)
}

.hmskills-site :focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 4px
}

.hm-skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 20000;
  padding: 10px 18px;
  background: white;
  border-radius: 8px
}

.hm-skip:focus {
  top: 12px
}

.hm-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--hm-border)
}

.hm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px
}

.hm-brand {
  display: flex;
  gap: 11px;
  align-items: center;
  flex-shrink: 0;
  color: var(--hm-navy) !important;
  text-decoration: none !important;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.6px
}

.hm-brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--hm-muted);
  letter-spacing: .1px;
  margin-top: 2px
}

.hm-nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0
}

.hm-nav-list>li>a {
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap
}

.hm-nav-list>li>a:hover,
.hm-nav-list>li>a[aria-current] {
  color: var(--hm-blue)
}

.hm-login-link {
  border-left: 1px solid var(--hm-border);
  padding-left: 17px
}

.hm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none !important;
  transition: background .15s, box-shadow .15s
}

.hm-button-primary {
  background: var(--hm-blue);
  color: white !important;
  box-shadow: 0 5px 14px #2563eb20
}

.hm-button-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 18px #2563eb30
}

.hm-button-secondary {
  background: white;
  border-color: #d6e0f0;
  color: var(--hm-navy) !important
}

.hm-menu-toggle {
  display: none;
  border: 1px solid var(--hm-border);
  background: white;
  border-radius: 10px;
  padding: 11px;
  width: 44px;
  height: 44px
}

.hm-menu-toggle span {
  display: block;
  height: 2px;
  background: var(--hm-navy);
  margin: 4px 0
}

.hm-content {
  min-height: 55vh
}

.hm-hero {
  padding: 65px 0 48px;
  background: linear-gradient(140deg, #f4f7ff, #fff 65%)
}

.hm-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center
}

.hm-eyebrow {
  display: block;
  color: var(--hm-blue);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 16px
}

.hm-hero h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 610px
}

.hm-hero h1 em {
  color: var(--hm-blue);
  font-style: normal
}

.hm-hero p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 510px;
  margin-bottom: 24px
}

.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.hm-hero-note {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--hm-muted);
  margin-top: 23px
}

.hm-hero-note span:before {
  content: '✓';
  color: #059669;
  margin-right: 6px;
  font-weight: bold
}

.hm-hero-art img {
  display: block;
  width: 100%;
  height: auto
}

.hm-hero-art {
  position: relative
}

.hm-art-caption {
  background: white;
  border: 1px solid var(--hm-border);
  box-shadow: 0 10px 30px #142b5710;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 12px;
  color: var(--hm-muted);
  max-width: 290px;
  margin: -20px auto 0;
  position: relative
}

.hm-art-caption strong {
  display: block;
  color: var(--hm-navy);
  font-size: 14px
}

.hm-section {
  padding: 56px 0
}

.hm-section-head {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px
}

.hm-section-title {
  font-size: clamp(25px, 3vw, 34px);
  margin-bottom: 10px
}

.hm-section-head p {
  margin: 0;
  max-width: 600px
}

.hm-section-head .hm-eyebrow {
  margin-bottom: 10px
}

.hm-text-link {
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap
}

.hm-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.hm-course-card {
  background: white;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-shadow: 0 3px 10px #142b5704;
  transition: border-color .15s, box-shadow .15s
}

.hm-course-card:hover {
  border-color: #93b4f5;
  box-shadow: 0 10px 24px #142b5710
}

.hm-course-symbol {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--hm-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px
}

.hm-course-card h3 {
  font-size: 20px;
  margin-bottom: 12px
}

.hm-course-card h3 a {
  color: var(--hm-navy);
  text-decoration: none
}

.hm-course-card p {
  font-size: 13px;
  line-height: 1.7;
  flex: 1
}

.hm-course-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  margin-top: 5px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: var(--hm-muted)
}

.hm-course-meta strong {
  color: #059669;
  font-size: 13px
}

.hm-course-card>a:last-child {
  align-self: start;
  font-size: 13px;
  font-weight: 700
}

.hm-empty {
  padding: 32px;
  background: white;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  grid-column: 1/-1
}

.hm-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.hm-feature {
  padding: 28px;
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  background: white
}

.hm-feature>span {
  color: var(--hm-blue);
  font-weight: 750;
  font-size: 12px
}

.hm-feature h3 {
  font-size: 19px;
  margin: 15px 0 10px
}

.hm-feature p {
  font-size: 14px;
  margin: 0
}

.hm-cta {
  padding: 36px 40px;
  border-radius: 20px;
  background: linear-gradient(120deg, #1e3a8a, #2563eb);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px
}

.hm-cta h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 8px
}

.hm-cta p {
  color: #dbeafe;
  margin: 0
}

.hm-cta .hm-button {
  background: white;
  color: #1e3a8a;
  white-space: nowrap
}

.hm-page-banner {
  padding: 40px 0;
  background: linear-gradient(120deg, #142b57, #1e3a8a);
  color: white
}

.hm-page-banner h1 {
  color: white;
  font-size: clamp(28px, 3.5vw, 42px)
}

.hm-page-banner p {
  color: #dbeafe
}

.hm-page-banner .breadcrumb {
  padding: 0;
  margin: 14px 0 0;
  background: transparent
}

.hm-page-banner .breadcrumb a,
.hm-page-banner .breadcrumb-item {
  color: #dbeafe
}

.hm-page-banner .breadcrumb-item+.breadcrumb-item:before {
  color: #93c5fd
}

.hm-footer {
  background: #101f3d;
  color: #cbd5e1;
  margin-top: 36px;
  padding: 46px 0 0
}

.hm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 64px
}

.hm-footer-brand {
  color: white !important;
  font-size: 21px;
  font-weight: 750;
  text-decoration: none
}

.hm-footer p {
  color: #a7b7d0;
  font-size: 13px;
  line-height: 1.9;
  margin: 13px 0;
  max-width: 340px
}

.hm-footer h2 {
  color: white;
  font-size: 14px;
  margin: 0 0 18px;
  letter-spacing: 0
}

.hm-footer-grid>div>a:not(.hm-footer-brand) {
  display: block;
  color: #a7b7d0;
  font-size: 13px;
  margin: 8px 0;
  overflow-wrap: anywhere
}

.hm-footer-bottom {
  border-top: 1px solid #ffffff16;
  margin-top: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #94a3b8
}

.hm-footer-bottom a {
  color: #bfdbfe
}

.hmskills-site .card {
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  box-shadow: 0 4px 14px #142b5706
}

.hmskills-site .btn {
  border-radius: 9px;
  font-weight: 600;
  min-height: 38px
}

.hmskills-site .btn-primary {
  background: var(--hm-blue);
  border-color: var(--hm-blue)
}

.hmskills-site .form-control {
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  min-height: 44px;
  color: var(--hm-ink);
  font-size: 15px
}

.hmskills-site textarea.form-control {
  height: auto
}

.hmskills-site .form-control:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px #2563eb15
}

.hmskills-site .invalid-feedback,
.hmskills-site .help-block {
  color: #dc2626
}

.hmskills-site label {
  font-size: 13px;
  font-weight: 600
}

.hmskills-site .table-responsive {
  border-radius: 12px
}

.hmskills-site .pagination {
  flex-wrap: wrap;
  gap: 5px
}

.hmskills-site .page-link {
  border-radius: 8px
}

.hmskills-site .breadcrumb {
  font-size: 12px
}

.hm-auth {
  padding: 50px 20px;
  min-height: 90vh;
  display: grid;
  place-items: center;
  background: radial-gradient(at 10% 15%, #dbeafe, transparent 60%)
}

.hm-auth-card {
  width: 100%;
  max-width: 920px;
  background: white;
  border: 1px solid var(--hm-border);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 16px 55px #142b5710
}

.hm-auth-art {
  background: #eff4ff;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.hm-auth-art img {
  width: 100%;
  margin: 24px 0
}

.hm-auth-art h2 {
  font-size: 30px
}

.hm-auth-form {
  padding: 40px
}

.hm-auth-form h1 {
  font-size: 27px
}

.hm-auth-form p {
  font-size: 14px
}

.hm-form-card {
  max-width: 680px;
  margin: 40px auto;
  padding: 32px;
  background: white;
  border: 1px solid var(--hm-border);
  border-radius: 18px
}

.hm-form-card h1 {
  font-size: 27px
}

.hm-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px
}

.hm-contact-grid .hm-form-card {
  margin: 0;
  width: 100%;
  max-width: none
}

.hm-faq {
  max-width: 850px;
  margin: auto
}

.hm-faq details {
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  margin-bottom: 12px
}

.hm-faq summary {
  font-weight: 650;
  cursor: pointer
}

.hm-faq details p {
  margin: 16px 0 0
}

.hmskills-site .search-container {
  max-width: 1110px;
  padding: 24px 15px 0;
  margin: auto
}

.hmskills-site .search-box {
  display: flex;
  gap: 10px
}

.hmskills-site .search-btn {
  background: var(--hm-blue);
  color: white;
  min-width: 96px
}

.hmskills-site .trainee-card-compact {
  height: 100%;
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  background: white;
  overflow: hidden
}

.hmskills-site .trainee-img-compact {
  height: 160px;
  background: #eef4ff;
  text-align: center;
  padding: 14px
}

.hmskills-site .trainee-img-compact img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover
}

.hmskills-site .trainee-info-compact {
  padding: 18px
}

.hmskills-site .trainee-name {
  font-size: 17px
}

.hmskills-site .meta-row {
  font-size: 12px;
  display: flex;
  gap: 8px;
  margin: 8px 0;
  overflow-wrap: anywhere
}

.hmskills-site .meta-row strong {
  min-width: 70px
}

.hmskills-site .meta-row span {
  min-width: 0
}

.hmskills-site .registration-wrap {
  padding: 30px 15px
}

.hm-content>div>.login-wrap,
.hm-content>.login-wrap {
  max-width: 900px;
  margin: 40px auto;
  background: white;
  border: 1px solid var(--hm-border);
  border-radius: 16px;
  padding: 24px
}

.hm-content .login-wrap .login-wrapper {
  padding: 20px
}

.hm-content .login-wrap .login-btn {
  margin-top: 22px !important
}

.hm-content .login-wrap .image-login {
  max-height: 280px;
  object-fit: contain
}

.hmskills-site.app-error-page .hm-content {
  min-height: 0;
  flex: 1
}

.hmskills-site.app-error-page .hm-footer {
  margin-top: 0
}

.hmskills-site.app-error-page .hm-footer-grid {
  display: none
}

@media(min-width:1200px) {
  .hm-navigation[hidden] {
    display: block !important
  }
}

@media(max-width:1199px) {
  .hm-header-inner {
    flex-wrap: wrap;
    min-height: 74px;
    padding-top: 12px;
    padding-bottom: 12px
  }

  .hm-menu-toggle {
    display: block
  }

  .hm-navigation {
    flex-basis: 100%;
    width: 100%;
    padding: 10px 0;
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    overscroll-behavior-y: contain
  }

  .hm-nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 0
  }

  .hm-nav-list>li>a {
    display: flex;
    padding: 12px 14px;
    font-size: 14px;
    min-height: 44px
  }

  .hm-login-link {
    border: 0
  }

  .hm-nav-list .hm-button {
    margin-top: 8px
  }

  .hm-navigation[hidden] {
    display: none
  }

  .hm-hero-grid {
    gap: 28px
  }

  .hm-footer-grid {
    gap: 30px
  }
}

@media(max-width:767px) {
  .hm-hero {
    padding: 35px 0
  }

  .hm-hero-grid {
    grid-template-columns: 1fr
  }

  .hm-hero h1 {
    font-size: 38px
  }

  .hm-hero p {
    font-size: 15px
  }

  .hm-hero-art {
    max-width: 420px;
    margin: auto
  }

  .hm-section {
    padding: 36px 0
  }

  .hm-section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px
  }

  .hm-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
  }

  .hm-course-card {
    padding: 20px
  }

  .hm-feature-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .hm-feature {
    padding: 22px
  }

  .hm-cta {
    padding: 26px;
    flex-direction: column;
    align-items: start
  }

  .hm-cta h2 {
    font-size: 25px
  }

  .hm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px
  }

  .hm-footer-grid>div:first-child {
    grid-column: 1/-1
  }

  .hm-footer-bottom {
    flex-direction: column;
    gap: 8px
  }

  .hm-auth-card {
    max-width: 540px;
    grid-template-columns: 1fr
  }

  .hm-auth-art {
    display: none
  }

  .hm-auth-form {
    padding: 28px
  }

  .hm-contact-grid {
    grid-template-columns: 1fr
  }

  .hmskills-site .form-control {
    font-size: 16px
  }

  .hm-form-card {
    margin: 24px 15px;
    padding: 24px
  }

  .hm-content .login-wrap {
    margin: 24px 12px !important
  }

  .hm-content .login-wrap .login-wrapper {
    padding: 10px
  }

  .hm-page-banner {
    padding: 30px 0
  }
}

@media(max-width:479px) {
  .hm-brand {
    font-size: 17px;
    gap: 9px
  }

  .hm-brand small {
    font-size: 9px
  }

  .hm-brand img {
    width: 38px;
    height: 38px
  }

  .hm-hero h1 {
    font-size: 34px
  }

  .hm-course-grid {
    grid-template-columns: 1fr
  }

  .hm-actions .hm-button {
    flex: 1
  }

  .hm-footer-grid {
    grid-template-columns: 1fr
  }

  .hm-footer-grid>div:first-child {
    grid-column: auto
  }

  .hm-hero-note {
    gap: 10px
  }
}

@media(prefers-reduced-motion:reduce) {
  .hmskills-site * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}

font-size: 9px;
}

.hm-brand img {
  width: 36px;
  height: 36px;
}
}