/* Shared math captcha (rules, contact forms) */
.bn-captcha {
    margin-bottom: 20px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
}

.bn-captcha__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bn-captcha__head > label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
}

.bn-captcha__refresh {
    font-size: 12px;
    font-weight: 600;
    color: #00cff0;
    text-decoration: none;
    white-space: nowrap;
}

.bn-captcha__refresh:hover {
    color: #fff;
}

.bn-captcha__row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.bn-captcha__question {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(6, 13, 26, 0.55);
    border: 1px solid rgba(0, 207, 240, 0.25);
    border-radius: 12px;
    min-height: 48px;
}

.bn-captcha__prompt {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bn-captcha__question strong {
    font-size: 22px;
    font-weight: 800;
    color: #00cff0;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}

.bn-captcha__input {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: #142033;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    font-family: inherit;
}

.bn-captcha__input:focus {
    outline: none;
    border-color: #1a6fe8;
    box-shadow: 0 0 0 3px rgba(26, 111, 232, 0.25);
}

.bn-captcha__hint {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
}

.bn-captcha-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 560px) {
    .bn-captcha__row {
        flex-direction: column;
        align-items: stretch;
    }

    .bn-captcha__input {
        max-width: none;
    }
}
