/* ============================================================
   V3 Design System — Exact 1:1 Figma Match (Văn Chữ)
   Palette:
     - Background: #F0F4FA (Soft Warm Light Sky)
     - Surface: #FFFFFF
     - Primary Blue: #0066FF / #1768F5
     - Primary Orange (CTA): #FF5500 / #FF5E1E
     - Accent Gold/Coins: #FFB800 / #F59E0B
     - Success Green: #00B341 / #E6F8EE
     - Warning Orange: #FF9900 / #FFF5E6
     - Danger Red: #E02424 / #FDE8E8
     - Border: #E5ECF6 / #DCE4F0
     - Text Main: #111827
     - Text Muted: #6B7280
   ============================================================ */

:root {
    --v2-primary: #0064FA;
    --v2-primary-light: #3385FF;
    --v2-primary-lighter: #91BEFF;
    --v2-primary-dark: #0050C8;
    --v2-primary-rgb: 0, 100, 250;
    --v2-shadow-primary: 0 4px 10px rgba(0, 100, 250, 0.3);
}

.custom-zalo {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/9/91/Icon_of_Zalo.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.social-icon .custom-zalo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icon:hover .custom-zalo {
    filter: brightness(1.1);
}

/* ============================================================
   Toast & Alert System (Theme Sky Blue Match)
   ============================================================ */
.v3-toast-success,
.toast.text-bg-success,
.toast.bg-success {
    background: linear-gradient(135deg, #005CEF 0%, #1D4ED8 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 92, 239, 0.4), 0 8px 10px -6px rgba(0, 92, 239, 0.25) !important;
}

.v3-toast-danger,
.toast.text-bg-danger,
.toast.bg-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.4) !important;
}

.alert-success {
    background-color: #EFF6FF !important;
    border-color: #BFDBFE !important;
    color: #1D4ED8 !important;
}

:root {
    --vc-bg: #F0F4FA;
    --vc-surface: #FFFFFF;
    --vc-border: #E5ECF6;
    --vc-border-subtle: #EDF2F9;
    --vc-border-dark: #D1DCEB;

    --vc-blue: #0066FF;
    --vc-blue-dark: #0052CC;
    --vc-blue-light: #EBF3FF;
    --vc-blue-rgb: 0, 102, 255;

    --vc-orange: #FF7700;
    --vc-orange-dark: #E66A00;
    --vc-orange-light: #FFF4ED;
    --vc-orange-rgb: 255, 119, 0;

    --vc-gold: #FFB800;
    --vc-gold-light: #FFF8E6;
    --vc-coin-bg: #FFF4D9;
    --vc-coin-border: #FFE4A0;
    --vc-coin-text: #B45309;

    --vc-green: #00B341;
    --vc-green-light: #E6F8EE;

    --vc-red: #E02424;
    --vc-red-light: #FDE8E8;

    --vc-text: #111827;
    --vc-text-secondary: #4B5563;
    --vc-text-muted: #6B7280;
    --vc-text-light: #9CA3AF;

    --vc-radius-sm: 8px;
    --vc-radius: 14px;
    --vc-radius-lg: 20px;
    --vc-radius-pill: 9999px;

    --vc-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.03);
    --vc-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    --vc-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --vc-shadow-orange: 0 4px 14px rgba(255, 85, 0, 0.35);
    --vc-shadow-blue: 0 4px 14px rgba(0, 102, 255, 0.3);

    --vc-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--vc-font);
    background-color: var(--vc-bg);
    color: var(--vc-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--vc-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: var(--vc-blue-dark);
}

/* ============================================================
   Buttons (Figma 1:1)
   ============================================================ */
.btn-vc-orange {
    background: linear-gradient(135deg, #FF8A00 0%, #FF5E00 100%);
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: var(--vc-radius-pill);
    padding: 0.55rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 14px rgba(255, 110, 0, 0.35);
    transition: all 0.2s ease;
}
.btn-vc-orange:hover {
    background: linear-gradient(135deg, #FF9500 0%, #FF6800 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 110, 0, 0.45);
}

.btn-vc-blue {
    background-color: var(--vc-blue);
    border: 1.5px solid var(--vc-blue);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--vc-radius-pill);
    height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
    transition: all 0.2s ease;
}
.btn-vc-blue:hover {
    background-color: var(--vc-blue-dark);
    border-color: var(--vc-blue-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.btn-vc-outline-blue {
    background-color: #ffffff;
    border: 1.5px solid var(--vc-blue);
    color: var(--vc-blue) !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--vc-radius-pill);
    height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-vc-outline-blue:hover {
    background-color: var(--vc-blue-light);
    color: var(--vc-blue) !important;
    border-color: var(--vc-blue);
    transform: translateY(-1px);
}

.btn-vc-coin {
    background-color: var(--vc-coin-bg);
    border: 1px solid var(--vc-coin-border);
    color: var(--vc-coin-text) !important;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--vc-radius-pill);
    height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-vc-coin:hover {
    background-color: #FEF3C7;
    border-color: #F59E0B;
    color: #78350F !important;
    transform: translateY(-1px);
}
.btn-vc-coin:hover {
    background-color: #FEEBC2;
    border-color: #FBD38D;
    color: var(--vc-coin-text) !important;
}

/* ============================================================
   Cards (Figma 1:1)
   ============================================================ */
.vc-card {
    background-color: var(--vc-surface);
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    box-shadow: var(--vc-shadow-sm);
    transition: all 0.2s ease;
}
.vc-card-hover:hover {
    box-shadow: var(--vc-shadow-md);
    transform: translateY(-2px);
    border-color: var(--vc-border-dark);
}

/* ============================================================
   Header (Figma 1:1)
   ============================================================ */
.vc-header {
    background-color: var(--vc-surface);
    border-bottom: 1px solid var(--vc-border);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.vc-nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vc-text-secondary);
    padding: 0.5rem 0.2rem;
    position: relative;
    text-decoration: none;
}
.vc-nav-link.active {
    color: var(--vc-blue);
}
.vc-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--vc-orange);
    border-radius: 2px;
}

/* Category Mega Dropdown (V3 Theme) */
.vc-nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.vc-nav-dropdown:hover > .vc-mega-dropdown,
.vc-nav-dropdown.show > .vc-mega-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.vc-mega-dropdown {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 540px;
    background: #FFFFFF;
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    z-index: 1050;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    margin-top: 6px;
}
.vc-mega-dropdown::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.vc-mega-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 28px;
    width: 14px;
    height: 14px;
    background: #FFFFFF;
    border-top: 1px solid var(--vc-border);
    border-left: 1px solid var(--vc-border);
    transform: rotate(45deg);
}
.vc-cat-menu-item {
    display: block;
    padding: 0.35rem 0.65rem;
    color: var(--vc-text);
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.vc-cat-menu-item:hover {
    background-color: var(--vc-blue-light);
    color: var(--vc-blue);
    font-weight: 600;
    padding-left: 0.85rem;
}
.vc-cat-menu-item.active {
    background-color: var(--vc-blue-light);
    color: var(--vc-blue) !important;
    font-weight: 700 !important;
}
.vc-search-bar {
    background-color: #F2F5FA;
    border: 1px solid #E5ECF6;
    border-radius: var(--vc-radius-pill);
    padding: 0.4rem 1rem;
    width: 280px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.vc-search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.88rem;
    color: var(--vc-text);
}
.vc-search-bar input::placeholder {
    color: var(--vc-text-muted);
}

/* ============================================================
   Figma 1: Hero Carousel Banner
   ============================================================ */
.vc-hero-banner {
    background: linear-gradient(135deg, #E6F0FA 0%, #F5F9FD 100%);
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius-lg);
    overflow: hidden;
    position: relative;
    padding: 2.5rem;
    min-height: 360px;
}
.vc-hero-book-mockup {
    width: 170px;
    aspect-ratio: 2/3;
    border-radius: 8px 12px 12px 8px;
    box-shadow: -8px 12px 28px rgba(0, 0, 0, 0.22), inset -3px 0 6px rgba(0,0,0,0.1);
    transform: perspective(600px) rotateY(-8deg);
    object-fit: cover;
}
.vc-hero-side-card {
    height: 172px;
    border-radius: var(--vc-radius);
    overflow: hidden;
    position: relative;
    display: block;
    box-shadow: var(--vc-shadow-sm);
}
.vc-hero-side-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.vc-hero-side-card:hover img {
    transform: scale(1.05);
}
.vc-hero-side-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    color: #ffffff;
}

/* ============================================================
   Figma 1: Ranking Cards (Truyện & Tác Giả)
   ============================================================ */
.vc-rank-pill-tabs .btn {
    border-radius: var(--vc-radius-pill);
    padding: 0.25rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
}
.vc-rank-pill-tabs .btn.active {
    background-color: var(--vc-orange);
    color: #ffffff;
    border-color: var(--vc-orange);
}
.vc-badge-rank {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.vc-badge-rank-1 { background-color: #FFB800; color: #ffffff; box-shadow: 0 2px 6px rgba(255, 184, 0, 0.4); }
.vc-badge-rank-2 { background-color: #94A3B8; color: #ffffff; }
.vc-badge-rank-3 { background-color: #FF7A00; color: #ffffff; box-shadow: 0 2px 6px rgba(255, 122, 0, 0.3); }
.vc-badge-rank-other { background-color: #EBF3FF; color: #0066FF; font-weight: 700; }

.vc-rank-first-highlight {
    background-color: #FFFDF5 !important;
    border-radius: 12px !important;
}

/* Ranking Tabs (Figma 1 & 5: Orange Active, Light-Blue Inactive) */
.vc-ranking-tabs {
    background-color: transparent !important;
    padding: 0;
    gap: 0.35rem;
}
.vc-ranking-tab-btn {
    border-radius: var(--vc-radius-pill) !important;
    padding: 0.25rem 1.15rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    border: none !important;
    background-color: #EBF3FF !important;
    color: #0066FF !important;
    transition: all 0.2s ease;
}
.vc-ranking-tab-btn.active {
    background-color: #FF5500 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.35) !important;
}

/* Podium (Figma 1 & 5 Exact Match) */
.vc-podium-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 0 0.5rem 0;
}
.vc-podium-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.vc-podium-crown-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
}
.vc-top1-box {
    background: #FFF9ED;
    border-radius: 12px;
    padding: 6px 14px;
    width: 100%;
    max-width: 135px;
    margin-top: 6px;
    transition: all 0.2s ease;
}

/* Custom slim scrollbar for rankings (Figma 1 & 5) */
.vc-ranking-scroll-list {
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}
.vc-ranking-scroll-list::-webkit-scrollbar {
    width: 5px;
}
.vc-ranking-scroll-list::-webkit-scrollbar-track {
    background: transparent;
}
.vc-ranking-scroll-list::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 6px;
}
.vc-ranking-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* ============================================================
   Story Cards (Figma 1, 2, 5)
   ============================================================ */
.vc-story-card {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}
@media (max-width: 576px) {
    .vc-story-card {
        padding: 5px;
        border-radius: 12px;
    }
}
.vc-story-card:hover {
    background-color: #ffffff;
    border-color: #E2E8F0;
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
    transform: translateY(-4px);
}
.vc-story-card:hover .vc-story-title {
    color: #0066FF !important;
}
.vc-story-thumb-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 10px;
    background-color: #F1F5F9;
}
.vc-story-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.vc-story-card:hover .vc-story-thumb {
    transform: scale(1.05);
}
.vc-badge-hot {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FF5500, #FF8800);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--vc-radius-pill);
    box-shadow: 0 2px 6px rgba(255, 85, 0, 0.4);
}
.vc-badge-full {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FF7A00, #FFA800);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--vc-radius-pill);
    letter-spacing: 0.5px;
}

/* ============================================================
   Figma 2: Story Detail & Combo
   ============================================================ */
.vc-combo-card {
    background: linear-gradient(135deg, #EAF4FF 0%, #FFF5ED 100%);
    border: 1px solid #CDE2FD;
    border-radius: var(--vc-radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}
.vc-combo-badge-saving {
    background-color: #FFF0EB;
    border: 1px solid #FFD3C4;
    color: var(--vc-orange);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--vc-radius-pill);
}

/* Figma 2: Rating & Comments & Pagination */
@media (min-width: 576px) {
    .border-end-sm {
        border-right: 1px solid var(--vc-border);
    }
}
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #F1F5F9 !important;
    }
}
.hover-danger:hover {
    color: var(--vc-red) !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›" !important;
    color: #94A3B8;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0 0.35rem;
}
.page-link {
    color: #475569;
    font-weight: 600;
    border-radius: 8px !important;
    margin: 0 3px;
    border-color: #E2E8F0;
    padding: 0.45rem 0.85rem;
}
.page-item.active .page-link {
    background-color: #2563EB;
    border-color: #2563EB;
    color: #ffffff;
}
.page-link:hover {
    background-color: #EFF6FF;
    color: #2563EB;
    border-color: #BFDBFE;
}

/* ============================================================
   Figma 3, 4, 6, 7: Account Sidebar
   ============================================================ */
.vc-sidebar {
    background: #ffffff;
    border: 1px solid var(--vc-border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}
.vc-sidebar-user-card {
    background: url('/assets/images/v3/user_card_exact_bg.jpg') center/cover no-repeat, linear-gradient(135deg, #FFE8D6 0%, #FFF3EB 25%, #EBF3FF 60%, #F5F8FF 100%);
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 1rem 1rem 1.15rem 1rem;
    position: relative;
    margin-bottom: 0.85rem;
    overflow: hidden;
    min-height: 125px;
}
.vc-sidebar-feather {
    position: absolute;
    top: 8px;
    left: 30%;
    height: 35px;
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 1;
}
.vc-sidebar-gear-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 2;
}
.vc-sidebar-gear-btn:hover {
    color: var(--vc-blue);
    background: #F8FAFC;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.vc-sidebar-avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.vc-sidebar-avatar-fallback {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066FF 0%, #155DFC 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.vc-sidebar-wallet-box {
    background: #EFF6FF;
    border: 1px solid #DCE7F6;
    border-radius: 16px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.vc-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.95rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.18s ease;
    border-left: 3.5px solid transparent;
}
.vc-sidebar-item:hover {
    background-color: #F8FAFC;
    color: var(--vc-blue);
}
.vc-sidebar-item:hover i {
    color: var(--vc-blue);
}
.vc-sidebar-item.active {
    background-color: #EBF3FF;
    color: var(--vc-blue);
    font-weight: 700;
    border-left: 3.5px solid #FF5500;
}
.vc-sidebar-item.active i {
    color: var(--vc-blue);
}
.vc-sidebar-item i {
    width: 20px;
    font-size: 1rem;
    text-align: center;
    color: #334155;
    transition: color 0.18s ease;
}
.v3-notif-sidebar-dot {
    width: 8px;
    height: 8px;
    background-color: #FF5500;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.vc-sidebar-logout {
    color: #EF4444 !important;
}
.vc-sidebar-logout i {
    color: #EF4444 !important;
}
.vc-sidebar-logout:hover {
    background-color: #FEF2F2 !important;
    color: #DC2626 !important;
}
.vc-sidebar-logout:hover i {
    color: #DC2626 !important;
}

/* Status Badges (Figma 6) */
.vc-status-pill {
    padding: 0.35rem 0.9rem;
    border-radius: var(--vc-radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    transition: all 0.2s;
}
.vc-status-published { background-color: var(--vc-green-light); color: var(--vc-green); }
.vc-status-pending { background-color: var(--vc-orange-light); color: var(--vc-orange); }
.vc-status-draft { background-color: #F3F4F6; color: #4B5563; }
.vc-status-rejected { background-color: var(--vc-red-light); color: var(--vc-red); }

/* Mobile Bottom Nav (Figma 5) */
.vc-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #ffffff;
    border-top: 1px solid var(--vc-border);
    z-index: 1025;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.04);
}
@media (max-width: 991.98px) {
    .vc-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    body {
        padding-bottom: 60px;
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    }
}
.vc-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--vc-text-muted);
    text-decoration: none;
    flex: 1;
    height: 100%;
}
.vc-bottom-nav-item.active {
    color: var(--vc-blue) !important;
    font-weight: 700;
}
.vc-bottom-nav-item.active i {
    background-color: #EBF3FF;
    color: #0066FF !important;
    border-radius: 9999px;
    padding: 3px 14px;
    margin-bottom: 2px;
}
.vc-bottom-nav-item i {
    font-size: 1.15rem;
    margin-bottom: 2px;
    transition: all 0.2s ease;
}

/* 3D Book & Hero Banner (Figma 1 & 5 Exact 1:1) */
.vc-hero-banner {
    background: #FFFFFF;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius-lg);
    position: relative;
    overflow: hidden;
    padding: 2rem 2.25rem;
    min-height: 330px;
    box-shadow: var(--vc-shadow-sm);
}
.vc-hero-banner-image-only {
    border: 1px solid var(--vc-border);
    border-radius: var(--vc-radius-lg);
    position: relative;
    overflow: hidden;
    height: 330px;
    box-shadow: var(--vc-shadow-sm);
    background: #F1F5F9;
}
.vc-hero-banner-image-only img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}
.vc-banner-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--vc-border);
    color: var(--vc-text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 5;
    cursor: pointer;
    transition: all 0.2s ease;
}
.vc-banner-nav-btn:hover {
    background: var(--vc-blue);
    color: #FFFFFF;
    border-color: var(--vc-blue);
}
.vc-banner-nav-prev { left: 12px; }
.vc-banner-nav-next { right: 12px; }

.vc-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
}
.vc-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #CBD5E1;
    transition: all 0.25s ease;
    cursor: pointer;
}
.vc-carousel-dot.active {
    width: 22px;
    border-radius: 10px;
    background-color: #FF5500;
}

.vc-book-3d {
    position: relative;
    width: 145px;
    height: 205px;
    border-radius: 4px 12px 12px 4px;
    box-shadow: 10px 14px 28px rgba(0, 0, 0, 0.2), inset 3px 0 5px rgba(255, 255, 255, 0.6), inset -2px 0 4px rgba(0, 0, 0, 0.15);
    transform: perspective(700px) rotateY(-10deg);
    transition: transform 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}
.vc-book-3d:hover {
    transform: perspective(700px) rotateY(-2deg) translateY(-3px);
}
.vc-book-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Side Banner Cards (Figma 1 & 5) */
.vc-side-banner-card {
    border-radius: var(--vc-radius-lg);
    height: 155px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    box-shadow: var(--vc-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vc-side-banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
    transition: background 0.25s ease;
}
.vc-side-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--vc-shadow-md);
}
.vc-side-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: right;
}
.vc-side-banner-title {
    color: #FFFFFF;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0;
    font-family: var(--vc-font);
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.vc-side-banner-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.vc-rank-delta-up {
    color: #E02424;
    font-size: 0.78rem;
    font-weight: 700;
}
.vc-rank-delta-down {
    color: #00B341;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Modern Clean Table (Figma 1 Exact) */
.vc-table-clean {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.vc-table-clean thead tr th {
    background-color: #EBF3FF;
    color: #1E293B;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border: none;
}
.vc-table-clean thead tr th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.vc-table-clean thead tr th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.vc-table-clean tbody tr td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--vc-border-subtle);
    vertical-align: middle;
}
.vc-table-clean tbody tr:hover td {
    background-color: #F8FAFC;
}
.vc-badge-new {
    background-color: #FF5500;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: var(--vc-radius-pill);
    margin-right: 0.5rem;
}
.vc-table-rank-badge {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background-color: #EBF3FF;
    color: #0066FF;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vc-table-thumb-wrap {
    width: 42px;
    height: 56px;
    min-width: 42px;
    border-radius: 6px !important;
    overflow: hidden !important;
    background-color: #F1F5F9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vc-table-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    display: block;
}

/* Mobile New Story Portrait Thumbnail (Matches Desktop 3:4 Book Ratio) */
.vc-new-story-thumb-mobile {
    width: 44px;
    min-width: 44px;
    height: 58px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #F1F5F9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vc-new-story-thumb-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    display: block;
}

/* Figma 6 Pagination Styling */
.pagination {
    margin-bottom: 0;
    gap: 6px;
}
.pagination .page-item .page-link {
    border-radius: 8px !important;
    border: 1px solid #E2E8F0;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}
.pagination .page-item.active .page-link {
    background-color: #0066FF !important;
    border-color: #0066FF !important;
    color: #ffffff !important;
}
.pagination .page-item .page-link:hover {
    background-color: #F8FAFC;
    color: #0066FF;
}

/* ============================================================
   Figma 5 Mobile Responsive Exact 1:1 Overrides (max-width: 767.98px)
   ============================================================ */
@media (max-width: 767.98px) {
    /* Container & Layout */
    .container-xl {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .vc-card {
        border-radius: 18px !important;
        padding: 0.85rem 1rem !important;
        margin-bottom: 1.15rem !important;
    }

    #v3AuthorRankingsCard,
    .vc-card.p-0 {
        padding: 0 !important;
    }

    /* Mobile Header & Search Bar */
    .vc-search-bar {
        border-radius: 9999px !important;
        background-color: #F8FAFC !important;
        border: 1px solid #E2E8F0 !important;
        padding: 0.45rem 1rem !important;
        font-size: 0.88rem !important;
    }

    /* Hero Banner Mobile (Figma 5) */
    .vc-hero-banner {
        padding: 1.15rem 1.15rem !important;
        min-height: 200px !important;
        border-radius: 16px !important;
    }
    .vc-hero-banner-image-only {
        height: 200px !important;
        border-radius: 16px !important;
    }
    .vc-hero-content-row {
        max-width: 100% !important;
    }
    .vc-hero-title {
        font-size: 1.35rem !important;
        margin-bottom: 0.25rem !important;
    }
    .btn-vc-orange {
        padding: 0.42rem 0.95rem !important;
        font-size: 0.82rem !important;
    }
    .btn-vc-outline-blue {
        padding: 0.42rem 0.95rem !important;
        font-size: 0.82rem !important;
    }
    .vc-banner-nav-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.65rem !important;
    }
    .vc-banner-nav-prev { left: 8px !important; }
    .vc-banner-nav-next { right: 8px !important; }

    /* Side Banners Mobile (Figma 5: Wide compact ratio 2:1) */
    .vc-side-banner-card {
        height: 78px !important;
        padding: 0.5rem 0.75rem !important;
        border-radius: 14px !important;
    }
    .vc-side-banner-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
    }
    .vc-side-banner-arrow {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.65rem !important;
    }

    /* Story Rankings (BXH) Mobile */
    .vc-badge-rank {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.82rem !important;
    }

    /* Author Podium Mobile (Figma 5) */
    .vc-podium-wrap {
        gap: 0.35rem !important;
    }
    .vc-top1-box {
        max-width: 110px !important;
        padding: 4px 8px !important;
        border-radius: 10px !important;
    }

    /* Story Card Mobile (col-4 3-card layout) */
    .vc-story-card {
        padding: 2px !important;
        border-radius: 10px !important;
    }
    .vc-story-thumb-wrap {
        border-radius: 8px !important;
    }
    .vc-story-title {
        font-size: 0.82rem !important;
        line-height: 1.3 !important;
        min-height: 2.6em !important;
    }
    .vc-badge-hot, .vc-badge-full {
        font-size: 0.58rem !important;
        padding: 1px 5px !important;
        top: 4px !important;
        left: 4px !important;
    }
}

/* ============================================================
   Footer Styling (Figma 1 & Full Mobile Responsive)
   ============================================================ */
.vc-footer {
    background-color: #EEF4FC;
    border-top: 1px solid rgba(0, 102, 255, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vc-desktop-col-divider {
    border-left: 1px solid rgba(0, 102, 255, 0.1);
}

/* Dark Mode Footer & Bottom Nav */
body.theme-dark .vc-footer,
[data-theme="dark"] .vc-footer {
    background-color: #0B132B !important;
    border-color: #1E293B !important;
}

body.theme-dark .vc-footer .text-dark,
[data-theme="dark"] .vc-footer .text-dark {
    color: #F8FAFC !important;
}

body.theme-dark .vc-footer .text-secondary,
body.theme-dark .vc-footer .text-muted,
[data-theme="dark"] .vc-footer .text-secondary,
[data-theme="dark"] .vc-footer .text-muted {
    color: #94A3B8 !important;
}

body.theme-dark .vc-desktop-col-divider,
[data-theme="dark"] .vc-desktop-col-divider {
    border-left-color: #334155 !important;
}

body.theme-dark .vc-bottom-nav,
[data-theme="dark"] .vc-bottom-nav {
    background: #0F172A !important;
    border-top-color: #1E293B !important;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark .vc-bottom-nav-item,
[data-theme="dark"] .vc-bottom-nav-item {
    color: #94A3B8 !important;
}

body.theme-dark .vc-bottom-nav-item.active,
[data-theme="dark"] .vc-bottom-nav-item.active {
    color: #38BDF8 !important;
}

body.theme-dark .vc-bottom-nav-item.active i,
[data-theme="dark"] .vc-bottom-nav-item.active i {
    background-color: rgba(56, 189, 248, 0.15) !important;
    color: #38BDF8 !important;
}

/* ============================================================
   Ranking Modals Styling (Story & Author Popups)
   ============================================================ */
.modal.fade .modal-dialog {
    transform: scale(0.96);
    transition: transform 0.2s ease-out;
}
.modal.show .modal-dialog {
    transform: scale(1);
}

.vc-modal-tab-btn {
    color: #64748B !important;
    background: transparent !important;
    border: none !important;
    font-size: 0.84rem !important;
}
.vc-modal-tab-btn.active {
    background: linear-gradient(135deg, #FF7700 0%, #FF5500 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(255, 85, 0, 0.35) !important;
}

.vc-ranking-modal-item {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.vc-ranking-modal-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}
.vc-ranking-modal-item:active {
    transform: translateY(0);
}

/* Dark mode overrides for modals */
body.theme-dark #v3StoryRankingModal .modal-content,
body.theme-dark #v3AuthorRankingModal .modal-content,
[data-theme="dark"] #v3StoryRankingModal .modal-content,
[data-theme="dark"] #v3AuthorRankingModal .modal-content {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border: 1px solid #334155 !important;
}

body.theme-dark #v3StoryRankingModal .modal-header,
body.theme-dark #v3AuthorRankingModal .modal-header,
body.theme-dark #v3StoryRankingModal .modal-footer,
body.theme-dark #v3AuthorRankingModal .modal-footer,
[data-theme="dark"] #v3StoryRankingModal .modal-header,
[data-theme="dark"] #v3AuthorRankingModal .modal-header,
[data-theme="dark"] #v3StoryRankingModal .modal-footer,
[data-theme="dark"] #v3AuthorRankingModal .modal-footer {
    background-color: #1E293B !important;
    border-color: #334155 !important;
}

body.theme-dark #v3StoryRankingModal .modal-body,
body.theme-dark #v3AuthorRankingModal .modal-body,
[data-theme="dark"] #v3StoryRankingModal .modal-body,
[data-theme="dark"] #v3AuthorRankingModal .modal-body {
    background-color: #0F172A !important;
}

body.theme-dark #v3StoryRankingModal .modal-header .text-dark,
body.theme-dark #v3AuthorRankingModal .modal-header .text-dark,
body.theme-dark .vc-ranking-modal-item .text-dark,
[data-theme="dark"] #v3StoryRankingModal .modal-header .text-dark,
[data-theme="dark"] #v3AuthorRankingModal .modal-header .text-dark,
[data-theme="dark"] .vc-ranking-modal-item .text-dark {
    color: #F8FAFC !important;
}

body.theme-dark .vc-ranking-modal-item,
[data-theme="dark"] .vc-ranking-modal-item {
    background-color: #1E293B !important;
    border-color: #334155 !important;
}

/* ============================================================
   Mobile Central Search Modal & Backdrop
   ============================================================ */
.modal-backdrop.show {
    opacity: 0.65 !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#v3MobileSearchModal .modal-content {
    border-radius: 20px !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#v3MobileSearchModal input:focus {
    border-color: #0066FF !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15) !important;
}

/* Dark mode for mobile search modal */
body.theme-dark #v3MobileSearchModal .modal-content,
[data-theme="dark"] #v3MobileSearchModal .modal-content {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border: 1px solid #334155 !important;
}

body.theme-dark #v3MobileSearchModal input,
[data-theme="dark"] #v3MobileSearchModal input {
    background-color: #0F172A !important;
    color: #F8FAFC !important;
    border-color: #334155 !important;
}

body.theme-dark #v3MobileSearchModal .badge,
[data-theme="dark"] #v3MobileSearchModal .badge {
    background-color: #0F172A !important;
    color: #94A3B8 !important;
    border-color: #334155 !important;
}

body.theme-dark #v3MobileSearchModal .text-dark,
[data-theme="dark"] #v3MobileSearchModal .text-dark {
    color: #F8FAFC !important;
}

/* ==========================================================================
   Mobile User App Drawer (Native-Style Bottom Sheet)
   ========================================================================== */
.vc-app-drawer {
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.16) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vc-app-drawer-handle {
    width: 44px;
    height: 5px;
    background-color: #CBD5E1;
    border-radius: 9999px;
    margin: 10px auto 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.vc-app-drawer-handle:hover {
    background-color: #94A3B8;
}

.vc-app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px 8px;
    border-radius: 14px;
    text-decoration: none !important;
    color: #1E293B;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.vc-app-tile:hover,
.vc-app-tile:active {
    background-color: #F8FAFC;
    transform: translateY(-2px);
}

.vc-app-tile.active {
    background-color: #EEF4FC;
}

.vc-app-tile.active .vc-app-title {
    color: #0066FF;
    font-weight: 700;
}

.vc-app-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.vc-app-tile:hover .vc-app-icon,
.vc-app-tile:active .vc-app-icon {
    transform: scale(1.08);
}

.vc-app-title {
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dark Mode Support for App Drawer */
body.theme-dark .vc-app-drawer,
[data-theme="dark"] .vc-app-drawer {
    background-color: #1E293B !important;
    color: #F8FAFC !important;
    border-top-color: #334155 !important;
}

body.theme-dark .vc-app-drawer-handle,
[data-theme="dark"] .vc-app-drawer-handle {
    background-color: #475569;
}

body.theme-dark .vc-app-tile,
[data-theme="dark"] .vc-app-tile {
    color: #F8FAFC;
}

body.theme-dark .vc-app-tile:hover,
[data-theme="dark"] .vc-app-tile:hover {
    background-color: #334155;
}

body.theme-dark .vc-app-tile.active,
[data-theme="dark"] .vc-app-tile.active {
    background-color: rgba(0, 102, 255, 0.18);
}

body.theme-dark .vc-app-title,
[data-theme="dark"] .vc-app-title {
    color: #CBD5E1;
}

/* ==========================================================================
   Notification Offcanvas & Text Wrapping (Fix Horizontal Scroll & Truncate)
   ========================================================================== */
#notificationOffcanvas {
    overflow-x: hidden !important;
}
#notificationOffcanvas .offcanvas-body {
    overflow-x: hidden !important;
}
#notifSidebarList {
    overflow-x: hidden !important;
}
.notification-item {
    overflow-x: hidden !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}
.notification-item h6,
.notification-item p,
.notification-item span {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

/* ==========================================================================
   Multi-line Clamp & Typography Helpers (UI/UX Pro Max)
   ========================================================================== */
.vc-line-clamp-1 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.vc-line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.vc-line-clamp-3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.vc-section-heading {
    color: #0045d5 !important; /* Electric Blue from feedback palette (highlighted in red box) */
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.vc-section-heading > span:not([style*="color"]) {
    color: #0045d5 !important;
}

@media (max-width: 767.98px) {
    .vc-section-heading {
        font-size: 1.15rem !important;
    }
}

/* Themes adaptation for section headings */
.theme-sepia .vc-section-heading,
.theme-sepia .vc-section-heading > span:not([style*="color"]) {
    color: #4A2E16 !important;
}

.theme-dark .vc-section-heading,
.theme-dark .vc-section-heading > span:not([style*="color"]) {
    color: #60A5FA !important;
}

.vc-story-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.32 !important;
    min-height: 2.65em;
    font-size: 0.88rem;
    color: #001B79 !important;
    font-weight: 700;
    transition: color 0.2s ease;
}

.vc-story-title:hover,
.vc-story-card:hover .vc-story-title {
    color: #0066FF !important;
}

/* Author Profile Cover Banner */
.vc-author-cover-banner {
    height: 190px;
    background-color: #0045d5;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: height 0.3s ease;
}

@media (max-width: 767.98px) {
    .vc-author-cover-banner {
        height: 145px !important;
    }
}
.gap-1-5 {
    gap: 0.375rem !important; /* 6px */
}

/* Active tab pill icon turns 100% white */
.vc-tab-pill.active img,
.vc-tab-pill.active svg,
.vc-tab-pill.active i {
    filter: brightness(0) invert(1) !important;
    color: #ffffff !important;
}

/* Comments collapsed limit */
.v3-comment-extra.d-none {
    display: none !important;
}

/* Global V3 Primary Button */
.btn-v3-primary {
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%) !important;
    background-color: #0066FF !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}
.btn-v3-primary:hover, .btn-v3-primary:focus {
    background: linear-gradient(135deg, #0052CC 0%, #003E99 100%) !important;
    background-color: #0052CC !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
    transform: translateY(-1px);
}

/* Custom Scrollbar for Notification Containers */
.notif-scroll-container::-webkit-scrollbar {
    width: 5px;
}
.notif-scroll-container::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 6px;
}
.notif-scroll-container::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 6px;
}
.notif-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.notif-scroll-container,
.notif-scroll-container * {
    text-align: left;
}






