.content-body {
   min-height: 80vh;
}

.valid.modified:not([type=checkbox]) {
   outline: 1px solid #26b050;
}

.invalid {
   outline: 1px solid red;
}

.validation-message {
   color: red;
}

#blazor-error-ui {
   background: lightyellow;
   bottom: 0;
   box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
   display: none;
   left: 0;
   padding: 0.6rem 1.25rem 0.7rem 1.25rem;
   position: fixed;
   width: 100%;
   z-index: 1000;
}

   #blazor-error-ui .dismiss {
      cursor: pointer;
      position: absolute;
      right: 0.75rem;
      top: 0.5rem;
   }

.blazor-error-boundary {
   background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
   padding: 1rem 1rem 1rem 3.7rem;
   color: white;
}

   .blazor-error-boundary::after {
      content: "An error has occurred."
   }

.loading-progress {
   position: relative;
   display: block;
   width: 8rem;
   height: 8rem;
   margin: 1vh auto 1rem auto;
}

   .loading-progress circle {
      fill: none;
      stroke: #e0e0e0;
      stroke-width: 0.6rem;
      transform-origin: 50% 50%;
      transform: rotate(-90deg);
   }

      .loading-progress circle:last-child {
         stroke: #1b6ec2;
         stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
         transition: stroke-dasharray 0.05s ease-in-out;
      }

.loading-progress-text {
   position: absolute;
   text-align: center;
   font-weight: bold;
   inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

   .loading-progress-text:after {
      content: var(--blazor-load-percentage-text, "Loading");
   }

.dropdown-menu {
   max-height: 300px;
   overflow-y: auto;
   overflow-x: hidden;
}

   .dropdown-menu .dropdown-item i {
      padding-right: 10px;
   }

button {
   cursor: pointer;
}

/* Delete button
-------------------------------------------------- */
.popup-container {
   position: relative;
   display: inline-block;
   cursor: pointer;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

   .popup-container .popup-contents-above, .popup-container .popup-contents-below {
      visibility: hidden;
      width: 80px;
      background-color: #555;
      color: #fff;
      text-align: center;
      border-radius: 6px;
      padding: 8px 0;
      position: absolute;
      z-index: 1;
      left: 50%;
      margin-left: -40px;
   }

   .popup-container .popup-contents-above {
      bottom: 125%;
   }

   .popup-container .popup-contents-below {
      top: 125%;
   }

      /* Popup arrow */

      .popup-container .popup-contents-above::after, .popup-container .popup-contents-below::after {
         content: "";
         position: absolute;
         left: 50%;
         margin-left: -5px;
         border-width: 5px;
         border-style: solid;
      }

   .popup-container .popup-contents-above::after {
      top: 100%;
      border-color: #555 transparent transparent transparent;
   }

   .popup-container .popup-contents-below::after {
      bottom: 100%;
      border-color: transparent transparent #555 transparent;
   }

   /* Toggle this class - hide and show the popup */
   .popup-container .show {
      visibility: visible;
      -webkit-animation: fadeIn 1s;
      animation: fadeIn 1s;
   }

/* Images
-------------------------------------------------- */
img.main-logo {
   /*max-height: 60px;
   max-width: 160px;*/
}

img.company-logo {
   border-radius: 10px;
}

@media (max-width: 575.98px) {
   img.company-logo {
      max-height: 100px;
   }
}

@media (max-width: 767.98px) {
   img.company-logo {
      max-height: 100px;
   }
}

@media (max-width: 991.98px) {
   img.company-logo {
      max-height: 150px;
   }
}

@media (max-width: 1199.98px) {
   img.company-logo {
      max-height: 180px;
   }
}

@media (min-width: 1199.99px) {
   img.company-logo {
      max-height: 230px;
   }
}

img.flag-small {
   width: 16px;
   height: 12px;
}

img.token-icon {
   width: 20px;
   height: 20px;
}

/* Toast
-------------------------------------------------- */
.blazored-toast-container {
   z-index: 9999 !important;
}

/* Fade in / Fade out
-------------------------------------------------- */
.fade-in {
   animation: fadeInAnimation 0.5s forwards;
}

@keyframes fadeInAnimation {
   from {
      opacity: 0;
      display: none;
   }

   to {
      opacity: 1;
      display: block;
   }
}

.fade-out {
   animation: fadeOutAnimation 0.1s forwards;
}

@keyframes fadeOutAnimation {
   from {
      opacity: 1;
      display: block;
   }

   to {
      opacity: 0;
      display: none;
   }
}

/* UI
-------------------------------------------------- */
.message-component-background, .processing-notice {
   margin: 5px;
   padding: 10px;
}

.row-hover-light:hover {
   background-color: #F4F4F4;
}

/* Ribbon
-------------------------------------------------- */
@media (max-width: 991.98px) {
   .ribbon-box .ribbon + .row {
      clear: both;
   }
}

/* General
-------------------------------------------------- */
.hand-cursor {
   cursor: pointer;
}

.clear-both {
   clear: both;
}

.overflow-thin, .overflow-150, .overflow-300, .overflow-400, .overflow-500 {
   overflow-y: auto;
   overflow-x: hidden;
   scrollbar-width: thin;
}

.overflow-150 {
   max-height: 150px;
}

.overflow-300 {
   max-height: 300px;
}

.overflow-400 {
   max-height: 400px;
}

.overflow-500 {
   max-height: 500px;
}

.header-row {
   text-transform: uppercase;
   letter-spacing: 2px;
   padding: 10px 0 10px 0;
}

/* Text
-------------------------------------------------- */
.header-title {
   letter-spacing: 1px;
}

.sub-text {
   font-size: 12px !important;
}

.text-preview {
   color: #AFAFAF;
   white-space: nowrap; /* Keep the text on one line */
   overflow: hidden; /* Hide any overflow */
   text-overflow: ellipsis;
}

@media (max-width: 991.9px) {
   .sub-text-reactive {
      font-size: 12px;
   }
}

@media (min-width: 992px) {
   .sub-text-reactive {
      font-size: 16px;
   }
}

.min-height-100px {
   min-height: 100px !important;
}

.min-height-150px {
   min-height: 150px !important;
}

.min-height-300px {
   min-height: 300px !important;
}

.min-height-500px {
   min-height: 500px !important;
}

.min-height-600px {
   min-height: 600px !important;
}

/* Score Guage
-------------------------------------------------- */
.container-outcomes {
   display: inline-flex;
   flex-direction: row;
   justify-content: center;
   width: 100%;
}

   .container-outcomes .container-outcome-item {
      width: 40px;
      height: 40px;
      margin: 0;
   }

.score-gauge-item {
   height: 50px;
   border: 4px solid white;
   border-bottom: 6px solid white;
   border-radius: 10px;
}

.score-gauge-selected-item {
   padding-top: 5px;
   border: 4px solid white;
   border-bottom: none;
   border-top-left-radius: 10px;
   border-top-right-radius: 10px;
}

.score-gauge-explanation {
   padding: 10px;
   border-bottom-left-radius: 10px;
   border-bottom-right-radius: 10px;
   border: 4px solid white;
   border-top: none;
   text-align: center;
}

/* Accordion
-------------------------------------------------- */
.accordion-button {
   display: block !important;
}

/* Faded Text
-------------------------------------------------- */
.fade-text-container {
   padding-bottom: 20px;
   mask-image: linear-gradient(to bottom, black 80%, transparent);
   -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent);
   transition: max-height 0.5s ease;
}

/* PDF Generation
-------------------------------------------------- */
.prevent-page-break {
   page-break-inside: avoid;
}

/* Colour Picker
-------------------------------------------------- */
.transparent-picker-input {
   width: 42px;
   min-width: 42px;
   padding: 0;
}

.transparent-picker-preview {
   width: 32px;
   height: 32px;
   display: flex;
   align-items: center;
   justify-content: center;
   border: 1px solid #bbb;
   position: relative;
   overflow: hidden;
}

.transparent-bg {
   background: linear-gradient(45deg, #ccc 25%, transparent 25%, transparent 75%, #ccc 75%), linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%);
   background-size: 12px 12px;
   background-position: 0 0, 6px 6px;
}

.transparent-symbol {
   font-size: 1.1em;
   color: #888;
   font-weight: bold;
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
   pointer-events: none;
   z-index: 2;
}

/* Health Data */
.chart-wrapper {
   flex: 1 1 500px;
   min-width: 280px;
   max-width: 100%;
}

/* Dynamic Report
-------------------------------------------------- */
.dynamic-report {
   width: 100%;
   max-width: 640px;
   margin: 0 auto;
   font-family: 'DM Sans', system-ui, sans-serif;
}

   /* Section */
   .dynamic-report .report-section {
      margin-bottom: 8px;
   }

   .dynamic-report .section-header {
      padding: 20px 16px 16px;
   }

      .dynamic-report .section-header h2 {
         margin: 0;
         font-size: 1.25rem;
         font-weight: 700;
         line-height: 1.3;
         letter-spacing: -0.01em;
      }

   .dynamic-report .section-progress {
      margin-top: 10px;
      height: 4px;
      background-color: rgba(255, 255, 255, 0.25);
      border-radius: 2px;
      overflow: hidden;
   }

   .dynamic-report .section-progress-bar {
      height: 100%;
      border-radius: 2px;
      transition: width 0.4s ease;
   }

   .dynamic-report .section-content {
      padding: 8px 0 4px;
   }

   /* Content Block */
   .dynamic-report .content-block {
      position: relative;
      overflow: hidden;
   }

   .dynamic-report .block-title {
      margin: 0 0 10px;
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.01em;
   }

   .dynamic-report .block-summary {
      font-size: 0.9rem;
      line-height: 1.65;
   }

      .dynamic-report .block-summary p {
         margin: 0 0 10px;
      }

         .dynamic-report .block-summary p:last-child {
            margin-bottom: 0;
         }

   /* Images */
   .dynamic-report .block-image-wrapper {
      width: 100%;
      margin: 14px 0 8px;
      overflow: hidden;
   }

      .dynamic-report .block-image-wrapper img {
         display: block;
      }

   .dynamic-report .image-caption {
      font-size: 0.8rem;
      line-height: 1.5;
      margin: 6px 0 0;
      opacity: 0.85;
      font-style: italic;
   }

   /* Highlight types */
   .dynamic-report .highlight-warning {
      border-left: 4px solid #FFB74D !important;
   }

   .dynamic-report .highlight-action {
      border-left: 4px solid #81C784 !important;
   }

   .dynamic-report .highlight-info {
      border-left: 4px solid #64B5F6 !important;
   }

   .dynamic-report .highlight-success {
      border-left: 4px solid #4DB6AC !important;
   }

/* Phone Frame
-------------------------------------------------- */
div.phone-frame {
   position: relative;
   max-width: 400px;
   height: 700px;
   margin: 24px auto;
   padding: 14px;
   background: #1a1a1a;
   border-radius: 35px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 2px #2a2a2a;
   box-sizing: border-box;
}

   div.phone-frame::before {
      content: "";
      position: absolute;
      top: 22px;
      left: 50%;
      transform: translateX(-50%);
      width: 130px;
      height: 32px;
      background: #000;
      border-radius: 18px;
      z-index: 2;
      pointer-events: none;
   }

   div.phone-frame div.phone-screen {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 30px;
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      background: #000;
      -webkit-overflow-scrolling: touch;
      padding-top: 64px;
   }

.phone-frame .phone-screen .dynamic-report {
   max-width: 100%;
   margin: 0;
}

/* DNA loader
-------------------------------------------------- */
.dna-loader {
   display: inline-block;
   line-height: 0;
}

.dna-loader-md .dna-loader-svg {
   width: 60px;
   height: 60px;
}

.dna-loader-sm .dna-loader-svg {
   width: 30px;
   height: 30px;
}

.dna-loader-boot {
   position: fixed;
   top: 2rem;
   left: 50%;
   transform: translateX(-50%);
   width: 11rem;
   height: 11rem;
}

.dna-strand {
   fill: none;
   stroke-width: 3;
   stroke-linecap: round;
   stroke: rgb(22, 148, 200);
   animation: dna-helix-pulse 1.2s ease-in-out infinite;
}

.dna-strand-b {
   opacity: 0.5;
   animation-delay: -0.6s;
}

.dna-rungs line {
   stroke: rgb(22, 148, 200);
   stroke-width: 2;
   stroke-linecap: round;
   opacity: 0.6;
   transform-box: fill-box;
   transform-origin: center;
   animation: dna-rung-spin 1.2s linear infinite;
}

   .dna-rungs line:nth-child(1) {
      animation-delay: 0.00s;
   }

   .dna-rungs line:nth-child(2) {
      animation-delay: -0.15s;
   }

   .dna-rungs line:nth-child(3) {
      animation-delay: -0.30s;
   }

   .dna-rungs line:nth-child(4) {
      animation-delay: -0.45s;
   }

   .dna-rungs line:nth-child(5) {
      animation-delay: -0.60s;
   }

   .dna-rungs line:nth-child(6) {
      animation-delay: -0.75s;
   }

   .dna-rungs line:nth-child(7) {
      animation-delay: -0.90s;
   }

   .dna-rungs line:nth-child(8) {
      animation-delay: -1.05s;
   }

.loading-progress-text {
   position: fixed;
   top: calc(2rem + 11rem + 0.5rem);
   left: 0;
   right: 0;
   text-align: center;
   font-weight: 600;
   color: rgb(22, 148, 200);
}

   .loading-progress-text:after {
      content: var(--blazor-load-percentage-text, "Loading");
   }

@keyframes dna-helix-pulse {
   0%, 100% {
      opacity: 0.4;
   }

   50% {
      opacity: 1;
   }
}

@keyframes dna-rung-spin {
   0% {
      transform: scaleY(1);
      opacity: 0.7;
   }

   50% {
      transform: scaleY(0.15);
      opacity: 0.2;
   }

   100% {
      transform: scaleY(1);
      opacity: 0.7;
   }
}

.fixed-layout-table {
   table-layout: fixed !important;
   width: 100%;
   min-width: 700px;
}

.col-name {
   width: 25%;
}

.col-kit-id {
   width: 20%;
}

.col-status {
   width: 55%;
}

.text-truncate-custom {
   display: block;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}