/* 验证码插件样式 */
.captcha-container {
    margin: 15px 0;
}

.captcha-container .card {
    background-color: #f8f9fa;
}

.captcha-container .slider-track {
    position: relative;
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

.captcha-container .slider-thumb {
    position: absolute;
    top: -5px;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #0d6efd;
    border-radius: 50%;
    cursor: grab;
    z-index: 10;
    transition: background-color 0.2s;
}

.captcha-container .slider-thumb:active {
    cursor: grabbing;
    background-color: #0a58ca;
}

.captcha-container .rotate-image-container,
.captcha-container .click-image-container,
.captcha-container .input-image-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.captcha-container .rotate-image-container img {
    max-height: 120px;
}

.captcha-container .click-image-container img,
.captcha-container .input-image-container img {
    max-height: 180px;
}

.captcha-container img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.captcha-container .rotate-controls {
    padding: 5px 0;
}

.captcha-container .rotate-controls button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 14px;
}

.captcha-container .rotate-controls span {
    font-size: 14px;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
}

.captcha-container .click-mark {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #dc3545;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid white;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.captcha-container .input-group {
    max-width: 300px;
}

.captcha-container .alert {
    margin-top: 10px;
}

/* 加载动画 */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}