.captcha-modal { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.55); }
.captcha-modal[hidden] { display: none; }
.captcha-dialog { width: 100%; max-width: 360px; padding: 16px; border-radius: 10px; background: #fff; color: #212529; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.captcha-head { position: relative; min-height: 32px; padding-right: 72px; margin-bottom: 10px; font-weight: 600; line-height: 32px; }
.captcha-refresh, .captcha-close { position: absolute; top: 0; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 20px; line-height: 32px; cursor: pointer; color: #495057; }
.captcha-refresh { right: 36px; }
.captcha-close { right: 0; }
.captcha-refresh:hover, .captcha-close:hover { background: #e9ecef; }
.captcha-image { position: relative; width: 100%; aspect-ratio: 2; overflow: hidden; border-radius: 6px; background: #dee2e6; user-select: none; }
.captcha-image img { user-select: none; -webkit-user-drag: none; }
#captchaBackground { display: block; width: 100%; height: 100%; }
#captchaPiece { position: absolute; left: 0; pointer-events: none; }
.captcha-track { position: relative; height: 44px; margin-top: 12px; overflow: hidden; border-radius: 22px; background: #e9ecef; touch-action: none; }
.captcha-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: #b7e1c9; }
.captcha-track-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #495057; pointer-events: none; }
.captcha-handle { position: absolute; top: 0; left: 0; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22px; background: #176947; color: #fff; font-size: 22px; line-height: 44px; cursor: grab; touch-action: none; }
.captcha-handle:disabled { background: #adb5bd; cursor: not-allowed; }
.captcha-status { min-height: 20px; margin: 10px 0 0; font-size: 13px; }
.remember-login { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin: 16px 0; }
.remember-login input { width: auto; margin-top: 3px; }
