@charset "UTF-8";

/* Popup-mode widgets live inside the form but must be invisible until the modal opens */
.luxar-captcha[data-lc-popup] {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.luxar-captcha {
  display: inline-block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  box-sizing: border-box;
}
.luxar-captcha *,
.luxar-captcha *::before,
.luxar-captcha *::after {
  box-sizing: inherit;
}

.lc-widget {
  position: relative;
  min-width: 260px;
  padding: 16px;
  border-radius: var(--lc-radius, 8px);
  background: var(--lc-bg, #fff);
  color: var(--lc-text, #333);
  border: var(--lc-border-width, 1px) solid var(--lc-border, #ddd);
  box-shadow: var(--lc-shadow, 0 2px 8px rgba(0, 0, 0, 0.08));
}

.lc-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.lc-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--lc-border, #ddd);
  border-top-color: var(--lc-accent, #3a7bd5);
  border-radius: 50%;
  animation: lc-spin 0.7s linear infinite;
}

@keyframes lc-spin {
  to {
    transform: rotate(360deg);
  }
}
.lc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: none;
  border-radius: var(--lc-btn-radius, calc(var(--lc-radius, 8px) - 2px));
  background: var(--lc-accent, #3a7bd5);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  user-select: none;
}
.lc-btn:hover:not(:disabled) {
  opacity: 0.88;
}
.lc-btn:active:not(:disabled) {
  transform: scale(0.97);
}
.lc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.lc-btn.lc-btn-main {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}
.lc-btn.lc-btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.lc-input {
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 8px 12px;
  border: 1px solid var(--lc-border, #ddd);
  border-radius: calc(var(--lc-radius, 8px) - 2px);
  background: var(--lc-bg, #fff);
  color: var(--lc-text, #333);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.lc-input:focus {
  border-color: var(--lc-accent, #3a7bd5);
}

.lc-prompt {
  margin-bottom: 10px;
  color: var(--lc-text, #333);
  font-weight: 500;
}

.lc-success {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2e7d32;
  font-weight: 500;
}

.lc-check {
  font-size: 20px;
}

.lc-error,
.lc-blocked,
.lc-timeout {
  color: #c62828;
  font-weight: 500;
}

.lc-math {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-math-expr {
  font-size: 20px;
  font-weight: 700;
  color: var(--lc-text, #333);
  text-align: center;
  padding: 8px 0;
}

.lc-text-captcha {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lc-captcha-img {
  display: block;
  max-width: 100%;
  border-radius: 4px;
}

.lc-spots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.lc-spot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.lc-spot:hover {
  transform: scale(1.1);
  border-color: var(--lc-text, #333);
}

.lc-hold {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-hold-bar {
  height: 6px;
  background: var(--lc-border, #ddd);
  border-radius: 3px;
  overflow: hidden;
}

.lc-hold-fill {
  height: 100%;
  background: var(--lc-accent, #3a7bd5);
  width: 0%;
  transition: width 0.1s linear;
}

.lc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lc-slider {
  width: 100%;
  cursor: pointer;
  accent-color: var(--lc-accent, #3a7bd5);
}

.lc-rotate-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.lc-rotate-figure {
  font-size: 48px;
  line-height: 1;
  transition: transform 0.2s;
  user-select: none;
}

.lc-rotate-controls {
  display: flex;
  gap: 8px;
}

.lc-order-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.lc-order-item {
  padding: 8px 14px;
  background: var(--lc-border, #ddd);
  border-radius: 4px;
  cursor: grab;
  user-select: none;
  font-weight: 700;
  transition: opacity 0.15s;
}
.lc-order-item.lc-dragging {
  opacity: 0.4;
}

.lc-imgsel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 8px 0;
}

.lc-imgsel-cell {
  position: relative;
  aspect-ratio: 1;
  background: var(--lc-border, #eee);
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
  font-size: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  border: 2px solid transparent;
}
.lc-imgsel-cell:hover {
  transform: scale(1.04);
}
.lc-imgsel-cell.lc-selected {
  border-color: var(--lc-accent, #3a7bd5);
  box-shadow: 0 0 0 1px var(--lc-accent, #3a7bd5);
}
.lc-imgsel-cell.lc-selected::after {
  content: "✓";
  position: absolute;
  top: 3px;
  right: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--lc-accent, #3a7bd5);
  line-height: 1;
  text-shadow: 0 0 3px #fff;
}

.lc-imgsel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.lc-memory-cards {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0;
}

.lc-memory-card {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.lc-memory-card:hover {
  transform: scale(1.08);
}

.lc-reload {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--lc-border, #ddd);
  border-radius: 50%;
  background: var(--lc-bg, #fff);
  color: var(--lc-text, #888);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.15s, color 0.15s;
  line-height: 1;
}
.lc-reload:hover {
  opacity: 1;
  color: var(--lc-accent, #3a7bd5);
  border-color: var(--lc-accent, #3a7bd5);
}
.lc-reload svg {
  width: 13px;
  height: 13px;
  display: block;
  flex-shrink: 0;
}
.lc-reload.lc-spinning svg {
  animation: lc-spin 0.4s linear;
}

.lc-cooldown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  text-align: center;
}

.lc-cooldown-ring {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.lc-cooldown-ring svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}
.lc-cooldown-ring .lc-ring-track {
  fill: none;
  stroke: var(--lc-border, #e5e5e5);
  stroke-width: 4;
}
.lc-cooldown-ring .lc-ring-fill {
  fill: none;
  stroke: #e53935;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s linear;
}
.lc-cooldown-ring .lc-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #e53935;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  line-height: 1;
}

.lc-cooldown-msg {
  font-weight: 600;
  font-size: 14px;
  color: var(--lc-text, #333);
  max-width: 220px;
}

.lc-cooldown-sub {
  font-size: 12px;
  color: #999;
}

/*# sourceMappingURL=captcha.css.map */
