.bsc-captcha-wrap {
    margin: 16px 0;
}

/* "I'm not a robot" checkbox box */
.bsc-cb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.bsc-cb:hover {
    border-color: #b5b5b5;
}

.bsc-cb:focus,
.bsc-cb:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.bsc-cb-box {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border: 2px solid #c1c1c1;
    border-radius: 3px;
    background: #fafafa;
    box-sizing: border-box;
    transition: background-color 0.2s, border-color 0.2s;
}

.bsc-cb-text {
    font-size: 15px;
    line-height: 1.2;
    color: #222;
}

/* Loading spinner inside the box */
.bsc-cb.bsc-loading {
    cursor: default;
}

.bsc-cb.bsc-loading .bsc-cb-box {
    border-color: #fff;
    background: #fff;
}

.bsc-cb.bsc-loading .bsc-cb-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #d6d6d6;
    border-top-color: #2271b1;
    animation: bsc-spin 0.7s linear infinite;
}

/* Verified state — green box + white checkmark */
.bsc-cb.bsc-verified {
    cursor: default;
}

.bsc-cb.bsc-verified .bsc-cb-box {
    background: #2e7d32;
    border-color: #2e7d32;
}

.bsc-cb-mark {
    position: absolute;
    left: 7px;
    top: 2px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.bsc-cb.bsc-verified .bsc-cb-mark {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

@keyframes bsc-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Inline message */
.bsc-captcha-msg {
    display: none;
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 13px;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 4px;
}

/* Honeypot — hidden from humans, only bots fill it */
.bsc-hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
