/* ===== Utilities ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  font-family: "KlavikaWeb";
  min-height: 100%;
  height: 100%;
}
body {
  margin: 0;
  background: linear-gradient(146deg, #004540 20.3%, #080808 100.52%);
}

@keyframes customFadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp {
  animation: fadeInUp 1s ease backwards;
}
@keyframes fadeInUp {
  0% {
    transform: translate(0px, 100px);
    opacity: 0;
  }
  100% {
    transform: translate(0px, 0);
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}
.wow {
  visibility: hidden;
}
/* .fade-pre {
  opacity: 0;
  transition: all 0.3s ease;
}
.ready {
  opacity: 1;
} */
.container {
  max-width: 1310px;
  padding: 30px 40px;
  width: 100%;
  margin: auto;
  position: relative;
}
/* ===== Start Screen ===== */
/* :root {
  --text: #e8f5ef;
  --muted: #b9c8c2;
  --panel: rgba(10, 20, 22, 0.6);
  --panel-stroke: rgba(255, 255, 255, 0.1);
  --brand: #25f4a0;
  --brand2: #3ad1ff;
  --radius: 16px;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  --stroke: rgba(255, 255, 255, 0.1);
  --panel2: #0e1a1e;
  --good: #3de387;
  --bad: #ff5858;
  --warn: #ffb020;
} */

/* video background */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  background: #0a1416;
  display: none;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* background: linear-gradient(146deg, #004540 20.3%, #080808 100.52%); */
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.bg-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.start {
  height: 100%;
  position: relative;
}
.hero {
  display: flex;
  max-width: 1018px;
  margin: auto;
  position: relative;
  flex-wrap: wrap;
  align-items: center;
  height: 100%;
  justify-content: center;
}
/* .brand {
  display: grid;
  place-items: center;
  margin-top: 12px;
} */
/* .logo {
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #c6ffe6;
  position: relative;
}
.logo::after {
  content: "";
  position: absolute;
  inset: -6px -10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(37, 244, 160, 0.18),
    rgba(58, 209, 255, 0.18)
  );
  filter: blur(6px);
  z-index: -1;
} */
header.brand {
  width: 232px;
  margin-bottom: 75px;
}
header.brand img {
  width: 100%;
}
.intro {
  display: grid;
  justify-items: center;
  text-align: center;
}
.title {
  margin: 0;
}
.title span {
  color: transparent;
  background: linear-gradient(180deg, #fff 9%, rgba(255, 255, 255, 0.1) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  font-size: 100px;
  line-height: 100px;
}
.tagline {
  max-width: 860px;
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: 400 !important;
  line-height: 26px;
  letter-spacing: -0.4px;
  margin: 16px 0 38px;
}

.start-card {
  padding: 38px;
  border-radius: 5px;
  border: 1px solid rgba(0, 119, 56, 1);
  background: rgba(8, 8, 8, 0.35);
  width: -webkit-fill-available;
  max-width: 524px;
}
.input {
  width: 100%;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #f4f5f4;
  color: #373f41;
  outline: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.32px;
  font-family: "KlavikaWeb";
}
/* For WebKit (Chrome, Safari) and Blink (newer versions of Edge) */
.input::-webkit-input-placeholder {
  color: #373f41; /* Change this to your desired color */
}

/* For Mozilla Firefox */
.input:-moz-placeholder {
  /* Older Firefox */
  color: #373f41;
  opacity: 1; /* Firefox adds an opacity, this resets it */
}

.input::-moz-placeholder {
  /* Newer Firefox */
  color: #373f41;
  opacity: 1;
}

/* For Microsoft Edge (pre-Blink) and Internet Explorer */
.input:-ms-input-placeholder {
  color: #373f41;
}

/* Standard selector (should be used last for general support) */
.input::placeholder {
  color: #373f41;
}
.input:focus {
  border-color: rgba(58, 209, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(58, 209, 255, 0.25);
}
.btn {
  display: inline-flex;
  padding: 14px 30px 14px 24px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  border-radius: 5px;
  border: 1.5px solid #006616;
  background: #00dd68;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  font-family: "KlavikaWeb";
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn span svg {
  margin-right: 11px;
}
.btn:hover {
  color: white;
  border: 1.5px solid #080808;
  background: #00774c;
}
.btn svg path {
  transition: all 0.3s ease;
}
.btn:hover svg path {
  fill: white;
}
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.btn:disabled:hover {
  border: 1.5px solid #006616;
  background: #00dd68;
  color: #000;
}
.btn:disabled:hover svg path {
  fill: #000;
}

.sim-layout {
  width: 100%;
  height: 100%;
  background: linear-gradient(146deg, #004540 20.3%, #080808 100.52%);
}
.sim-layout .bg-image {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}
.sim-layout .bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 17px;
  border-radius: 5px;
  background: #00dd68;
}
.top-bar-section {
  display: flex;
  align-items: center;
}
.logo-part {
  display: flex;
  align-items: center;
  gap: 66px;
}
.logo {
  padding: 4px 16px 2px;
  display: flex;
  align-items: start;
  gap: 10px;
  border-radius: 5px;
  border: 1px solid #009e60;
  background: rgba(0, 158, 96, 0.5);
  font-family: "KlavikaWebCondensed";
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.player-info {
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-direction: column;
}
.player-info .player-title {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}
.player-name {
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 133.333% */
  letter-spacing: -0.18px;
}
.sla-part,
.time-part,
.mistake-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
}
.sla-label,
.time-label,
.mistake-label {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}
.sla-time,
.time-remaining,
.mistakes-count {
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
}
.mistakes-count {
  background: #fff;
  color: #000;
  border-radius: 5px;
  padding: 2px 10px 0;
  display: inline-block;
  vertical-align: revert-layer;
  margin-right: 3px;
  line-height: 32px;
  border: 2px solid transparent;
  transition: border 0.2s, background 0.2s, color 0.2s;
}
.mistake-total {
  font-size: 34px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  margin-right: 8px;
}
.restart-part {
  display: flex;
  align-items: center;
  margin-left: 16px;
}
.restart-btn {
  color: #00dd68;
  padding: 9px 22px 9px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 5px;
  border: 1.5px solid #00a323;
  background: #080808;
  font-family: "KlavikaWeb";
  font-size: 12px;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
}
.restart-btn svg {
  transition: all 0.2s ease;
}
.restart-btn:hover {
  background: #00fd92;
  color: #080808;
}
.restart-btn:hover svg path {
  fill: #080808;
}
.divider {
  width: 1px;
  height: 52px;
  background: #00774c;
  margin: 0 10px;
  border-radius: 1px;
}
@media (max-width: 991px) {
  .top-bar-content {
    padding: 20px;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
  }
  .divider {
    display: none;
  }
  .top-bar-section {
    margin-bottom: 14px;
  }
}

/* --- Tabs CSS --- */

.tabs-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 50px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  padding-top: 26px;
}
.tab-btn {
  display: flex;
  align-items: center;
  border-radius: 32px;
  border: none;
  color: #00dd68;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.18px;
  background: transparent;
  pointer-events: none;
}
.tab-btn.active {
  color: #00fd92;
}
.tab-btn.active .tab-circle {
  background: #00fd92;
  color: #000;
  border-radius: 28px;
  border: 0px solid #b1ffbe;
  box-shadow: 0 0 0 2px #b1ffbe;
}
.tab-btn span.tab-circle {
  background: transparent;
  color: #00dd68;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border: 1px solid #00dd68;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.2px;
}
.tab-btn:not(.active) {
  color: #00dd68;
  border: 1px solid transparent;
}
.tab-btn:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 52px;
  height: 1px;
  margin-left: 10px;
  vertical-align: middle;
  right: -75px;
  position: absolute;
  background: #009e60;
}
.tabs-main-content {
  border-radius: 5px;
  border: 1px solid #00dd68;
  background: rgba(8, 8, 8, 0.35);
  height: 850px;
  /* Optionally, set a max-height if needed: */
  /* max-height: 900px; overflow-y: auto; */
}
@media (max-width: 1023px) {
  .tabs-main-content {
    height: auto;
    min-height: 900px;
  }
}
.tabs-main-content.red-alart {
  border-radius: 5px;
  border: 1px solid #ff5400;
  background: linear-gradient(
      0deg,
      rgba(255, 84, 0, 0.17) 0%,
      rgba(255, 84, 0, 0.17) 100%
    ),
    rgba(8, 8, 8, 0.35);
}
.tab-left,
.tab-right {
  border-radius: 0;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 52.1%;
  padding: 24px 40px;
}
.tab-left {
  width: 47.6%;
  padding: 23px 20px 20px 38px;
}
.tab-right {
  align-items: center;
  padding: 23px 20px 144px 20px;
  animation: fadeInUp 0.3s ease backwards;
}
.incident-title {
  font-family: "KlavikaWeb";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.22px;
  margin: 0;
  color: white;
  text-align: center;
  word-break: break-word;
  border-bottom: 1px solid #009e60;
}
.incident-desc {
  color: #fff;
  margin-bottom: -4px;
  word-break: break-word;
  font-family: "KlavikaWeb";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.36px;
}
.incident-desc.scenario p:first-child {
  margin: 16px 0 -2px;
}
.incident-label {
  margin-bottom: 22px;
}
.incident-label .btn-wrap {
  cursor: pointer;
  gap: 8px;
  flex-wrap: wrap;
  display: inline-flex;
  align-items: center;
  font-family: "KlavikaWebCondensed";
  font-size: 22px;
  font-weight: 500;
  line-height: 100%;
  color: white;
}

.incident-label .btn-wrap span {
  display: inline-flex;
}
.incident-step-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid #009e60;
}
.incident-question {
  margin-bottom: 0;
  margin-top: 7px;
  word-break: break-word;
  font-family: "KlavikaWeb";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.22px;
  color: white;
}
.incident-choices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.choice-btn {
  color: #000;
  padding: 16px 0 14px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  font-family: "KlavikaWeb";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.36px;
  margin: 0 auto;
  box-sizing: border-box;
  word-break: break-word;
  border-radius: 8px;
  border: 1px solid #00dd68;
  background: #b1ffbe;
}
.choice-btn:hover {
  border: 1px solid rgba(0, 221, 104, 0.6);
  background: rgba(177, 255, 190, 0.6);
}
.choice-btn.selected {
  border: 3px solid #fff inset !important ;
  background: #fff !important;
  opacity: 1 !important;
}
.choice-btn:disabled {
  border: 1px solid #00dd68;
  opacity: 0.3;
  background: #b1ffbe;
  cursor: default;
}
.answer-popup {
  color: #000;
  padding: 16px 16px 16px 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  display: none;
  flex-direction: column;
  gap: 1px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  border-left: 6px solid #009e60;
  background: #f0f3f4;
  position: relative;
}
.answer-popup.active {
  display: flex;
}
.answer-popup .popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "KlavikaWeb";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.22px;
}
.answer-popup .popup-header span {
  position: absolute;
  left: 10px;
  top: 16px;
}
.popup-message {
  font-family: "KlavikaWeb";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.32px;
  color: #080808;
  margin: 0;
}
.answer-correct .popup-header {
  color: #080808;
}
.answer-wrong {
  color: #000;
  border-radius: 5px;
  border-left: 6px solid #c23a00;
  background: #ff5400;
}
.answer-wrong .popup-header {
  color: #080808;
  font-family: "KlavikaWeb";
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.22px;
}
.answer-neutral {
  border-radius: 5px;
  border-left: 6px solid #004540;
  background: #a6a6a6;
}
.answer-neutral .popup-header {
  color: #222;
}
.popup-next-btn,
.popup-tryagain-btn {
  color: #00dd68;
  padding: 16px 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
  border-radius: 5px;
  width: 100%;
  border: 1.5px solid #00a323;
  background: #080808;
  font-family: "KlavikaWeb";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  margin-top: 13px;
}
.popup-next-btn:hover,
.popup-tryagain-btn:hover {
  background: rgba(0, 253, 146, 0.5);
  border: 1.5px solid #00774c;
  color: #080808;
}
.slider-container {
  width: 100%;
  background: #080808;
  border-radius: 5px;
  margin-bottom: 18px;
  padding: 24px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.slider-logo {
  width: 171px;
  height: 69px;
  object-fit: contain;
  margin-bottom: 10px;
}
.slider-title {
  color: white;
  margin-bottom: 17px;
  text-align: center;
  word-break: break-word;
  font-family: "KlavikaWeb";
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.36px;
}
.slider-caption {
  color: #fff;
  text-align: center;
  margin: 23px 0 0;
  word-break: break-word;
  font-family: "KlavikaWeb";
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.32px;
  min-height: 44px;
}
.slider-image {
  width: 100%;
  margin-bottom: 14px;
  max-width: 474px;
  object-fit: contain;
}
.slider-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 8px;
  position: absolute;
  width: 100%;
  top: 280px;
  left: 0;
  padding: 0 16px;
}
.slider-nav-btn {
  background: transparent;
  border: none;
  width: 21px;
  height: 21px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.slider-nav-btn:hover:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 21px;
  height: 21px;
  background-image: url(images/arrow-button-hover.svg);
}
.slider-nav-btn.prev {
  transform: rotate(180deg);
}
.slider-nav-btn:disabled {
  opacity: 0.2;
  cursor: default;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #656565;
  cursor: pointer;
  transition: opacity 0.2s;
}
.slider-dot.active {
  opacity: 1;
  background: #00dd68;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: flex;
}

.global-popup,
.global-popup-fade {
  display: none;
}
.global-popup.active,
.global-popup-fade.active {
  display: block;
}
.global-popup-fade {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeInBg 0.3s;
}
@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.6;
  }
}
.fade {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.32, 1.56, 0.59, 1);
  pointer-events: none;
}
.fade.active {
  opacity: 1;
  pointer-events: auto;
}
.hidden {
  display: none !important;
}
.global-popup {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInPopup 0.3s;
}
@keyframes fadeInPopup {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.global-popup-inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 48px 0 rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 34px 36px 34px;
  margin: 0 auto;
  animation: popIn 0.35s cubic-bezier(0.32, 1.56, 0.59, 1);
}
@keyframes popIn {
  0% {
    transform: scale(0.85);
  }
  100% {
    transform: scale(1);
  }
}

.global-popup-success .global-popup-inner {
  background: #19e06e;
  color: #fff;
}
.success-popup .global-popup-inner {
  background: #19e06e;
  border-radius: 2px;
}
.timeout-popup .global-popup-inner,
.fail-popup .global-popup-inner {
  border-radius: 2px;
  background: #ff5400;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}
.timeout-popup .global-popup-inner:after,
.fail-popup .global-popup-inner:after {
  content: "";
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 20px solid rgba(194, 58, 0, 0.8);
  position: absolute;
  border-radius: 20px;
  top: -20px;
  left: -20px;
  background: transparent;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}
.success-popup .global-popup-inner:after {
  content: "";
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  border: 20px solid rgba(0, 221, 104, 0.8);
  position: absolute;
  border-radius: 20px;
  top: -20px;
  left: -20px;
  background: transparent;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.5);
}
.global-popup-title {
  color: #080808;
  text-align: center;
  font-family: "KlavikaWeb";
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.22px;
  margin: 19px 0 14px;
}
.global-popup-message {
  color: #080808;
  text-align: center;
  font-family: "KlavikaWeb";
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.44px;
  margin: 10px 0 24px;
}
.global-popup-actions {
  display: flex;
  gap: 22px;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.global-popup-restart,
.global-popup-summary {
  outline: none;
}
.global-popup-summary {
  border-radius: 5px;
  border: 1.5px solid #009e60;
  background: #fff;
  padding: 14px 22px;
  font-family: "KlavikaWeb";
  font-size: 12px;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  cursor: pointer;
  color: #080808;
  transition: background 0.2s;
}

.global-popup-summary:hover {
  background: #009e60;
  border: 1.5px solid #080808;
  color: #080808;
}
.global-popup-restart:hover {
  background: #00dd68;
  color: #080808;
}
p#errorText {
  margin: 0;
}
button.exit-sim-btn.restart-btn {
  background: white;
  color: black;
  border-radius: 5px;
  border: 1.5px solid #080808;
  padding: 14px 22px;
}
button.exit-sim-btn.restart-btn:hover {
  background: #00774c;
  border: 1.5px solid #080808;
  color: #080808;
}
.global-popup-close {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 2em;
  color: #222;
  cursor: pointer;
  outline: none;
  z-index: 1;
  background: transparent !important;
}
.global-popup-close:hover {
  color: #222;
}

@media (max-width: 600px) {
  .global-popup-inner {
    padding: 18px 6px 18px 6px;
    font-size: 0.95em;
    width: 96vw;
  }
  .global-popup-title {
    font-size: 1.2em;
  }
}

/* Container and general layout */
.response-summary {
  padding: 24px;
  font-family: "KlavikaWeb";
  border-radius: 8px;
  border: 0 solid #e5e7eb;
  background: rgba(8, 8, 8, 0.6);
  margin-top: 24px;
  margin-bottom: 93px;
}
.response-summary .container {
  position: relative;
  padding: 0;
}

/* Summary Title and subtitle */
.summary-title {
  margin: 0;
  color: #fff;
  font-family: "KlavikaWeb";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.48px;
}
.summary-subtitle {
  margin: 5px 0 14px 0;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.36px;
}

/* Print button */
.summary-print-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  color: #004540;
  font-size: 1.4em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
  transition: color 0.2s;
}
.summary-print-btn:hover {
  color: #25f4a0;
}

/* Table layout styles */
.summary-table {
  width: 100%;
  display: table;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: #fff;
  padding: 9px 24px 24px;
}
.summary-table-row {
  display: table-row;
}
.summary-table-header {
  background: white;
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
}
.summary-table-cell {
  display: table-cell;
  vertical-align: top;
  padding: 16px;
  /* border-bottom: 1px solid #e7edea; */
  font-family: "KlavikaWeb";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.32px;
  position: relative;
  min-width: 341px;
  vertical-align: middle;
}
.summary-table-cell p {
  margin: 0;
}
.summary-table-header .summary-table-cell {
  color: #000;
  text-align: center;
  font-family: "KlavikaWeb";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: -0.2px;
  padding: 16px 16px 23px;
}
.summary-table-cell p.response-text {
  margin-top: 7px;
}
.summary-table-cell.user-response {
  text-align: center;
  vertical-align: middle;
}
.summary-table-cell.user-response .response-text {
  display: block;
  color: #000;
  text-align: center;
  font-family: "KlavikaWeb";
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.32px;
}
.summary-table-cell.user-response:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 90%;
  width: 1px;
  margin: auto;
  background: #adadad;
}
.summary-table-cell.user-response:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 90%;
  width: 1px;
  margin: auto;
  background: #adadad;
}
.scenario-title,
.user-response-title,
.correct-response-title {
  font-weight: 700;
  font-size: 1.04em;
  letter-spacing: -0.2px;
}

/* Zebra striping */
.summary-table-row:nth-child(even) .summary-table-cell {
  background: #f0f3f4;
}

/* Response label badges */
.response-label {
  display: inline-block;
  padding: 4px 16px;
  margin-bottom: 6px;
  margin-right: 6px;
  vertical-align: middle;
  font-family: "KlavikaWeb";
  border-radius: 15px;
  color: #1f2937;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.18px;
}
.response-label.correct {
  background: #00dd68;
}
.response-label.incorrect {
  background: #ff5400;
}
.response-label.neutral {
  background: #b2b2b2;
}
.response-text {
  display: block;
  color: #000;
  font-family: "KlavikaWeb";
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.18px;
}

.correct-response b,
.user-response b,
.scenario b {
  color: #004540;
  font-weight: 700;
}

.summary-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  background: white;
  width: 100%;
  padding-bottom: 62px;
  border-radius: 0 0 5px 5px;
}
.summary-actions button,
.summary-actions .visit-demo-btn {
  color: #00dd68;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 5px;
  border: 1.5px solid #00a323;
  background: #080808;
  font-family: "KlavikaWeb";
  font-size: 12px;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  text-decoration: none;
}
.summary-actions button:hover,
.summary-actions .visit-demo-btn:hover {
  background: #00dd68;
  color: #080808;
}

/* Print styles */
@media print {
  body * {
    visibility: hidden !important;
  }
  .response-summary,
  .response-summary * {
    visibility: visible !important;
  }
  .response-summary {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    min-height: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  .response-summary .container {
    box-shadow: none !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .summary-print-btn,
  .summary-actions {
    display: none !important;
  }
}

/* Fade-in utility for incident-step-group and tab-right */
.fade-in {
  animation: fadeInUpSim 0.5s ease-out;
}

@keyframes fadeInUpSim {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.mobile-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}
.mobile-popup-inner {
  background: #fff;
  color: #222;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 320px;
  margin: auto;
  text-align: center;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
}
.mobile-popup-message {
  font-size: 1.2em;
  font-weight: 500;
  margin: 0;
}
@media (max-width: 767px) {
  .mobile-popup {
    display: flex !important;
  }
  #start,
  #sim,
  .response-summary,
  .tabs-bg {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  .tab-btn:not(:last-child)::after {
    width: 30px;
    right: -33px;
  }
  .tabs-header {
    gap: 30px;
  }
  .logo-part {
    gap: 45px;
  }
  header.brand {
    margin-bottom: 34px;
  }
  .title span {
    font-size: 80px;
    line-height: 80px;
  }
  .btn {
    margin-top: 20px;
  }
  .intro {
    padding: 0 40px;
  }
  .slider-nav {
    top: 220px;
  }
  .tab-left {
    padding: 20px 20px 20px 20px;
  }
  .choice-btn {
    padding: 14px 16px 14px;
  }
  .global-popup {
    max-width: 686px;
    right: 0;
    margin: auto;
  }
  .summary-table-cell {
    min-width: fit-content;
  }
}
@media (max-width: 991px) {
  .logo-part {
    width: 100%;
    justify-content: center;
  }
  .tabs-header {
    column-gap: 73px;
    row-gap: 20px;
    justify-content: center;
    max-width: 690px;
    margin: auto auto 14px;
  }
  .tab-btn:nth-child(3):after {
    opacity: 0;
  }
  .tab-btn:not(:last-child)::after {
    width: 44px;
    right: -63px;
  }
}
