/* Container Styles */
#isp-container {
  text-align: center;
  margin: 20px;
  font-family: Arial, sans-serif;
}

#isp-warning {
  border: 2px solid #ff4d4d;
  background-color: #ffe6e6;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  color: #cc0000;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form Styles */
#isp-form {
  display: inline-block;
  margin-bottom: 20px;
}

#isp-form input[type="file"] {
  display: none;
}

#isp-form label {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#isp-form label:hover {
  background-color: #0056b3;
}

/* Scanning Effect */
#isp-scanning {
  position: relative;
  margin-top: 20px;
  display: none;
  overflow: hidden; /* Add hidden overflow */
}

#scanning-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0%) 0%, rgb(0 255 0 / 68%) 70%, rgb(255 255 255 / 0%) 100%);
  animation: scan 5s linear infinite;
  border-radius: 5px;
  z-index: 10;
}

@keyframes scan {
  /* 0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); } */
  0% { top: -20% }
  100% { top: 100% }

}


#uploaded-image {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#isp-analysis {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* User Info Form */
#isp-user-info {
  display: inline-block;
  margin-top: 20px;
  text-align: left;
  display: none; /* Initially hidden */
}

#isp-user-info input, #isp-user-info button {
  width: calc(100% - 22px);
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

#isp-user-info input:focus, #isp-user-info button:focus {
  border-color: #007bff;
  outline: none;
}

#isp-user-info button {
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#isp-user-info button:hover {
  background-color: #0056b3;
}
