/* =======================================================================
   FILE: mem/css/style.css
   VERSION: 22.0 (CLEANED & UNIFIED DASHBOARD/RECOMMEND)
   ======================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;700;800;900&display=swap');
:root { --header-height: 70px; --sidebar-width: 210px; --submenu-width: 190px; --body-bg: #f5f7fb; --text-color: #334155; --primary-color: #0f172a; --accent-color: #3b82f6; --border-color: #e2e8f0; }

/* 1.1. Base & Reset */
body { font-family: 'Inter', sans-serif; background: var(--body-bg); overflow-x: hidden; color: var(--text-color); margin: 0; font-size: 0.85rem; line-height: 1.6; }
.w-15px { width: 15px; text-align: center; display: inline-block; }
.min-h-20 { min-height: 20px; }
.ls-1 { letter-spacing: 1px; }
.fw-800 { font-weight: 800; }
.hover-up { transition: transform 0.2s, box-shadow 0.2s; }
.hover-up:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important; }

/* 1.2. Main Layout Zones */
:root { --header-height: 60px; --sidebar-width: 220px; } 
.layout-header-fixed { position: fixed; top: 0; right: 0; left: var(--sidebar-width); height: var(--header-height); background: #ffffff; border-bottom: 1px solid #e2e8f0; z-index: 1040; transition: left 0.3s ease; }
.layout-sidebar-fixed { position: fixed; top: 0; left: 0; bottom: 0; width: var(--sidebar-width); background: #15192b; z-index: 1050; overflow-y: auto; transition: 0.3s; display: flex; flex-direction: column; }
.layout-sidebar-fixed::-webkit-scrollbar { width: 4px; }
.layout-sidebar-fixed::-webkit-scrollbar-track { background: #15192b; }
.layout-body-wrapper { margin-top: var(--header-height); margin-left: var(--sidebar-width); padding: 15px; min-height: calc(100vh - var(--header-height)); transition: 0.3s; }

/* 1.3. Sub-menu Module */
.layout-grid-container { display: flex; gap: 15px; align-items: flex-start; }
.layout-submenu-sticky { width: var(--submenu-width); flex-shrink: 0; position: -webkit-sticky; position: sticky; top: calc(var(--header-height) + 15px); z-index: 90; height: fit-content; max-height: calc(100vh - 90px); overflow-y: auto; background: #fff; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); display: flex; flex-direction: column; scrollbar-width: none; }
.layout-submenu-sticky::-webkit-scrollbar { display: none; }
.layout-main-content { flex-grow: 1; width: calc(100% - var(--submenu-width) - 15px); min-width: 0; }
.layout-menu-body { flex-grow: 1; overflow-y: auto; display: flex; flex-direction: column; width: 100%; }

/* 1.4. Sidebar & Menu Components */
.layout-brand { min-height: var(--header-height); display: flex; align-items: center; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.layout-menu-heading { padding: 20px 20px 8px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; color: #676667; letter-spacing: 0.5px; }
.layout-menu-link { display: flex; align-items: center; padding: 10px 20px; color: #94a3b8; text-decoration: none; transition: 0.2s; border-left: 3px solid transparent; font-size: 0.9rem; }
.layout-menu-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.layout-menu-link.active { color: #fff; background: linear-gradient(90deg, rgba(59,130,246,0.15) 0%, transparent 100%); border-left-color: var(--accent-color); }
.layout-menu-icon { width: 24px; text-align: center; margin-right: 12px; font-size: 1rem; }

/* 1.5. Sub-menu Links */
.menu-link-std { display: flex; padding: 10px 14px; color: #475569; text-decoration: none; border-bottom: 1px dashed #f1f5f9; transition: all 0.2s; align-items: center; font-size: 0.9rem; }
.menu-link-std:last-child { border-bottom: none; }
.menu-link-std:hover { background: #f8fafc; color: #0f172a; padding-left: 18px; }
.menu-link-std.active { background: #f0fdf4; color: #166534; border-left: 3px solid #16a34a; font-weight: 700; padding-left: 11px; }
.menu-link-icon { width: 20px; text-align: center; font-size: 1.1rem; margin-right: 10px; flex-shrink: 0; }

/* 1.6. Header Elements */
.header-marquee-box { background: #fff8dd; border: 1px solid #fae69e; padding: 0.25rem 1rem; }
.header-marquee-text { font-size: 14px; font-weight: 500; color: #212529; margin: 0; }

/* 1.7. Watchlist & Training Modules */
.stock-card-new { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 12px; position: relative; transition: all 0.2s; height: 100%; display: flex; flex-direction: column; }
.stock-card-new:hover { transform: translateY(-3px); box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.1); border-color: #cbd5e1; }
.stock-symbol { font-size: 1.25rem; font-weight: 900; color: var(--primary-color); line-height: 1; }
.btn-learn { background: #0f172a; color: white; border: 1px solid #0f172a; }
.btn-learn:hover { background: #334155; color: white; border-color: #334155; }
.btn-locked { background: #f1f5f9; color: #94a3b8; border: 1px solid #e2e8f0; cursor: pointer; }
.btn-locked:hover { background: #e2e8f0; color: #64748b; }

/* 1.8. Responsive Layout (Fixed Mobile: Submenu on Top) */
@media (max-width: 991px) {
    .layout-grid-container { display: block; width: 100%; }
    .layout-main-content { width: 100%; min-width: 100%; padding: 0; }
    .layout-header-fixed { left: 0; z-index: 1000; }
    .layout-body-wrapper { margin-left: 0; margin-top: 0 !important; padding-top: 75px !important; }
    #layout-sidebar { position: fixed !important; top: 0; left: 0; bottom: 0; width: 200px !important; background-color: #0f0024 !important; z-index: 9999 !important; transform: translateX(-100%); transition: transform 0.3s ease; display: block !important; box-shadow: 5px 0 15px rgba(0,0,0,0.1); overflow-y: auto; }
    .sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9990 !important; display: none; opacity: 0; transition: opacity 0.3s; }
    body.sidebar-open #layout-sidebar { transform: translateX(0) !important; }
    body.sidebar-open .sidebar-overlay { display: block; opacity: 1; }
    body.sidebar-open { overflow: hidden; }
    .layout-submenu-sticky { width: 100%; position: relative; top: 0; z-index: 1; margin-bottom: 15px; height: auto; max-height: none; overflow: visible; border-right: none; }
    .layout-menu-body { flex-direction: row; overflow-x: auto; padding-bottom: 5px; white-space: nowrap; gap: 10px; width: 100%; }
    .layout-menu-body::-webkit-scrollbar { display: none; }
    .menu-link-std { flex-direction: column; min-width: 80px; text-align: center; border-right: 1px dashed #eee; border-bottom: none; }
    .menu-link-std .menu-text { display: block; font-size: 0.7rem; }
    .menu-link-std .menu-text div:last-child { display: none; }
}

/* 1.9. Reader Mode (Detail View) & Sidebar List */
.article-title { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.3; letter-spacing: -0.5px; font-weight: 800; color: #111827; }
.article-sapo { font-size: 1.1rem; line-height: 1.6; color: #4b5563; font-style: italic; background-color: #f8fafc; padding: 1.25rem; border-left: 4px solid var(--accent-color); border-radius: 8px; margin-bottom: 2rem; }
.article-content { font-size: 1.05rem; line-height: 1.8; color: #374151; text-align: justify; }
.article-content img { max-width: 100% !important; height: auto !important; border-radius: 12px; margin: 30px auto; display: block; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1); }
.article-content table { width: 100% !important; border-collapse: collapse; margin: 25px 0; font-size: 0.95rem; }
.article-content th, .article-content td { padding: 12px 15px; border: 1px solid #e5e7eb; }
.article-content th { background-color: #f9fafb; font-weight: 700; text-align: left; color: #111827; }
.list-group-news .list-group-item { border: none; border-bottom: 1px dashed #e2e8f0; padding: 1rem; transition: all 0.2s ease; }
.list-group-news .list-group-item:last-child { border-bottom: none; }
.list-group-news .list-group-item:hover { background-color: #f8fafc; transform: translateX(5px); }
.news-time-ago { font-size: 0.75rem; color: #94a3b8; display: flex; align-items: center; gap: 5px; }

/* 1.10. Login Page */
.main-container { width: 100%; overflow-x: hidden; }
.row-full { min-height: 100vh; margin: 0; }
.banner-col { background: url('../images/banner.jpg') no-repeat center center; background-size: cover; position: relative; display: flex; align-items: center; justify-content: center; padding: 0; }
.banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%); z-index: 1; }
.banner-content { position: relative; z-index: 2; color: #fff; width: 100%; max-width: 650px; padding: 40px; }
.brand-logo { height: 60px; margin-bottom: 2rem; }
.feature-list { list-style: none; padding: 0; margin: 2rem 0; }
.feature-list li { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 15px; }
.feature-list li i { width: 32px; text-align: center; }
.support-heading { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; font-weight: 700; }
.support-grid { font-size: 0.9rem; color: #cbd5e1; }
.login-col { display: flex; align-items: center; justify-content: center; background: #fff; position: relative; }
.login-card { width: 100%; max-width: 450px; padding: 20px; }
.btn-google { width: 100%; background: #fff; border: 1px solid #e2e8f0; border-radius: 50px; padding: 12px; font-weight: 700; color: #1e293b; display: flex; align-items: center; justify-content: center; transition: 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.05); cursor: pointer; }
.btn-google:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
@media (max-width: 991px) { .banner-col { display: none; } .row-full { background: #fff; } .login-card { padding: 30px 20px; } }

/* 1.11. Dashboard Widgets */
.dashboard-guide-item { display: flex; align-items: center; padding: 12px; border-radius: 12px; text-decoration: none !important; color: #1e293b; border: 1px solid transparent; background-color: #fff; margin-bottom: 8px; transition: all 0.2s ease; }
.dashboard-guide-item:hover { background-color: #f8fafc; border-color: #e2e8f0; transform: translateX(5px); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.db-icon-box { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.1rem; flex-shrink: 0; margin-right: 15px; }
.db-card-title { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: #94a3b8; margin-bottom: 15px; padding-left: 5px; }
.guide-main-text { font-weight: 700; font-size: 0.95rem; color: #334155; line-height: 1.3; }
.guide-sub-text { font-size: 0.8rem; color: #64748b; margin-top: 2px; }

/* 1.12. Upgrade Membership Page */
:root { --primary-gold: #f59e0b; --primary-dark: #0f172a; --primary-blue: #2563eb; }
.animate-up { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.animate-up:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }
.pricing-card { background: #fff; border-radius: 20px; border: 1px solid #e2e8f0; overflow: hidden; position: relative; height: 100%; display: flex; flex-direction: column; }
.pricing-card.card-popular { border: 2px solid var(--primary-gold); transform: scale(1.02); z-index: 2; box-shadow: 0 10px 40px rgba(245, 158, 11, 0.15); }
.pricing-card.card-popular .card-header { background: linear-gradient(135deg, #fff7ed 0%, #fff 100%); border-bottom: 1px solid #fde68a; }
.pricing-card.card-popular .btn-subscribe { background: linear-gradient(90deg, #f59e0b, #d97706); border: none; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4); }
.pricing-card.card-popular .btn-subscribe:hover { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6); transform: translateY(-2px); }
.pricing-card.card-standard .card-header { background: #f8fafc; }
.pricing-card.card-standard .btn-subscribe { background: var(--primary-dark); border: none; }
.pricing-card.card-trial .card-header { background: #eff6ff; }
.pricing-card.card-trial .btn-subscribe { background: var(--primary-blue); border: none; }
.badge-popular { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--primary-gold); color: #000; font-weight: 800; font-size: 0.7rem; padding: 4px 16px; border-radius: 0 0 12px 12px; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.gift-badge { background: #fee2e2; color: #dc2626; font-size: 0.8rem; font-weight: 700; padding: 6px 12px; border-radius: 50px; border: 1px dashed #fca5a5; display: inline-block; margin-top: 8px; animation: pulse-red 2s infinite; }
.price-amount { font-size: 2rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.price-period { font-size: 0.9rem; color: #64748b; font-weight: 500; }
.price-old { text-decoration: line-through; color: #94a3b8; font-size: 0.9rem; }
.comparison-section { background: #fff; border-radius: 20px; border: 1px solid #e2e8f0; overflow: hidden; }
.comp-header { background: #f1f5f9; padding: 15px 20px; font-weight: 800; color: #334155; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; }
.comp-row { display: flex; padding: 15px 20px; border-bottom: 1px solid #f1f5f9; align-items: flex-start; }
.comp-row:last-child { border-bottom: none; }
.comp-row:hover { background: #f8fafc; }
.comp-feature { flex: 1; font-size: 0.95rem; color: #334155; padding-right: 15px; }
.comp-feature-desc { font-size: 0.8rem; color: #64748b; margin-top: 4px; font-style: italic; line-height: 1.4; }
.comp-val { flex: 0 0 100px; text-align: center; font-size: 0.85rem; font-weight: 600; padding-top: 2px; }
.check-icon { color: #10b981; }
.lock-icon { color: #cbd5e1; opacity: 0.5; }
.highlight-row { background: #fffbeb; }
@keyframes pulse-red { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@media (max-width: 768px) { .pricing-card.card-popular { transform: none; margin: 10px 0; } .comp-val { flex: 0 0 80px; font-size: 0.75rem; } }

/* 1.13. CONSULTING SERVICE PAGE */
.consult-hero-modern { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 40px 20px; border-radius: 20px; text-align: center; margin-bottom: 40px; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.hero-title-main { font-weight: 900; font-size: 2rem; margin-bottom: 10px; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.hero-subtitle-main { color: #94a3b8; font-size: 1rem; margin-bottom: 25px; font-weight: 500; }
.alert-id-box { background: rgba(255,255,255,0.1); border: 1px dashed rgba(255,255,255,0.3); border-radius: 12px; padding: 15px; display: inline-block; max-width: 800px; margin: 0 auto; backdrop-filter: blur(5px); }
.alert-id-content { font-size: 0.95rem; margin-bottom: 10px; color: #e2e8f0; }
.alert-id-links a { color: #f59e0b; text-decoration: none; font-weight: 700; transition: 0.2s; }
.alert-id-links a:hover { text-decoration: underline; color: #fbbf24; }
.pkg-card-modern { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; height: 100%; transition: 0.3s; position: relative; display: flex; flex-direction: column; }
.pkg-card-modern:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #cbd5e1; }
.pkg-card-modern.highlight { border: 2px solid #2563eb; transform: scale(1.02); z-index: 2; box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15); }
.best-tag { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #2563eb; color: #fff; font-size: 0.7rem; font-weight: 800; padding: 4px 12px; border-radius: 0 0 8px 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.pkg-header { padding: 30px 20px 20px; text-align: center; border-bottom: 1px solid #f1f5f9; background: #f8fafc; }
.pkg-title { font-weight: 800; font-size: 1.1rem; text-transform: uppercase; margin-bottom: 10px; }
.pkg-price-row { font-size: 2.2rem; font-weight: 800; color: #0f172a; line-height: 1; }
.pkg-price-unit { font-size: 1rem; color: #64748b; font-weight: 500; }
.pkg-duration { font-size: 0.9rem; color: #64748b; margin-top: 5px; }
.promo-box { background: #fff7ed; border-top: 1px dashed #fdba74; border-bottom: 1px dashed #fdba74; padding: 15px; text-align: center; }
.promo-title { color: #c2410c; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 2px; }
.promo-value { font-weight: 800; color: #ea580c; font-size: 1.1rem; }
.pkg-body { padding: 25px; flex-grow: 1; }
.pkg-list { list-style: none; padding: 0; margin: 0; }
.pkg-list li { margin-bottom: 12px; padding-left: 25px; position: relative; font-size: 0.95rem; color: #334155; line-height: 1.5; }
.pkg-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #10b981; position: absolute; left: 0; top: 2px; }
.pkg-footer { padding: 20px; text-align: center; border-top: 1px solid #f1f5f9; background: #fff; }
.btn-pkg-action { width: 100%; border-radius: 50px; padding: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* 1.14. TRUST & COOPERATION */
.lux-wrapper { background: linear-gradient(135deg, #020617 0%, #1e293b 100%); border-radius: 24px; padding: 40px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); }
.lux-bg-icon { position: absolute; top: -20px; right: -20px; font-size: 15rem; color: #fff; opacity: 0.03; transform: rotate(-15deg); z-index: 0; pointer-events: none; }
.lux-badge { background: linear-gradient(90deg, #b48811 0%, #fbdc6e 50%, #b48811 100%); color: #000; font-weight: 800; font-size: 0.75rem; padding: 6px 16px; border-radius: 50px; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(180, 136, 17, 0.4); }
.lux-title { font-size: 2.2rem; font-weight: 900; margin-bottom: 15px; background: linear-gradient(to right, #fff 0%, #fcd34d 50%, #fff 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; letter-spacing: 0.5px; }
.lux-desc { color: #94a3b8; font-size: 1.05rem; line-height: 1.6; margin-bottom: 30px; max-width: 90%; }
.lux-glass-box { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); border: 1px solid rgba(255, 215, 0, 0.2); border-radius: 16px; padding: 25px; margin-bottom: 35px; position: relative; overflow: hidden; }
.lux-glass-box::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent); transform: skewX(-25deg); animation: shine 6s infinite; }
.lux-icon-gold { width: 50px; height: 50px; background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3); }
.lux-risk-badge { display: inline-block; margin-top: 10px; background: rgba(220, 38, 38, 0.15); color: #fca5a5; font-size: 0.85rem; font-weight: 600; padding: 6px 12px; border-radius: 6px; border: 1px dashed rgba(220, 38, 38, 0.4); }
.lux-feature-icon { font-size: 1.5rem; color: #fbbf24; margin-right: 15px; }
.lux-feature-title { font-weight: 700; color: #fff; margin-bottom: 4px; font-size: 1rem; }
.lux-feature-sub { color: #64748b; font-size: 0.9rem; }
.btn-luxury-action { background: linear-gradient(90deg, #b48811 0%, #f59e0b 100%); color: #fff !important; font-weight: 800; padding: 14px 40px; border-radius: 50px; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 25px rgba(180, 136, 17, 0.3); transition: all 0.3s ease; display: inline-flex; align-items: center; }
.btn-luxury-action:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(180, 136, 17, 0.5); color: #fff; }
.lux-circle-seal { width: 280px; height: 280px; border-radius: 50%; border: 2px solid rgba(251, 191, 36, 0.2); display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; background: radial-gradient(circle, rgba(251,191,36,0.05) 0%, transparent 70%); position: relative; animation: rotateSlow 60s linear infinite; }
.lux-seal-inner { animation: none; text-align: center; }
.lux-seal-text { font-family: 'Times New Roman', serif; font-weight: 900; font-size: 3.5rem; background: linear-gradient(to bottom, #fcd34d, #b48811); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
@keyframes shine { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* 1.15. VIP COMMUNITY CHAT (Multi-Theme Support & Fixed Layout) */
.text-gold { color: #d97706 !important; }
.bg-gold { background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important; }
.bg-gold-light { background-color: #fffbeb !important; }
.btn-gold { background: linear-gradient(135deg, #d97706 0%, #b45309 100%); border: none; color: #fff; }
.btn-gold:hover { background: linear-gradient(135deg, #b45309 0%, #92400e 100%); transform: translateY(-1px); }
.btn-outline-gold { border-color: #d97706; color: #d97706; }
.btn-outline-gold:hover { background-color: #fffbeb; color: #b45309; }
/* --- Theme Color Logic --- */
.chat-theme-blue .msg-row.me .msg-bubble { background: #0d6efd !important; color: #fff !important; }
.chat-theme-blue .btn-theme { background: #0d6efd !important; border-color: #0d6efd !important; color: #fff !important; }
.chat-theme-gold .msg-row.me .msg-bubble { background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important; color: #fff !important; }
.chat-theme-gold .btn-theme { background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important; border: none !important; color: #fff !important; }
.chat-theme-lotus .msg-row.me .msg-bubble { background: #ed64a6 !important; color: #fff !important; }
.chat-theme-lotus .btn-theme { background: #ed64a6 !important; border-color: #ed64a6 !important; color: #fff !important; }
.chat-theme-purple .msg-row.me .msg-bubble { background: #805ad5 !important; color: #fff !important; }
.chat-theme-purple .btn-theme { background: #805ad5 !important; border-color: #805ad5 !important; color: #fff !important; }
.border-dashed { border-style: dashed !important; }
.pointer-events-none { pointer-events: none; }
.msg-bubble { padding: 8px 12px; border-radius: 12px; font-size: 0.95rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); word-wrap: break-word; word-break: break-word; overflow-wrap: break-word; max-width: 100%; position: relative; }
.msg-row { display: flex; margin-bottom: 0.8rem; align-items: flex-end; }
.msg-row.me { flex-direction: row-reverse; }
.msg-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; margin-right: 8px; flex-shrink: 0; border: 2px solid #fffbeb; }
.msg-row.me .msg-avatar { display: none; }
.msg-content-wrapper { max-width: 85%; }
.msg-row.other .msg-bubble { background: #fff; border: 1px solid #e2e8f0; border-bottom-left-radius: 2px; }
.msg-row.me .msg-bubble { background: #64748b; color: #fff; border-bottom-right-radius: 2px; }
.msg-info { font-size: 0.75rem; margin-bottom: 2px; color: #64748b; font-weight: 600; }
.msg-time { font-size: 0.65rem; opacity: 0.7; margin-top: 2px; text-align: right; }
.msg-row.other .msg-time { text-align: left; }
.btn-del-msg { cursor: pointer; opacity: 0.5; margin: 0 5px; }
@media (min-width: 992px) { .chat-body-row { height: calc(100vh - 120px) !important; overflow: hidden !important; display: flex !important; } .chat-col-msg { flex: 1 !important; height: 100% !important; overflow-y: auto !important; display: flex !important; flex-direction: column-reverse !important; padding: 15px !important; } .chat-col-inp { width: 320px !important; flex: 0 0 320px !important; height: 100% !important; overflow-y: auto !important; border-left: 1px solid #dee2e6 !important; background: #fff !important; } }
@media (max-width: 991px) { .chat-body-row { flex-direction: column !important; height: auto !important; } .chat-col-msg { height: 450px !important; overflow-y: auto !important; border-right: 0 !important; border-bottom: 1px solid #dee2e6 !important; } .chat-col-inp { padding: 15px !important; } }

/* Chat Common */
.presence-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding-right: 2px; }
.presence-avt { width: 100%; aspect-ratio: 1/1; border-radius: 6px; object-fit: cover; border: 1px solid #eee; cursor: help; transition: transform 0.2s; }
.presence-avt:hover { transform: scale(1.15); z-index: 5; border-color: currentColor; }
.input-label { font-weight: 800; color: #94a3b8; font-size: 0.8rem; margin-bottom: 10px; }
.chat-textarea { resize: vertical !important; font-size: 14px !important; padding: 10px !important; min-height: 150px !important; max-height: 450px !important; width: 100% !important; border-radius: 8px !important; border: 1px solid #e2e8f0 !important; background: #f8fafc !important; color: #334155 !important; }
.chat-textarea:focus { border-color: #3b82f6 !important; outline: none !important; background: #fff !important; }
.btn-chat-send, #btn-chat-send { background: #0f172a; color: #fff !important; border: none !important; font-weight: 700 !important; padding: 10px 20px !important; border-radius: 8px !important; width: 100% !important; margin-top: 10px !important; transition: 0.2s !important; cursor: pointer !important; display: block !important; text-transform: uppercase !important; }
.btn-chat-send:hover, #btn-chat-send:hover { opacity: 0.9 !important; transform: translateY(-1px) !important; }
.btn-action { cursor: pointer; opacity: 0.5; margin: 0 5px; font-size: 0.85rem; transition: 0.2s; }
.msg-row:hover .btn-action { opacity: 1; }
.reply-indicator { padding: 8px; border-radius: 8px; margin-bottom: 8px; animation: fadeInDown 0.3s; border-left: 3px solid #ccc; background: #f8f9fa; }
.reply-block { font-size: 0.8rem; background: rgba(0,0,0,0.05); border-left: 3px solid #ccc; margin-bottom: 5px; padding: 4px; border-radius: 4px; cursor: pointer; }
.msg-row.me .reply-block { background: rgba(255,255,255,0.2); border-left-color: #fff; color: #fff; }
.msg-row.me .reply-block .text-muted { color: rgba(255,255,255,0.8) !important; }

/* 1.16. REPORTS PAGE */
.report-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 30px 20px; border-radius: 16px; color: white; margin-bottom: 30px; box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3); }
.search-input-group { background: white; border-radius: 50px; padding: 4px; display: flex; align-items: center; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); width: 100%; }
.search-input-group input { border: none; outline: none; padding: 10px 15px; flex-grow: 1; border-radius: 50px; min-width: 0; }
.search-input-group button { border-radius: 50px; padding: 10px 25px; font-weight: bold; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 576px) { .report-hero { padding: 20px 15px; } .search-input-group button { padding: 10px 15px; font-size: 0.85rem; } .search-input-group input { font-size: 0.9rem; } }
.filter-bar { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-pill { padding: 8px 20px; border-radius: 30px; background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 500; font-size: 0.9rem; white-space: nowrap; transition: all 0.3s ease; }
.filter-pill:hover, .filter-pill.active { background: white; color: #0f172a; font-weight: 700; }
.card-report { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; padding: 15px; height: 100%; display: flex; flex-direction: column; transition: all 0.3s ease; position: relative; overflow: hidden; cursor: pointer; }
.card-report:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1); border-color: #cbd5e1; }
.report-meta { font-size: 0.75rem; color: #64748b; margin-top: auto; padding-top: 15px; border-top: 1px dashed #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.report-title { font-weight: 700; font-size: 1rem; color: #1e293b; margin: 10px 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.8em; }
.loading-indicator { text-align: center; padding: 20px; color: #64748b; font-style: italic; display: none; }

/* 1.17. DASHBOARD BẢN TIN TỔNG HỢP */
.db-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 35px 20px; border-radius: 16px; color: #fff; margin-bottom: 30px; text-align: center; overflow: visible; }
.db-header-badge { display: inline-block; background: rgba(59, 130, 246, 0.2); color: #60a5fa; padding: 4px 15px; border-radius: 50px; font-weight: 800; font-size: 0.7rem; letter-spacing: 2px; margin-bottom: 12px; }
.db-hero-title { font-family: 'Be Vietnam Pro', sans-serif !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; font-size: 1.5rem; margin-bottom: 10px; line-height: 1.4; }
.db-hero-line { height: 4px; width: 50px; background: #3b82f6; margin: 0 auto; border-radius: 50px; }
.market-mini-card { transition: all 0.3s ease; border: 1px solid #e2e8f0 !important; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.market-mini-card:hover { transform: translateY(-3px); border-color: #3b82f6 !important; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.market-widget-title { font-weight: 800; color: #1e293b; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 2px; }
.market-widget-status { font-size: 0.7rem; color: #64748b; font-weight: 500; }
.section-card { background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 15px; transition: all 0.3s; overflow: hidden; }
.section-card:hover { border-color: #3b82f6; box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.05); }
.card-header-main { padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.card-icon-box { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0; }
.card-title-area { flex-grow: 1; overflow: hidden; }
.card-main-title { font-weight: 800; color: #0f172a; font-size: 0.95rem; text-transform: uppercase; margin: 0; }
.card-sub-title { font-size: 0.8rem; color: #64748b; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.content-body { padding: 25px; line-height: 1.8; color: #334155; font-size: 1rem; }
.content-sapo { background: #f8fafc; border-left: 5px solid #3b82f6; padding: 15px; border-radius: 0 8px 8px 0; margin-bottom: 20px; font-style: italic; color: #475569; font-size: 0.95rem; }
.content-rich-text img { max-width: 100% !important; height: auto !important; border-radius: 12px; margin: 20px 0; display: block; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.content-rich-text table { width: 100% !important; border-collapse: collapse; margin: 15px 0; display: block; overflow-x: auto; border: 1px solid #e2e8f0; }
.content-rich-text td, .content-rich-text th { border: 1px solid #e2e8f0; padding: 12px; font-size: 0.9rem; }
.badge-vip-small { padding: 4px 10px; border-radius: 6px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; background: linear-gradient(45deg, #f59e0b, #d97706); color: #fff; }
.lock-overlay-center { text-align: center; padding: 40px 20px; background: #f8fafc; border-radius: 12px; border: 2px dashed #cbd5e1; margin: 10px; }
.lock-icon { font-size: 2.5rem; color: #94a3b8; margin-bottom: 15px; }
@media (max-width: 768px) { .market-widgets-row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; scrollbar-width: none; } .market-widgets-row::-webkit-scrollbar { display: none; } .market-widgets-row .col { min-width: 120px; flex: 0 0 auto; } .db-hero-title { font-size: 1.3rem; } .content-body { padding: 15px; } }

/* 1.18. NOTIFICATION CENTER */
.alert-count{position:absolute;top:2px;right:5px;background:#dc3545;color:#fff;width:18px;height:18px;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center;font-weight:700;z-index:10;animation:pulse-red 2s infinite}
.dropdown-large { margin-right: 10px !important; }
.dropdown-large:last-child {margin-right: 25px !important; }
.dropdown-menu{width:360px;max-width:90vw;border-radius:12px;border:0;box-shadow:0 10px 30px rgba(0,0,0,.15);overflow:hidden;padding:0}
.msg-header{background:#f8f9fa;border-bottom:1px solid #eee;padding:12px 16px;display:flex;align-items:center;justify-content:space-between}
.msg-header-title{margin:0;font-weight:700;color:#343a40;font-size:1rem}
.header-message-list{height:320px;overflow-y:auto;background:#fff}
.header-message-list::-webkit-scrollbar{width:5px} .header-message-list::-webkit-scrollbar-thumb{background:#dee2e6;border-radius:5px}
#notiTabs .nav-link{color:#6c757d;border:none;border-bottom:2px solid transparent;font-weight:600;font-size:.8rem;padding:10px 0}
#notiTabs .nav-link.active{color:#0d6efd;border-bottom-color:#0d6efd;background:0 0}
.noti-item{border-bottom:1px solid #f1f5f9;transition:background .2s;padding:12px 16px;text-decoration:none!important;display:block;position:relative}
.noti-item:hover{background-color:#f8f9fa}
.noti-icon-box{width:36px;height:36px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:16px;margin-right:12px}
.noti-source{font-size:10px;text-transform:uppercase;font-weight:800;margin-bottom:3px;display:block;opacity:.7}
.noti-title{font-size:13px;font-weight:600;color:#212529;line-height:1.4;margin-bottom:2px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.noti-time{font-size:11px;color:#adb5bd;display:block}
.theme-blue{background:#e7f1ff;color:#0d6efd}.theme-green{background:#d1e7dd;color:#198754}.theme-red{background:#f8d7da;color:#dc3545}.theme-orange{background:#fff3cd;color:#ffc107}

/* 1.19 MOBILE SCROLL HINT */
.mobile-scroll-hint { position: relative; overflow: hidden; }
@media (max-width: 991px) { .mobile-scroll-hint::after { content: '\f105'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 0; right: 0; height: 100%; width: 50px; background: linear-gradient(to right, rgba(255,255,255,0), #ffffff 80%); display: flex; align-items: center; justify-content: center; color: #3b82f6; font-size: 1.2rem; pointer-events: none; z-index: 10; animation: hintBounce 1.5s infinite; } @keyframes hintBounce { 0%, 100% { transform: translateX(0); opacity: 0.6; } 50% { transform: translateX(5px); opacity: 1; } } }

/* 1.20 RECOMMENDATION SYSTEM (General Components) */
.container-fluid { max-width: 1920px; }
.section-title { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin-bottom: 1rem; padding-left: 10px; border-left: 4px solid #0f172a; text-transform: uppercase; }
.rec-date { font-size: 0.75rem; color: #94a3b8; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.label-new { background-color: #ef4444; color: white; font-size: 0.6rem; font-weight: bold; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: middle; animation: blink 2s infinite; }
@keyframes blink { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }
.modal-choice-card { transition: all 0.3s; border: 2px solid transparent; cursor: pointer; }
.modal-choice-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: #e2e8f0; background: #f8fafc; }
.modal-choice-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 15px; font-size: 1.5rem; }
.signal-dashboard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
@media (min-width: 768px) { .signal-dashboard { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .signal-dashboard { grid-template-columns: repeat(5, 1fr); } }
.dash-box { background: #f8fafc; padding: 15px; border-radius: 12px; border: 1px solid #e2e8f0; text-align: center; }
.dash-label { font-size: 0.75rem; color: #64748b; font-weight: 600; text-transform: uppercase; margin-bottom: 5px; }
.dash-value { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.ck-content { font-size: 0.95rem; line-height: 1.7; color: #334155; }
.ck-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
#recModalContent { max-height: 75vh !important; font-size: 1rem !important; } 
#recModalContent img { max-width: 100% !important; height: auto !important; display: block; margin: 15px auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); } @media (min-width: 992px) { .modal-custom-50 { max-width: 50% !important; } }
.loader-dots { display: flex; justify-content: center; align-items: center; padding: 20px; }
.loader-dots div { width: 10px; height: 10px; margin: 3px; background: #0f172a; border-radius: 50%; animation: loader-dots 0.6s infinite alternate; }
.loader-dots div:nth-child(2) { animation-delay: 0.2s; } .loader-dots div:nth-child(3) { animation-delay: 0.4s; }
@keyframes loader-dots { to { opacity: 0.3; transform: translateY(-5px); } }

/* 1.21 DASHBOARD UI (Center Sidebar & Cards) - MERGED 1.22 & 1.24 */
.welcome-card-clean { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; margin-bottom: 15px; }
.welcome-header { font-size: 0.9rem; color: #334155; margin-bottom: 8px; }
.welcome-actions { display: flex; gap: 5px; margin-top: 15px; }
.btn-welcome-clean { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: transparent; border: none; padding: 0; text-decoration: none; color: #64748b; transition: all 0.2s; }
.btn-welcome-clean:hover { color: #0d6efd; transform: translateY(-2px); }
.btn-welcome-clean i { font-size: 1.2rem; margin-bottom: 5px; }
.btn-welcome-clean span { font-size: 0.65rem; font-weight: 600; }
.sidebar-user-info { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; width: 100%; }
.vip-badge-container { display: flex; flex-direction: column; align-items: center; gap: 5px; margin-top: 5px; width: 100%; }
.qm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 15px; }
.qm-item { display: flex; align-items: center; padding: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; color: #334155; transition: all 0.15s; }
.qm-item:hover { border-color: #0d6efd; background: #f0f7ff; transform: translateX(2px); }
.info-list-item { cursor: pointer; transition: background 0.2s; }
.info-list-item:hover { background-color: #f8fafc; }
/* Dashboard Card & Overlay */
.rec-card-db { position: relative !important; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; height: 100%; transition: transform 0.2s; cursor: pointer; }
.rec-card-db:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.rec-card-db.type-buy { border-left: 3px solid #16a34a; } .rec-card-db.type-sell { border-left: 3px solid #dc2626; } .rec-card-db.type-hold { border-left: 3px solid #6c757d; }
.rec-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stock-code { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.rec-badge { font-size: 0.6rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; }
.stats-grid-5 { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 5px; background: #f8fafc; padding: 6px; border-radius: 6px; }
.stats-grid-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; margin-top: 5px; }
.stat-box { text-align: center; }
.stat-lbl { font-size: 0.55rem; color: #94a3b8; text-transform: uppercase; margin-bottom: 1px; }
.stat-val { font-size: 0.8rem; font-weight: 700; color: #334155; }
.is-locked .blur-target { filter: blur(4px); opacity: 0.5; }
.db-lock-overlay { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; background: rgba(255,255,255,0.7); backdrop-filter: blur(2px); display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; z-index: 50; }
.db-btn-unlock { background: #0f172a; color: #fbbf24; font-size: 0.8rem; font-weight: 800; padding: 8px 18px; border-radius: 50px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); display: flex !important; align-items: center; justify-content: center; gap: 6px; border: 1px solid #fbbf24; margin: auto; }
.db-btn-unlock:hover { transform: scale(1.05); color: #fbbf24; background: #000; }

/* 1.22 RECOMMEND PAGE UI (Separated) - NEW 1.25 */
.filter-scroll-container { overflow-x: auto; white-space: nowrap; padding-bottom: 5px; scrollbar-width: none; }
.filter-scroll-container::-webkit-scrollbar { display: none; }
.btn-filter-pill { display: inline-block; padding: 6px 16px; margin-right: 6px; border-radius: 50px; border: 1px solid #e2e8f0; background: #fff; color: #64748b; font-weight: 600; font-size: 0.85rem; transition: 0.2s; text-decoration: none; }
.btn-filter-pill:hover { background: #f1f5f9; color: #0f172a; }
.btn-filter-pill.active { background: #0f172a; color: #fff; border-color: #0f172a; }

/* 1.23 WATCHLIST & EXPERT NAV UI - NEW */

/* --- Common Watchlist Elements --- */
.smart-input-group { position: relative; border: 1px solid #cbd5e1; border-radius: 8px; background: white; margin-bottom: 20px; }
.input-symbol { border: none; background: transparent; padding: 10px 15px; font-weight: 700; font-size: 1rem; text-transform: uppercase; width: 100%; border-radius: 8px; }
.input-symbol:focus { outline: none; }
.btn-add-fast { position: absolute; right: 4px; top: 4px; bottom: 4px; border-radius: 6px; padding: 0 15px; background: #0f172a; color: white; border: none; font-weight: 600; }

/* Table Customization */
.table-custom { width: 100%; border-collapse: collapse; }
.table-custom th { text-align: right; padding: 12px 15px; background: #f1f5f9; color: #475569; font-weight: 700; font-size: 0.85rem; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.table-custom th:first-child { text-align: center; } 
.table-custom td { padding: 12px 15px; vertical-align: middle; border-bottom: 1px solid #f1f5f9; background: #fff; font-size: 1rem; }
.table-custom tr:hover td { background-color: #f8fafc; }

/* Table Columns */
.col-symbol { width: 15%; font-weight: 800; color: #0f172a; text-align: center; }
.col-price { width: 15%; text-align: right; font-weight: 700; color: #334155; }
.col-change { width: 20%; text-align: right; }
.col-tools { width: 50%; text-align: right; white-space: nowrap; }

/* Indicators & Colors */
.text-up { color: #16a34a; } .text-down { color: #dc2626; } .text-ref { color: #f59e0b; }
.bg-up { background-color: #dcfce7; color: #166534; } 
.bg-down { background-color: #fee2e2; color: #991b1b; } 
.bg-ref { background-color: #fffbeb; color: #d97706; }
.badge-change { display: inline-block; padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: 0.9rem; min-width: 70px; text-align: center;}

/* Tool Buttons */
.btn-tool { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: #fff; border: 1px solid #e2e8f0; color: #64748b; transition: 0.2s; margin-left: 4px;}
.btn-tool:hover { border-color: #94a3b8; color: #0f172a; transform: translateY(-2px); }
.btn-tool.delete:hover { background: #fee2e2; border-color: #b91c1c; color: #b91c1c; }

/* Right Sidebar: Potential & Trending */
.potential-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.potential-header { background: #0f172a; color: #fff; padding: 12px 15px; font-weight: 700; font-size: 0.95rem; display: flex; justify-content: space-between; align-items: center; }
.trending-header { background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%); }
.potential-list { list-style: none; padding: 0; margin: 0; }
.potential-item { padding: 12px 15px; border-bottom: 1px dashed #e2e8f0; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; }
.potential-item:last-child { border-bottom: none; }
.potential-item:hover { background: #f8fafc; padding-left: 20px; }
.pot-info { flex-grow: 1; }
.pot-symbol { font-weight: 800; color: #0f172a; font-size: 1rem; }
.pot-price { font-size: 0.9rem; font-weight: 700; }
.pot-sub { font-size: 0.75rem; color: #94a3b8; }
.count-badge { font-size: 0.7rem; background: #f1f5f9; color: #64748b; padding: 2px 6px; border-radius: 4px; font-weight: 600; margin-left: 5px;}

/* Expert NAV Specifics */
.expert-nav-header { background: #fff; padding: 15px; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }

/* Expert Profile Card (Right Column) */
.expert-profile-card { background: #fff; border-radius: 24px; padding: 30px 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); text-align: center; border: 1px solid #f1f5f9; }
.expert-avt-wrap { width: 110px; height: 110px; margin: 0 auto 15px; position: relative; }
.expert-avt-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.expert-name { font-weight: 800; font-size: 1.3rem; color: #1e293b; margin-bottom: 5px; }
.expert-code { background: #1e293b; color: #fff; padding: 5px 20px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; display: inline-block; margin-bottom: 15px; font-family: monospace; }
.expert-rating { background: #fffbeb; color: #1e293b; border: 1px solid #fcd34d; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; margin-bottom: 25px; }
.expert-rating i { color: #f59e0b; margin-left: 5px; }
.expert-stats-row { display: flex; gap: 15px; margin-bottom: 25px; }
.expert-stat-box { flex: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; text-align: left; }
.estat-label { font-size: 0.65rem; text-transform: uppercase; color: #64748b; font-weight: 700; display: block; margin-bottom: 4px; }
.estat-val { font-size: 1.4rem; font-weight: 800; color: #0f172a; line-height: 1; }

/* Expert Action Buttons */
.btn-expert { width: 100%; padding: 12px; border-radius: 50px; font-weight: 700; margin-bottom: 10px; border: none; transition: 0.2s; font-size: 0.95rem; }
.btn-expert.status { background: #79a88d; color: #fff; cursor: default; }
.btn-expert.request { background: #fff; border: 1px solid #e2e8f0; color: #3b82f6; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.btn-expert.request:hover { background: #f8fafc; border-color: #3b82f6; }
.btn-expert.vote { background: #fbbf24; color: #1e293b; box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3); }
.btn-expert.vote:hover { background: #f59e0b; }
.btn-expert.share { background: #fff; border: 1px solid #3b82f6; color: #3b82f6; }
.btn-expert:active { transform: scale(0.98); }

/* Responsive adjustments */
@media (max-width: 991px) { .col-right-sidebar { margin-top: 20px; } }
@media (max-width: 768px) {
    .table-custom thead { display: none; }
    .table-custom tr { display: block; margin-bottom: 10px; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; }
    .table-custom td { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border: none; text-align: right; width: 100%; }
    .col-symbol { font-size: 1.2rem; margin-bottom: 5px; width: 100%; border-bottom: 1px dashed #f1f5f9 !important; padding-bottom: 8px !important; text-align: left; }
    .col-price::before { content: "Thị giá:"; color: #94a3b8; font-weight: normal; margin-right: auto; font-size: 0.9rem; }
    .col-change::before { content: "Thay đổi:"; color: #94a3b8; font-weight: normal; margin-right: auto; font-size: 0.9rem; }
    .col-tools { justify-content: space-between; margin-top: 10px; padding-top: 10px !important; border-top: 1px dashed #f1f5f9 !important; width: 100%; }
}