.model-captcha{
    --bs-modal-width:320px !important;
    --bs-modal-padding: 2px !important;
    --bs-modal-border-radius:5px !important;
    .modal-body{
        display: flex;
        flex:1;
        justify-content: center;
        align-items: center;
    }
}
.sc-wrapper {
    --slider-btn-width: 40px;
    --slider-btn-height: 40px;
    font-size: 12px;
    position: relative;
    display: inline-block;
    border-radius: 4px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none; /* 兼容性，适用于一些旧版的 WebKit 浏览器 */
    -moz-user-select: none;

    .sc-image-wrapper {
        position: relative;

        .sc-refresh-btn {
            position: absolute;
            right: 10px;
            top: 10px;
            color: #e7e7e7;
            font-size: 18px;
            font-weight: bolder;
            cursor: pointer;
            transition: transform 0.5s ease-in-out;
            z-index: 10;

            &:hover {
                color: #FFFFFF;
            }

            &:active {
                color: #FFFFFF;
                transform: rotate(90deg);
            }
        }

        .sc-msg {
            position: absolute;
            left: 0;
            bottom: 0;
            height: 20px;
            line-height: 20px;
            background: rgba(149, 212, 117, 0.8);
            -webkit-transition: all 0.5s ease;
            width: 100%;
            border-radius: 0 0 4px 4px;
            z-index: 9;

            span {
                padding: 0 10px;
                color: white;
            }
        }

        .sc-image {
            padding: 0;
            pointer-events: none;
            border-radius: 4px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                filter: drop-shadow(2px 2px 4px rgba(96, 90, 90, 0.8));
            }
        }

        .sc-block {
            position: absolute;
            z-index: 8;
            left: 0;
            bottom: 0;

            img {
                filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 1));
            }
        }
    }

    .sc-slider-wrapper {
        position: relative;
        background: #e7e8ea;
        margin: 5px 0 0 0;
        height: var(--slider-btn-height);
        line-height: var(--slider-btn-height);
        text-align: center;
        border-radius: 4px;

        .sc-slider {
            position: absolute;
            background: rgba(198, 226, 255, 0.6);
            display: flex;
            border-radius: 4px;
            left: 0;
            top: 0;
            justify-content: flex-end;
            align-items: center;

            .sc-slider-btn {
                background: #79bbff;
                height: var(--slider-btn-height);
                width: var(--slider-btn-width);
                border-radius: 4px;
                cursor: pointer;
                text-align: center;
                color: white;

                &:hover {
                    background: #409EFF;
                }
            }
        }

        .sc-description {
            color: #9999;
        }
    }

    &.success {
        .sc-slider, .sc-msg {
            background: rgba(131, 227, 69, 0.5);
        }

        .sc-slider {
            .sc-slider-btn {
                background: #67C23A;

                &:hover {
                    background: #67C23A;
                }
            }
        }

    }

    &.failure {
        .sc-slider, .sc-msg {
            background: rgba(245, 108, 108, 0.5);
        }

        .sc-slider {
            .sc-slider-btn {
                background: #f85858;

                &:hover {
                    background: #f85858;
                }
            }
        }

    }
}
