body {
  height: 100%;
  background: linear-gradient(-45deg, #a2eeff, #dcffde, #fff, #90ffe3);
  background-size: 400% 800%;
  /* animation: gradient 15s ease infinite; */
  font-family: Arial, Helvetica, sans-serif;
}

@keyframes gradient {
  0% {
    background-position: 0% 25%;
  }

  25% {
    background-position: 50% 25%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.progress-bar {
  width: 100%;
  height: 2px;
  background: #a9ecce;
  margin-bottom: 1rem;
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;
  background: #0d5e3a;
  transition: width 0.3s ease;
}

.progres-step {
  font-size: 0.8rem;
  text-transform: uppercase;
  text-align: right;
  width: 100%;
  margin: 0px 0px 15px;
}

.logo {
  height: 50px;
  margin: 10px auto 20px auto;
}

h4 {
  font-size: 1rem;
  margin: 15px auto 15px auto;
}

p {
  font-size: 0.8rem;
}

.form-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.form-section.active {
  display: block;
}

button {

  padding: 10px 25px;
  display: inline-block;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  filter: drop-shadow(4px 4px 8px #18cfae);

}

.animate-btn {
  background: linear-gradient(-45deg, #1ed6c6, #0f7644, #27c8b7, #023b1b);
  background-size: 800% 400%;
  transition: all 0.2s ease-in-out;
  animation: Gradient 10s infinite cubic-bezier(0.62, 0.28, 0.23, 0.99) both;
  -webkit-animation: Gradient 10s infinite cubic-bezier(0.62, 0.28, 0.23, 0.99) both;
  -moz-animation: Gradient 10s infinite cubic-bezier(0.62, 0.28, 0.23, 0.99) both;
}

.btn-cta:hover {
  -webkit-animation: Gradient 3s infinite;
  -moz-animation: Gradient 3s infinite;
  animation: Gradient 3s infinite;
  transform: scale(1.1);
}

@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@-moz-keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes Gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-prev {
  margin-right: auto;
  /* Aligns Previous button to the left */
  background: linear-gradient(-45deg, #453f3f, #aaa8a5, #7c756c, #615f5d);

}

.btn-next {
  margin-left: auto;
  /* Aligns Next button to the right */
}

.btn-submit {}

.get-started-screen {
  padding-top: 20px;
}

.get-started-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.get-started-container .easy-step {
  text-align: center;
}

.form-section .step-content img {
  width: 100%;
  border-radius: 20px;
}

.step-content-details .input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.multi-card-section {
  padding: 1.5rem 0;
}

.step-content-details .input-group input {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d1d3e2;
  border-radius: 0.35rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.step-content-details .input-group label {
  font-size: 0.8rem;
  font-family: Arial, Helvetica, sans-serif;
}

.step-content-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: self-start;
}

.buttons-group {
  display: inline-flex;
  justify-content: space-between;
  margin-top: 20px;
  float: inline-end;
  column-gap: 15px;
}

.step-content-details video {
  background: url("/static/images/capture.png");
  max-width: 80%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin: auto;
  min-width: 300px;
  min-height: 300px;
}

.step-content-details h2 {
  color: #222;
  font-size: 1rem;
  width: 100%;
}

.animate-text {
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  color: #000000;
  background-image: -webkit-linear-gradient(92deg, #3b02ac, #7bc800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-animation: hue 10s infinite linear;
}

@-webkit-keyframes hue {
  from {
    -webkit-filter: hue-rotate(0deg);
  }

  to {
    -webkit-filter: hue-rotate(-360deg);
  }
}

.error-text {
  font-size: 0.7rem;
  color: #e20a0a;
}

#video {
  width: 100%;
  max-width: 400px;
  min-width: 250px;
  height: auto;
  aspect-ratio: 4 / 3;
  /* Maintains proper ratio */
  /* border-radius: 12px; */
  border-radius: 0px;;

  display: block;
  margin: 15px auto 0px auto;
}

@media (max-width: 500px) {
  #video {
    max-width: 100%;
    min-width: 200px;
  }
}


.final-result-container {
  width: 100%;
}



.final-result-container .final-result-col {
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: self-start;
  gap: 16px;
  border-width: 1px;
  padding: 16px;
  border: 1px solid #FFFFFF4D;
  box-shadow: 0px 1px 50px 0px #00000014;
}

.final-result-container .view-full-report {
  filter: blur(1px);
  background: #000000b8;
}

.final-result-container .view-full-report-col {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.final-result-container .view-full-report-col a {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #FFFFFF;
  text-decoration: none;
}

.final-result-container .final-result-col .icon-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.final-result-container .final-result-col .icon-col h4 {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  margin: 0;
}

.final-result-container .final-result-col .icon-col h4 span {
  font-weight: 400;
  font-size: 12px;
}

.final-result-container .final-result-col p {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  margin: 0;

}

.final-result-container .final-result-col p span {
  font-weight: 500;
  font-size: 14px;
}

.final-result-container .final-result-col button.normal {
  background-color: #F0FBF0;
  color: #00B506;
}

.final-result-container .final-result-col button.dangerous {
  background-color: #FFD1D1;
  color: #CE0000;
}

.final-result-container .final-result-col button.Okay {
  background-color: #FBF9F0;
  color: #B19100;
}

.final-result-container .health-score {
  width: 350;
  height: 122;
  top: 134px;
  left: 20px;
  border-radius: 20px;
  gap: 7px;
  border-width: 1px;
  padding: 16px;
  border: 1px solid #00F8BC;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 100%;
  letter-spacing: 0%;
  color: #002c36;
  margin-bottom: 20px;
}

.final-result-container .health-score h3 {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
}

.final-result-container .health-score span {
  font-weight: 700;
  font-size: 30px;
}

.footer {
  font-size: 0.8rem;
  position: relative;
  bottom: 15px;
  border-top: solid 1px #0a4d4f;
  width: 100%;
  margin-top: 10%;
}


.video-container {
  position: relative;
  display: inline-block;
  padding: 10px;
  border-radius: 15px;
  transition: box-shadow 0.3s ease-in-out;

  margin: auto;
}

.video-container.good-condition {
  border: solid 1px #0f7644;
  box-shadow: 0 0 20px #0f7644;
}

.video-container.danger {
  border: solid 1px #d80909;
  box-shadow: 0 0 20px #d80909;
}

video {
  width: 640px;
  height: 480px;
  border-radius: 10px;
}

canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.video-container.scanning {
  animation: scanningEffect 1s infinite alternate;
}

@keyframes scanningEffect {
  0% {
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  }

  90% {
    box-shadow: 0 0 25px rgba(0, 255, 0, 1);
  }
}

.scanning-animation {
  position: absolute;
  width: 94%;
  height: 36px;

  left: 3%;
}

.video-container.good-condition .scanning-animation {
  background: linear-gradient(to right, rgba(0, 255, 0, 0.8), rgba(0, 255, 0, 0.2));
  animation: scanning 1.5s linear infinite alternate;
}

.video-container.danger .scanning-animation {
  background: linear-gradient(to right, rgba(255, 42, 0, 0.8), rgba(255, 42, 0, 0.2));
  animation: scanning 1.5s linear infinite alternate;
}

@keyframes scanning {
  0% {
    top: 15%;
  }

  50% {
    top: 50%;
  }

  100% {
    top: 75%;
  }
}

.progress-container {
  border-radius: 0px;
  background-color: #f1f1f1;
  margin-bottom: 0.5rem;
  height: 0.3rem;
  .completed {
    background-color: #05b767;
  }
}

.scan-progress {
  border-radius: 0px;
  font-size: 8px;
  color: #fff;
  text-align: center;
}

.low{
  background-color: #dfc904;
  color: #000;
}

.high{
  background-color: #d80909;
  color: #fff;
}

.normal{
  background-color: #025113;
  color: #fff;
}
