#be-pulse-hub {
    display: block;
}

.pulse-nav-pills {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 12px;
}

.pulse-pill {
    background: transparent;
    border: none;
    color: rgb(5, 6, 8);
    font-size: 15px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.pulse-pill:hover {
    color: rgb(17, 20, 29);
    background: rgba(0, 0, 0, 0.05);
}

.pulse-pill.is-active {
    background: rgb(17, 20, 29);
    color: rgb(0, 234, 255);
}

.pulse-hero-banner {
    background: rgb(10, 12, 18);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.pulse-hero-cover {
    height: 100px;
    position: relative;
    overflow: hidden;
    background: rgb(6, 8, 16);
}

.pulse-hero-cover canvas {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: block;
}

.pulse-scan-line {
    position: absolute;
    top: 0px;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.04), transparent);
    animation: 6s ease-in-out 0s infinite normal none running scan-sweep;
    pointer-events: none;
}

@keyframes scan-sweep {
    0% {
        left: -40%;
    }

    100% {
        left: 140%;
    }
}

.pulse-cover-fade {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 80px;
    background: linear-gradient(to top, rgb(10, 12, 18) 30%, transparent);
    pointer-events: none;
    z-index: 3;
}

.pulse-hero-content {
    display: flex;
    align-items: flex-end;
    padding: 0px 20px 20px;
    margin-top: 0px;
    position: relative;
    z-index: 5;
}

.pulse-avatar-wrapper {
    position: relative;
    margin-top: -40px;
    margin-right: 20px;
    overflow: visible;
    z-index: 5;
}

.pulse-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgb(10, 12, 18);
    background: linear-gradient(135deg, rgb(26, 31, 46), rgb(15, 18, 25));
    object-fit: cover;
    object-position: center center;
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 2;
}

.pulse-avatar-edit {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgb(26, 31, 46);
    border: 1.5px solid rgba(0, 212, 255, 0.3);
    color: rgb(0, 212, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, border-color 0.2s;
}

.pulse-avatar-edit:hover {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgb(0, 212, 255);
}

.pulse-avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.2);
    animation: 3s ease-out 0s infinite normal none running av-pulse;
    pointer-events: none;
}

.pulse-avatar-ring-2 {
    inset: -16px;
    border-color: rgba(0, 212, 255, 0.08);
    animation-delay: 1.5s;
}

@keyframes av-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}
/* Pause CSS engines when Hero Banner is out of view */
.pulse-hero-cover.be-anim-paused .pulse-scan-line,
.pulse-avatar-wrapper.be-anim-paused .pulse-avatar-ring {
    display: none !important;
}

.pulse-user-info {
    flex: 1 1 0%;
    padding-bottom: 4px;
}

.pulse-username {
    margin: 0px 0px 9px;
    font-size: 27px;
    font-weight: 800;
    color: rgb(255, 255, 255);
    letter-spacing: -0.03em;
    line-height: 1;
    text-shadow: rgba(0, 212, 255, 0.3) 0px 0px 40px;
}

.pulse-user-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pulse-flag {
    width: 18px;
    height: auto;
    border-radius: 2px;
    opacity: 0.85;
}

.pulse-badge {
    font-size: 10px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pulse-badge-pro {
    background: linear-gradient(135deg, rgb(255, 0, 122), rgb(153, 0, 255));
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.pulse-badge-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 5px;
}

.pulse-member-since {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.pulse-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
}

.pulse-btn-settings {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 9px;
    cursor: pointer;
    transition: 0.25s;
}

.pulse-btn-settings:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.4);
    color: rgb(0, 212, 255);
    transform: translateY(-1px);
}

.pulse-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.pulse-bento-card {
    background: rgb(17, 20, 29);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60px;
}

.bento-label {
    font-size: 11px;
    color: rgb(155, 165, 241);
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bento-value {
    font-size: 22px;
    font-weight: 800;
    color: rgb(255, 255, 255);
}

.text-green {
    color: rgb(0, 255, 102);
}

.text-red {
    color: rgb(255, 51, 51) !important;
}

.text-white {
    color: rgb(255, 255, 255) !important;
}

.text-gray {
    color: rgb(247 245 245) !important;
}

.bento-network {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    flex-wrap: nowrap;
}

.bento-network div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.bento-network strong {
    font-size: 16px;
    color: rgb(255, 255, 255) !important;
    font-weight: 800;
}

.bento-network span {
    font-size: 10px;
    color: rgb(136, 139, 161);
    text-transform: uppercase;
}

.bento-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.pulse-section-title {
    font-size: 14px;
    font-weight: 800;
    color: rgb(17, 20, 29);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 32px 0px 12px 16px;
}

.pulse-table-wrapper {
    background: rgb(17, 20, 29);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.pulse-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pulse-table th {
    background: rgba(0, 0, 0, 0.2);
    color: rgb(155, 165, 241);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.pulse-table th:last-child {
    border-right: none;
}

.pulse-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-table td:last-child {
    border-right: none;
}

.pulse-table th:first-child, .pulse-table td:first-child {
    text-align: left;
    width: 1%;
    white-space: nowrap;
    padding-right: 15px;
}

.pulse-table .align-right {
    text-align: center;
}

.pulse-table-total td {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: none;
}

.pulse-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pulse-ticket {
    background: rgb(17, 20, 29);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.ticket-status-bar {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 4px;
}

.status-lost .ticket-status-bar {
    background: rgb(255, 51, 51);
}

.status-pending .ticket-status-bar {
    background: rgb(0, 234, 255);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 10px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 12px;
    font-weight: 600;
    color: rgb(155, 165, 241);
}

.t-h-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.badge-lost {
    background: rgb(255, 51, 51);
    color: white;
}

.ticket-body {
    display: flex;
    align-items: center;
    padding: 16px 20px;
}

.ticket-time {
    display: flex;
    flex-direction: column;
    width: 80px;
    font-size: 12px;
    color: rgb(136, 139, 161);
}

.t-hour {
    color: rgb(255, 255, 255);
    font-weight: 600;
    margin: 2px 0px;
}

.ticket-match {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.t-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-odds {
    display: flex;
    gap: 8px;
}

.t-odd-box {
    background: rgb(22, 25, 36);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    width: 60px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.t-odd-label {
    font-size: 10px;
    color: rgb(136, 139, 161);
}

.t-odd-val {
    font-size: 13px;
    font-weight: 700;
    color: rgb(255, 255, 255);
}

.t-odd-box.is-picked {
    background: rgba(0, 234, 255, 0.05);
}

.t-odd-box.is-picked .t-odd-val {
    color: rgb(0, 234, 255);
}

.t-pick-label {
    position: absolute;
    bottom: -8px;
    background: rgb(0, 234, 255);
    color: rgb(17, 17, 17);
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

.pulse-placeholder-box {
    background: rgb(17, 20, 29);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pulse-placeholder-box h2 {
    color: rgb(255, 255, 255);
    font-size: 24px;
    margin: 0px 0px 10px;
}

.pulse-placeholder-box p {
    color: rgb(136, 139, 161);
    margin: 0px;
}

.pulse-feed-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pulse-feed-post {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(148, 163, 184);
    border-radius: 8px;
    padding: 0px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feed-post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgb(168 243 81);
    border-bottom: 1px solid rgb(148, 163, 184);
}

.feed-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgb(100, 116, 139);
    background: rgb(255, 255, 255);
}

.feed-author-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feed-author-name {
    font-size: 14px;
    font-weight: 900;
    color: rgb(15, 23, 42);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.feed-author-roi {
    font-size: 11px;
    background: rgb(246, 248, 249);
    color: rgb(21, 128, 61);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgb(3 3 3);
    font-weight: 800;
}

.feed-author-meta {
    font-size: 12px;
    color: rgb(10 11 12);
    font-weight: 700;
}

.feed-post-options {
    background: transparent;
    border: none;
    color: rgb(71, 85, 105);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    transition: color 0.2s;
}

.feed-post-options:hover {
    color: rgb(15, 23, 42);
}

.pulse-ticket {
    background: transparent;
    border: none;
    border-radius: 0px;
    position: relative;
}

.ticket-status-bar {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 4px;
    z-index: 2;
}

.status-lost .ticket-status-bar {
    background: rgb(239, 68, 68);
}

.status-won .ticket-status-bar {
    background: #0ce815;
}

.status-pending .ticket-status-bar {
    background: rgb(59, 130, 246);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px 8px 20px;
    background: rgb(158, 213, 240);
    border-bottom: 1px solid rgb(203, 213, 225);
    font-size: 12px;
    font-weight: 700;
    color: rgb(5 5 5);
}

.t-h-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    color: rgb(35 33 33);
}

.badge-lost {
    background: rgb(239, 68, 68);
}

.badge-won {
    background: rgb(12 232 21);
}

.ticket-body {
    display: flex;
    align-items: center;
    padding: 12px 16px 12px 20px;
    background: rgb(255, 255, 255);
}

.ticket-time {
    display: flex;
    flex-direction: column;
    width: 70px;
    font-size: 11px;
    color: rgb(71, 85, 105);
    flex-shrink: 0;
    line-height: 1.3;
}

.t-hour {
    color: rgb(15, 23, 42);
    font-weight: 800;
    font-size: 12px;
    margin: 2px 0px;
}

.ticket-match {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
    color: rgb(15, 23, 42);
    white-space: nowrap;
    min-width: 0px;
}

.t-team {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0%;
    min-width: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t-team img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ticket-match .t-team:first-child {
    flex-direction: row;
    justify-content: flex-end;
}

.ticket-match .t-team:last-child {
    justify-content: flex-start;
}

.t-score {
    flex-shrink: 0;
    min-width: 40px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: rgb(15, 23, 42) !important;
}

.ticket-odds {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.t-odd-box {
    height: auto;
    padding: 6px 4px;
    min-width: 58px;
    background: rgb(14, 15, 16);
    border: 1px solid rgb(203, 213, 225);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 2px;
}

.t-odd-label {
    font-size: 10px;
    color: rgb(237, 239, 243);
    font-weight: 800;
}

.t-odd-val {
    font-size: 13px;
    font-weight: 900;
    color: rgb(243, 244, 247);
}

.t-odd-box.is-picked {
    background: rgb(14, 14, 12);
}

.t-odd-box.is-picked .t-odd-val {
    color: rgb(240, 239, 238);
}

.t-pick-label {
    position: absolute;
    bottom: -8px;
    background: rgb(30, 41, 59);
    color: rgb(255, 255, 255);
    font-size: 9px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    z-index: 10;
}

.t-odd-prob {
    width: 100%;
    height: 12px;
    background: rgb(244, 246, 248);
    margin-top: 6px;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-odd-prob-bar {
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    background: rgb(100, 116, 139);
    z-index: 1;
}

.is-picked .t-odd-prob-bar {
    background: rgb(245, 158, 11);
}

.t-odd-prob span {
    position: relative;
    z-index: 2;
    font-size: 9px;
    font-weight: 800;
    color: rgb(11, 8, 8);
    text-shadow: rgba(0, 0, 0, 0.4) 0px 1px 1px;
}

@media screen and (max-width: 1100px) {
    .ticket-body {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px;
    }

    .ticket-time {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-bottom: 1px solid rgb(226, 232, 240);
        padding-bottom: 8px;
    }

    .ticket-time .t-hour {
        margin: 0px;
    }

    .ticket-match {
        width: 100%;
        justify-content: space-between;
    }

    .ticket-odds {
        width: 100%;
        justify-content: space-between;
    }

    .t-odd-box {
        flex: 1 1 0%;
    }
}

.pulse-network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pulse-net-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.03), 
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.pulse-net-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 234, 255, 0.4);
    box-shadow: 
        0 12px 24px -6px rgba(59, 130, 246, 0.15), 
        0 0 0 1px rgba(0, 234, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.pnc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.pnc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid transparent;
    background: 
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #00eaff, #3b82f6) border-box;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pulse-net-card:hover .pnc-avatar {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 10px rgba(0, 234, 255, 0.3);
}

.pnc-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pnc-name {
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pnc-body {
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    
    
    box-shadow: 
        3px 3px 8px rgba(15, 23, 42, 0.05),
        -3px -3px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 1),
        inset -1px -1px 2px rgba(15, 23, 42, 0.02);    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pulse-net-card:hover .pnc-body {
    background: linear-gradient(145deg, #ffffff, #eff6ff);
    border-color: rgba(191, 219, 254, 0.6);
    box-shadow: 
        4px 4px 10px rgba(59, 130, 246, 0.1), 
        -3px -3px 8px rgba(255, 255, 255, 1),
        inset 1px 1px 2px rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}
.pnc-stat-label {
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.pnc-stat-val {
    font-size: 16px;
    font-weight: 900;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.pnc-footer {
    margin-top: auto;
}

.pnc-btn-follow {
    width: 100%;
    height: 34px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    box-shadow: 
        0 4px 10px rgba(15, 23, 42, 0.2), 
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pnc-btn-follow:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 
        0 6px 14px rgba(15, 23, 42, 0.3), 
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.pnc-btn-follow.is-following {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    text-shadow: none;
}

.pnc-btn-follow.is-following:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: transparent; 
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.1);
}

.pnc-btn-follow.is-following:hover::after {
    content: "Unfollow";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 12px;
    font-weight: 800;
}
/* =========================================================
   MONTHLY PERFORMANCE - INTERACTIVE LINKS & EXPAND ROW
========================================================= */

/* Month Interactive Link */
.pulse-month-link {
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit; 
    text-decoration: underline;
    text-decoration-color: currentColor; 
    cursor: pointer;
    transition: all 0.2s ease;
}
.pulse-month-link:hover {
    color: rgb(0, 234, 255);
    text-decoration-color: rgb(0, 234, 255);
    text-shadow: 0 0 8px rgba(0, 234, 255, 0.4);
}
/* Expand Button Row Styling */
.pulse-table-expand-row td {
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;   
}
.pulse-btn-expand-months {
    width: 100%;
    background: transparent;
    border: none;
    color: rgb(136, 139, 161);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.pulse-btn-expand-months:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgb(255, 255, 255);
}
/* =========================================================
   MY PREDICTIONS - CONTEXTUAL UI & LIGHT THEME FILTERS
========================================================= */

/* Forces 3 columns only when My Predictions is active */
.bento-grid-3-cols {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Sub-nav (Performance / Results / Pending) - Light Theme */
.pulse-predictions-subnav {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.pulse-subnav-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.pulse-subnav-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.pulse-subnav-btn.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.pulse-subnav-btn .be-badge {
    background: #ef4444;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 10px;
    margin-left: 8px;
}

/* Dynamic Filters Wrapper - Clean White Look */
.pulse-filters-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pulse-filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pulse-filter-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

.pulse-filter-label {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 70px;
    flex-shrink: 0;
}

.pulse-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pulse-filter-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pulse-filter-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.pulse-filter-btn.is-active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* ===================================================
   Member Board - Perfect Table Geometry
   =================================================== */

.member-board {
  background: #ffffff;
  
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  margin-bottom: 24px;
}

/* --- TABS --- */
.mb-tabs {
  display: flex;
  background: #2b2b2b;
  border-bottom: 3px solid #e0e0e0;
  white-space: nowrap;
}

.mb-tab {
  flex: 1;
  padding: 16px 12px;
  background: transparent;
  border: none;
  color: #a0a0a0;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.mb-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.mb-tab.active {
  color: #ffffff;
  background: #3a3a3a;
}

.mb-tab.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00ff17; 
}

/* --- FILTERS & DROPDOWNS --- */
.mb-filters {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #eaeaea;
  flex-wrap: wrap; 
}

/* Wrapper just wraps the content, doesn't force width */
.mb-select-wrapper {
  position: relative;
  display: inline-block; 
}

.mb-select {
  padding: 8px 30px 8px 18px; 
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 13px;
  color: #444;
  outline: none;
  cursor: pointer;
  
  /* Remove old caret */
  background-image: none !important; 
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* --- DEFAULT DROPDOWN ICON (Tablet & Mobile) --- */
.mb-dropdown-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: auto;
  pointer-events: none;   
}
/* 180 DEGREE INVERSION ON FOCUS */
.mb-select:focus + .mb-dropdown-icon {
    transform: translateY(-50%) rotate(180deg) !important;
}


/* --- DESKTOP ONLY (Min Width: 1101px) --- */
@media screen and (min-width: 1101px) {
  .mb-select {
    padding: 12px 36px 12px 18px;
    font-size: 15px;
  }
  .mb-dropdown-icon {
    right: 16px;
    width: 16px;
  }
}

/* --- CONTENT VISIBILITY --- */
.mb-content {
  display: none;
}
.mb-content.active {
  display: block;
}

/* --- TABLE SKELETON (Strict Rules) --- */
.mb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed; 
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
}

.mb-table th, 
.mb-table td {
  border-bottom: 1px solid #f0f0f0;
  border-right: 1px solid #e0e0e0; 
  padding: 12px 10px;
  text-align: center; 
  vertical-align: middle; 
  white-space: nowrap;
  color: #0e0d0d;
}
/* --- ENFORCE GREEN COLOR FOR ALL ROI NUMBERS --- */
#top-members td:nth-child(7),
#active-now td:nth-child(7),
#popular-members td:nth-child(3),
#top-countries td:nth-child(5) {
  color: rgb(0, 255, 102);
  font-weight: 700;
}

.mb-table th {
  background: #f1f3f5;
  color: #0a0a0a;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  border-bottom: 2px solid #ddd;
}

.mb-table th:last-child, 
.mb-table td:last-child {
  border-right: none;
}

.mb-table tbody tr:hover {
  background-color: #f0f7ff; 
  transition: all 0.1s ease;
}
 

/* --- MEMBER COLUMN FIX (Left Aligned, No Flex) --- */
th.col-member,
td.col-member {
  text-align: left; 
}

td.col-member .flag-icon,
td.col-member .username,
td.col-member .status-icon {
  display: inline-block;
  vertical-align: middle;
}

td.col-member .flag-icon {
  margin-right: 8px;
}

td.col-member .status-icon {
  margin-left: 4px;
}

/* --- GAMIFICATION ELEMENTS --- */
.flag-icon { 
  width: 20px; 
  height: auto; 
  border: 1px solid #eee; 
  border-radius: 2px; 
}

.status-icon { 
  font-size: 12px; 
  cursor: help; 
}

.medal {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px; 
  text-align: center;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.medal-gold { background: linear-gradient(135deg, #ffd700, #daa520); box-shadow: 0 2px 4px rgba(218, 165, 32, 0.4); }
.medal-silver { background: linear-gradient(135deg, #e0e0e0, #9e9e9e); box-shadow: 0 2px 4px rgba(158, 158, 158, 0.4); }
.medal-bronze { background: linear-gradient(135deg, #cd7f32, #8b4513); box-shadow: 0 2px 4px rgba(139, 69, 19, 0.4); }

/* Last 5 Trend Dots */
.trend-dots { 
  display: inline-flex; /* Safe to use flex here because it's wrapped inside td */
  gap: 4px; 
  justify-content: center; 
  vertical-align: middle;
}
.dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  display: inline-block; 
}
.dot.won { background-color: #009e60; }
.dot.lost { background-color: #e53935; }
.dot.void { background-color: #ccc; }

/* Follow Button in row */
.btn-follow {
  background: #f0f0f0;
  border: none;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  font-size: 16px;
  color: #050404;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  vertical-align: middle;
}
.mb-table tbody tr:hover .btn-follow {
  background: #00eaff; 
  color: #0a0c12;
}

/* --- PAGINATION --- */
.mb-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 8px;
}
.page-btn {
  padding: 8px 12px;
  border: 1px solid #eaeaea;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  color: #555;
  font-weight: 500;
}
.page-btn:hover { background: #f5f5f5; }
.page-btn.active { background: #2b2b2b; color: #fff; border-color: #2b2b2b; }
.page-dots { color: #999; }

/* Info Banner */
.mb-info-banner {
  padding: 12px 16px;
  background: #fff8e1;
  border-left: 4px solid #dd2f0d;
  color: #555;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===================================================
   DESKTOP ONLY (Min Width: 1101px)
   =================================================== */
@media screen and (min-width: 1101px) {
  
  /* 1. TOP MEMBERS & ACTIVE NOW (8 Columns) */
  #top-members th:nth-child(1), #top-members td:nth-child(1),
  #active-now th:nth-child(1), #active-now td:nth-child(1) { width: 55px; }

  #top-members th:nth-child(2), #top-members td:nth-child(2),
  #active-now th:nth-child(2), #active-now td:nth-child(2) { width: 220px; text-align: left; padding-left: 20px; }

  #top-members th:nth-child(3), #top-members td:nth-child(3),
  #active-now th:nth-child(3), #active-now td:nth-child(3) { width: 100px; }

  #top-members th:nth-child(4), #top-members td:nth-child(4),
  #active-now th:nth-child(4), #active-now td:nth-child(4) { width: 90px; }

  #top-members th:nth-child(5), #top-members td:nth-child(5),
  #active-now th:nth-child(5), #active-now td:nth-child(5) { width: 90px; }

  #top-members th:nth-child(6), #top-members td:nth-child(6),
  #active-now th:nth-child(6), #active-now td:nth-child(6) { width: 90px; }

  #top-members th:nth-child(7), #top-members td:nth-child(7),
  #active-now th:nth-child(7), #active-now td:nth-child(7) { width: 90px; }

  #top-members th:nth-child(8), #top-members td:nth-child(8),
  #active-now th:nth-child(8), #active-now td:nth-child(8) { width: 70px; }

  /* 2. POPULAR MEMBERS (5 Columns) */
  #popular-members th:nth-child(1), #popular-members td:nth-child(1) { width: 55px; }
  #popular-members th:nth-child(2), #popular-members td:nth-child(2) { width: 220px; text-align: left; padding-left: 20px; }
  #popular-members th:nth-child(3), #popular-members td:nth-child(3) { width: 90px; }
  #popular-members th:nth-child(4), #popular-members td:nth-child(4) { width: 90px; }
  #popular-members th:nth-child(5), #popular-members td:nth-child(5) { width: 70px; }

  /* 3. TOP COUNTRIES (5 Columns) */
  #top-countries th:nth-child(1), #top-countries td:nth-child(1) { width: 55px; }
  #top-countries th:nth-child(2), #top-countries td:nth-child(2) { width: 220px; text-align: left; padding-left: 20px; }
  #top-countries th:nth-child(3), #top-countries td:nth-child(3) { width: 90px; }
  #top-countries th:nth-child(4), #top-countries td:nth-child(4) { width: 90px; }
  #top-countries th:nth-child(5), #top-countries td:nth-child(5) { width: 70px; }
}

/* ===================================================
   TABLET ONLY (901px to 1100px)
   =================================================== */
@media screen and (max-width: 1100px) and (min-width: 901px) {
  
  /* 1. TOP MEMBERS & ACTIVE NOW (8 Columns) */
  #top-members th:nth-child(1), #top-members td:nth-child(1),
  #active-now th:nth-child(1), #active-now td:nth-child(1) { width: 42px; }

  #top-members th:nth-child(2), #top-members td:nth-child(2),
  #active-now th:nth-child(2), #active-now td:nth-child(2) { width: 120px; text-align: left; padding-left: 8px; }

  #top-members th:nth-child(3), #top-members td:nth-child(3),
  #active-now th:nth-child(3), #active-now td:nth-child(3) { width: 73px; }

  #top-members th:nth-child(4), #top-members td:nth-child(4),
  #active-now th:nth-child(4), #active-now td:nth-child(4) { width: 64px; }

  #top-members th:nth-child(5), #top-members td:nth-child(5),
  #active-now th:nth-child(5), #active-now td:nth-child(5) { width: 55px; }

  #top-members th:nth-child(6), #top-members td:nth-child(6),
  #active-now th:nth-child(6), #active-now td:nth-child(6) { width: 68px; }

  #top-members th:nth-child(7), #top-members td:nth-child(7),
  #active-now th:nth-child(7), #active-now td:nth-child(7) { width: 60px; }

  #top-members th:nth-child(8), #top-members td:nth-child(8),
  #active-now th:nth-child(8), #active-now td:nth-child(8) { width: 65px; }

  /* 2. POPULAR MEMBERS (5 Columns) */
  #popular-members th:nth-child(1), #popular-members td:nth-child(1) { width: 55px; }
  #popular-members th:nth-child(2), #popular-members td:nth-child(2) { width: 200px; text-align: left; padding-left: 20px; }
  #popular-members th:nth-child(3), #popular-members td:nth-child(3) { width: 60px; }
  #popular-members th:nth-child(4), #popular-members td:nth-child(4) { width: 100px; }
  #popular-members th:nth-child(5), #popular-members td:nth-child(5) { width: 65px; }

  /* 3. TOP COUNTRIES (5 Columns) */
  #top-countries th:nth-child(1), #top-countries td:nth-child(1) { width: 55px; }
  #top-countries th:nth-child(2), #top-countries td:nth-child(2) { width: 200px; text-align: left; padding-left: 20px; }
  #top-countries th:nth-child(3), #top-countries td:nth-child(3) { width: 100px; }
  #top-countries th:nth-child(4), #top-countries td:nth-child(4) { width: 70px; }
  #top-countries th:nth-child(5), #top-countries td:nth-child(5) { width: 55px; }
}

/* ===================================================
   MOBILE ONLY (Max Width: 900px)
   =================================================== */
@media screen and (max-width: 900px) {
  /* Shares the same compact sizes as tablet to prevent breaking */
  #top-members th:nth-child(1), #top-members td:nth-child(1),
  #active-now th:nth-child(1), #active-now td:nth-child(1) { width: 38.5px; }

  #top-members th:nth-child(2), #top-members td:nth-child(2),
  #active-now th:nth-child(2), #active-now td:nth-child(2) { width: 125px; text-align: left; padding-left: 8px; }

  #top-members th:nth-child(3), #top-members td:nth-child(3),
  #active-now th:nth-child(3), #active-now td:nth-child(3) { width: 70px; }

  #top-members th:nth-child(4), #top-members td:nth-child(4),
  #active-now th:nth-child(4), #active-now td:nth-child(4) { width: 55px; }

  #top-members th:nth-child(5), #top-members td:nth-child(5),
  #active-now th:nth-child(5), #active-now td:nth-child(5) { width: 55px; }

  #top-members th:nth-child(6), #top-members td:nth-child(6),
  #active-now th:nth-child(6), #active-now td:nth-child(6) { width: 65px; }

  #top-members th:nth-child(7), #top-members td:nth-child(7),
  #active-now th:nth-child(7), #active-now td:nth-child(7) { width: 58px; }

  #top-members th:nth-child(8), #top-members td:nth-child(8),
  #active-now th:nth-child(8), #active-now td:nth-child(8) { width: 60px; }
  
  /* Popular & Top Countries inherit Tablet sizes */
  #popular-members th:nth-child(2), #popular-members td:nth-child(2) { width: 200px; text-align: left; padding-left: 20px; }
  #top-countries th:nth-child(2), #top-countries td:nth-child(2) { width: 200px; text-align: left; padding-left: 20px; }
}
/* =========================================================
   MY SLIPS: ACCORDION LIST (ENTERPRISE MONEY MAKER)
========================================================= */

.slips-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.slip-acc-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color 0.2s;
}

.slip-acc-item:hover {
    border-color: #94a3b8;
}

.slip-acc-summary {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    position: relative;
    background: #ffffff;
    user-select: none;
}

/* Status Indicator Bar */
.slip-acc-summary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}
.slip-acc-summary.status-won::before { background: #0ce815; }
.slip-acc-summary.status-lost::before { background: #ef4444; }
.slip-acc-summary.status-pending::before { background: #3b82f6; }

/* Grid Columns inside Summary */
.acc-col-date { width: 80px; display: flex; flex-direction: column; gap: 2px; }
.acc-day { font-size: 11px; color: #64748b; font-weight: 700; text-transform: uppercase; }
.acc-time { font-size: 14px; font-weight: 800; color: #0f172a; }

.acc-col-info { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.acc-id { font-size: 14px; font-weight: 800; color: #0f172a; }
.acc-type { font-size: 12px; color: #64748b; font-weight: 600; }

.acc-col-odds { width: 120px; display: flex; flex-direction: column; align-items: flex-end; padding-right: 20px; }
.acc-label { font-size: 10px; color: #37383a; font-weight: 700; text-transform: uppercase; margin-bottom: 2px; }
.acc-val { font-size: 16px; font-weight: 900; color: #0f172a; }

/* The Affiliate / Bookie Column */
.acc-col-bookie {
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    padding: 0 16px;
    margin-right: 20px;
}

.acc-bookie-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.acc-bookie-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.acc-bookie-btn img {
    height: 16px;
    width: auto;
    max-width: 60px;
    object-fit: contain;
}

.acc-bookie-btn span {
    font-size: 11px;
    font-weight: 800;
    color: #3b82f6;
}

.acc-col-status { width: 80px; text-align: right; }
.slip-badge { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px; color: #ffffff; }
.badge-won { background: #0ce815; }
.badge-lost { background: #ef4444; }
.badge-pending { background: #3b82f6; }

.acc-col-toggle { width: 40px; display: flex; justify-content: flex-end; }
.acc-caret { width: 12px; transition: transform 0.3s ease; opacity: 0.5; }

/* Expanded State logic */
.slip-acc-item.is-expanded .acc-caret { transform: rotate(180deg); opacity: 1; }
.slip-acc-item.is-expanded .slip-acc-summary { background: #f8fafc; border-bottom: 1px solid #cbd5e1; }

/* Details Panel */
.acc-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #0f172a;
    color: #94a3b8;
    font-size: 13px;
}
.acc-dh-left strong { font-size: 15px; color: #ffffff; margin-left: 6px; }
.acc-dh-left .text-green { color: #0ce815 !important; }
.acc-dh-right { display: flex; gap: 8px; }

.acc-matches-list { padding: 0; }
.acc-match-row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #0f172a;
}
.acc-match-row:last-child { border-bottom: none; }
.acc-m-time { width: 60px; color: #64748b; font-weight: 600; }
.acc-m-teams { flex-grow: 1; }
.acc-m-pick { width: 140px; text-align: right; padding-right: 20px; color: #475569; }
.acc-m-odd { width: 60px; font-weight: 800; text-align: right; padding-right: 20px; }
.acc-m-res { width: 60px; text-align: center; font-size: 10px; font-weight: 800; padding: 3px 0; border-radius: 4px; color: white;}

/* Responsive Mobile Rules */
@media screen and (max-width: 950px) {
    .slip-acc-summary { flex-wrap: wrap; padding: 12px; gap: 8px; }
    .acc-col-date { width: 60px; }
    .acc-col-info { width: calc(100% - 160px); }
    .acc-col-odds, .acc-col-bookie { width: 100%; border: none; padding: 10px 0; margin: 0; align-items: flex-start; }
    .acc-col-odds { flex-direction: row; justify-content: space-between; align-items: center; }
    .acc-col-bookie { border-top: 1px solid #e2e8f0; }
    .acc-m-pick { display: none; }
}
/* =========================================================
   ENTERPRISE SETTINGS MODULE (PULSE UI)
   Strict fluid geometry based on 1fr center column rules.
========================================================= */

.be-settings-wrapper {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.be-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.be-settings-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ENTERPRISE FIX: Overlay inset shadow on top of all child backgrounds */
.be-settings-card::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    box-shadow: inset 0 0 20px #FFEB3B;
    pointer-events: none;
    z-index: 10;
    border-radius: 12px;
}

.be-settings-header {
    background: #f8fafc;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.be-settings-title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.be-settings-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.be-settings-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.be-settings-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.be-settings-input,
.be-settings-select {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.be-settings-input:focus,
.be-settings-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.be-settings-input.is-readonly {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #e2e8f0;
    box-shadow: none;
}

.be-settings-password-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: beFadeInDown 0.3s ease;
}

@keyframes beFadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.be-settings-btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.be-settings-btn-outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.be-settings-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

/* Custom Privacy Toggle Switch */
.be-settings-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px;
    border-radius: 8px;
}

.be-settings-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.be-settings-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.be-settings-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}

.be-settings-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.be-settings-switch input:checked + .be-settings-slider {
    background-color: #00eaff;
}

.be-settings-switch input:checked + .be-settings-slider:before {
    transform: translateX(20px);
}

.be-settings-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.be-toggle-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.be-toggle-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

.be-settings-footer {
    display: flex;
    justify-content: flex-end;
    padding: 12px 0 30px;
}

.be-settings-btn-save {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.be-settings-btn-save:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.3);
}

/* Tablet & Mobile Breakpoint Override (Synced with components.css) */
@media screen and (max-width: 900px) {
    .be-settings-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .be-settings-footer {
        justify-content: stretch;
    }
    
    .be-settings-btn-save {
        width: 100%;
    }
}

/* Danger Zone Buttons */
.be-settings-danger-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.be-settings-btn-danger {
    flex: 1;
    background: transparent;
    border: 1px solid #fca5a5;
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.be-settings-btn-danger:hover {
    background: #fef2f2;
    border-color: #ef4444;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.1);
}

/* Tablet & Mobile Breakpoint for Danger Buttons */
@media screen and (max-width: 900px) {
    .be-settings-danger-actions {
        flex-direction: column;
    }
}

.pulse-btn-primary {
    display: flex;
    align-items: center;
    gap: 7px; 
    border: 1px solid #3b82f6;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 9px;
    cursor: pointer;
    transition: 0.25s;    
    
}

.pulse-btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.pulse-btn-secondary {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgb(76 162 35);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 9px;
    cursor: pointer;
    transition: 0.25s;
}

.pulse-btn-secondary:hover {
    background: rgb(76 162 35);
    transform: translateY(-1px);
}
