.elementor-4740 .elementor-element.elementor-element-e9bb317{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-f98c370 *//* =============================
   BuddyPress Blocklist Styling
   (Matches your Visitors theme)
   ============================= */

/* --- Blocked Members List ( [bp_block_list] ) --- */
.bp-blocklist {
    margin: 10px 0;
}

.bp-blocklist-item {
    display: flex;
    align-items: center;
    gap: 15px; /* space between avatar and text */
    background: #16213e;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.bp-blocklist-item:hover {
    background: #1e2a4d;
    transform: scale(1.02);
}

/* Avatar (BuddyPress prints <img> directly) */
.bp-blocklist-item img {
    border-radius: 8px;
    width: 70px;
    height: 70px;
    object-fit: cover;
}

/* Name link */
.bp-blocklist-item a {
    color: #fff !important;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none !important;
}

/* Optional small subtext if you add it later */
.bp-blocklist-item small {
    display: block;
    margin-top: 4px;
    color: #f39c12; /* gold highlight */
    font-size: 14px;
}

/* --- Block/Unblock Button on member profile ( [bp_block_button] ) --- */
.bp-blocklist-form {
    margin: 10px 0;
}
.bp-blocklist-form button {
    display: inline-block;
    background: #16213e;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}
.bp-blocklist-form button:hover {
    background: #1e2a4d;
    transform: translateY(-1px);
}

/* --- Blocked Members Total ( [bp_blocklist_total] ) --- */
.bp-blocklist-total {
    margin: 10px 0 15px;
}
.bp-blocklist-link {
    display: inline-block;
    background: #16213e;
    color: #fff !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.bp-blocklist-link:hover {
    background: #1e2a4d;
    transform: scale(1.05);
}
.bp-blocklist-count {
    color: #ff3b3b;      /* red count, like your date accent */
    font-weight: 800;
    font-size: 18px;
}

/* --- Global Popup (access denied) --- */
.bp-popup-overlay,
#bp-global-popup {
    position: fixed;
    inset: 0;
    display: none; /* toggled to flex by JS */
    align-items: center;
    justify-content: center;
    background: rgba(9, 14, 33, 0.8);
    z-index: 9999;
}

.bp-popup-modal {
    background: #16213e;
    color: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    width: min(92vw, 460px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    text-align: center;
}

.bp-popup-modal h2,
#bp-popup-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.bp-popup-modal p,
#bp-popup-message {
    margin: 0 0 16px;
    font-size: 16px;
    color: #d6d9e6;
}

#bp-popup-close {
    background: #ff3b3b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}
#bp-popup-close:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* --- Consistent link & focus styles inside dark blocks --- */
.bp-blocklist-item a:focus,
.bp-blocklist-link:focus,
.bp-blocklist-form button:focus,
#bp-popup-close:focus {
    outline: 2px solid #f39c12;
    outline-offset: 2px;
}

/* --- Responsive tweaks --- */
@media (max-width: 480px) {
    .bp-blocklist-item img {
        width: 56px;
        height: 56px;
    }
    .bp-blocklist-item a {
        font-size: 16px;
    }
    .bp-popup-modal {
        padding: 18px;
    }
}/* End custom CSS */