.auth-subtitle .highlight {
  color: #4f46e5;
  text-decoration: underline;
}

/* Captcha section - puzzle */
.captcha-container {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #C5C6C5;
  background: #E1E0E1;
  margin-bottom: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.puzzle-wrapper {
  padding: 16px;
}

.puzzle-container {
  position: relative;
  overflow: visible;
}

.puzzle-background {
  display: block;
  width: 100%;
  height: auto;
}

.puzzle-piece-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.puzzle-piece {
  position: absolute;
  top: 0;
  margin-left: 0 !important;
}

/* Slider Controls */
.slider-controls-container {
  display: flex;
  gap: 12px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 40px;
  background-color: white;
  border-radius: 20px;
}

.slider-button-left {
  position: absolute;
  top: -12px;
  left: 0;
  width: 62px;
  height: 62px;
  border: 1px solid #00000085;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  transform: translateX(0);
  animation: blink-border 1s infinite;
}

.slider-button-left:active {
  cursor: grabbing;
}

.slider-button-left::after {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 2px solid #00000085;
  border-right: 2px solid #00000085;
  margin-right: 4px;
  transform: rotate(45deg);
  display: block;
}

.slider-progress {
  position: absolute;
  height: 100%;
  border-radius: 20px 0 0 20px;
  width: 0;
}

.slider-text {
  color: #B2B2B2;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  position: absolute;
  top: 50%;
  left: 75%;
  width: 100%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 10000;
  pointer-events: none;
}

.slider-text.hidden {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.puzzle-controls-container {
  display: flex;
  gap: 9px;
  margin-top: 13px;
  justify-content: center;
}

.control-button {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #b2b2b2;
  margin-top: 5px;
}

/* Audio */
#puzzle-audio-listen {
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 12px;
}

#captcha-audio-listen:hover,
#puzzle-audio-listen:hover {
  filter: brightness(0.9);
  transform: translateY(-1px);
}

/* Form section */
.form-container > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Recipients info */
.info-txt {
  color: #1F1E1F;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 20px;
}

/* Footer */
.footer {
  background: #f8f9ff;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

/* Alert */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  margin: 16px 0;
  background-color: #F9D3D1;
  border-radius: 8px;
  border: 1px solid #F0908D;
}

.alert-title {
  font-weight: 600;
  color: #701411;
  font-size: 14px;
}

.alert-message {
  color: #701411;
  font-size: 13px;
}

/* Mobile responsive - puzzle specific */
@media (max-width: 640px) {
  .captcha-container {
    padding: 12px;
    margin-bottom: 12px;
  }

  .puzzle-container {
    margin-bottom: 12px;
  }

  .puzzle-piece {
    width: 28%;
    height: auto;
  }

  .slider-container {
    margin: 5px auto;
  }

  .slider-track {
    height: 35px;
  }

  .slider-button-left {
    width: 50px;
    height: 50px;
    top: -8px;
  }

  .slider-button-left::after {
    width: 10px;
    height: 10px;
  }

  .slider-text {
    font-size: 8px;
    margin-top: 0;
  }

  .puzzle-controls-container {
    margin-top: 3px;
  }

  .control-button {
    width: 30px;
    height: 30px;
  }

  .info-txt {
    font-size: 16px;
    margin-top: 20px;
    line-height: 1.4;
  }
}

@media (max-height: 920px) {
  .auth-container h1 {
    font-size: 22px;
  }

  .auth-container p,div {
    font-size: 18px;
  }
}

@keyframes blink-border {
  0%, 100% {
    box-shadow: 0 0 0 1px currentColor;
  }
  50% {
    box-shadow: 0 0 3px 3px currentColor;
  }
}

@media (max-width: 480px) {
  .alert-content {
    flex-direction: column;
    gap: 5px;
  }
}

.slider-button-left.no-animation {
  animation: none !important;
}