/* ===================================
   Captcha Box 
=================================== */
.captcha-box {
    display: flex;
    align-items: stretch;
    width: 100%;
    /* border: 1px solid #e1e1e1; */
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #fff;
}

.captcha-code-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
    /* border-right: 1px dashed #999; */
    padding: 0 18px;
    flex-shrink: 0;
}

.captcha-code {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #000;
    user-select: none;
    line-height: 1;
    white-space: nowrap;
}

.captcha-input {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    border: none !important;
    outline: none;
    text-align: center;
    font-size: 15px;
    padding: 0 12px;
    height: auto;
    background: transparent;
}

.captcha-refresh-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    /* border-left: 1px solid #e1e1e1; */
    cursor: pointer;
    padding: 0 16px;
    flex-shrink: 0;
}

.captcha-refresh {
    color: var(--thm-base);
    font-size: 16px;
    line-height: 1;
    transition: transform 300ms;
}

.captcha-refresh-box:hover .captcha-refresh {
    transform: rotate(90deg);
}

.captcha-error {
    display: none;
    color: red;
    font-size: 13px;
    margin-bottom: 12px;
}

.input-box input.error,
.input-box textarea.error,
.input-box select.error,
.captcha-box.error {
    border-color: #e53935 !important;
}

.field-error {
    display: none;
    color: #e53935;
    font-size: 13px;
    margin-top: -8px;
    margin-bottom: 12px;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #888;
    margin-top: -6px;
    margin-bottom: 10px;
}