.captcha {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.captcha #captchaBoxError,
.captcha .captcha-container #captchaError {
  margin-top: 0.5rem;
  color: oklch(57.7% 0.245 27.325);
  font-size: 1.6rem;
}

.captcha .captcha-box {
  width: 100%;
  max-width: 20rem;
}

.captcha .captcha-box .btn-captcha {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #dee2e6;
  padding: 1.5rem;
  border-radius: 0.25rem;
  background-color: oklch(98.5% 0.002 247.839);
}

.captcha .captcha-box .btn-captcha label {
  cursor: pointer;
  font-size: 2rem;
  color: #5e5e5e;
  font-weight: bold;
}

.captcha .captcha-box .btn-captcha label #notRobot {
  width: calc(var(--spacing) * 6);
  height: calc(var(--spacing) * 6);
}

.captcha .captcha-container {
  text-align: center;
}

.captcha .captcha-container .image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.captcha .captcha-container .image #captchaImage {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.captcha .captcha-container .image #refreshCaptcha {
  cursor: pointer;
  font-size: x-large;
  color: oklch(49.6% 0.265 301.924);
  background-color: transparent;
  border: 0;
}

.captcha .captcha-container #captchaInput {
  width: 100%;
  border: 1px solid #dee2e6;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

.captcha .captcha-container #captchaInput:focus {
  outline: 0;
  box-shadow: 0 0 0;
}

.captcha .captcha-container #captchaInput.error {
  border-color: red;
}
