/* Styles for the modal */
.modal-captcha {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  padding-bottom: 10%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-captcha.show {
  display: flex;
  opacity: 1;
}

.modal-content-captcha {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fefefe;
  padding: 20px;
  width: 50%;
  flex-direction: column;
  border-radius: 6px;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.modal-content-captcha.show {
  transform: translateY(0);
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .modal-content-captcha {
    width: 90%;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}

.modal-label {
  align-self: center;
}

.close {
  background-color: transparent;
  border: none;
  align-self: flex-end;
  font-weight: 400;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.close span {
  font-size: 30px;
  line-height: 30px;
}

#captcha {
  margin-bottom: 10px;
}
