/* Shared captcha layout for desktop and mobile forms. */
.capbox {
    width: 100%;
    min-width: 0;
    padding: 3px 0;
}

.capbox .fake-input {
    display: grid;
    grid-template-columns: minmax(0, 90px) minmax(0, 1fr) 40px;
    align-items: center;
    gap: 8px;
}

.capbox .captcha_image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    height: 40px;
}

.capbox input.captcha-control {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 8px;
    border: 1px solid #dce8f7;
    border-radius: 6px;
    font-size: 12px;
}

.capbox .refresh a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #373e51;
    color: #fff;
    cursor: pointer;
}

.capbox .refresh a i {
    display: none;
}

.capbox .refresh a::before {
    font-family: 'bootstrap-icons';
    content: '\f130';
    font-size: 16px;
}

.capbox .refresh a:hover {
    background: #4e84de;
    color: #fff;
}
