/**
 * Smart CAPTCHA front-office styles.
 *
 * The widget is mounted inside each form by behavior.js, wrapped in
 * .ht-sc-captcha-wrap with a position and an alignment class. Floating
 * (bottom-left/right) positions stay descendants of their form so the token is
 * still submitted; they are only moved visually with position:fixed.
 *
 * @author Hiddentechies
 * @copyright 2026 Hiddentechies
 * @license Proprietary
 */
.ht-sc-captcha-wrap {
  margin: 10px 0;
}

.ht-sc-align-left {
  display: block;
}

.ht-sc-align-center {
  display: flex;
  justify-content: center;
}

.ht-sc-align-right {
  display: flex;
  justify-content: flex-end;
}

.ht-sc-legal {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #6c757d;
}

/* Floating badge-style positions, pinned to a screen corner. */
.ht-sc-position-bottom-left,
.ht-sc-position-bottom-right {
  position: fixed;
  bottom: 14px;
  z-index: 2147483000;
  max-width: 320px;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ht-sc-position-bottom-left {
  left: 14px;
}

.ht-sc-position-bottom-right {
  right: 14px;
}

@media (max-width: 480px) {
  .ht-sc-position-bottom-left,
  .ht-sc-position-bottom-right {
    left: 8px;
    right: 8px;
    max-width: none;
  }
}
