.ai-lead-response-loader.hide {
  display: none;
}

.ai-lead-response {
  height: 100vh;
  overflow: hidden;
  background-color: #0F172A;
}

.ai-lead-response__logo {
  height: 100px;
  padding: 20px;
  display: flex;
  border-bottom: 1px solid #3d3d3d;
}

.ai-lead-response__logo img {
  height: auto;
}

.ai-lead-response__wrapper {
  height: calc(100% - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 30px 0;
}

/* .ai-lead-analyze__animation {

} */

.ai-lead-response__wrapper-block {
  height: 100%;
  background: #1E293B;
  padding: 24px;
  border-radius: 8px;
  border: 0.5px solid #334155;
  overflow: auto;
  transition: all 0.5s ease-in-out;
  position: relative;
  min-width: 600px;
  max-width: 600px;
}

.ai-lead-analyze__animation.hide {
  opacity: 0;
  z-index: -1;
  display: none;
}

.ai-lead-analyze__top {
  padding: 0 0 12px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 0 10px;
}

.ai-lead-analyze__main-text {
  font-size: 24px;
  color: #fff;
}

.ai-lead-analyze__progress-bar {
  position: relative;
  width: 20px;
  height: 20px;
}

.ai-lead-analyze__circle {
  height: 100%;
  right: 0px;
  position: absolute;
  border: solid 2px #a9a9a9;
  border-top-color: #82363F;
  border-radius: 50%;
}

.ai-lead-analyze__border {
  width: 100%;
  transform: rotate(135deg);  
  animation: spin 1.3s steps(2) .2s infinite;
  -webkit-animation: spin 1.3s linear infinite;

}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ai-lead-analyze__steps {
  display: flex;
  flex-direction: column;
  gap: 8px 0;
}

.ai-lead-analyze__step {
  display: flex;
  align-items: center;
  gap: 0 8px;
  background: #293548;
  padding: 8px;
  border-radius: 8px;
  min-width: 425px;
}

.ai-lead-analyze__text--icon {
  display: flex;
}

.ai-lead-analyze__text--icon svg {
  width: 16px;
  height: 16px;
}

.ai-lead-analyze__text {
  font-size: 14px;
  color: #fff;
}

.ai-lead-analyze__response.hide {
  display: none;
}

.ai-lead-analyze__response--top {
  position: sticky;
  top: 0;
  left: 0;
}

.ai-lead-analyze__response--top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0 12px 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #3d3d3d;
  background: #1E293B;
}

.ai-lead-analyze__response--top h2 {
  text-align: center;
}

.ai-lead-analyze__response--top p {
  color: #94a3b8;
  text-align: center;
  font-size: 12px;
}

.ai-lead-analyze__response--list {
  padding-top: 75px;
}

.ai-lead-analyze__response--assessment {
  background: rgb(51 65 85 / 0.7);
  border-radius: 8px;
  padding: 12px;
}

.ai-lead-analyze__response--assessment h2 {
  color: #94a3b8;
  text-align: center;
  font-size: 12px;
}

.ai-lead-analyze__response--assessment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 4px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ai-lead-analyze__response--assessment-status p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 6px;
}

.ai-lead-analyze__response--assessment-status span:first-child {
  display: flex;
}

.ai-lead-analyze__response--assessment-status span:last-child {
  color: #fca5a5;
  font-size: 10px;
  padding: 4px 12px;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  background: rgb(239 68 68 / 0.2);
}

.ai-lead-analyze__response--assessment.success .ai-lead-analyze__response--assessment-status span:first-child {
  display: none;
}

.ai-lead-analyze__response--assessment.success .ai-lead-analyze__response--assessment-status span:last-child {
  color: #000000;
  border: 1px solid #b0e48e;
  background: #b0e48e;
}

.ai-lead-analyze__response--assessment.success .ai-lead-analyze__response--assessment-text {
  display: none;
}

.ai-lead-analyze__response--assessment.success .ai-lead-analyze__response--assessment-status {
  margin-bottom: 0;
}

.ai-lead-analyze__response--list-title {
  color: #facc15;
  text-align: center;
  font-size: 16px;
  margin-top: 12px;
}

.ai-lead-analyze__response--list-text {
  color: #94a3b8;
  text-align: center;
  font-size: 10px;
}

.ai-lead-analyze__response--list-items ul {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #3d3d3d;
}

.ai-lead-analyze__response--list-items ul li {
  background: rgba(51, 65, 85, 0.416);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
}

.ai-lead-analyze__response--list-items ul li.response-item:not(.response-item__required) .response-item__value {
  color: #86efac;
  text-transform: capitalize;
}

.ai-lead-analyze__response--list-items ul li.response-item.response-item__required {
  background-color: #741f25;
  border-left: 4px solid #ef4444;
}

.ai-lead-analyze__response--list-items ul li.response-item.response-item__required span:last-child {
  color: #fca5a5;
}

.ai-lead-analyze__response--list-items ul li.response-item.response-item__required.response-item__required--animation {
  border: unset;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  animation: police-siren-attention 0.8s infinite ease-in-out;
}

/* Police siren animation (if still used elsewhere, otherwise can be removed if only for this component) */
@keyframes police-siren-attention {
  0%,
  100% {
    background-color: rgba(153, 27, 27, 0.6);
    box-shadow: 0 0 5px 2px rgba(220, 38, 38, 0.6), inset 0 0 3px 1px rgba(255, 100, 100, 0.5);
    transform: scale(1);
  }
  50% {
    background-color: rgba(220, 38, 38, 0.8);
    box-shadow: 0 0 12px 5px rgba(239, 68, 68, 0.9), inset 0 0 6px 3px rgba(255, 150, 150, 0.7);
    transform: scale(1.025);
  }
}

.ai-lead-analyze__response--overview-block {
  display: flex;
  align-items: flex-start;
  gap: 0 12px;
  background: rgba(51, 65, 85, 0.416);
  padding: 12px;
  border-radius: 8px;
}

.ai-lead-analyze__response--overview-block {
  margin-bottom: 12px;
}

.ai-lead-analyze__response--overview-icon {
  display: flex;
}

.ai-lead-analyze__response--overview-text h4 {
  color: #fff;
  font-size: 16px;
}

.ai-lead-analyze__response--overview-text p {
  color: #94a3b8;
}

a.analyze-submit-button {
  width: 100%;
  display: block;
  text-align: center;
  align-items: center;
  padding: 12px;
  background: #86efac;
  border-radius: 8px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  transition: all 0.3s ease-in-out;
}

a.analyze-submit-button:hover {
  opacity: .4;
}

.ai-lead-analyze__animation--bottom {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #334155;
}

.ai-lead-analyze__animation--bottom p {
  color: #94a3b8;
  text-align: center;
  font-size: 12px;
}

.analyze-submit-button.top {
  
}

@media screen and (max-width: 991px) {
  .ai-lead-response__wrapper {
    padding: 0;
  }

  .ai-lead-response__wrapper-block {
    max-width: unset;
    min-width: unset;
    width: 100%;
    border-radius: unset;
  }

  .ai-lead-analyze__step {
    min-width: unset;
  }
}