.bhi-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 99998;
    display: none;
}

.bhi-consent-box {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    max-width: 720px;
    margin: 0 auto;
    background: #ffffff;
    color: #1f2937;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    padding: 18px 20px;
    z-index: 99999;
    font-family: Arial, Helvetica, sans-serif;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.bhi-consent-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.bhi-consent-box p {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 8px;
}

.bhi-consent-btn {
    padding: 9px 15px;
    font-size: 13px;
}

.bhi-consent-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 12px 0 18px 0;
}

.bhi-consent-links a {
    color: #0f5fb8;
    font-size: 14px;
    text-decoration: underline;
}

.bhi-consent-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 14px 0;
    font-size: 14px;
    color: #374151;
}

.bhi-consent-check input {
    margin-top: 2px;
}

.bhi-consent-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bhi-consent-btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.bhi-consent-btn-primary {
    background: #0f5fb8;
    color: #ffffff;
}

.bhi-consent-btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.bhi-consent-btn-outline {
    background: transparent;
    color: #111827;
    border: 1px solid #d1d5db;
}

.bhi-consent-error {
    display: none;
    margin: 12px 0 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 13px;
}

@media (max-width: 640px) {
    .bhi-consent-box {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 18px;
    }

    .bhi-consent-actions {
        flex-direction: column;
    }

    .bhi-consent-btn {
        width: 100%;
    }
}
