/* =====================================================
   BENFOO DESIGN SYSTEM
   Global UI styles
   ===================================================== */

:root {
    --bf-radius-sm: 10px;
    --bf-radius: 16px;
    --bf-radius-lg: 24px;
    --bf-radius-xl: 28px;
    --bf-radius-pill: 999px;

    --bf-shadow-sm: 0 6px 14px rgba(0, 0, 0, .06);
    --bf-shadow: 0 14px 34px rgba(0, 0, 0, .12);
    --bf-shadow-lg: 0 24px 60px rgba(0, 0, 0, .18);

    --bf-glass-bg: rgba(255, 255, 255, .75);
    --bf-glass-border: rgba(255, 255, 255, .55);

    --bf-primary: #0d6efd;
    --bf-primary-soft: rgba(13, 110, 253, .08);
}

html,
body {
    overflow-x: hidden;
}

body {
    padding-top: 72px;
}

/* =====================================================
   GENERIC SHELL
   ===================================================== */

.bf-page-shell {
    padding-top: 80px;
}

/* =====================================================
   GLASS SYSTEM
   ===================================================== */

.bf-glass {
    background: var(--bf-glass-bg);
    border: 1px solid var(--bf-glass-border);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: var(--bf-shadow);
}

/* =====================================================
   CARDS / PANELS
   ===================================================== */

.bf-card {
    border-radius: var(--bf-radius-lg);
    padding: 1rem;
}

.bf-panel {
    border-radius: var(--bf-radius);
    padding: .9rem;
}

.bf-panel-glass {
    border-radius: var(--bf-radius-lg);
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--bf-shadow);
}

/* =====================================================
   BACK FAB
   ===================================================== */

.bf-back-fab {
    position: fixed;
    top: calc(72px + 12px);
    left: 12px;
    z-index: 1200;

    width: 44px;
    height: 44px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: rgba(17, 17, 17, .92);

    background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55));
    border: 1px solid rgba(255, 255, 255, .55);

    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);

    box-shadow: 0 14px 34px rgba(0, 0, 0, .14),
    inset 0 1px 0 rgba(255, 255, 255, .55);

    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.bf-back-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .65);
}

.bf-back-fab:active {
    transform: translateY(0);
}

.bf-back-fab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .22),
    0 18px 44px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .65);
}

.bf-back-fab i {
    font-size: 1.05rem;
}

/* =====================================================
   HUB FAB
   ===================================================== */

.bf-hub-fab {
    position: fixed;
    top: calc(72px + 12px);
    right: 12px;
    z-index: 1200;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    gap: .55rem;

    padding: .7rem .9rem;
    border-radius: 999px;
    text-decoration: none;

    color: rgba(17, 17, 17, .92);
    font-weight: 900;
    letter-spacing: .1px;

    background: linear-gradient(180deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .58));
    border: 1px solid rgba(255, 255, 255, .55);

    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);

    box-shadow: 0 16px 40px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .60);

    transition: transform .12s ease,
    box-shadow .12s ease,
    opacity .18s ease,
    width .22s ease,
    padding .22s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;

    max-width: min(92vw, 360px);
    overflow: hidden;
    white-space: nowrap;
}

.bf-hub-fab:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 52px rgba(0, 0, 0, .20),
    inset 0 1px 0 rgba(255, 255, 255, .70);
    color: rgba(17, 17, 17, .92);
}

.bf-hub-fab:active {
    transform: translateY(0);
}

.bf-hub-fab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .22),
    0 20px 52px rgba(0, 0, 0, .20),
    inset 0 1px 0 rgba(255, 255, 255, .70);
}

.bf-hub-fab .bf-hub-ico {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 25%, rgba(13, 110, 253, .18), rgba(111, 66, 193, .10));
    border: 1px solid rgba(13, 110, 253, .18);
    flex: 0 0 38px;
}

.bf-hub-fab .bf-hub-ico i {
    font-size: 1.05rem;
}

.bf-hub-fab .bf-hub-label {
    font-size: .95rem;
    line-height: 1.05;
    white-space: nowrap;
}

.bf-hub-fab .bf-hub-sub {
    display: block;
    font-size: .78rem;
    font-weight: 800;
    opacity: .72;
    margin-top: 1px;
}

.bf-hub-fab.is-hidden {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

.bf-hub-fab.is-compact {
    width: 52px;
    height: 52px;
    padding: 0;
    gap: 0;
    justify-content: center;
}

.bf-hub-fab.is-compact .bf-hub-label,
.bf-hub-fab.is-compact .bf-hub-arrow {
    display: none !important;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.bf-btn,
.bf-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .55rem .95rem;
    border-radius: var(--bf-radius-pill);
    font-weight: 800;
    font-size: .92rem;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .10);
    background: #fff;
    color: #111;
    transition: transform .12s ease,
    box-shadow .12s ease,
    background .12s ease,
    background-color .12s ease,
    border-color .12s ease;
    box-shadow: var(--bf-shadow-sm);
    -webkit-tap-highlight-color: transparent;
}

.bf-btn:hover,
.bf-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--bf-shadow);
    color: #111;
}

.bf-btn:active,
.bf-action-btn:active {
    transform: translateY(0);
}

.bf-action-btn i {
    font-size: 1rem;
}

.bf-action-btn-sm {
    padding: .45rem .75rem;
    font-size: .9rem;
}

.bf-btn-primary,
.bf-action-btn-primary {
    background: var(--bf-primary);
    border-color: rgba(13, 110, 253, .35);
    color: #fff;
}

.bf-btn-primary:hover,
.bf-action-btn-primary:hover {
    background: #0b5ed7;
    color: #fff;
}

.bf-btn-ghost,
.bf-action-btn-ghost {
    background: rgba(13, 110, 253, .08);
    border-color: rgba(13, 110, 253, .20);
    color: var(--bf-primary);
    box-shadow: none;
}

.bf-action-btn-ghost:hover {
    background: rgba(13, 110, 253, .10);
    border-color: rgba(13, 110, 253, .28);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    color: var(--bf-primary);
}

.bf-btn-soft,
.bf-action-btn-soft {
    background: var(--bf-primary-soft);
    border-color: rgba(13, 110, 253, .20);
}

/* =====================================================
   INPUTS
   ===================================================== */

.bf-input {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .12);
    padding: .55rem .7rem;
    font-size: .95rem;
    background: rgba(255, 255, 255, .9);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bf-input:focus {
    outline: none;
    border-color: var(--bf-primary);
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .15);
}

/* =====================================================
   SWITCH
   ===================================================== */

.form-check-input {
    width: 2.4em;
    height: 1.3em;
    border-radius: 999px;
    background-color: #dee2e6;
    border: none;
}

.form-check-input:checked {
    background-color: var(--bf-primary);
}

/* =====================================================
   BADGES / CHIPS / EMPTY
   ===================================================== */

.bf-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    background: rgba(0, 0, 0, .05);
}

.bf-empty {
    text-align: center;
    padding: 2rem 1rem;
    opacity: .8;
}

/* =====================================================
   SMALL UTILITIES FROM BASE
   ===================================================== */

.bf-loc-bar {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: rgba(223, 248, 255, .85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .03);
}

.bf-chat-screen {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.bf-chat-screen .bf-chat {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
}

.list-group-item a:hover {
    background-color: #f8f9fa;
    border-radius: 12px;
}

.modal-sm {
    max-width: 95% !important;
}

/* =====================================================
   FOOTER
   ===================================================== */

.bf-footer {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.bf-cookie-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .45rem .75rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    color: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bf-cookie-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .26);
    transform: translateY(-1px);
}

.bf-cookie-link:active {
    transform: translateY(0);
}

.bf-cookie-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .18rem rgba(255, 193, 7, .25);
    border-color: rgba(255, 193, 7, .35);
}

.bf-footer .bf-legal-links-inline {
    justify-content: center;
    margin-top: .15rem;
}

.bf-footer .bf-legal-links-inline .bf-cookie-link {
    font-size: .92rem;
}

/* =====================================================
   BRAND / NAVBAR
   ===================================================== */

.navbar-brand img {
    height: clamp(24px, 3vw, 32px);
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: contain;
}

.shrink-navbar {
    transition: all 0.3s ease;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.shrink-navbar.scrolled {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    background-color: #000;
}

.nav-logo-icon {
    height: 30px;
    width: auto;
    display: block;
}

/* =====================================================
   LOADING OVERLAY
   ===================================================== */

#loadingOverlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

#loadingOverlay img {
    max-width: 160px;
    width: 40vw;
    height: auto;
}

/* =====================================================
   MOBILE BOTTOM NAV
   ===================================================== */

@media (min-width: 992px) {
    .navbar .navbar-nav {
        margin-left: auto;
        margin-right: auto;
    }

    .shrink-navbar {
        padding-top: .35rem;
        padding-bottom: .35rem;
    }

    .navbar .nav-link {
        padding-top: .25rem;
        padding-bottom: .25rem;
    }

    .nav-logo-icon {
        height: clamp(26px, 2.2vw, 30px);
        width: auto;
    }
}

@media (max-width: 991.98px) {
    .navbar-nav-mobile {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: #000;
        border-top: 1px solid rgba(255, 255, 255, .10);
        z-index: 1050;
        height: 52px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        display: flex;
        align-items: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(6px);
        transition: transform 0.3s ease-in-out;
    }

    .navbar-nav-mobile .navbar-nav {
        height: 100%;
        padding: 0;
        margin: 0;
    }

    .navbar-nav-mobile .nav-item {
        flex: 1 1 20%;
        text-align: center;
    }

    .navbar-nav-mobile .nav-link {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        padding: 6px 0;
        line-height: 1;
        gap: 3px;
        overflow: visible;
    }

    .navbar-nav-mobile .nav-link i {
        font-size: 1.45rem;
        line-height: 1;
    }

    .navbar-nav-mobile .nav-link span {
        font-size: .65rem;
        margin: 0;
    }

    .content-with-mobile-nav {
        padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px) + 10px);
    }

    .navbar-nav-mobile.show-nav {
        transform: translateY(0);
    }

    .navbar-nav-mobile:not(.show-nav) {
        transform: translateY(100%);
    }

    .navbar-nav-mobile,
    .navbar-nav-mobile .navbar-nav {
        overflow: visible;
    }

    .navbar-nav-mobile .nav-item.logo-item {
        flex: 1.4 1 26%;
    }

    .navbar-nav-mobile .nav-logo-icon {
        height: clamp(48px, 14vw, 72px) !important;
        max-height: 44px;
    }

    .navbar-nav-mobile .nav-logo-link {
        padding: .25rem .35rem;
    }

    .navbar-nav-mobile .nav-logo-link span {
        display: none;
    }
}

/* =====================================================
   NOTIFICATIONS
   ===================================================== */

.bf-notif-island {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    height: 40px;
    padding: 0 .75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bf-notif-island:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .11);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .10);
}

.bf-notif-island:active {
    transform: translateY(0);
}

.bf-notif-island:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .16),
    0 14px 34px rgba(0, 0, 0, .26);
}

.bf-notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(255, 70, 70, .95));
    box-shadow: 0 0 0 3px rgba(255, 70, 70, .12);
}

.bf-notif-icon i {
    font-size: 1.05rem;
}

.bf-notif-text {
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .2px;
    opacity: .92;
}

.bf-notif-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 .35rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
}

.bf-notif-modal {
    width: min(92vw, 460px);
    margin-left: auto;
    margin-right: auto;
}

.bf-notif-modal-content {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(10, 10, 12, .82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.bf-notif-modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}

.bf-notif-modal-title {
    font-weight: 950;
    letter-spacing: .2px;
    font-size: 1.05rem;
}

.bf-notif-mini-pill {
    font-size: .75rem;
    font-weight: 900;
    padding: .22rem .55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
}

.bf-notif-modal-body {
    padding: 1rem;
}

.bf-notif-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .8rem .85rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .05);
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}

.bf-notif-item + .bf-notif-item {
    margin-top: .7rem;
}

.bf-notif-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .16);
}

.bf-notif-avatar {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.bf-notif-avatar i {
    font-size: 1rem;
}

.bf-notif-content {
    flex: 1;
}

.bf-notif-line {
    font-size: .92rem;
    line-height: 1.25;
}

.bf-notif-sub {
    margin-top: .2rem;
    font-size: .75rem;
    opacity: .75;
}

.bf-notif-badge {
    font-size: .72rem;
    font-weight: 900;
    padding: .22rem .5rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
}

.bf-notif-divider {
    height: 1px;
    background: rgba(255, 255, 255, .10);
    margin: .9rem 0;
}

.bf-notif-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .75rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 900;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    transition: transform .12s ease, background-color .12s ease;
}

.bf-notif-cta:hover {
    color: #fff;
    background: rgba(255, 255, 255, .11);
    transform: translateY(-1px);
}

/* =====================================================
   MOBILE TWEAKS
   ===================================================== */

@media (max-width: 768px) {
    .bf-btn,
    .bf-action-btn {
        padding: .55rem .75rem;
        font-size: .9rem;
    }
}

@media (max-width: 576px) {
    .bf-back-fab {
        left: 10px;
        width: 46px;
        height: 46px;
        top: calc(72px + 10px + env(safe-area-inset-top, 0px));
    }

    .bf-hub-fab {
        right: 10px;
        top: calc(72px + 10px + env(safe-area-inset-top, 0px));
    }

    .bf-cookie-link {
        width: 100%;
        max-width: 360px;
    }

    .bf-notif-island {
        height: 36px;
        padding: 0 .6rem;
        gap: .45rem;
    }

    .bf-notif-count {
        min-width: 20px;
        height: 20px;
        font-size: .75rem;
    }
}

/* =====================================================
   POST OWNER ACTIONS
   ===================================================== */

.bf-post-owner-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .65rem;
    margin: 1rem 0 1.1rem;
    flex-wrap: wrap;
}

.bf-post-owner-btn {
    appearance: none;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 42px;
    padding: .55rem .9rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease,
    box-shadow .12s ease,
    background-color .12s ease,
    border-color .12s ease,
    color .12s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.bf-post-owner-btn:hover {
    transform: translateY(-1px);
}

.bf-post-owner-btn:active {
    transform: translateY(0);
}

.bf-post-owner-btn:focus-visible {
    outline: none;
}

.bf-post-owner-btn-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
}

.bf-post-owner-btn-icon i {
    font-size: .95rem;
}

.bf-post-owner-btn-label {
    white-space: nowrap;
}

/* Modifier */
.bf-post-owner-btn-edit {
    color: #0d6efd;
    background: linear-gradient(180deg, rgba(13, 110, 253, .10), rgba(13, 110, 253, .06));
    border: 1px solid rgba(13, 110, 253, .18);
}

.bf-post-owner-btn-edit .bf-post-owner-btn-icon {
    background: rgba(13, 110, 253, .12);
    border: 1px solid rgba(13, 110, 253, .14);
}

.bf-post-owner-btn-edit:hover {
    color: #0b5ed7;
    background: linear-gradient(180deg, rgba(13, 110, 253, .14), rgba(13, 110, 253, .08));
    box-shadow: 0 14px 30px rgba(13, 110, 253, .16);
}

.bf-post-owner-btn-edit:focus-visible {
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .18),
    0 14px 30px rgba(13, 110, 253, .16);
}

/* Supprimer */
.bf-post-owner-btn-delete {
    color: #dc3545;
    background: linear-gradient(180deg, rgba(220, 53, 69, .10), rgba(220, 53, 69, .06));
    border: 1px solid rgba(220, 53, 69, .18);
}

.bf-post-owner-btn-delete .bf-post-owner-btn-icon {
    background: rgba(220, 53, 69, .11);
    border: 1px solid rgba(220, 53, 69, .14);
}

.bf-post-owner-btn-delete:hover {
    color: #bb2d3b;
    background: linear-gradient(180deg, rgba(220, 53, 69, .14), rgba(220, 53, 69, .08));
    box-shadow: 0 14px 30px rgba(220, 53, 69, .16);
}

.bf-post-owner-btn-delete:focus-visible {
    box-shadow: 0 0 0 .18rem rgba(220, 53, 69, .18),
    0 14px 30px rgba(220, 53, 69, .16);
}

/* Mobile */
@media (max-width: 576px) {
    .bf-post-owner-actions {
        gap: .5rem;
        margin: .9rem 0 1rem;
    }

    .bf-post-owner-btn {
        min-height: 40px;
        padding: .5rem .78rem;
        font-size: .88rem;
        gap: .45rem;
    }

    .bf-post-owner-btn-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
}

/* =====================================================
   BENFOO MODALS
   ===================================================== */

.bf-modal .modal-dialog {
    padding: .8rem;
}

.bf-modal-dialog-sm {
    max-width: 560px;
}

.bf-modal-dialog-lg {
    max-width: 760px;
}

.bf-modal-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .90));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .18);
    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.bf-modal-card-danger {
    border-color: rgba(220, 53, 69, .14);
}

.bf-modal-topbar {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, rgba(13, 110, 253, .92), rgba(111, 66, 193, .82));
}

.bf-modal-topbar-primary {
    background: linear-gradient(90deg, rgba(13, 110, 253, .96), rgba(111, 66, 193, .86));
}

.bf-modal-card-danger .bf-modal-topbar {
    background: linear-gradient(90deg, rgba(220, 53, 69, .96), rgba(255, 143, 107, .90));
}

.bf-modal-header {
    padding: 1.1rem 1.1rem .75rem;
    align-items: flex-start;
}

.bf-modal-body {
    padding: 0 1.1rem 1rem;
}

.bf-modal-footer {
    padding: .4rem 1.1rem 1.1rem;
    gap: .7rem;
}

.bf-modal-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding-right: .75rem;
}

.bf-modal-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.bf-modal-icon i {
    font-size: 1.05rem;
}

.bf-modal-icon-primary {
    color: var(--bf-primary);
    background: radial-gradient(circle at 30% 30%, rgba(13, 110, 253, .16), rgba(13, 110, 253, .06));
    border: 1px solid rgba(13, 110, 253, .14);
}

.bf-modal-icon-danger {
    color: #dc3545;
    background: radial-gradient(circle at 30% 30%, rgba(220, 53, 69, .16), rgba(220, 53, 69, .06));
    border: 1px solid rgba(220, 53, 69, .14);
}

.bf-modal-title {
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: .1px;
    color: #111827;
}

.bf-modal-subtitle {
    font-size: .88rem;
    line-height: 1.35;
    color: rgba(17, 24, 39, .65);
}

.bf-modal-close {
    opacity: .7;
    filter: none;
    transition: transform .12s ease, opacity .12s ease;
}

.bf-modal-close:hover {
    opacity: 1;
    transform: rotate(6deg) scale(1.04);
}

.bf-modal-close:focus {
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .14);
}

.bf-modal-alert {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: .95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: rgba(248, 249, 250, .82);
}

.bf-modal-alert-danger {
    background: linear-gradient(180deg, rgba(220, 53, 69, .08), rgba(255, 247, 247, .95));
    border-color: rgba(220, 53, 69, .12);
}

.bf-modal-alert-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    color: #dc3545;
    background: rgba(220, 53, 69, .10);
    border: 1px solid rgba(220, 53, 69, .12);
}

.bf-modal-alert p,
.bf-modal-alert strong {
    color: #1f2937;
}

.bf-modal-form-grid {
    display: grid;
    gap: 1rem;
}

.bf-modal-field {
    display: grid;
    gap: .45rem;
}

.bf-modal-label {
    font-size: .88rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.bf-modal-static-field {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .85rem .95rem;
    border-radius: 18px;
    border: 1px solid rgba(13, 110, 253, .10);
    background: linear-gradient(180deg, rgba(13, 110, 253, .06), rgba(255, 255, 255, .96));
    color: #0f172a;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.bf-modal-static-field i {
    color: var(--bf-primary);
}

.bf-modal-textarea,
.bf-modal-file-input {
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .92);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .02);
}

.bf-modal-textarea {
    min-height: 132px;
    padding: .9rem 1rem;
    font-size: .95rem;
    line-height: 1.45;
    resize: vertical;
}

.bf-modal-textarea:focus,
.bf-modal-file-input:focus {
    border-color: rgba(13, 110, 253, .38);
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .12);
}

.bf-upload-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    width: 100%;
    padding: .95rem 1rem;
    border-radius: 20px;
    border: 1px dashed rgba(13, 110, 253, .26);
    background: linear-gradient(180deg, rgba(13, 110, 253, .06), rgba(255, 255, 255, .96));
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.bf-upload-card:hover {
    transform: translateY(-1px);
    border-color: rgba(13, 110, 253, .38);
    box-shadow: 0 12px 28px rgba(13, 110, 253, .08);
}

.bf-upload-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    color: var(--bf-primary);
    background: rgba(13, 110, 253, .10);
    border: 1px solid rgba(13, 110, 253, .12);
}

.bf-upload-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bf-upload-card-content strong {
    font-size: .92rem;
    color: #111827;
}

.bf-upload-card-content span {
    font-size: .8rem;
    color: rgba(17, 24, 39, .62);
}

.bf-upload-card-badge {
    margin-left: auto;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 900;
    color: var(--bf-primary);
    background: rgba(13, 110, 253, .08);
    border: 1px solid rgba(13, 110, 253, .14);
}

.bf-modal-help {
    font-size: .8rem;
    color: rgba(17, 24, 39, .58);
}

.bf-modal-footer-btn {
    min-height: 44px;
    padding-inline: 1rem;
}

.bf-modal-danger-btn {
    background: linear-gradient(180deg, #e54858, #cf3344);
    color: #fff;
    border: 1px solid rgba(220, 53, 69, .32);
    box-shadow: 0 14px 26px rgba(220, 53, 69, .18);
}

.bf-modal-danger-btn:hover {
    color: #fff;
    background: linear-gradient(180deg, #dc3545, #bb2d3b);
}

.bf-modal .modal-content form {
    margin: 0;
}

.bf-modal .modal-footer form .bf-modal-footer-btn {
    width: 100%;
}

@media (max-width: 576px) {
    .bf-modal .modal-dialog {
        padding: .55rem;
        margin: 0;
    }

    .bf-modal-card {
        border-radius: 24px;
    }

    .bf-modal-header {
        padding: 1rem 1rem .7rem;
    }

    .bf-modal-body {
        padding: 0 1rem .95rem;
    }

    .bf-modal-footer {
        padding: .35rem 1rem 1rem;
        flex-direction: column-reverse;
    }

    .bf-modal-footer-btn,
    .bf-modal-footer form,
    .bf-modal-footer form button {
        width: 100%;
    }

    .bf-modal-title-wrap {
        gap: .75rem;
    }

    .bf-modal-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 14px;
    }

    .bf-upload-card {
        align-items: flex-start;
    }

    .bf-upload-card-badge {
        margin-left: 0;
    }
}

/* =====================================================
   LEGAL ADMIN
   ===================================================== */

.legal-shell {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-edit-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.legal-hero {
    border-radius: 24px;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, .10), rgba(111, 66, 193, .08));
    border: 1px solid rgba(13, 110, 253, .10);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.legal-edit-hero {
    border-radius: 24px;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, .10), rgba(32, 201, 151, .08));
    border: 1px solid rgba(13, 110, 253, .10);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.legal-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.legal-card {
    border-radius: 22px;
    padding: 1rem;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
}

.legal-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.legal-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .10);
    color: #0d6efd;
    flex: 0 0 46px;
}

.legal-meta {
    font-size: .85rem;
    color: #6c757d;
    line-height: 1.45;
}

.legal-preview {
    margin-top: .85rem;
    font-size: .92rem;
    color: #495057;
    line-height: 1.45;
    min-height: 72px;
    word-break: break-word;
}

.legal-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    flex-wrap: wrap;
}

.legal-status {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    background: rgba(13, 110, 253, .08);
    color: #0d6efd;
    white-space: nowrap;
}

.legal-status.is-off {
    background: rgba(220, 53, 69, .08);
    color: #dc3545;
}

.legal-edit-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.legal-side,
.legal-main {
    border-radius: 24px;
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
}

.legal-side {
    padding: .9rem;
}

.legal-main {
    padding: 1rem;
}

.legal-tab {
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 100%;
    text-decoration: none;
    color: inherit;
    padding: .85rem .9rem;
    border-radius: 18px;
    border: 1px solid transparent;
    transition: .15s ease;
    margin-bottom: .55rem;
    background: rgba(248, 249, 250, .9);
}

.legal-tab:hover {
    border-color: rgba(13, 110, 253, .18);
    background: rgba(13, 110, 253, .05);
    color: inherit;
}

.legal-tab.is-active {
    background: rgba(13, 110, 253, .08);
    border-color: rgba(13, 110, 253, .20);
}

.legal-tab i {
    color: #0d6efd;
    width: 18px;
    flex: 0 0 18px;
}

.legal-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}

.legal-kpi {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .8rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, .08);
    color: #0d6efd;
    font-weight: 700;
    font-size: .85rem;
}

.legal-form-grid {
    display: grid;
    gap: 1rem;
}

.legal-field {
    display: grid;
    gap: .45rem;
}

.legal-label {
    font-size: .9rem;
    font-weight: 800;
    color: #212529;
    margin: 0;
}

.legal-input,
.legal-select,
.legal-textarea {
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .96);
    padding: .9rem 1rem;
    font-size: .95rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.legal-input:focus,
.legal-select:focus,
.legal-textarea:focus {
    outline: none;
    border-color: rgba(13, 110, 253, .35);
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .12);
}

.legal-textarea {
    min-height: 58vh;
    resize: vertical;
    line-height: 1.5;
}

.legal-help {
    font-size: .85rem;
    color: #6c757d;
    line-height: 1.45;
}

.legal-code {
    display: inline-block;
    padding: .18rem .45rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, .05);
    color: #374151;
    font-size: .84rem;
}

@media (min-width: 768px) {
    .legal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .legal-edit-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        align-items: start;
    }

    .legal-side {
        position: sticky;
        top: 96px;
    }
}

@media (max-width: 767.98px) {
    .legal-card-head {
        flex-direction: column;
    }

    .legal-status {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .legal-hero,
    .legal-edit-hero {
        padding: 1rem;
        border-radius: 22px;
    }

    .legal-main,
    .legal-side,
    .legal-card {
        border-radius: 20px;
    }

    .legal-input,
    .legal-select,
    .legal-textarea {
        padding: .85rem .9rem;
        font-size: .94rem;
    }

    .legal-actions {
        justify-content: stretch;
    }

    .legal-actions .bf-action-btn {
        width: 100%;
    }
}

/* =====================================================
   LEGAL PUBLIC PAGES
   ===================================================== */

.bf-legal-public-shell {
    max-width: 980px;
    margin: 0 auto;
}

.bf-legal-public-hero {
    border-radius: 24px;
    padding: 1.15rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, .10), rgba(111, 66, 193, .08));
    border: 1px solid rgba(13, 110, 253, .10);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.bf-legal-public-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.bf-legal-public-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: .9rem;
    color: #1f2937;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(0, 0, 0, .08);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease;
}

.bf-legal-public-tab:hover {
    transform: translateY(-1px);
    color: #111827;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.bf-legal-public-tab.is-active {
    color: #0d6efd;
    background: rgba(13, 110, 253, .08);
    border-color: rgba(13, 110, 253, .20);
}

.bf-legal-public-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .9rem;
}

.bf-legal-public-meta .bf-chip {
    background: rgba(255, 255, 255, .82);
}

.bf-legal-public-content {
    border-radius: 24px;
    padding: 1.2rem;
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
}

.bf-legal-richtext {
    color: #1f2937;
    line-height: 1.75;
    font-size: .98rem;
}

.bf-legal-richtext h1,
.bf-legal-richtext h2,
.bf-legal-richtext h3 {
    color: #111827;
    margin-top: 1.4rem;
    margin-bottom: .65rem;
}

.bf-legal-richtext p {
    margin-bottom: .95rem;
}

.bf-legal-richtext ul,
.bf-legal-richtext ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.bf-legal-richtext li + li {
    margin-top: .35rem;
}

.bf-legal-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

@media (max-width: 576px) {
    .bf-legal-public-hero,
    .bf-legal-public-content {
        border-radius: 20px;
        padding: 1rem;
    }

    .bf-legal-public-tab {
        width: 100%;
        justify-content: flex-start;
    }
}


/* =====================================================
   ACTIVITY CARDS
   ===================================================== */

.bf-activity-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.bf-activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    border-color: rgba(255, 255, 255, .9);
}

.bf-activity-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f7fb;
}

.bf-activity-card-img {
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.bf-activity-card-body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1rem 1rem 1.05rem;
    flex: 1 1 auto;
}

.bf-activity-card-title {
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 850;
    color: #111827;
}

.bf-activity-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.bf-meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .28rem .68rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, .10);
    color: #0b5ed7;
    font-size: .78rem;
    font-weight: 750;
}

.bf-meta-chip-soft {
    background: rgba(17, 24, 39, .06);
    color: #374151;
}

.bf-distance-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: .34rem .62rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, .06);
    color: #374151;
    font-size: .76rem;
    font-weight: 700;
}

.bf-activity-card-address {
    font-size: .84rem;
    color: #6b7280;
    line-height: 1.35;
}

.bf-image-origin-badge {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: .38rem .6rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, .56);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bf-activity-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: .45rem;
}

.bf-paid-boost-pill {
    display: inline-flex;
    align-items: center;
    padding: .38rem .7rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, .72);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bf-paid-boost-info {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .9);
    color: #111827;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    transition: transform .12s ease, box-shadow .12s ease;
}

.bf-paid-boost-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.bf-paid-boost-info:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .18), 0 10px 22px rgba(0, 0, 0, .18);
}

.bf-card-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.bf-activity-badges,
.bf-carousel-control {
    z-index: 7;
}

.bf-paid-boost-popover .popover {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .65);
    box-shadow: 0 20px 40px rgba(15, 23, 42, .16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bf-paid-boost-popover .popover-header {
    font-weight: 800;
    font-size: .86rem;
    border-bottom: 1px solid rgba(17, 24, 39, .06);
}

.bf-paid-boost-popover .popover-body {
    font-size: .83rem;
    line-height: 1.4;
    color: #374151;
}

@media (max-width: 576px) {
    .bf-activity-card-body {
        padding: .9rem .9rem 1rem;
    }

    .bf-activity-card-title {
        font-size: .96rem;
    }

    .bf-activity-badges {
        top: 10px;
        right: 10px;
        gap: .35rem;
    }

    .bf-paid-boost-pill {
        padding: .34rem .58rem;
        font-size: .70rem;
    }

    .bf-paid-boost-info {
        width: 30px;
        height: 30px;
    }
}

/* =====================================================
   OWNER ADS DASHBOARD
   ===================================================== */

.bf-owner-ads-hero {
    background: radial-gradient(1000px circle at 10% 10%, rgba(13, 110, 253, .12), transparent 55%),
    radial-gradient(900px circle at 90% 20%, rgba(255, 193, 7, .14), transparent 55%),
    linear-gradient(180deg, #ffffff, #f8f9fa);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.bf-owner-ads-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: .85rem;
    width: 100%;
    max-width: 360px;
}

.bf-owner-kpi {
    border-radius: 18px;
    padding: .95rem 1rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .65);
    box-shadow: var(--bf-shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bf-owner-kpi-label {
    font-size: .8rem;
    color: rgba(0, 0, 0, .55);
    font-weight: 800;
}

.bf-owner-kpi-value {
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1.05;
    margin-top: .25rem;
}

.bf-owner-kpi-sub {
    margin-top: .2rem;
    font-size: .82rem;
    color: rgba(0, 0, 0, .58);
}

.bf-owner-ads-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bf-owner-ads-tabs {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.bf-owner-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    color: #111;
    padding: .7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--bf-shadow-sm);
    font-weight: 850;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease;
}

.bf-owner-tab:hover {
    transform: translateY(-1px);
    color: #111;
    box-shadow: var(--bf-shadow);
}

.bf-owner-tab.is-active {
    background: rgba(13, 110, 253, .09);
    border-color: rgba(13, 110, 253, .25);
    color: var(--bf-primary);
}

.bf-owner-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 .35rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
    background: rgba(0, 0, 0, .06);
}

.bf-owner-panel {
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .62);
    box-shadow: var(--bf-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    height: 100%;
}

.bf-owner-sub-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bf-owner-sub-card {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .07);
    background: rgba(255, 255, 255, .92);
    padding: 1rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
}

.bf-owner-sub-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: .75rem;
}

.bf-owner-sub-title {
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.2;
}

.bf-owner-sub-meta {
    margin-top: .2rem;
    color: rgba(0, 0, 0, .58);
    font-size: .88rem;
}

.bf-owner-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1rem;
}

.bf-owner-sub-label {
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: rgba(0, 0, 0, .48);
    font-weight: 800;
    margin-bottom: .15rem;
}

.bf-owner-sub-value {
    font-size: .94rem;
    font-weight: 700;
    color: rgba(0, 0, 0, .86);
}

.bf-owner-sub-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.bf-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .38rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.bf-status-badge.is-active {
    background: rgba(25, 135, 84, .12);
    color: #198754;
    border: 1px solid rgba(25, 135, 84, .22);
}

.bf-status-badge.is-canceled {
    background: rgba(220, 53, 69, .10);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, .18);
}

.bf-status-badge.is-ended {
    background: rgba(108, 117, 125, .10);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, .18);
}

.bf-status-badge.is-muted {
    background: rgba(0, 0, 0, .05);
    color: rgba(0, 0, 0, .62);
    border: 1px solid rgba(0, 0, 0, .08);
}

.bf-owner-cta-panel {
    position: sticky;
    top: 92px;
}

.bf-owner-cta-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .10);
    color: var(--bf-primary);
    border: 1px solid rgba(13, 110, 253, .16);
    font-size: 1.15rem;
}

.bf-empty-state {
    text-align: center;
    padding: 2.2rem 1rem;
}

.bf-empty-state-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    margin: 0 auto 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .08);
    color: var(--bf-primary);
    border: 1px solid rgba(13, 110, 253, .14);
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .bf-owner-cta-panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .bf-owner-ads-kpi-grid {
        max-width: none;
    }

    .bf-owner-sub-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .bf-owner-sub-grid {
        grid-template-columns: 1fr;
    }

    .bf-owner-sub-actions {
        flex-direction: column;
    }

    .bf-owner-sub-actions .btn,
    .bf-owner-sub-actions form,
    .bf-owner-sub-actions form .btn {
        width: 100%;
    }

    .bf-owner-tab {
        width: 100%;
        justify-content: space-between;
    }
}

/* =====================================================
   OWNER ADS FILTER BAR
   ===================================================== */

.bf-owner-filter-panel {
    padding: 1rem 1rem 1.05rem;
}

.bf-owner-filter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bf-owner-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.bf-owner-filter-title {
    font-size: .98rem;
    font-weight: 900;
    color: #111827;
}

.bf-owner-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .58rem .9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: .88rem;
    color: #374151;
    background: rgba(17, 24, 39, .05);
    border: 1px solid rgba(17, 24, 39, .08);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.bf-owner-filter-reset:hover {
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    background: rgba(17, 24, 39, .07);
}

.bf-owner-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: .85rem;
    align-items: end;
}

.bf-owner-filter-field {
    display: flex;
    flex-direction: column;
    gap: .38rem;
}

.bf-owner-filter-label {
    font-size: .8rem;
    font-weight: 800;
    color: rgba(0, 0, 0, .58);
    margin: 0;
}

.bf-owner-filter-select {
    min-height: 46px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .95);
    padding: .65rem .85rem;
    font-size: .92rem;
    color: #111827;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
    transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}

.bf-owner-filter-select:focus {
    outline: none;
    border-color: rgba(13, 110, 253, .35);
    box-shadow: 0 0 0 .18rem rgba(13, 110, 253, .12);
}

.bf-owner-filter-actions {
    display: flex;
    align-items: end;
}

@media (max-width: 991.98px) {
    .bf-owner-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bf-owner-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .bf-owner-filter-head {
        flex-direction: column;
        align-items: stretch;
    }

    .bf-owner-filter-reset {
        width: 100%;
    }

    .bf-owner-filter-grid {
        grid-template-columns: 1fr;
    }

    .bf-owner-filter-actions .btn {
        width: 100%;
    }
}

/* =====================================================
   OWNER ADS FUNNEL
   ===================================================== */

.bf-ads-funnel-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bf-ads-funnel-hero {
    border-radius: 28px;
    padding: 1.15rem;
    background: radial-gradient(900px circle at 10% 10%, rgba(13, 110, 253, .12), transparent 55%),
    radial-gradient(800px circle at 90% 20%, rgba(255, 193, 7, .14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 249, 250, .92));
    border: 1px solid rgba(13, 110, 253, .08);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.bf-ads-funnel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.bf-ads-funnel-title {
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    line-height: 1.08;
    font-weight: 950;
    color: #111827;
    margin: 0;
}

.bf-ads-funnel-subtitle {
    margin-top: .45rem;
    color: rgba(17, 24, 39, .62);
    font-size: .96rem;
    line-height: 1.5;
    max-width: 760px;
}

.bf-ads-funnel-top-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
}

.bf-ads-funnel-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

.bf-ads-funnel-kpi {
    border-radius: 20px;
    padding: .9rem 1rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bf-ads-funnel-kpi-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(0, 0, 0, .48);
    font-weight: 900;
    margin-bottom: .25rem;
}

.bf-ads-funnel-kpi-value {
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1.05;
    color: #111827;
}

.bf-ads-funnel-kpi-sub {
    margin-top: .22rem;
    font-size: .82rem;
    color: rgba(0, 0, 0, .58);
}

.bf-ads-funnel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1rem;
    align-items: start;
}

.bf-ads-funnel-main,
.bf-ads-funnel-side {
    border-radius: 24px;
    padding: 1rem;
    background: rgba(255, 255, 255, .84);
    border: 1px solid rgba(255, 255, 255, .62);
    box-shadow: var(--bf-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.bf-ads-funnel-side {
    position: sticky;
    top: 92px;
}

.bf-ads-section-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: .2rem;
}

.bf-ads-section-subtitle {
    color: rgba(17, 24, 39, .62);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.bf-ads-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.bf-ads-plan-card {
    height: 100%;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .94);
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
    gap: .85rem;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.bf-ads-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
    border-color: rgba(13, 110, 253, .16);
}

.bf-ads-plan-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
}

.bf-ads-plan-title {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 900;
    color: #111827;
    margin: 0;
}

.bf-ads-plan-desc {
    color: rgba(17, 24, 39, .62);
    font-size: .88rem;
    line-height: 1.45;
    margin: 0;
}

.bf-ads-plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: .45rem .72rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, .10);
    color: var(--bf-primary);
    font-size: .8rem;
    font-weight: 900;
    white-space: nowrap;
    border: 1px solid rgba(13, 110, 253, .14);
}

.bf-ads-plan-features {
    display: flex;
    flex-direction: column;
    gap: .48rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bf-ads-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: #374151;
    font-size: .88rem;
    line-height: 1.4;
}

.bf-ads-plan-features i {
    color: var(--bf-primary);
    margin-top: .12rem;
}

.bf-ads-plan-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: .75rem;
    flex-wrap: wrap;
}

.bf-ads-plan-price {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.bf-ads-plan-price-main {
    font-size: 1.2rem;
    font-weight: 950;
    color: #111827;
    line-height: 1.05;
}

.bf-ads-plan-price-sub {
    font-size: .82rem;
    color: rgba(0, 0, 0, .55);
}

.bf-ads-summary-card {
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(248, 249, 250, .95));
    padding: 1rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .05);
}

.bf-ads-summary-list {
    display: grid;
    gap: .75rem;
}

.bf-ads-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: .8rem;
}

.bf-ads-summary-item-label {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: rgba(0, 0, 0, .48);
    font-weight: 900;
}

.bf-ads-summary-item-value {
    text-align: right;
    font-size: .92rem;
    font-weight: 800;
    color: #111827;
}

.bf-ads-confirm-card {
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: rgba(255, 255, 255, .94);
    padding: 1.1rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .06);
}

.bf-ads-confirm-highlight {
    border-radius: 20px;
    padding: .95rem 1rem;
    background: linear-gradient(180deg, rgba(13, 110, 253, .08), rgba(255, 255, 255, .96));
    border: 1px solid rgba(13, 110, 253, .12);
}

.bf-ads-confirm-highlight-title {
    font-size: 1rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: .2rem;
}

.bf-ads-confirm-highlight-sub {
    font-size: .88rem;
    color: rgba(17, 24, 39, .62);
}

.bf-ads-confirm-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.bf-ads-note {
    border-radius: 18px;
    padding: .9rem 1rem;
    background: rgba(17, 24, 39, .04);
    border: 1px solid rgba(17, 24, 39, .06);
    font-size: .88rem;
    color: #374151;
    line-height: 1.5;
}

.bf-ads-empty {
    text-align: center;
    padding: 2.2rem 1rem;
    border-radius: 22px;
    border: 1px dashed rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .72);
}

.bf-ads-empty-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    margin: 0 auto .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .08);
    color: var(--bf-primary);
    border: 1px solid rgba(13, 110, 253, .14);
    font-size: 1.2rem;
}

@media (max-width: 1199.98px) {
    .bf-ads-funnel-grid {
        grid-template-columns: 1fr;
    }

    .bf-ads-funnel-side {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .bf-ads-funnel-kpis {
        grid-template-columns: 1fr;
    }

    .bf-ads-plan-grid {
        grid-template-columns: 1fr;
    }

    .bf-ads-plan-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .bf-ads-plan-footer .btn {
        width: 100%;
    }

    .bf-ads-funnel-top-actions {
        width: 100%;
    }

    .bf-ads-funnel-top-actions .btn {
        width: 100%;
    }

    .bf-ads-confirm-actions {
        flex-direction: column;
    }

    .bf-ads-confirm-actions .btn {
        width: 100%;
    }
}

/* =====================================================
   MY ACTIVITIES PAGE
   ===================================================== */

.bf-my-activities-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bf-my-activities-hero {
    position: sticky;
    top: 80px;
    z-index: 30;
    border-radius: 28px;
    padding: 1.15rem;
    background: radial-gradient(950px circle at 10% 10%, rgba(13, 110, 253, .10), transparent 55%),
    radial-gradient(800px circle at 90% 20%, rgba(255, 193, 7, .12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(248, 249, 250, .92));
    border: 1px solid rgba(13, 110, 253, .08);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.bf-my-activities-hero-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.bf-my-activities-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.05;
    font-weight: 950;
    color: #111827;
}

.bf-my-activities-subtitle {
    margin-top: .45rem;
    color: rgba(17, 24, 39, .62);
    font-size: .95rem;
    line-height: 1.5;
    max-width: 720px;
}

.bf-my-activities-actions {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}

.bf-my-activities-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: .85rem;
    margin-top: 1rem;
}

.bf-my-stat {
    border-radius: 20px;
    padding: .9rem 1rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
}

.bf-my-stat-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(0, 0, 0, .48);
    font-weight: 900;
    margin-bottom: .25rem;
}

.bf-my-stat-value {
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1.05;
    color: #111827;
}

.bf-my-stat-sub {
    margin-top: .22rem;
    font-size: .82rem;
    color: rgba(0, 0, 0, .58);
}

.bf-my-activities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.bf-my-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.bf-my-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
    border-color: rgba(255, 255, 255, .9);
}

.bf-my-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f7fb;
}

.bf-my-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bf-my-card-body {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: 1rem 1rem 1.05rem;
    flex: 1 1 auto;
}

.bf-my-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .85rem;
}

.bf-my-card-title-wrap {
    min-width: 0;
    flex: 1;
}

.bf-my-card-title {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.25;
    font-weight: 900;
    color: #111827;
}

.bf-my-card-title a {
    text-decoration: none;
    color: inherit;
}

.bf-my-card-title a:hover {
    color: var(--bf-primary);
}

.bf-my-card-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: .38rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
    border: 1px solid transparent;
}

.bf-my-card-status.is-live {
    background: rgba(25, 135, 84, .12);
    color: #198754;
    border-color: rgba(25, 135, 84, .20);
}

.bf-my-card-status.is-pending {
    background: rgba(255, 193, 7, .18);
    color: #8a6500;
    border-color: rgba(255, 193, 7, .28);
}

.bf-my-card-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.bf-my-score-badge {
    display: inline-flex;
    align-items: center;
    padding: .34rem .68rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, .10);
    color: var(--bf-primary);
    font-size: .8rem;
    font-weight: 900;
    border: 1px solid rgba(13, 110, 253, .14);
}

.rating-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
    letter-spacing: 2px;
    user-select: none;
    font-size: 1.05rem;
}

.rating-stars .stars-bg,
.rating-stars .stars-fg {
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial;
}

.rating-stars .stars-bg {
    color: #e0e0e0;
}

.rating-stars .stars-fg {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    overflow: hidden;
    color: #ffc107;
}

.bf-my-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}

.bf-my-card-actions-inline {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.bf-my-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .92);
    color: #374151;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, color .12s ease;
}

.bf-my-icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    color: #111827;
}

.bf-my-icon-btn.is-danger:hover {
    color: #dc3545;
    border-color: rgba(220, 53, 69, .20);
}

.bf-my-card-cta-stack {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.bf-my-card-details {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-top: .1rem;
}

.bf-my-card-detail {
    font-size: .87rem;
    line-height: 1.45;
    color: #4b5563;
}

.bf-my-card-detail strong {
    color: #111827;
}

.bf-my-card-location {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: #6b7280;
    font-size: .86rem;
    line-height: 1.4;
}

.bf-my-card-location i {
    margin-top: .18rem;
    color: rgba(17, 24, 39, .48);
}

.bf-my-empty {
    text-align: center;
    padding: 2.6rem 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .05);
}

.bf-my-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    margin: 0 auto 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .08);
    color: var(--bf-primary);
    border: 1px solid rgba(13, 110, 253, .14);
    font-size: 1.3rem;
}

@media (max-width: 1199.98px) {
    .bf-my-activities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .bf-my-activities-hero {
        position: static;
    }

    .bf-my-activities-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .bf-my-activities-grid {
        grid-template-columns: 1fr;
    }

    .bf-my-activities-actions {
        width: 100%;
    }

    .bf-my-activities-actions .btn {
        width: 100%;
    }

    .bf-my-activities-stats {
        grid-template-columns: 1fr;
    }

    .bf-my-card-head {
        flex-direction: column;
    }

    .bf-my-card-topline {
        flex-direction: column;
        align-items: flex-start;
    }

    .bf-my-card-actions-inline {
        width: 100%;
    }

    .bf-my-icon-btn {
        width: 42px;
        height: 42px;
    }
}

/* =====================================================
   OWNER ADS PAYMENTS
   ===================================================== */

.bf-owner-filter-grid-payments {
    grid-template-columns: 1fr 1fr 1fr auto;
}

.bf-owner-sub-value-break {
    word-break: break-word;
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .bf-owner-filter-grid-payments {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .bf-owner-filter-grid-payments {
        grid-template-columns: 1fr;
    }
}