/* =========================================================
   Insight Alpha – Application Stylesheet
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
    --primary:    #1a56a4;   /* Insight Alpha blue */
    --primary-lt: #e8f0fb;
    --primary-dk: #133f80;
    --accent:     #2d7dd2;
    --bg-main:    #f3f6fb;
    --bg-white:   #ffffff;
    --text-dark:  #1a1a2e;
    --text-muted: #6c757d;
    --border:     #d0dced;
    --card-shadow: 0 2px 12px rgba(26,86,164,.10);
    --radius:     10px;
    --nav-h:      60px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 15px; color: var(--text-dark); background: var(--bg-white); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =========================================================
   LOGIN PAGE
   ========================================================= */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fb 0%, #dce8f8 50%, #c8dcf5 100%);
}
.login-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(26,86,164,.18);
    padding: 48px 44px 40px;
    width: 100%;
    max-width: 420px;
}
.login-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
}
.login-logo .brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -.5px;
}
.login-logo .brand-sub {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}
.login-logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.login-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-align: center;
}
.login-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color .2s;
    background: #fafcff;
    outline: none;
}
.form-control:focus { border-color: var(--primary); background: #fff; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-left: 40px; }
.input-icon-wrap .icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
}
.btn-primary-full {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    letter-spacing: .3px;
}
.btn-primary-full:hover { background: var(--primary-dk); }
.alert-error {
    background: #fde8e8;
    color: #c0392b;
    border: 1px solid #f5c6c6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 18px;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 160px;
}
.navbar-brand-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.navbar-brand-text { line-height: 1.2; }
.navbar-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    display: block;
}
.navbar-brand-tag {
    font-size: 10px;
    color: var(--text-muted);
}

/* Search bar */
.navbar-search {
    flex: 1;
    max-width: 520px;
    position: relative;
}
.navbar-search input {
    width: 100%;
    padding: 9px 16px 9px 42px;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    font-size: 14px;
    background: var(--bg-main);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.navbar-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,164,.10);
    background: #fff;
}
.navbar-search .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
}
.navbar-search .search-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    cursor: pointer;
}

/* Explore links */
.navbar-explore-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}
.explore-link {
    display: flex;
    align-items: center;
   /* gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;*/
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer; 
    transition: background .15s, color .15s;
    /*border: 1.5px solid var(--border);
    background: var(--bg-white);*/
}
.explore-link:hover {
    background: var(--primary-lt);
    color: var(--primary);
    border-color: var(--primary);
}
.explore-link .icon {
    font-size: 16px;
}

/* Nav links */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.nav-link:hover, .nav-link.active { background: var(--primary-lt); color: var(--primary); }
.nav-link .icon { font-size: 16px; }

/* Profile dropdown */
.profile-wrap { position: relative; }
.profile-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-lt);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary);
    transition: background .15s;
}
.profile-btn:hover { background: var(--primary); color: #fff; }
.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(26,86,164,.14);
    z-index: 999;
    overflow: hidden;
}
.profile-wrap:hover .profile-dropdown,
.profile-dropdown.open { display: block; }
.profile-header {
    padding: 14px 16px;
    background: var(--primary-lt);
    border-bottom: 1px solid var(--border);
}
.profile-header .name { font-size: 13px; font-weight: 700; color: var(--primary); }
.profile-header .email { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.profile-menu { padding: 6px 0; }
.profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: var(--text-dark);
    transition: background .12s;
}
.profile-menu a:hover { background: var(--bg-main); color: var(--primary); }
.profile-menu .logout { color: #c0392b; }
.profile-menu .logout:hover { background: #fde8e8; color: #c0392b; }
.profile-menu-divider { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* =========================================================
   MAIN LAYOUT
   ========================================================= */
.app-layout {
    display: flex;
    min-height: calc(100vh - var(--nav-h));
}

/* Sidebar (left by default, right when following main-content) */
.sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--bg-white);
    border-right: 1px solid var(--border);
    padding: 20px 0;
    overflow-y: auto;
}
/* Right-side sidebar: appears after .main-content in DOM */
.main-content + .sidebar {
    border-right: none;
    border-left: 1px solid var(--border);
}
.sidebar-section { margin-bottom: 24px; }
.sidebar-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 0 18px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-label a { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: none; letter-spacing: 0; }
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    font-size: 13.5px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background .12s, color .12s;
    border-left: 3px solid transparent;
}
.sidebar-item:hover { background: var(--bg-main); color: var(--primary); border-left-color: var(--primary); }
.sidebar-item.active { background: var(--primary-lt); color: var(--primary); font-weight: 600; border-left-color: var(--primary); }
.sidebar-item .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}
.sidebar-item:hover .dot, .sidebar-item.active .dot { background: var(--primary); }

/* Main content area */
.main-content {
    flex: 1;
    /*background: var(--bg-main);*/
    padding: 28px 28px;
    overflow-y: auto;
}

/* =========================================================
   WELCOME BANNER
   ========================================================= */
.welcome-banner {
    background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 22px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.welcome-banner h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.welcome-banner p { font-size: 13px; opacity: .85; max-width: 540px; }
.welcome-cta {
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.welcome-cta:hover { background: rgba(255,255,255,.28); }

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.section-head h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.section-head a { font-size: 13px; color: var(--primary); font-weight: 500; }
.section-head a:hover { text-decoration: underline; }

/* =========================================================
   TRANSCRIPT CARDS
   ========================================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}
.transcript-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;
}
.transcript-card:hover { box-shadow: 0 6px 24px rgba(26,86,164,.16); transform: translateY(-2px); }
.card-date { font-size: 11.5px; color: var(--text-muted); margin-bottom: 8px; }
.card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.45;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
}
.badge-sector  { background: #e3f0fd; color: var(--primary); }
.badge-theme   { background: #e8f5e9; color: #2e7d32; }
.badge-company { background: #fff3e0; color: #e65100; }
.card-expert { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.btn-link { font-size: 13px; color: var(--primary); font-weight: 600; }
.btn-link:hover { text-decoration: underline; }
.btn-watchlist {
    font-size: 12px;
    padding: 5px 14px;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: background .15s, color .15s;
}
.btn-watchlist:hover { background: var(--primary); color: #fff; }

/* =========================================================
   EMPTY STATE
   ========================================================= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    color: var(--border);
}
.empty-state p { font-size: 15px; }

/* =========================================================
   SIDEBAR – dynamic count badge & empty hint
   ========================================================= */
.sidebar-count {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-lt);
    border-radius: 10px;
    padding: 1px 7px;
    flex-shrink: 0;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-empty-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
    padding: 6px 0;
}

/* =========================================================
   EXPLORE PAGE
   ========================================================= */
.explore-main { max-width: 960px; }

/* Tab switcher */
.explore-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0;
}
.explore-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    position: relative;
    bottom: -2px;
    transition: color .15s, background .15s;
    text-decoration: none;
}
.explore-tab:hover { color: var(--primary); background: var(--primary-lt); }
.explore-tab.active {
    color: var(--primary);
    background: var(--bg-white);
    border-color: var(--border);
    border-bottom-color: var(--bg-white);
    font-weight: 600;
}
.explore-tab-count {
    font-size: 11px;
    background: var(--primary-lt);
    color: var(--primary);
    border-radius: 10px;
    padding: 1px 8px;
    font-weight: 700;
}
.explore-tab.active .explore-tab-count {
    background: var(--primary);
    color: #fff;
}

/* Section header */
.explore-section { animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.explore-section-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}
.explore-section-head h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.explore-section-head h4 i { color: var(--primary); }
.explore-section-sub {
    font-size: 13px;
    color: var(--text-muted);
}

/* Tile grid */
.explore-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

/* Individual tile */
.explore-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--card-shadow);
    transition: box-shadow .2s, transform .18s, border-color .15s;
    cursor: pointer;
}
.explore-tile:hover {
    box-shadow: 0 6px 24px rgba(26,86,164,.16);
    transform: translateY(-2px);
    border-color: var(--accent);
}

/* Theme tile – blue accent */
.explore-tile-theme .explore-tile-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--primary-lt);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.explore-tile-theme .explore-tile-icon i { color: var(--primary); font-size: 16px; }

/* Sector tile – teal/green accent */
.explore-tile-sector .explore-tile-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: #edf7f0;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.explore-tile-sector .explore-tile-icon i { color: #2a8c4a; font-size: 16px; }

.explore-tile-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.explore-tile-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.explore-tile-count {
    font-size: 12px;
    color: var(--text-muted);
}
.explore-tile-arrow {
    font-size: 11px;
    color: var(--border);
    flex-shrink: 0;
    transition: color .15s;
}
.explore-tile:hover .explore-tile-arrow { color: var(--primary); }

/* Bullet list for explore pages (matching companies tab style) */
.explore-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.explore-bullet-list li {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.75;
    padding: 10px 0 10px 22px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.explore-bullet-list li:last-child {
    border-bottom: none;
}
.explore-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 19px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}
.explore-bullet-list li:hover {
    background-color: var(--primary-lt);
    cursor: pointer;
}
.explore-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.explore-item-name {
    font-weight: 600;
    color: var(--text-dark);
}
.explore-item-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .explore-tiles-grid { grid-template-columns: 1fr; }
    .explore-tabs { gap: 4px; }
    .explore-tab { padding: 8px 14px; font-size: 13px; }
}

/* =========================================================
   UTILITY
   ========================================================= */
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    .sidebar { display: none; }
    .main-content { padding: 16px; }
    .cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .navbar { padding: 0 12px; }
    .navbar-brand-tag { display: none; }
    .welcome-banner { flex-direction: column; gap: 12px; }
}

/* =========================================================
   TRANSCRIPT CARD – clickable title
   ========================================================= */
.card-title-link {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    transition: color .15s;
}
.card-title-link:hover { color: var(--primary); text-decoration: underline; }

/* =========================================================
   TRANSCRIPT DETAIL PAGE
   ========================================================= */

/* Detail page needs a bit more width for the two-col layout */
.detail-main { max-width: 1100px; }

/* ── Page header ── */
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb-back {
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity .15s;
}
.breadcrumb-back:hover { opacity: .75; }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text-dark); font-weight: 600; }

.detail-meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.detail-meta-top span { display: flex; align-items: center; gap: 5px; }
.detail-meta-top strong { color: var(--text-dark); }

/* ── Badges row ── */
.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.badge-sector-detail {
    background: #edf1f9;
    border: 1px solid #b0c4e8;
    color: var(--primary);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}
.badge-subsector {
    background: #f0f7ee;
    border: 1px solid #b8d9b4;
    color: #2d6a27;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ── Title bar ── */
.detail-title-bar {
   /* background: var(--bg-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 14px 20px;*/
    font-size: 25px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.45;
    margin-bottom: 5px;
    /*box-shadow: var(--card-shadow);*/
}

/* ── Expert line ── */
.detail-expert-line {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    /*align-items: center;*/
    gap: 7px;
}
.detail-expert-line i { color: var(--primary); }

/* ── Tab bar ── */
.detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}
.detail-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    border-bottom: none;
    transition: color .15s, background .15s;
    cursor: pointer;
    position: relative;
    bottom: -2px;
}
.detail-tab:hover { color: var(--primary); background: var(--primary-lt); }
.detail-tab.active {
    color: var(--primary);
    background: var(--bg-white);
    border-color: var(--border);
    border-bottom-color: var(--bg-white);
    font-weight: 600;
}

/* ── Two-column body ── */
.detail-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}

/* ── Shared card shell ── */
.detail-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    padding: 24px;
}

/* ── Main content card sections ── */
.detail-section + .detail-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.detail-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detail-section-body {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-dark);
}

.detail-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.detail-bullet-list li {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-dark);
    padding-left: 18px;
    position: relative;
}
.detail-bullet-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* About table */
.detail-about-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.detail-about-table th,
.detail-about-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.detail-about-table th {
    width: 38%;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}
.detail-about-table td { color: var(--text-dark); font-weight: 500; }
.detail-about-table tr:last-child th,
.detail-about-table tr:last-child td { border-bottom: none; }

/* Empty state inside detail */
.detail-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
}
.detail-empty i { font-size: 40px; display: block; margin-bottom: 14px; color: var(--border); }
.detail-empty p { font-size: 14px; }

/* ── Sidebar card sections ── */
.detail-card-sidebar { padding: 0; overflow: hidden; }
.sidebar-section {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child { border-bottom: none; }

.sidebar-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sidebar-empty {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Bullet list in sidebar */
.sidebar-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-bullet-list li {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dark);
    padding-left: 14px;
    position: relative;
}
.sidebar-bullet-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Companies list */
.sidebar-companies-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sidebar-companies-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
}
.co-name { font-weight: 500; color: var(--text-dark); }
.co-type {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-main);
    padding: 2px 7px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Products list */
.sidebar-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-products-list li { font-size: 13px; }
.sidebar-products-list strong { color: var(--text-dark); display: block; margin-bottom: 2px; }
.sidebar-products-list p { color: var(--text-muted); font-size: 12px; line-height: 1.55; margin: 0; }

/* Quotes */
.sidebar-quotes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-quotes-list blockquote {
    margin: 0;
    padding: 8px 12px;
    border-left: 3px solid var(--primary);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    background: var(--primary-lt);
    border-radius: 0 6px 6px 0;
}
.sidebar-quotes-list cite {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: normal;
}

/* ── Detail page responsive ── */
@media (max-width: 900px) {
    .detail-body { grid-template-columns: 1fr; }
    .detail-card-sidebar { order: -1; }
    .detail-tabs { overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 600px) {
    .detail-header { flex-direction: column; align-items: flex-start; }
    .detail-meta-top { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* =========================================================
   PROFILE PAGE
   ========================================================= */
.profile-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}

.profile-container {
    margin-top: 20px;
}

.profile-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.profile-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
    padding: 32px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    flex-shrink: 0;
}

.profile-header-info h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
}

.profile-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-card-body {
    padding: 32px 28px;
}

.profile-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.profile-detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-detail-label i {
    font-size: 8px;
    color: var(--primary);
}

.profile-detail-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    word-break: break-word;
}

.profile-detail-value a {
    color: var(--primary);
    text-decoration: none;
}

.profile-detail-value a:hover {
    text-decoration: underline;
}

.profile-card-footer {
    padding: 16px 28px;
    background: var(--bg-main);
    border-top: 1px solid var(--border);
}

.profile-footer-note {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-footer-note i {
    color: var(--primary);
}

/* User Tags */
.profile-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-tag-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-lt);
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--primary);
}

.profile-tag-badge i {
    font-size: 11px;
}

.profile-tag-description {
    font-size: 12px;
    color: var(--text-muted);
    padding-left: 14px;
}

/* User Themes Grid */
.profile-themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.profile-theme-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.profile-theme-card:hover {
    border-color: var(--primary);
    background: var(--primary-lt);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 86, 164, 0.15);
}

.profile-theme-card i {
    font-size: 16px;
    color: var(--primary);
}

/* User Sectors Grid */
.profile-sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.profile-sector-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.profile-sector-card:hover {
    border-color: var(--accent);
    background: #e8f5fb;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 125, 210, 0.15);
}

.profile-sector-card i {
    font-size: 16px;
    color: var(--accent);
}

/* Profile avatar upload */
.profile-avatar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.profile-avatar {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.profile-avatar-overlay i {
    font-size: 17px;
}

.profile-avatar:hover .profile-avatar-overlay,
.profile-avatar.uploading .profile-avatar-overlay {
    opacity: 1;
}

.profile-avatar.uploading .profile-avatar-overlay::after {
    content: 'Uploading…';
    position: absolute;
    font-size: 11px;
}

.profile-upload-msg {
    font-size: 11px;
    font-weight: 500;
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    text-align: center;
}

.profile-upload-msg--success { background: rgba(255,255,255,0.25); color: #fff; }
.profile-upload-msg--error   { background: rgba(220,38,38,0.85);   color: #fff; }
.profile-upload-msg--loading { color: rgba(255,255,255,0.8); }

/* Navbar profile button with image */
.profile-btn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* ── Notification Bell ────────────────────────────────────────────────────── */
.notif-wrap {
    position: relative;
    flex-shrink: 0;
}

.notif-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-lt);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary);
    position: relative;
    transition: background .15s, color .15s;
}
.notif-btn:hover { background: var(--primary); color: #fff; }

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    line-height: 1;
    pointer-events: none;
}

/* ── Notification Flyout ──────────────────────────────────────────────────── */
.notif-flyout {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 390px;
    max-height: 560px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    border: 1px solid #e5e7eb;
    z-index: 1100;
    overflow: hidden;
}
.notif-flyout.open { display: flex; }

.notif-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 8px;
    flex-shrink: 0;
}
.notif-flyout-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.notif-mark-all-btn {
    font-size: 12.5px;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background .12s;
    white-space: nowrap;
}
.notif-mark-all-btn:hover { background: var(--primary-lt); }

.notif-tabs {
    display: flex;
    gap: 4px;
    padding: 0 12px 10px;
    flex-shrink: 0;
}
.notif-tab {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #64748b;
    transition: all .15s;
}
.notif-tab.active { background: #dbeafe; color: var(--primary); }
.notif-tab:hover:not(.active) { background: #f1f5f9; }

.notif-list {
    flex: 1;
    overflow-y: auto;
    min-height: 80px;
}

.notif-section-label {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    padding: 10px 16px 4px;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background .12s;
    position: relative;
}
.notif-item:hover { background: #f1f5f9; }
.notif-item.unread { background: #eff6ff; }
.notif-item.unread:hover { background: #dbeafe; }

.notif-item-icon {
    position: relative;
    flex-shrink: 0;
}
.notif-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.notif-type-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
}

.notif-item-body {
    flex: 1;
    min-width: 0;
}
.notif-item-text {
    font-size: 13.5px;
    color: #1e293b;
    line-height: 1.45;
}
.notif-transcript {
    display: block;
    font-size: 12.5px;
    color: #475569;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notif-expert {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.notif-item-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.notif-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
    flex-shrink: 0;
    align-self: center;
    margin-left: auto;
}

.notif-flyout-footer {
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.notif-see-all {
    display: block;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-align: center;
    text-decoration: none;
    transition: background .12s;
}
.notif-see-all:hover { background: #f1f5f9; color: #1e293b; text-decoration: none; }

.notif-loading,
.notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    color: #94a3b8;
    font-size: 14px;
    gap: 10px;
    text-align: center;
}
.notif-empty i { font-size: 30px; }

/* Responsive notification flyout */
@media (max-width: 480px) {
    .notif-flyout {
        width: calc(100vw - 24px);
        right: -12px;
    }
}

/* Profile page responsive */
@media (max-width: 768px) {
    .profile-card-header {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .profile-avatar {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .profile-header-info h2 {
        font-size: 20px;
    }

    .profile-card-body {
        padding: 24px 20px;
    }

    .profile-details-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .profile-themes-grid,
    .profile-sectors-grid {
        grid-template-columns: 1fr;
    }
}

.btn-ask-expert-hover {
	z-index:99999 !important;
}

/* =========================================================
   MODAL STYLES (Common for all modals)
   ========================================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-container {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark, #1e293b);
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #64748b);
    font-size: 18px;
    transition: all 0.15s;
}

.modal-close:hover {
    background: var(--surface, #f8f9fa);
    color: var(--text-dark, #1e293b);
}

.modal-body {
    padding: 24px;
    max-height: calc(90vh - 180px);
    overflow-y: auto;
}

.modal-info-text {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text, #000000);
}

.form-group {
    margin-bottom: 20px;
}

.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary, #1a56a4);
}

.form-textarea::placeholder {
    color: var(--text-muted, #94a3b8);
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-primary {
    background: var(--primary, #1a56a4);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dk, #133f80);
}

.btn-primary:disabled {
    background: var(--border, #e2e8f0);
    color: var(--text-muted, #64748b);
    cursor: not-allowed;
}

.btn-secondary {
    background: transparent;
    color: var(--text, #000000);
    border: 1px solid var(--border, #e2e8f0);
}

.btn-secondary:hover {
    background: var(--surface, #f8f9fa);
}

/* =========================================================
   EXPERT BIOGRAPHY TOOLTIP
   ========================================================= */
.expert-bio-wrapper {
    position: relative;
}

.expert-bio {
    font-size: 14px;
    color: var(--text, #000000);
    line-height: 1.5;
}

.expert-bio.has-tooltip {
    cursor: help;
   /* border-bottom: 1px dotted var(--text-muted, #64748b);*/
    display: inline-block;
}

.expert-bio-tooltip {
    display: none;
    position: fixed;
    z-index: 10000;
    background: var(--text-dark, #1e293b);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 400px;
    min-width: 300px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.expert-bio-tooltip.show {
    display: block;
    opacity: 1;
}

.expert-bio-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--text-dark, #1e293b);
}

.expert-bio-tooltip.tooltip-above::before {
    bottom: auto;
    top: 100%;
    border-bottom: none;
    border-top: 8px solid var(--text-dark, #1e293b);
}

/* Ensure table cells don't clip tooltips */
.transcripts-table tbody tr {
    position: relative;
}

.transcripts-table tbody td {
    overflow: visible;
}

.transcripts-table-wrapper {
    overflow: visible;
}

/* =========================================================
   NEW TRANSCRIPT BADGE
   ========================================================= */
.transcript-new-badge {
    display: inline-block;
    background: var(--primary, #1a56a4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 5px;
    line-height: 1.5;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    clear: both;
}

/* Stacks date text and NEW badge vertically inside a table cell */
.col-date-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

/* Undo the gap when there is no badge */
.col-date-inner .transcript-new-badge {
    margin-top: 0;
}

/* Card view badge sits beneath the date text */
.transcript-card-date .transcript-new-badge {
    margin-top: 6px;
}

.disclaimer-class{
	margin-top:20px; padding:15px; background-color:#fffdf5; border-left:5px solid #ffc107; border-radius:5px; font-size:14px; line-height:1.6; color:#856404-; position:relative;
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    width: 100%;
    margin-top: auto;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Main three-column row ── */
.footer-main {
    display: flex;
    align-items: center;
    padding: 22px 0;
    gap: 0;
}

.footer-col {
    display: flex;
}

/* ── Brand column ── */
.footer-brand {
    flex: 0 0 26%;
    flex-direction: column;
    gap: 8px;
    padding-right: 28px;
    border-right: 1px solid var(--border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-logo-icon {
    width: 34px;
    height: 34px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.footer-logo-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── Nav links column (center) ── */
.footer-nav {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 28px;
}

.footer-copy-mobile {
    display: none;
}

.footer-links-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-row a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}

.footer-links-row a:hover {
    color: var(--primary-dk);
    text-decoration: underline;
}

.footer-pipe {
    color: var(--border);
    font-size: 13px;
    user-select: none;
    line-height: 1;
}

.footer-links-mobile-only {
    display: none;
}

/* ── Support column ── */
.footer-support {
    flex: 0 0 26%;
    align-items: flex-start;
    gap: 12px;
    padding-left: 28px;
    border-left: 1px solid var(--border);
}

.footer-support-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-support-icon i {
    font-size: 18px;
    color: var(--primary);
}

.footer-support-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-support-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}

.footer-support-email {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.footer-support-email:hover {
    text-decoration: underline;
    color: var(--primary-dk);
}

.footer-support-sub {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── Bottom disclaimer bar ── */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 12px 0 18px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.65;
    text-align: center;
    margin: 0;
}
