:root {
    --bajhi-bg-dark: #0B0B0E;
    --bajhi-card-bg: rgba(20, 20, 25, 0.6);
    --bajhi-border-color: rgba(255, 255, 255, 0.1);
    --bajhi-text-primary: #ECECF1;
    --bajhi-text-secondary: #9494A8;
    --bajhi-accent-blue: #64B5F6;
    --bajhi-accent-green: #6DD58C;
    --bajhi-accent-purple: #D0BCFF;
    --bajhi-hover-bg: rgba(255, 255, 255, 0.15);
    --bajhi-bg: #0A0B0F;
    --bajhi-card-bg: #15191c;
    --bajhi-button-bg: #15191c;
    --bajhi-accent: #0088cc;
    --bajhi-spin-color: #1B61E7;
}

.bajhi-dashboard-wrapper {
    background: #050507;
    color: var(--bajhi-text-primary);
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    padding: 0px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5) inset;
}

.bajhi-dashboard-wrapper * {
    box-sizing: border-box;
}

.bajhi-welcome-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.bajhi-welcome-section h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--bajhi-text-primary);
    margin: 0;
}

.bajhi-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.bajhi-action-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bajhi-text-primary);
    padding: 12px 12px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.bajhi-action-btn:hover {
    background-color: var(--bajhi-hover-bg);
    border-color: #666;
    color: var(--bajhi-text-primary);
}

.bajhi-action-btn i {
    font-size: 16px;
    color: var(--bajhi-text-secondary);
    transition: color 0.3s ease;
}

.bajhi-action-btn:hover i {
    color: var(--bajhi-text-primary);
}

.bajhi-action-btn.is-website {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-color: rgba(34, 211, 238, 0.3);
    color: #22d3ee;
}

.bajhi-action-btn.is-website i {
    color: #22d3ee;
}

.bajhi-action-btn.is-website:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-color: #22d3ee;
}

.bajhi-action-btn.is-agent {
    background: linear-gradient(135deg, rgba(165, 180, 252, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-color: rgba(129, 140, 248, 0.3);
    color: #a5b4fc;
}

.bajhi-action-btn.is-agent i {
    color: #a5b4fc;
}

.bajhi-action-btn.is-agent:hover {
    background: linear-gradient(135deg, rgba(165, 180, 252, 0.2) 0%, rgba(99, 102, 241, 0.2) 100%);
    border-color: #a5b4fc;
}

.bajhi-action-btn.is-freelancer {
    background: linear-gradient(135deg, rgba(240, 171, 252, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
    border-color: rgba(217, 70, 239, 0.3);
    color: #f0abfc;
}

.bajhi-action-btn.is-freelancer i {
    color: #f0abfc;
}

.bajhi-action-btn.is-freelancer:hover {
    background: linear-gradient(135deg, rgba(240, 171, 252, 0.2) 0%, rgba(217, 70, 239, 0.2) 100%);
    border-color: #f0abfc;
}

.bajhi-action-btn.is-job {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.bajhi-action-btn.is-job i {
    color: #34d399;
}

.bajhi-action-btn.is-job:hover {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border-color: #34d399;
}

.bajhi-action-btn.is-product {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-color: rgba(96, 165, 250, 0.3);
    color: #60a5fa;
}

.bajhi-action-btn.is-product i {
    color: #60a5fa;
}

.bajhi-action-btn.is-product:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-color: #60a5fa;
}

.bajhi-action-btn.bajhi-spin-btn {
    border-color: rgba(27, 97, 231, 0.3);
    color: var(--bajhi-spin-color);
}

.bajhi-action-btn.bajhi-spin-btn i {
    color: var(--bajhi-spin-color);
}

.bajhi-action-btn.bajhi-spin-btn:hover {
    background-color: rgba(27, 97, 231, 0.1);
    border-color: var(--bajhi-spin-color);
}

.bajhi-action-btn.is-login {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
    padding-left: 20px;
    padding-right: 20px;
}

.bajhi-stats-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    width: 100%;
    padding-bottom: 10px;
    scrollbar-width: none;
    align-items: stretch;
}

.bajhi-stats-grid::-webkit-scrollbar {
    display: none;
}

.bajhi-stat-card {
    background-color: var(--bajhi-card-bg);
    border: 1px solid var(--bajhi-border-color);
    border-radius: 8px;
    padding: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    color: var(--bajhi-text-primary);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
    min-height: 100px;
}

.bajhi-stat-card:hover {
    background-color: var(--bajhi-hover-bg);
    border-color: #666;
}

.bajhi-stat-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.bajhi-stat-card .stat-icon {
    font-size: 16px;
    padding: 6px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.bajhi-maker-stat .stat-icon {
    color: var(--bajhi-accent-blue);
}

.bajhi-affiliate-stat .stat-icon {
    color: var(--bajhi-accent-green);
}

.bajhi-customer-stat .stat-icon {
    color: var(--bajhi-accent-purple);
}

.bajhi-stat-card .stat-value {
    font-size: 20px;
    font-weight: 500;
    color: var(--bajhi-text-primary);
    line-height: 1;
}

.bajhi-stat-card .stat-label {
    font-size: 11px;
    color: #9AA0A6;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-left: 2px;
}

@media screen and (min-width:769px) {
    .bajhi-stat-card .stat-value {
        font-size: 22px !important;
    }

    .bajhi-stat-card .stat-label {
        font-size: 11px !important;
    }

    .bajhi-stat-card {
        padding: 14px !important;
    }

    .bajhi-section-header {
        justify-content: center !important;
    }

    .bajhi-tabs-scroll {
        justify-content: center !important;
    }
}

#wp-admin-bar-my-sites.bajhi-force-hover>.ab-sub-wrapper {
    display: block !important;
}

.bajhi-lottery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2147483647;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    padding: 20px;
    contain: strict;
    content-visibility: auto;
}

.bajhi-lottery-content {
    background: #1E1F20;
    padding: 40px 30px;
    border-radius: 16px;
    border: 2px solid var(--bajhi-spin-color);
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.bajhi-close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
}

.bajhi-close-modal:hover {
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.bajhi-hero-products-column .bajhi-hero-product {
    height: 100%;
}

.bajhi-hero-products-column .wdm-card-v5 {
    height: 100% !important;
}

.bajhi-wheel-container {
    margin: 20px auto;
    width: 200px;
    height: 200px;
    position: relative;
}

.bajhi-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#1B61E7 0deg 60deg, #4285F4 60deg 120deg, #8AB4F8 120deg 180deg, #174EA6 180deg 240deg, #D2E3FC 240deg 300deg, #1B61E7 300deg 360deg);
    transition: transform 3s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    box-shadow: 0 0 20px rgba(27, 97, 231, 0.4);
}

.bajhi-wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #fff;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.bajhi-spin-trigger {
    background: var(--bajhi-spin-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: transform 0.1s, opacity 0.2s;
}

.bajhi-spin-trigger:active {
    transform: scale(0.98);
}

opacity:0.5;
cursor:not-allowed;
}

.bajhi-lottery-result {
    margin-top: 20px;
    min-height: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bajhi-profile-card {
    flex: 0 0 350px;
    width: 350px;
    min-width: 300px;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 5px;
    background-color: var(--theme-purple-rgba-light);
    border: 1px solid var(--theme-purple-rgba);
    border-radius: 12px;
}

.bajhi-coupon-box {
    background: rgba(27, 97, 231, 0.15);
    border: 1px dashed var(--bajhi-spin-color);
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
    font-family: monospace;
    font-size: 18px;
}

.bajhi-copy-icon {
    cursor: pointer;
    color: var(--bajhi-spin-color);
    font-size: 16px;
    transition: opacity 0.2s;
}

.bajhi-copy-icon:hover {
    opacity: 0.8;
}

@media (max-width:1400px) {
    .bajhi-stats-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width:1024px) {
    .bajhi-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .bajhi-welcome-section h1 {
        font-size: 20px;
    }

    .bajhi-action-btn {
        padding: 12px 10px;
        gap: 6px;
        font-size: 13px;
    }
}

@media (max-width:768px) {
    .bajhi-welcome-section {
        gap: 16px;
    }

    .bajhi-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bajhi-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100%;
    }

    .bajhi-action-btn:where(:not(.is-job)) {
        flex: 1 1 45%;
        padding: 12px;
        font-size: 13px;
        justify-content: center;
    }

    .bajhi-action-btn.is-job {
        flex: 1 1 100%;
        width: 100%;
    }

    .bajhi-icon-group {
        flex: 1 1 45%;
        display: flex;
        gap: 8px;
        justify-content: flex-end;
    }

    .bajhi-icon-group .bajhi-action-btn {
        padding: 0 12px;
        min-width: 0;
    }

    .bajhi-lottery-content {
        width: 90%;
        padding: 30px 20px;
    }

    .bajhi-wheel-container {
        width: 160px;
        height: 160px;
    }
     // --- 5. INITIAL RENDER (Staggered for Async Feed) ---
    [100, 1000, 3000].forEach(delay => {
        setTimeout(() => {
            window.renderBajhiCommunityIframes(document);
            window.bajhiDetectShowMore(document);
        }, delay);
    });
});

.bajhi-msg-counter span,
.better-messages-unread-count {
    background-color: #EF5350 !important;
    color: white !important;
    padding: 0 4px;
    text-align: center;
    border-radius: 99px;
    font-size: 11px;
    line-height: 18px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bajhi-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 25px;
    align-items: stretch;
}

.bajhi-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(21, 25, 28, 0.85); /* #15191c */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 28px; /* Reduced padding */
    box-shadow: 0 0 0 1px rgba(139, 92, 246, .06), 0 16px 48px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
    position: relative;
    overflow: hidden; /* Clip the sparkle */
    height: 100%;
    box-sizing: border-box;
    gap: 12px;
}

.bajhi-hero-text::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(139, 92, 246, .14) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 80% 90%, rgba(6, 182, 212, .10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.bajhi-hero-text>* {
    position: relative;
    z-index: 1;
}

.bajhi-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 13px;
    color: #c4b5fd;
    font-weight: 600;
    margin-bottom: 12px;
}

.bajhi-hero-badge i {
    font-size: 11px;
    color: #a78bfa;
}

.bajhi-hero-fixed-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -1px;
    margin: 0;
    position: relative;
    display: inline-block;
}

.bajhi-hero-fixed-title .bajhi-trade {
    font-size: 13px;
    font-weight: 700;
    color: #a78bfa;
    vertical-align: super;
    line-height: 0;
    margin-left: 2px;
    letter-spacing: 0;
}

.bajhi-hero-fixed-title span {
    background: linear-gradient(90deg, #a78bfa, #38bdf8, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bajhi-hero-rotator {
    width: 100%;
    height: 75px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.bajhi-rot-line {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    line-height: 1.2;
    opacity: 0;
    filter: blur(6px);
    pointer-events: none;
    text-align: center;
}

.bajhi-rot-line>span.rot-inner {
    display: block;
    text-align: center;
    line-height: 1.2;
}

.bajhi-rot-line>span.rot-inner .rot-hi {
    display: block;
    font-weight: 800;
    font-size: 32px;
    background: linear-gradient(90deg, #a78bfa, #38bdf8, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 8px;
}

.bajhi-rot-line>span.rot-inner .rot-sub {
    display: block;
    font-weight: 600;
    font-size: 30px;
    background: linear-gradient(90deg, #93c5fd, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bajhi-rot-line-a {
    animation: bajhi-rot 12s ease-in-out infinite 0s;
}

.bajhi-rot-line-b {
    animation: bajhi-rot 12s ease-in-out infinite -8s;
}

.bajhi-rot-line-c {
    animation: bajhi-rot 12s ease-in-out infinite -4s;
}

@keyframes bajhi-rot {
    0% {
        opacity: 1;
        filter: blur(0px);
    }

    25% {
        opacity: 1;
        filter: blur(0px);
    }

    33.33% {
        opacity: 0;
        filter: blur(4px);
    }

    91.66% {
        opacity: 0;
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

.bajhi-hero-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #0891b2);
    border-radius: 2px;
    opacity: .6;
}

.bajhi-launch-agent-btn {
    display: none !important;
}

.bajhi-hero-cta-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, .35);
    font-weight: 400;
}

.bajhi-hero-product {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bajhi-hero-product .wdm-card-v5 {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bajhi-hero-product .wdm-card-v5 img,
.bajhi-hero-product .product-grid-item img {
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    object-fit: cover !important;
    object-position: top !important;
}

@media (max-width:1024px) {
    .bajhi-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 12px;
    }

    .bajhi-welcome-section {
        margin-bottom: 12px;
    }

    .bajhi-hero-product {
        display: none;
    }

    .bajhi-hero-headline {
        font-size: 28px;
    }

    .bajhi-hero-headline span {
        font-size: 32px;
    }

    .bajhi-hero-steps {
        gap: 8px;
    }

    .bajhi-step-card {
        padding: 12px 6px;
        border-radius: 8px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    html.bajhi-chat-open,
    body.bajhi-chat-open {
        overflow: hidden !important;
        height: 100% !important;
        height: 100dvh !important;
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
        overscroll-behavior: none !important;
    }

    .bajhi-step-num {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .bajhi-step-card span {
        font-size: 11px;
    }

    .bajhi-hero-text {
        padding: 20px 14px;
        gap: 8px;
        overflow: hidden;
    }

    .bajhi-hero-fixed-title {
        font-size: 30px;
        letter-spacing: -.5px;
    }

    .bajhi-hero-rotator {
        height: 55px;
    }

    .bajhi-rot-line>span.rot-inner .rot-hi,
    .bajhi-rot-line>span.rot-inner .rot-sub {
        font-size: 22px;
    }

    .bajhi-hero-badge {
        font-size: 13px;
        padding: 4px 10px;
    }
}

.bajhi-tooltip-wrapper {
    position: relative;
    display: inline-flex;
}

.bajhi-tooltip-wrapper:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 5px;
    pointer-events: none;
    z-index: 100;
}

.bajhi-welcome-section.is-logged-in {
    gap: 20px !important;
}

.bajhi-welcome-section.is-guest {
    margin-bottom: 30px !important;
}

.bajhi-dashboard-wrapper.bajhi-loggedin-wrapper {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

.bajhi-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 50;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: none;
    border-bottom: none;
}

.bajhi-section-header::-webkit-scrollbar,
.bajhi-subcats-scroller::-webkit-scrollbar {
    display: none;
}

.bajhi-tabs-scroll {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    flex: 0 1 auto;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bajhi-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.bajhi-tab-sub {
    display: none !important;
}

.bajhi-tab-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    white-space: nowrap;
    min-width: unset;
    flex-shrink: 0;
    margin-bottom: 0;
    text-transform: none !important;
    letter-spacing: 0;
}

.bajhi-tab-btn:hover {
    color: rgba(255, 255, 255, 1);
    background: transparent;
}

.bajhi-tab-btn.active {
    color: #ffffff !important;
    font-weight: 600;
    background: #15191c !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bajhi-tab-btn i {
    font-size: 16px;
    width: auto;
    text-align: center;
    opacity: .7;
    color: inherit;
}

.bajhi-tab-btn.active i {
    opacity: 1;
}

.bajhi-tab-btn[data-cat="feed"] .bajhi-tab-title {
    display: none;
}

.bajhi-tab-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.bajhi-tab-title {
    font-size: 15px;
    font-weight: 500;
    display: block;
    text-transform: none;
    letter-spacing: 0;
}

.bajhi-tab-btn.icon-only {
    padding: 8px 10px;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: unset;
    border-bottom: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, .5);
}

.bajhi-tab-btn.icon-only:hover {
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .06);
}

.bajhi-tab-btn.icon-only i {
    font-size: 14px;
}

.bajhi-plus-wrapper {
    position: relative;
}

.bajhi-plus-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    width: 200px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
}

.bajhi-plus-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.bajhi-plus-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #ddd;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 13px;
}

.bajhi-plus-item:hover {
    background: #333;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.bajhi-hero-products-column .bajhi-hero-product {
    height: 100%;
}

.bajhi-hero-products-column .wdm-card-v5 {
    height: 100% !important;
}

.bajhi-plus-item i {
    width: 20px;
    text-align: center;
    color: #888;
}

.bajhi-tabs-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 100 !important;
}

.bajhi-actions-icons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
}

.bajhi-search-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 16px;
    border-radius: 30px;
    width: 260px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bajhi-search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
    width: 360px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.bajhi-search-input::placeholder {
    color: #888;
}

.bajhi-search-loader {
    color: #888;
    font-size: 14px;
    display: none;
    position: absolute;
    right: 12px;
    height: 14px;
    line-height: 14px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    pointer-events: none;
}

.bajhi-search-inner {
    position: relative;
    display: flex;
    align-items: center;
}

.bajhi-search-input {
    padding-right: 35px;
}

@media (max-width:600px) {
    .bajhi-search-wrapper {
        padding-right: 30px !important;
    }

    .bajhi-search-loader {
        right: 10px;
    }

    .bajhi-search-input {
        width: 120px;
    }

    .bajhi-search-input:focus {
        width: 140px;
    }
}

.bajhi-subcats-scroller {
    justify-content: center;
}

.bajhi-subcat-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bajhi-text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.bajhi-subcat-btn:hover,
.bajhi-subcat-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.bajhi-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px;
    min-height: 200px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
}

.is-timeline .bajhi-products-grid {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.fcom-timeline-post {
    background: #2b2e33 !important;
    border: 0.75px solid #42464d !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    color: #e4e4e7 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left !important;
}

.fcom-post-content .fcom-shared-prompt,
.fcom-post-content .fcom-shared-response {
    background: transparent !important;
    border-color: #42464d !important;
    color: #d1d1d5 !important;
}

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

.fcom-post-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.fcom-post-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.fcom-post-author {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fcom-post-time {
    font-size: 11px;
    color: #a5a9ad;
}

.fcom-post-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.bajhi-hero-products-column .bajhi-hero-product {
    height: 100%;
}

.bajhi-hero-products-column .wdm-card-v5 {
    height: 100% !important;
}

.fcom-post-text {
    font-size: 17px;
    line-height: 1.6;
    color: #ECECF1;
    margin-bottom: 12px;
    white-space: normal;
    word-break: break-word;
    position: relative;
    max-height: 250px;
    overflow: hidden;
    letter-spacing: 0.1px;
}

.fcom-post-text p {
    margin: 0 0 12px 0;
}

.fcom-post-text p:last-child {
    margin-bottom: 0;
}

.fcom-post-text br {
    display: block;
    content: "";
    margin-top: 8px;
}

.fcom-post-content {
    font-size: 14px;
    line-height: 1.5;
    color: #d1d1d5;
    margin-bottom: 12px;
}

.fcom-post-media {
    margin: 0 -20px 12px -20px;
    border-top: 1px solid #42464d;
    border-bottom: 1px solid #42464d;
    background: #1e1e1e;
}

.fcom-post-media img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
}

.fcom-post-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 8px;
    border-top: 1px solid #42464d;
}

.fcom-post-action {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a5a9ad;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.fcom-post-action:hover {
    color: #64B5F6;
}

.fcom-post-action i {
    font-size: 16px;
}

.fcom-timeline-post * {
    color: inherit;
}

.fcom-post-title {
    color: #ffffff !important;
}

.fcom-post-content,
.fcom-post-content p,
.fcom-post-content span,
.fcom-post-content div {
    color: #d1d1d5 !important;
}

.fcom-post-content a {
    color: #64B5F6 !important;
}

.bajhi-products-grid.is-timeline {
    grid-template-columns: 1fr !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
}

.bajhi-products-grid.is-timeline .product-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.bajhi-products-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Product CTA Buttons - Theme Matching */
.bajhi-products-grid .product-wrapper .woodmart-add-btn > a,
.bajhi-products-grid .product-wrapper .add_to_cart_button,
.bajhi-products-grid .product-wrapper .btn-add {
    background-color: var(--bajhi-button-bg) !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease !important;
}

.bajhi-products-grid .product-wrapper .woodmart-add-btn > a:hover,
.bajhi-products-grid .product-wrapper .add_to_cart_button:hover {
    background-color: #1d2126 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
}

.bajhi-load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.bajhi-load-more-btn {
    background: transparent;
    color: var(--bajhi-text-secondary);
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

#bajhi-load-more-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.bajhi-load-more-btn:hover {
    color: var(--bajhi-text-primary);
}

.bajhi-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.bajhi-bottom-search {
    display: none;
}

@media (max-width:1200px) {
    .bajhi-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.bajhi-section-header {
    margin-top: 6px;
    border-radius: 0;
    padding: 0;
    border: none;
    border-bottom: none;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    scrollbar-width: none;
}

.bajhi-section-header.is-logged-in,
.bajhi-section-header.is-guest {
    padding-top: 10px !important;
    padding-bottom: 5px !important;
    margin-bottom: 10px !important;
}

.bajhi-section-header::-webkit-scrollbar {
    display: none;
}



.bajhi-tab-btn[data-cat="wishlist"] .bajhi-tab-title,
.bajhi-tab-btn[data-cat="recently_viewed"] .bajhi-tab-title {
    display: none;
}

@media (max-width:768px) {

    .bajhi-section-header.is-guest .bajhi-tab-btn[data-cat="wishlist"],
    .bajhi-section-header.is-guest .bajhi-tab-btn[data-cat="recently_viewed"] {
        display: none !important;
    }
}

.products.wd-products-grid,
ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce .woocommerce-page,
.site-content .content-area,
.bajhi-dashboard-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wdm-card-v5 {
    background: rgba(10, 12, 22, .9) !important;
    border: 1px solid rgba(139, 92, 246, .2) !important;
    box-shadow: 0 0 0 1px rgba(139, 92, 246, .06), 0 16px 48px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
    position: relative;
    overflow: hidden !important;
}

.wdm-card-v5::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 10%, rgba(139, 92, 246, .14) 0%, transparent 60%), radial-gradient(ellipse 60% 50% at 80% 90%, rgba(6, 182, 212, .10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.wdm-card-v5>* {
    position: relative;
    z-index: 1;
}

.wdm-card-v5.agents-card,
.wdm-card-v5.services-card,
.wdm-card-v5.jobs-card,
.wdm-card-v5.websites-card {
    background: transparent !important;
}

.woocommerce-loop-product {
    margin: 0 !important;
    padding: 0 !important;
}

.bajhi-stats-container {
    margin-bottom: 10px !important;
}

.bajhi-subcats-scroller {
    justify-content: flex-start !important;
}

.bajhi-tabs-scroll {
    justify-content: flex-start;
}

.bajhi-tabs-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.bajhi-actions-icons {
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 12px;
    padding-bottom: 5px;
    scrollbar-width: none;
    justify-content: flex-start;
}

.bajhi-actions-icons::-webkit-scrollbar {
    display: none;
}

.bajhi-search-wrapper {
    width: 100%;
    order: -1;
    margin-left: 0;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    padding: 0 5px;
    box-sizing: border-box;
}

.bajhi-search-inner {
    width: 100%;
}

.bajhi-search-input {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.bajhi-search-input:focus {
    width: 100% !important;
}

.bajhi-stats-container {
    padding: 0 5px 5px 5px;
    margin-bottom: 5px;
    margin-top: 0 !important;
}

.bajhi-stats-container .bajhi-stat-card {
    min-height: 44px;
    height: auto;
    padding: 6px 10px;
    border-radius: 8px;
    justify-content: center;
}

.bajhi-stats-container .bajhi-stat-top-row {
    margin-bottom: 2px;
    gap: 6px;
}

.bajhi-stats-container .bajhi-stat-card .stat-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
    padding: 3px;
    border-radius: 4px;
}

.bajhi-stats-container .bajhi-stat-card .stat-value {
    font-size: 14px;
}

.bajhi-stats-container .bajhi-stat-card .stat-label {
    font-size: 10px;
    line-height: 1;
}

.bajhi-dashboard-wrapper.bajhi-loggedin-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.bajhi-welcome-section.is-logged-in {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.bajhi-welcome-section h1 {
    font-size: 18px !important;
}

.bajhi-welcome-section.is-guest {
    margin-top: -10px !important;
    margin-bottom: 15px !important;
}

.bajhi-hero-grid {
    margin-bottom: 5px !important;
}
}

.bajhi-search-select {
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    flex-shrink: 0;
}

.bajhi-search-select select {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 25px 0 10px;
    height: 48px;
    outline: none;
    appearance: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    max-width: 130px;
    width: auto;
    color-scheme: dark;
}

.bajhi-search-select i {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    pointer-events: none;
    color: #999;
}

.bajhi-search-inner {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.bajhi-search-input {
    flex: 1;
    padding-left: 15px !important;
    width: auto !important;
    min-width: 0;
}

.bajhi-profile-card {
    flex: 0 0 350px;
    width: 350px;
    min-width: 300px;
    height: 70px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.bajhi-profile-card:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.bajhi-profile-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: #333;
    flex-shrink: 0;
}

.bajhi-profile-icon-fallback {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 24px;
    color: #888;
    flex-shrink: 0;
}

.bajhi-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bajhi-profile-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.2;
}

.bajhi-profile-meta {
    font-size: 13px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.bajhi-profile-arrow {
    color: #666;
    font-size: 16px;
    margin-left: 10px;
    flex-shrink: 0;
}

@media screen and (max-width:768px) {
    .bajhi-dashboard-wrapper {
        padding-top: 0 !important;
    }

    .bajhi-welcome-section {
        margin-bottom: 0 !important;
        display: none !important;
    }

    .bajhi-welcome-section.is-logged-in {
        display: none !important;
    }

    .bajhi-profile-card {
        flex: 0 0 82vw !important;
        width: 82vw !important;
        min-width: 82vw !important;
    }
}

@media (max-width:768px) {
    .bajhi-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width:600px) {
    .bajhi-products-grid {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
}

.color-scheme-dark .bajhi-tab-btn,
.woodmart-dark .bajhi-tab-btn,
body[data-color-scheme="dark"] .bajhi-tab-btn {
    color: #e9edf6 !important;
    background: transparent !important;
}

.color-scheme-dark .bajhi-tab-btn:hover,
.woodmart-dark .bajhi-tab-btn:hover,
body[data-color-scheme="dark"] .bajhi-tab-btn:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.color-scheme-dark .bajhi-tab-btn.active,
.woodmart-dark .bajhi-tab-btn.active,
body[data-color-scheme="dark"] .bajhi-tab-btn.active {
    color: #1B61E7 !important;
    border-bottom: 2px solid #1B61E7 !important;
}

.color-scheme-dark .bajhi-tabs-scroll,
.woodmart-dark .bajhi-tabs-scroll,
body[data-color-scheme="dark"] .bajhi-tabs-scroll {
    border-bottom: none !important;
}

/* Sitewide Minimum Height (Prevent footer showing on empty screens) */
.main-page-wrapper,
.site-content,
#main,
#content {
    min-height: 60vh !important;
}

/* Home Products Grid - Reset to transparent */
.bajhi-products-grid {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
}

.bajhi-products-grid::before {
    display: none;
}

.bajhi-products-grid>* {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .bajhi-products-grid {
        padding: 5px;
        border-radius: 12px;
    }
}

/* Ensure the split layout is not constrained by a fixed grid */
.bajhi-products-grid.bajhi-feed-split-active {
    display: block !important;
    width: 100% !important;
}

/* Base grid style for standard tabs & fallback - 4 columns on desktop */
.bajhi-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* Explicit override only for specific linear timelines */
.bajhi-products-grid.is-linear-timeline {
    grid-template-columns: 1fr !important;
    max-width: 700px;
    margin: 0 auto;
}
/* --- Split Feed & Authentic Community Card --- */
.bajhi-feed-split {
    display: flex;
    gap: 20px;
    height: auto;
    margin-top: 10px;
    align-items: stretch;
    width: 100% !important;
}

.bajhi-feed-posts {
    flex: 1; /* Guaranteed equal width */
    min-width: 0;
}

.bajhi-feed-products {
    flex: 1; /* Guaranteed equal width */
    min-width: 0;
}

.bajhi-feed-col {
    display: flex;
    flex-direction: column;
    overflow-y: visible;
    background: transparent;
    border: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.bajhi-col-header {
    display: none; /* Removed per user request */
}

.bajhi-col-header i {
    color: #a78bfa;
}

.bajhi-feed-col .bajhi-col-content,
.bajhi-feed-col .bajhi-col-content-grid,
.bajhi-home-dashboard {
    flex: 1;
    overflow-y: visible;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.05) transparent;
}

/* Blended Scrollbars Global */
.bajhi-home-dashboard::-webkit-scrollbar,
.bajhi-col-content::-webkit-scrollbar,
.bajhi-col-content-grid::-webkit-scrollbar {
    width: 4px;
}

.bajhi-home-dashboard::-webkit-scrollbar-track,
.bajhi-col-content::-webkit-scrollbar-track,
.bajhi-col-content-grid::-webkit-scrollbar-track {
    background: transparent;
}

.bajhi-home-dashboard::-webkit-scrollbar-thumb,
.bajhi-col-content::-webkit-scrollbar-thumb,
.bajhi-col-content-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.bajhi-home-dashboard::-webkit-scrollbar-thumb:hover,
.bajhi-col-content::-webkit-scrollbar-thumb:hover,
.bajhi-col-content-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bajhi-col-content {
    flex: 1;
}

.bajhi-col-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-bottom: 50px; /* Space for Load More */
}

/* Ensure product cards don't get squeezed */
/* Ensure product cards don't get squeezed */
.bajhi-col-content-grid .product-wrapper {
    width: 100% !important;
    height: auto !important;
    min-height: 300px;
}

.bajhi-feed-posts .fcom-post-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.bajhi-feed-posts .fcom-post-title a:hover {
    color: #a78bfa;
}

/* Force hide file list as requested */
.bajhi-file-list {
    display: none !important;
}



/* --- High-Fidelity X-Style Social Feed --- */
.fcom-post-card {
    background: var(--bajhi-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 16px;
    transition: background 0.2s ease;
    overflow: hidden;
}

.fcom-post-header {
    padding: 12px 16px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcom-post-author {
    display: flex;
    gap: 12px;
    align-items: center;
}

.fcom-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    transition: filter 0.2s;
    flex-shrink: 0;
}

.fcom-author-avatar:hover {
    filter: brightness(0.9);
}

.fcom-author-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fcom-author-name-row {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.fcom-author-name {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}

.fcom-author-name:hover {
    text-decoration: underline;
}

.fcom-author-badge {
    color: #1d9bf0;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.fcom-author-handle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.fcom-post-content {
    padding: 0 16px 8px 16px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.bajhi-direct-previews-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: visible !important;
}

.fcom-post-content p {
    margin: 0 0 8px 0;
}

.fcom-post-content p:last-child {
    margin-bottom: 0;
}

/* Forced Full Display (No Truncation) */
.fcom-post-content.is-collapsed {
    display: block;
    -webkit-line-clamp: none;
    overflow: visible;
}

/* Post Text Truncation */
.fcom-post-text {
    position: relative;
    max-height: none;
    transition: max-height 0.4s ease;
}

.fcom-post-text.is-truncated {
    max-height: 200px;
    overflow: hidden;
}

.fcom-post-text.is-truncated::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, var(--bajhi-card-bg) 0%, transparent 100%);
    pointer-events: none;
}

.fcom-show-more-btn {
    display: block;
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    height: 30px !important;
    min-height: 0 !important;
    margin: -10px 0;
    cursor: pointer;
    position: relative;
    z-index: 10;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 14px !important;
    text-align: center;
}

.fcom-show-more-btn::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: color 0.2s;
    display: block !important;
}

.fcom-show-more-btn:hover::after {
    color: #fff;
}

/* Post Media Gallery */
.fcom-post-media-gallery {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fcom-post-media-gallery.gallery-count-1 { grid-template-columns: 1fr; }
.fcom-post-media-gallery.gallery-count-2 { grid-template-columns: 1fr 1fr; }
.fcom-post-media-gallery.gallery-count-3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.fcom-post-media-gallery.gallery-count-3 .fcom-media-item:first-child { grid-row: span 2; }
.fcom-post-media-gallery.gallery-count-4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }

.fcom-media-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.fcom-media-item img, 
.fcom-media-item video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

/* Post Metadata Row */
.fcom-post-metadata {
    padding: 0 16px 12px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcom-meta-views strong {
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.bajhi-hero-products-column .bajhi-hero-product {
    height: 100%;
}

.bajhi-hero-products-column .wdm-card-v5 {
    height: 100% !important;
}

/* Post Actions (Action Bar) */
.fcom-post-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcom-post-actions {
    display: flex;
    gap: 16px;
    position: relative;
}

.fcom-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 13px !important;
    padding: 8px !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 50%;
}

.fcom-action-btn i {
    font-size: 18px;
}

/* Specific Action Colors */
.fcom-action-btn[title="Reply"]:hover {
    color: #1d9bf0 !important;
    background: rgba(29, 155, 240, 0.1) !important;
}

.fcom-action-btn.fcom-reshare-btn:hover {
    color: #00ba7c !important;
    background: rgba(0, 186, 124, 0.1) !important;
}

.fcom-action-btn.fcom-like-btn:hover {
    color: #f91880 !important;
    background: rgba(249, 24, 128, 0.1) !important;
}

.fcom-action-btn.fcom-like-btn.is-liked {
    color: #f91880 !important;
}

/* AI Response Demarcation */
.bajhi-ai-response-container {
    margin-top: 15px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.03);
    border: 1px dashed rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.bajhi-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.bajhi-ai-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
}

.fcom-post-user-context {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.5;
}

.fcom-action-btn[title="Bookmark"]:hover,
.fcom-action-btn[title="Share"]:hover {
    color: #1d9bf0 !important;
    background: rgba(29, 155, 240, 0.1) !important;
}

/* engagement stats gone, numbers are in icons now */

/* Read Replies Bar */
.fcom-read-replies-bar {
    padding: 0 16px 12px 16px;
    color: #1d9bf0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.fcom-read-replies-bar:hover {
    color: #1a8cd8;
}

.fcom-read-replies-bar i {
    margin-right: 8px;
}

/* Quoted Post (Reshare) Box */
.reshare-quote-box {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    transition: background 0.2s;
}

.reshare-quote-box:hover {
    background: rgba(255, 255, 255, 0.02);
}

.reshare-quote-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.reshare-quote-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.reshare-quote-author {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.bajhi-hero-products-column .bajhi-hero-product {
    height: 100%;
}

.bajhi-hero-products-column .wdm-card-v5 {
    height: 100% !important;
}

.reshare-quote-content {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
}

/* Quick Comment Area (Reply box) */
.fcom-quick-comment {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fcom-comment-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    resize: none;
    min-height: 90px;
    padding: 12px 0;
    outline: none;
}

.fcom-comment-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fcom-comment-submit {
    background: #1d9bf0 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: filter 0.2s;
}

.fcom-comment-submit:hover {
    filter: brightness(0.9);
}

/* Comment History List Item */
.fcom-comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fcom-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.fcom-comment-content-bubble {
    flex: 1;
}

.fcom-comment-author-meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fcom-comment-author-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.fcom-comment-author-name:hover {
    text-decoration: underline;
}

.fcom-comment-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.fcom-comment-msg {
    font-size: 15px;
    color: #fff;
    margin-top: 2px;
    line-height: 1.5;
}

.fcom-comment-msg p {
    margin: 0;
}

.fcom-comments-loading {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.fcom-no-comments {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.fcom-action-btn i {
    font-weight: 400;
}

.fcom-view-post {
    color: #71767b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.fcom-view-post:hover {
    color: #1d9bf0;
}

/* Header Action Fixes (Scaling/Alignment) */
.fcom-post-header-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fcom-bookmark-btn, 
.fcom-dots-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    border-radius: 50% !important;
    transition: background 0.2s, color 0.2s;
    line-height: 1 !important;
    box-shadow: none !important;
}

.fcom-bookmark-btn:hover,
.fcom-dots-btn:hover {
    background: rgba(29, 155, 240, 0.1) !important;
    color: #1d9bf0 !important;
}

.fcom-bookmark-btn.is-active,
.is-followed {
    background: #fff !important;
    color: #000 !important;
    padding: 4px !important;
    border-radius: 4px !important;
}

/* Dropdown Menu Styles */
.fcom-dropdown-wrap {
    position: relative;
}

.fcom-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #15191c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    min-width: 150px;
    z-index: 100;
    display: none;
    margin-top: 8px;
}

.fcom-dropdown-menu.is-visible {
    display: block;
}

.fcom-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.fcom-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Custom Modal System (Reshare etc) */
.fcom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(91, 112, 131, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.fcom-modal-content {
    background: #15191c;
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fcom-modal-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fcom-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}



.bajhi-hero-products-column .bajhi-hero-product {
    height: 100%;
}

.bajhi-hero-products-column .wdm-card-v5 {
    height: 100% !important;
}

.fcom-modal-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.fcom-modal-body {
    padding: 16px;
}

.fcom-modal-body textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    resize: none;
    min-height: 120px;
    outline: none;
}

.fcom-modal-footer {
    padding: 12px 16px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fcom-btn-primary {
    background: #1d9bf0;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: filter 0.2s;
}

.fcom-btn-primary:hover {
    filter: brightness(0.9);
}

.fcom-reshare-preview-target {
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    pointer-events: none;
    opacity: 0.8;
}

.bajhi-direct-previews-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 5px;
    overflow: visible !important;
    position: relative;
    z-index: 10;
}

.bajhi-community-preview-block {
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: visible !important;
    background: #1e1e1e;
    margin-bottom: 15px;
    width: 100%;
    min-height: 480px;
    position: relative;
    z-index: 11;
    animation: bajhi-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bajhi-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.bajhi-preview-iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
    background: transparent;
    position: relative;
    z-index: 1;
}

/* Removed Grid Breakout Override per user request */

/* Mobile Adjustments (interleaved single column) */
@media (max-width: 768px) {
    .bajhi-preview-pane {
        padding: 0 !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        width: calc(100% + 30px) !important;
    }
    
    .bajhi-feed-split {
        display: block !important;
        height: auto;
    }
    
    .bajhi-feed-col {
        height: auto;
        background: transparent;
        border: none;
    }
    
    .bajhi-col-header {
        display: none;
    }
    
    .bajhi-feed-col .bajhi-col-content,
    .bajhi-feed-col .bajhi-col-content-grid {
        overflow: visible;
        padding: 10px 0;
    }
    
    .bajhi-col-content-grid {
        grid-template-columns: 1fr;
    }

    .bajhi-feed-products {
        display: none; /* In mobile, we might want to interleave them or show products below */
    }
}

.bajhi-preview-iframe {
    height: 700px;
}

@media (max-width: 768px) {
    .bajhi-preview-iframe {
        height: 90vh;
    }
}

/* Code View Toggle Styling */
.fcom-code-toggle-wrap {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}
.fcom-code-toggle-wrap:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}
.fcom-code-toggle-wrap input[type="checkbox"] {
    accent-color: #64B5F6;
}

/* Modal UI Polish */
#fcom-edit-modal .fcom-modal-content {
    background: #1B1B1F !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#fcom-edit-text {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

#fcom-edit-text::-webkit-scrollbar {
    width: 6px;
}

#fcom-edit-text::-webkit-scrollbar-track {
    background: transparent;
}

#fcom-edit-text::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

#fcom-edit-text::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

#fcom-edit-submit {
    background: #1d9bf0 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    border-radius: 99px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(29, 155, 240, 0.2);
}

#fcom-edit-submit:hover {
    background: #1a8cd8 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(29, 155, 240, 0.3);
}

#fcom-edit-submit:active {
    transform: translateY(0);
}

/* Reshare Interaction Polish */
.reshare-quote-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    margin-top: 10px;
}

.reshare-quote-box {
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.reshare-quote-link:hover .reshare-quote-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Post Design Fix - Preventing External Flex overrides */
@media (max-width: 768px) {
    .bajhi-products-grid > .fcom-post-card {
        display: block !important;
        width: 100% !important;
        margin-bottom: 16px !important;
        flex: none !important;
    }
}

/* OpenGraph Social Link Preview Card */
.bajhi-og-preview-card {
    display: flex;
    flex-direction: column;
    margin-top: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(30, 30, 35, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bajhi-og-preview-card:hover {
    background: rgba(40, 40, 45, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.bajhi-og-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bajhi-og-content {
    padding: 15px;
}

.bajhi-og-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bajhi-og-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bajhi-og-domain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.bajhi-og-domain i {
    font-size: 10px;
    color: #3b82f6;
}

/* App Launch Card Styling */
.fcom-app-launch-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    min-height: 160px;
    justify-content: center;
    animation: fcomFadeIn 0.4s ease;
}

.fcom-app-launch-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.fcom-app-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1d9bf0 0%, #0088cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(29, 155, 240, 0.3);
}

.fcom-app-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    word-break: break-all;
}

.fcom-app-domain {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -4px;
}

.fcom-launch-btn {
    background: #1d9bf0;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.fcom-launch-btn:hover {
    background: #1a8cd8;
    transform: scale(1.05);
}

.fcom-launch-btn i {
    font-size: 12px;
}

.fcom-preview-iframe {
    width: 100%;
    border: none;
    background: #000;
}
.bajhi-community-preview-block {
    animation: fcomFadeIn 0.3s ease;
}
@keyframes fcomFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.bajhi-hero-products-column { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; height: 100%; } .bajhi-hero-products-column .bajhi-hero-product { height: 100%; } .bajhi-hero-products-column .wdm-card-v5 { height: 100% !important; }

/* Toast Notifications */
#bajhi-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.bajhi-toast-notification {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    color: #fff;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}
.bajhi-toast-notification.show {
    transform: translateX(0);
}
.bajhi-toast-icon {
    font-size: 18px;
}
.bajhi-toast-notification.success .bajhi-toast-icon {
    color: #4CAF50;
}
.bajhi-toast-notification.error .bajhi-toast-icon {
    color: #F44336;
}
.bajhi-toast-text {
    font-size: 14px;
    font-weight: 500;
}

/* --- Minimal Share Menu --- */
.fcom-share-menu {
    position: absolute;
    bottom: 50px;
    right: 0;
    width: 200px;
    background: #1a1d21;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 6px;
}

.fcom-share-menu.is-visible {
    display: flex;
    transform: translateY(0);
}

.fcom-share-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.fcom-share-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.fcom-share-item i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.fcom-share-item.whatsapp i { color: #25D366; }
.fcom-share-item.facebook i { color: #1877F2; }
.fcom-share-item.copy i { color: #64B5F6; }
.fcom-share-item.email i { color: #ea4335; }

/* Fixed Share Icon Appearance */
.fcom-share-btn svg {
    color: rgba(255,255,255,0.6);
}

.fcom-share-btn:hover svg {
    color: #fff;
}

/* Toast Success Message */
.bajhi-toast-notification.success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* Chat Button Glow */
.fcom-chat-btn:hover {
    color: #64B5F6 !important;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}
