* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background styles */
div.main {
  background-image: url("/static/images/thinking.jpg");
  object-fit: cover;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100dvh;
}

div.main div.card {
  backdrop-filter: blur(17px) saturate(200%);
  filter: drop-shadow(10px 10px 10px white);
  -webkit-backdrop-filter: blur(17px) saturate(200%);
  /* background-color: rgba(255, 255, 255, 0.3); */
  /* background-color: #ece6ff; */
  background-color: rgba(236, 230, 255, 0.3);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.card form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  width: 100%;
  padding: 20px;
  /* box-shadow: 0 31.3944px 33.0467px rgba(0, 0, 0, 0.1),
    inset 0 -4.95701px 16.5233px rgba(124, 80, 255, 0.28); */
  box-shadow: 0 31.3944px 33.0467px #c2ffd5,
    inset 0 -4.95701px 16.5233px rgb(188 188 188 / 40%);
  border-radius: 25px;
  z-index: -99999;
}
form h1 {
  text-align: center;
  font-size: 2rem;
  margin: 15px 0;
}

form div {
  margin: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

form div label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

form div input,
select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #affea5;
  border-radius: 8px;
  background: white;
}

div input:focus,
select:focus {
  outline: none;
  border-color: #000;
}

form button {
  width: 50%;
  padding: 1rem;
  font-size: 1.25rem;
  background: #78F8C6;
  color: black;
  border: 1px black solid;
  border-radius: 9999px;
  cursor: pointer;
  margin: 1rem auto;
  transition: background-color 0.2s;
  
}

@media (max-width: 600px) and (min-width: 280px) {
  div.main {
    height: 100dvh;
  }
  div.main form {
    width: 90%;
    overflow-y: auto;
  }
  form > div {
    display: flex;
    flex-direction: column;
  }

  form > div > label {
    width: 100%;
    margin: 10px 0;
  }

  form > div > input {
    width: 100%;
  }
  form > div > select {
    width: 100%;
  }
  form button {
    width: 60%;
    background-color: #000;
    color: #fff;
  }
}



.loading-screen {
  background-image: url("/static/images/thinking.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.loading-content {
  backdrop-filter: blur(17px) saturate(200%);
  filter: drop-shadow(10px 10px 10px white);
  -webkit-backdrop-filter: blur(17px) saturate(200%);
  background-color: rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
}

.brain-loader {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: pulse 2s infinite;
}

.progress-bar {
  width: 200px;
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin: 1rem auto;
}

.progress-fill {
  height: 100%;
  background-color: black;
  animation: progress 5s linear infinite;
  width: 0%;
}

/* Animations */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes progress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

