.captcha-box {
    display: flex;
    align-items: stretch;
    border: 1px solid #dcdfe4;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    height: 52px;
}
.captcha-box:focus-within {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, .15);
}
.captcha-box #captcha_input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    outline: 0;
    box-shadow: none !important;
    background: transparent;
    padding: 0 16px;
    font-size: 15px;
    height: 100%;
}
.captcha-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 0 18px;
    background: #f5f7fa;
    color: #222;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 3px;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    user-select: none;
    -webkit-user-select: none;
}
.captcha-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    border: 0;
    border-left: 1px solid #dcdfe4;
    background: #fff;
    color: #333;
    cursor: pointer;
    padding: 0;
}
.captcha-refresh:hover { background: #f5f7fa; }
.captcha-refresh:active svg { transform: rotate(180deg); }
.captcha-refresh svg { transition: transform .3s; }
.captcha-error {
    display: none;
    color: #e03131;
    font-size: 13px;
    margin-top: 6px;
}