:root {
  --bs-primary: #13607c;
  --bs-primary-rgb: 19, 96, 124;
  --bs-link-color: #1b7aa8;
  --bs-link-color-rgb: 27, 122, 168;
  --bs-link-hover-color: #003c52;
  --bs-link-hover-color-rgb: 0, 60, 82;
  --bs-body-color: #1f2a30;
  --bs-border-color: #d9e3e8;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
}

.btn-primary {
  --bs-btn-bg: #13607c;
  --bs-btn-border-color: #13607c;
  --bs-btn-hover-bg: #003c52;
  --bs-btn-hover-border-color: #003c52;
  --bs-btn-active-bg: #003c52;
  --bs-btn-active-border-color: #003c52;
}

.btn-outline-primary {
  --bs-btn-color: #13607c;
  --bs-btn-border-color: #13607c;
  --bs-btn-hover-bg: #13607c;
  --bs-btn-hover-border-color: #13607c;
  --bs-btn-active-bg: #003c52;
  --bs-btn-active-border-color: #003c52;
}

.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: #a80000;
  --bs-btn-border-color: #a80000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #7f0000;
  --bs-btn-hover-border-color: #7f0000;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #6b0000;
  --bs-btn-active-border-color: #6b0000;
}

.mht-topline {
  height: 4px;
  background: linear-gradient(90deg, #2f9dd1, #13607c 60%, #a80000);
}

.mht-navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 60, 82, 0.08);
}
.mht-navbar .navbar-brand img {
  height: 52px;
  width: auto;
}
.mht-navbar .nav-link {
  color: #13607c;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.mht-navbar .nav-link:hover, .mht-navbar .nav-link:focus, .mht-navbar .nav-link.active {
  color: #1b7aa8;
}
.mht-navbar .dropdown-item:active {
  background: #13607c;
}

@media (max-width: 575.98px) {
  .mht-navbar .navbar-brand img {
    height: 40px;
  }
}
.mht-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #003c52 0%, #13607c 45%, #2f9dd1 100%);
  padding: 4rem 0 4.5rem;
}
.mht-hero::before, .mht-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.mht-hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
}
.mht-hero::after {
  width: 260px;
  height: 260px;
  right: 22%;
  bottom: -150px;
}
.mht-hero .container {
  position: relative;
  z-index: 1;
}
.mht-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}
.mht-hero h1 {
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
}
.mht-hero .lead {
  opacity: 0.92;
  max-width: 34rem;
}

.mht-hero-art {
  max-width: 380px;
  margin-left: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.25));
}

.mht-features {
  background: #eef6fa;
}
.mht-features .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #13607c;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 60, 82, 0.08);
}

.mht-page {
  padding: 3rem 0 4rem;
}

.pageTitle {
  color: #13607c;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #eef6fa;
}

.cms-content {
  line-height: 1.65;
}
.cms-content span[style*=font-size] {
  font-size: inherit !important;
}
.cms-content span[style*=font-family], .cms-content font {
  font-family: inherit !important;
}
.cms-content img {
  max-width: 100%;
  height: auto;
}
.cms-content table {
  max-width: 100%;
}
.cms-content strong {
  color: #13607c;
}
.cms-content ul, .cms-content ol {
  padding-left: 1.25rem;
}

.mht-form-card {
  background: #fff;
  border: 1px solid #d9e3e8;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 60, 82, 0.08);
  padding: 1.75rem;
}
@media (max-width: 575.98px) {
  .mht-form-card {
    padding: 1.25rem;
  }
}

.pageLeftForm form {
  margin: 0;
}

.pageLeftFormRow {
  margin-bottom: 1rem;
}
.pageLeftFormRow label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #1f2a30;
}
.pageLeftFormRow input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]),
.pageLeftFormRow select, .pageLeftFormRow textarea {
  display: block;
  width: 100% !important;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  color: #1f2a30;
  background-color: #fff;
  border: 1px solid #d9e3e8;
  border-radius: 0.5rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.pageLeftFormRow input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]):focus,
.pageLeftFormRow select:focus, .pageLeftFormRow textarea:focus {
  outline: 0;
  border-color: #2f9dd1;
  box-shadow: 0 0 0 0.2rem rgba(47, 157, 209, 0.2);
}
.pageLeftFormRow.error input {
  border-color: #a80000 !important;
}
.pageLeftFormRow input[type=submit], .pageLeftFormRow #login_btn {
  width: 100%;
}

input[type=submit]#login_btn, .pageLeftForm input[type=submit], .mht-form-card input[type=submit] {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: #13607c;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}
input[type=submit]#login_btn:hover, input[type=submit]#login_btn:focus, .pageLeftForm input[type=submit]:hover, .pageLeftForm input[type=submit]:focus, .mht-form-card input[type=submit]:hover, .mht-form-card input[type=submit]:focus {
  background: #003c52;
}

.pageLeftForgot, .pageLeftLink {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.pageLeftContent {
  margin-top: 1.5rem;
}

.pageLeftImg img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.whats_this_box {
  display: none;
}

.error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.pageLeftFormRow.error {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}
.pageLeftFormRow.error label {
  color: #a80000;
}

.mht-pricing .list-group-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.mht-pricing .price {
  font-weight: 700;
  color: #13607c;
  white-space: nowrap;
}

.mht-footer {
  background: #003c52;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.mht-footer a {
  color: #fff;
  text-decoration: none;
}
.mht-footer a:hover {
  text-decoration: underline;
}

.mht-app {
  background: #f6f9fb;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.mht-app > main {
  flex: 1 0 auto;
}

.mht-app-header {
  color: #fff;
  background: linear-gradient(120deg, #003c52 0%, #13607c 55%, #2f9dd1 100%);
  padding: 1.1rem 0;
}
.mht-app-header h1 {
  font-weight: 700;
}
.mht-app-header .small {
  opacity: 0.9;
}

.mht-card {
  background: #fff;
  border: 1px solid #d9e3e8;
  border-radius: 0.9rem;
  box-shadow: 0 4px 16px rgba(0, 60, 82, 0.05);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .mht-card {
    padding: 1.5rem 1.75rem;
  }
}
.mht-card > h2, .mht-card .mht-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #13607c;
  margin-bottom: 1rem;
}

.mht-table {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.mht-table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5f6870;
  background: #eef6fa;
  border-bottom-width: 1px;
  white-space: nowrap;
}
.mht-table td, .mht-table th {
  vertical-align: middle;
}

.mht-app .mht-card input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=image]):not(.btn):not(.ck),
.mht-app .mht-card select, .mht-app .mht-card textarea {
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  border: 1px solid #d9e3e8;
  border-radius: 0.45rem;
  background-color: #fff;
}
.mht-app .mht-card input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=image]):not(.btn):not(.ck):focus,
.mht-app .mht-card select:focus, .mht-app .mht-card textarea:focus {
  outline: 0;
  border-color: #2f9dd1;
  box-shadow: 0 0 0 0.2rem rgba(47, 157, 209, 0.2);
}
.mht-app .mht-card input[type=submit]:not(.btn), .mht-app .mht-card input[type=button]:not(.btn):not(.ck), .mht-app .mht-card button:not(.btn):not(.btn-close):not(.ck) {
  padding: 0.5rem 1.1rem;
  font-weight: 600;
  color: #fff;
  background: #13607c;
  border: 0;
  border-radius: 0.45rem;
  cursor: pointer;
}
.mht-app .mht-card input[type=submit]:not(.btn):hover, .mht-app .mht-card input[type=submit]:not(.btn):focus, .mht-app .mht-card input[type=button]:not(.btn):not(.ck):hover, .mht-app .mht-card input[type=button]:not(.btn):not(.ck):focus, .mht-app .mht-card button:not(.btn):not(.btn-close):not(.ck):hover, .mht-app .mht-card button:not(.btn):not(.btn-close):not(.ck):focus {
  background: #003c52;
}

.mht-course-nav .list-group-item {
  font-size: 0.92rem;
}
.mht-course-nav .bi-check-circle-fill {
  color: #198754;
}

.training_content {
  overflow-x: auto;
}
.training_content img {
  max-width: 100%;
  height: auto;
}

.mht-app .mht-card .row input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=image]):not(.btn):not(.ck),
.mht-app .mht-card .row select, .mht-app .mht-card .row textarea {
  display: block;
  width: 100%;
}

.mht-app .training_content, .mht-app .question, .mht-app .answer {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
}

.mht-actions {
  white-space: nowrap;
}
.mht-actions .btn + .btn {
  margin-left: 0.25rem;
}

@media (max-width: 767.98px) {
  .mht-table-stack thead {
    display: none;
  }
  .mht-table-stack tbody, .mht-table-stack tr, .mht-table-stack td {
    display: block;
    width: 100%;
  }
  .mht-table-stack tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid #d9e3e8;
  }
  .mht-table-stack td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0;
    border: 0;
    text-align: right;
  }
  .mht-table-stack td[data-label]:not([data-label=""])::before {
    content: attr(data-label);
    font-weight: 600;
    color: #5f6870;
    text-align: left;
  }
  .mht-table-stack td.mht-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-top: 0.5rem;
    white-space: normal;
  }
  .mht-table-stack td.mht-actions .btn + .btn {
    margin-left: 0;
  }
}
.mht-admin .mht-card textarea.ckeditor, .mht-admin .mht-card input[type=text], .mht-admin .mht-card input[type=password], .mht-admin .mht-card input:not([type]), .mht-admin .mht-card select {
  width: 100%;
}
.mht-admin .mht-card input[size="10"], .mht-admin .mht-card input[size="8"] {
  max-width: 12rem;
}
.mht-admin .ck-editor__editable_inline {
  min-height: 300px;
}

.alert > p:last-child {
  margin-bottom: 0;
}

.form-check-input:checked {
  background-color: #13607c;
  border-color: #13607c;
}

.mht-block > :last-child {
  margin-bottom: 0;
}

.mht-block ul {
  padding-left: 1rem;
}

.mht-thumb {
  max-height: 6rem;
}

.mht-date {
  max-width: 14rem;
}

.mht-indent-1 {
  padding-left: 1.25rem;
}

.mht-indent-2 {
  padding-left: 2.5rem;
}

.mht-indent-3 {
  padding-left: 3.75rem;
}

.mht-indent-4 {
  padding-left: 5rem;
}

.mht-indent-5 {
  padding-left: 6.25rem;
}

.mht-indent-6 {
  padding-left: 7.5rem;
}

.mht-indent-7 {
  padding-left: 8.75rem;
}

.mht-indent-8 {
  padding-left: 10rem;
}

.mht-indent-9 {
  padding-left: 11.25rem;
}

.mht-indent-10 {
  padding-left: 12.5rem;
}

.mht-soft-box {
  background: #eef6fa;
  border: 1px solid #d9e3e8;
  border-radius: 0.6rem;
  padding: 1rem;
}

.mht-video {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  background: #000;
  border-radius: 0.5rem;
}

.training_content video, .training_content iframe, .cms-content video, .cms-content iframe {
  max-width: 100%;
}

.mht-upload-status {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 2000;
  max-width: 24rem;
  margin: 0;
}

.mht-info-head {
  margin-bottom: 2rem;
}
.mht-info-head h1 {
  color: #13607c;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.mht-course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #d9e3e8;
  border-radius: 0.75rem;
}
.mht-course-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
}
.mht-course-card h2 a {
  color: #13607c;
  text-decoration: none;
}
.mht-course-card h2 a:hover {
  text-decoration: underline;
}

.mht-course-level {
  margin-bottom: 0.35rem;
  color: #5f6870;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mht-course-price {
  color: #13607c;
  font-size: 1.6rem;
  font-weight: 700;
}

.mht-course-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #d9e3e8;
}

.mht-course-summary {
  height: auto;
}
.mht-course-summary dt {
  font-size: 0.85rem;
}
.mht-course-summary dd {
  margin-bottom: 0.75rem;
  color: #5f6870;
  font-size: 0.9rem;
}

@media (min-width: 992px) {
  .mht-course-summary {
    position: sticky;
    top: 6rem;
  }
}
.mht-topic-list {
  margin: 0;
  padding-left: 1.1rem;
}
.mht-topic-list li {
  margin-bottom: 0.3rem;
}

.mht-info-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #eef6fa;
  border-radius: 0.75rem;
}

.mht-guide {
  max-width: 52rem;
  line-height: 1.65;
}
.mht-guide h2 {
  margin: 2rem 0 0.75rem;
  color: #13607c;
  font-size: 1.35rem;
  font-weight: 700;
}
.mht-guide li {
  margin-bottom: 0.4rem;
}
.mht-guide dt {
  margin-top: 0.6rem;
}
.mht-guide dd {
  margin-bottom: 0;
}
