/* ==========================================================================
   CÔNG TY CỔ PHẦN THỦY ĐIỆN BẮC HÀ (BHHC) - CHUYÊN TRANG QUAN HỆ CỔ ĐÔNG & NĐT (IR)
   Mã CK: BHA (UPCoM - HNX)
   Theme: Pure Ocean Blue & Corporate Clean White (#0A4D68, #0077B6, #0096C7, #0A2647)
   ========================================================================== */

/* 1. CSS VARIABLES & SYSTEM RESET */
:root {
    --primary-blue: #0A4D68;       /* Xanh biển đậm chủ đạo */
    --royal-blue: #0077B6;         /* Xanh dương tươi sáng */
    --accent-cyan: #0096C7;        /* Xanh ngọc cyan */
    --sky-light: #EBF4F6;          /* Xanh nhạt nền */
    --ocean-deep: #0A2647;         /* Xanh thẫm thương hiệu */
    --cyan-neon: #05BFDB;
    --navy-dark: #06192E;
    
    /* Category Colors */
    --color-bctc: #0284C7;         /* Báo cáo tài chính */
    --color-bctc-bg: #E0F2FE;
    --color-dhdcd: #7C3AED;        /* Đại hội cổ đông */
    --color-dhdcd-bg: #F5F3FF;
    --color-annual: #059669;       /* Báo cáo thường niên */
    --color-annual-bg: #ECFDF5;
    --color-dividend: #D97706;     /* Cổ tức & Cổ phiếu */
    --color-dividend-bg: #FFFBEB;
    --color-governance: #4F46E5;   /* Điều lệ & Quản trị */
    --color-governance-bg: #EEF2FF;
    --color-disclosure: #0891B2;   /* Công bố thông tin */
    --color-disclosure-bg: #ECFEFF;

    /* Backgrounds */
    --bg-page: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-glass-nav: rgba(255, 255, 255, 0.96);
    --bg-dark-glass: rgba(10, 38, 71, 0.88);

    /* Text Colors */
    --text-heading: #0A2647;
    --text-main: #1E293B;
    --text-muted: #475569;
    --text-dim: #64748B;
    --text-pure: #FFFFFF;

    /* Borders & Shadows */
    --border-subtle: #E2E8F0;
    --border-light: #EDF2F7;
    --border-accent: rgba(0, 119, 182, 0.25);
    --shadow-sm: 0 2px 8px rgba(10, 38, 71, 0.05);
    --shadow-md: 0 6px 20px rgba(10, 38, 71, 0.08);
    --shadow-lg: 0 12px 36px rgba(10, 38, 71, 0.12);
    --shadow-hover: 0 16px 40px rgba(0, 119, 182, 0.16);

    /* Typography */
    --font-heading: 'Montserrat', 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s var(--ease-out);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-cyan);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Helpers */
.text-cyan { color: var(--accent-cyan) !important; }
.text-gold { color: #F59E0B !important; }
.text-green { color: #10B981 !important; }
.gradient-text {
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 2. TOPBAR */
.topbar {
    background: var(--ocean-deep);
    color: #CBD5E1;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1001;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #E2E8F0;
}

.topbar-item strong {
    color: #FFFFFF;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-search-form {
    position: relative;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrap .search-icon {
    position: absolute;
    left: 10px;
    font-size: 0.78rem;
    color: #94A3B8;
    pointer-events: none;
}

.topbar-search-input {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 32px 5px 30px;
    color: #FFFFFF;
    font-size: 0.8rem;
    width: 210px;
    outline: none;
    transition: all var(--transition-fast);
}

.topbar-search-input::placeholder {
    color: #94A3B8;
}

.topbar-search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--cyan-neon);
    width: 250px;
}

.search-submit-btn {
    position: absolute;
    right: 4px;
    background: transparent;
    border: none;
    color: var(--cyan-neon);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 0.75rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 0.78rem;
}

.lang-btn {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
}

.lang-switch .sep {
    color: rgba(255, 255, 255, 0.3);
}

/* 3. MAIN HEADER & NAVBAR */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-glass-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 2px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

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

.logo-img-wrapper {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bhhc-logo-img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--ocean-deep);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--royal-blue);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ocean-deep);
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--royal-blue);
    background: var(--sky-light);
}

.nav-link.active {
    color: var(--royal-blue);
    background: var(--sky-light);
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--royal-blue), var(--cyan-neon));
    border-radius: 2px;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-glow-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--royal-blue), var(--accent-cyan));
    color: #FFFFFF !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.28);
    transition: all var(--transition-fast);
}

.btn-glow-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.4);
    background: linear-gradient(135deg, var(--primary-blue), var(--royal-blue));
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1002;
}

.hamburger-btn span {
    width: 100%;
    height: 2.5px;
    background-color: var(--ocean-deep);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 4. MOBILE DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -310px;
    width: 290px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 1005;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: right 0.35s var(--ease-out);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 20px;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--ocean-deep);
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mob-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ocean-deep);
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.mob-link:hover, .mob-link.active {
    background: var(--sky-light);
    color: var(--royal-blue);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 38, 71, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1004;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* 5. HERO SECTION (DỊCH GỌN XUỐNG GÓC DƯỚI BÊN TRÁI - ĐỒNG BỘ THÔNG BÁO, GIỚI THIỆU, TIN TỨC) */
.subpage-hero,
.ir-hero-section {
    position: relative;
    background-color: #0A2647;
    background-image: url('AnhPoster.JPG');
    background-size: cover;
    background-position: 50% 60%;
    background-repeat: no-repeat;
    min-height: 450px;
    padding: 150px 0 45px;
    display: flex;
    align-items: flex-end;
    border-bottom: 4px solid var(--accent-cyan);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 38, 71, 0.15);
}

.subpage-hero::before,
.ir-hero-section::before {
    display: none;
}

.subpage-hero .container,
.ir-hero-section .container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
}

.subpage-hero-inner,
.ir-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.subpage-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 38, 71, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    width: fit-content;
}

.subpage-breadcrumb a {
    color: #05BFDB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.subpage-breadcrumb a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.subpage-breadcrumb .crumb-sep {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.subpage-breadcrumb .crumb-current {
    color: #FFFFFF;
    font-weight: 600;
}

.subpage-title,
.ir-hero-title {
    font-family: var(--font-heading);
    font-size: 2.7rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.95);
    display: block;
}

/* 6. IR METRICS SECTION (THANH TRẮNG CHỨA 4 MỤC THÔNG SỐ CỔ ĐÔNG BÊN DƯỚI ẢNH) */
.ir-metrics-bar {
    background: #FFFFFF;
    padding: 24px 0 20px;
    border-bottom: 1px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(10, 38, 71, 0.04);
    position: relative;
    z-index: 10;
}

.ir-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.ir-stat-card {
    padding: 16px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(10, 77, 104, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ir-stat-card:hover {
    transform: translateY(-3px);
    border-color: #0077B6;
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.15);
}

.stat-caption {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #0A4D68;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    color: #0A2647;
    margin: 4px 0;
    line-height: 1.2;
}

.stat-number .unit {
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748B;
    margin-left: 3px;
}

.stat-number.ticker {
    font-size: 1.8rem;
    color: #0077B6;
    letter-spacing: 2px;
}

.stat-sub {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1E293B;
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    padding: 3px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 4px auto 0;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.ir-stat-card:hover .stat-sub {
    background: #E2E8F0;
    color: #0A4D68;
    border-color: #94A3B8;
}

.ir-stat-card:nth-child(2) .stat-sub {
    background: rgba(0, 119, 182, 0.08);
    border-color: rgba(0, 119, 182, 0.25);
    color: #0077B6;
}

.ir-stat-card:nth-child(2):hover .stat-sub {
    background: #0077B6;
    color: #FFFFFF;
}

/* Stock Live Card (Ô 4: Thị giá cổ phiếu BHA - Đầy đặn vừa vặn) */
.stock-live-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 12px 14px !important;
    text-align: left;
}

.stock-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    line-height: 1.1;
}

.stock-card-header .stat-caption {
    font-size: 0.74rem;
    margin-bottom: 0;
}

.stock-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #16A34A;
    background: #DCFCE7;
    border: 1px solid #BBF7D0;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1;
}

.pulse-green {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #16A34A;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    animation: pulseStockGreen 1.6s infinite;
}

@keyframes pulseStockGreen {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.stock-prices-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: 2px 0;
}

.stock-price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border-radius: 5px;
    border: 1px solid transparent;
    transition: transform 0.2s ease;
}

.stock-price-item:hover {
    transform: translateY(-1px);
}

.stock-price-item .p-tag {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 0;
    line-height: 1;
    text-transform: uppercase;
}

.stock-price-item .p-num {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.1;
}

/* Tham Chiếu: Màu Vàng */
.stock-price-item.tc-price {
    background: #FEF9C3;
    border-color: #FDE047;
}

.stock-price-item.tc-price .p-tag {
    color: #A16207;
}

.stock-price-item.tc-price .p-num {
    color: #854D0E;
}

/* Giá Trần: Màu Tím */
.stock-price-item.tran-price {
    background: #F3E8FF;
    border-color: #E9D5FF;
}

.stock-price-item.tran-price .p-tag {
    color: #7E22CE;
}

.stock-price-item.tran-price .p-num {
    color: #6B21A8;
}

/* Giá Sàn: Màu Xanh Lam */
.stock-price-item.san-price {
    background: #E0F2FE;
    border-color: #BAE6FD;
}

.stock-price-item.san-price .p-tag {
    color: #0284C7;
}

.stock-price-item.san-price .p-num {
    color: #0369A1;
}

.stock-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3px;
    border-top: 1px solid #E2E8F0;
    margin-top: 2px;
    line-height: 1.1;
}

.stock-unit-note {
    font-size: 0.65rem;
    color: #475569;
    font-weight: 700;
    background: #F1F5F9;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #CBD5E1;
    white-space: nowrap;
    line-height: 1.15;
}

.stock-link-vietstock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #0077B6;
    font-size: 0.68rem;
    font-weight: 800;
    text-decoration: none;
    background: rgba(0, 119, 182, 0.08);
    border: 1px solid rgba(0, 119, 182, 0.25);
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.15;
    transition: all 0.2s ease;
}

.stock-link-vietstock i {
    font-size: 0.62rem;
    transition: transform 0.2s ease;
}

.stock-link-vietstock:hover {
    background: #0077B6;
    color: #FFFFFF;
    border-color: #0077B6;
}

/* 7. QUICK ACCESS CATEGORY NAV & LIVE FILTER BAR */
.ir-filter-section {
    position: sticky;
    top: 74px;
    z-index: 990;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 14px rgba(10, 38, 71, 0.04);
    padding: 12px 0;
}

.ir-filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ir-tab-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ir-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: var(--bg-page);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.ir-tab-btn:hover {
    color: var(--royal-blue);
    border-color: var(--royal-blue);
    background: #FFFFFF;
}

.ir-tab-btn.active {
    background: var(--royal-blue);
    color: #FFFFFF;
    border-color: var(--royal-blue);
    box-shadow: 0 3px 10px rgba(0, 119, 182, 0.25);
}

/* YEAR FILTER ROW (THEO PHONG CÁCH PTSC ẢNH 1) */
.ir-year-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid #EDF2F7;
    flex-wrap: wrap;
}

.ir-year-timeline {
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0 6px;
}

.ir-year-timeline::-webkit-scrollbar {
    display: none;
}

.year-timeline-btn {
    background: none;
    border: none;
    padding: 6px 14px 10px;
    color: #64748B;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.2s ease;
    line-height: 1.2;
    border-radius: 6px;
}

.year-timeline-btn:hover {
    color: var(--royal-blue);
    background: rgba(0, 119, 182, 0.05);
}

.year-timeline-btn.active {
    color: var(--ocean-deep);
    font-weight: 800;
    font-size: 1.05rem;
}

.year-timeline-btn .year-arrow-indicator {
    display: none;
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    color: var(--ocean-deep);
    line-height: 1;
}

.year-timeline-btn.active .year-arrow-indicator {
    display: block;
    animation: fadeInIndicator 0.25s ease-out;
}

@keyframes fadeInIndicator {
    from { opacity: 0; transform: translate(-50%, 3px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* BIG YEAR NAVIGATOR (< 2026 >) - THEO PHONG CÁCH PTSC ẢNH 1 */
.ir-big-year-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 16px 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(10, 38, 71, 0.03);
    user-select: none;
}

.btn-year-arrow {
    background: none;
    border: 1px solid transparent;
    color: #94A3B8;
    font-size: 1.9rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease-out);
    line-height: 1;
}

.btn-year-arrow:hover:not(:disabled) {
    color: var(--royal-blue);
    background: rgba(0, 119, 182, 0.08);
    border-color: rgba(0, 119, 182, 0.2);
    transform: scale(1.15);
}

.btn-year-arrow:active:not(:disabled) {
    transform: scale(0.95);
}

.btn-year-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: none !important;
}

.big-year-text {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--ocean-deep);
    letter-spacing: -0.02em;
    line-height: 1;
    min-width: 140px;
    text-align: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-box-wrap {
    position: relative;
}

.ir-search-input {
    padding: 7px 32px 7px 34px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background: #FFFFFF;
    font-size: 0.84rem;
    width: 230px;
    outline: none;
    transition: all var(--transition-fast);
}

.ir-search-input:focus {
    border-color: var(--royal-blue);
    width: 270px;
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.search-box-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #94A3B8;
}

.search-box-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94A3B8;
    font-size: 1rem;
    cursor: pointer;
    display: none;
}

/* 8. MAIN CONTENT LAYOUT */
.main-content {
    padding: 48px 0 64px;
}

.section-head-bar {
    margin-bottom: 28px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--royal-blue);
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ocean-deep);
    letter-spacing: -0.02em;
}

/* 9. PINNED / HIGHLIGHT IR REPORT BANNER (ĐỒNG BỘ CHUẨN THÔNG BÁO) */
.ir-pinned-banner {
    background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 100%);
    border: 1px solid #BAE6FD;
    border-left: 5px solid var(--royal-blue);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.ir-pinned-banner:hover {
    border-color: var(--royal-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.ir-pinned-banner:hover .pinned-title {
    color: var(--royal-blue);
}

.ir-pinned-banner::before {
    display: none;
}

.pinned-left {
    flex: 1;
}

.pinned-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.badge-pulse-hot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FEF2F2;
    color: #EF4444;
    border: 1px solid #FCA5A5;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.98); }
}

.pinned-code-pill {
    background: #E2E8F0;
    color: #334155;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pinned-date {
    font-size: 0.78rem;
    color: #64748B;
}

.pinned-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 6px;
    line-height: 1.35;
}

.pinned-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.pinned-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-primary-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--royal-blue);
    color: #FFFFFF !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.btn-primary-view:hover {
    background: var(--primary-blue);
    transform: translateY(-1px);
}

.btn-outline-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    color: var(--royal-blue) !important;
    border: 1.5px solid var(--royal-blue);
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.btn-outline-download:hover {
    background: var(--sky-light);
}

/* 10. TWO COLUMN LAYOUT: FEED & SIDEBAR */
.ir-grid-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* Document Feed Cards */
.doc-feed-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doc-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    position: relative;
    cursor: pointer;
}

.doc-card:hover {
    border-color: var(--royal-blue);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.doc-card:hover .doc-card-title {
    color: var(--royal-blue);
}

.doc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

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

.badge-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-bctc { background: var(--color-bctc-bg); color: var(--color-bctc); }
.badge-dhdcd { background: var(--color-dhdcd-bg); color: var(--color-dhdcd); }
.badge-annual { background: var(--color-annual-bg); color: var(--color-annual); }
.badge-dividend { background: var(--color-dividend-bg); color: var(--color-dividend); }
.badge-governance { background: var(--color-governance-bg); color: var(--color-governance); }
.badge-disclosure { background: var(--color-disclosure-bg); color: var(--color-disclosure); }

.doc-meta-info {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.78rem;
    color: #64748B;
}

.doc-card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--ocean-deep);
    margin-bottom: 8px;
    line-height: 1.4;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.doc-card-title:hover {
    color: var(--royal-blue);
}

.doc-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 14px;
}

.doc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.doc-attachment {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    color: #64748B;
}

.doc-attachment i {
    color: #EF4444;
    font-size: 0.95rem;
}

.doc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-card-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sky-light);
    color: var(--royal-blue);
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-card-view:hover {
    background: var(--royal-blue);
    color: #FFFFFF;
}

.btn-card-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F1F5F9;
    color: #334155;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-card-download:hover {
    background: #E2E8F0;
    color: var(--ocean-deep);
}

.btn-card-share {
    background: none;
    border: 1px solid var(--border-subtle);
    color: #64748B;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-card-share:hover {
    background: var(--sky-light);
    color: var(--royal-blue);
    border-color: var(--royal-blue);
}

/* Empty search result notice */
.no-results-box {
    background: #FFFFFF;
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    display: none;
}

.no-results-icon {
    font-size: 2.5rem;
    color: #94A3B8;
    margin-bottom: 12px;
}

.no-results-title {
    font-size: 1.1rem;
    color: var(--ocean-deep);
    margin-bottom: 6px;
}

.no-results-sub {
    font-size: 0.88rem;
    color: #64748B;
}

/* 11. SIDEBAR WIDGETS */
.ir-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ocean-deep);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--sky-light);
}

/* Stock Card in Sidebar (Số liệu thị trường thực tế & thời gian thực) */
.widget-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.widget-header-row .widget-title {
    margin-bottom: 0;
}

.btn-refresh-stock {
    background: #FFFFFF;
    border: 1px solid #BAE6FD;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--royal-blue);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
    font-size: 0.85rem;
}

.btn-refresh-stock:hover {
    background: var(--sky-light);
    border-color: var(--royal-blue);
    color: var(--navy-deep);
}

.btn-refresh-stock.spinning i {
    animation: spinRotate 0.8s ease-in-out;
}

@keyframes spinRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bha-stock-summary {
    background: linear-gradient(145deg, #0A2647 0%, #0F3B66 100%);
    color: #FFFFFF;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(10, 38, 71, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stock-headline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stock-ticker-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-ticker-name {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    color: var(--cyan-neon);
    line-height: 1;
}

.stock-exchange-tag {
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    padding: 2px 7px;
    border-radius: 4px;
    color: #E0F2FE;
    letter-spacing: 0.02em;
}

.stock-market-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #86EFAC;
}

.stock-market-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 8px #22C55E;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.3); }
}

.stock-market-status.closed {
    color: #CBD5E1;
}

.stock-market-status.closed .status-dot {
    background: #94A3B8;
    box-shadow: none;
    animation: none;
}

.stock-price-box {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stock-price-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-val {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #22C55E;
    line-height: 1;
}

.price-unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94A3B8;
}

.stock-price-change {
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-price-change.positive {
    color: #22C55E;
}

.stock-price-change.negative {
    color: #EF4444;
}

.stock-range-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
}

.range-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.r-label {
    font-size: 0.65rem;
    color: #94A3B8;
    text-transform: uppercase;
    font-weight: 600;
}

.r-val {
    font-size: 0.78rem;
    font-weight: 700;
}

.r-val.text-blue { color: #38BDF8; }
.r-val.text-yellow { color: #FACC15; }
.r-val.text-purple { color: #E879F9; }

.stock-details-list {
    list-style: none;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.stock-details-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stock-details-list li:last-child {
    border-bottom: none;
}

.stock-details-list span.val {
    font-weight: 600;
    color: #F8FAFC;
}

.stock-live-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    color: #94A3B8;
}

.stock-timestamp {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stock-external-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stock-external-links a {
    color: var(--cyan-neon);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.stock-external-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.stock-external-links .sep {
    color: rgba(255, 255, 255, 0.3);
}

/* Shareholder Breakdown Widget */
.shareholder-bar-wrap {
    margin-bottom: 14px;
}

.shareholder-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ocean-deep);
}

.progress-bar-track {
    height: 8px;
    background: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.fill-licogi { background: #0077B6; }
.fill-banks { background: #05BFDB; }
.fill-public { background: #10B981; }

/* Financial Calendar List */
.calendar-event-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calendar-event-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.calendar-event-item:hover {
    background: #F0F9FF;
    border-color: #BAE6FD;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.12);
    transform: translateX(4px);
}

.cal-date-box {
    background: var(--sky-light);
    border: 1px solid rgba(0, 119, 182, 0.2);
    border-radius: 8px;
    min-width: 48px;
    text-align: center;
    padding: 6px 4px;
    transition: all var(--transition-fast);
}

.calendar-event-item:hover .cal-date-box {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
}

.cal-day {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--royal-blue);
    line-height: 1;
    transition: color var(--transition-fast);
}

.calendar-event-item:hover .cal-day {
    color: #FFFFFF;
}

.cal-month {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748B;
    transition: color var(--transition-fast);
}

.calendar-event-item:hover .cal-month {
    color: rgba(255, 255, 255, 0.9);
}

.cal-details {
    flex: 1;
}

.cal-meta-badge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.cal-badge-pill {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.cal-badge-pill.badge-upcoming {
    background: #DCFCE7;
    color: #15803D;
}

.cal-badge-pill.badge-plan {
    background: #E0F2FE;
    color: #0284C7;
}

.cal-badge-pill.badge-past {
    background: #F1F5F9;
    color: #64748B;
}

.cal-doc-ref {
    font-size: 0.7rem;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cal-details h5 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 2px;
    line-height: 1.35;
    transition: color var(--transition-fast);
}

.calendar-event-item:hover .cal-details h5 {
    color: var(--royal-blue);
}

.cal-details p {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.4;
    margin: 0;
}

.calendar-event-item.cal-item-past {
    opacity: 0.72;
    background: #F8FAFC;
}

.calendar-event-item.cal-item-past:hover {
    opacity: 1;
}

/* IR Contact Desk Box */
.ir-contact-card {
    background: #F8FAFC;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 16px;
    font-size: 0.84rem;
}

.ir-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.ir-contact-item i {
    color: var(--royal-blue);
    width: 16px;
    text-align: center;
}

/* 12. INVESTOR INQUIRY FORM SECTION */
.ir-inquiry-section {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 36px;
    margin-top: 48px;
    box-shadow: var(--shadow-sm);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    align-items: center;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ocean-deep);
    margin-bottom: 5px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 9px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: #F8FAFC;
    font-size: 0.88rem;
    color: var(--text-main);
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
    background: #FFFFFF;
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.12);
}

.btn-submit-inquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--royal-blue), var(--accent-cyan));
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-submit-inquiry:hover {
    box-shadow: 0 6px 18px rgba(0, 119, 182, 0.35);
    transform: translateY(-1px);
}

/* 13. ACCESSIBLE MODAL VIEWER (POPUP XEM VĂN BẢN) */
body.modal-open {
    overflow: hidden !important;
    height: 100vh !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 38, 71, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overscroll-behavior: contain;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s var(--ease-out);
    overflow: hidden;
    overscroll-behavior: contain;
}

.modal-overlay.open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-header {
    background: var(--ocean-deep);
    color: #FFFFFF;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    padding: 28px;
    overflow-y: auto;
    background: #F8FAFC;
    flex: 1;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #0077B6 #F1F5F9;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #F1F5F9;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #94A3B8;
    border-radius: 8px;
}

/* PDF Viewer in IR Modal (Xem tài nguyên tải lên từ Quản trị viên) */
.modal-view-mode-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: #E2E8F0;
    padding: 4px;
    border-radius: 8px;
    width: fit-content;
}

.btn-mode-tab {
    background: none;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.btn-mode-tab:hover {
    color: var(--ocean-deep);
}

.btn-mode-tab.active {
    background: #FFFFFF;
    color: var(--royal-blue);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.modal-pdf-view-wrapper {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.pdf-viewer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #F1F5F9;
    border-bottom: 1px solid #E2E8F0;
    flex-wrap: wrap;
    gap: 10px;
}

.pdf-file-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.pdf-file-names {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.92rem;
    color: #0F172A;
}

.pdf-file-size {
    font-size: 0.8rem;
    color: #64748B;
}

.pdf-viewer-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-pdf-view-tool {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    background: #FFFFFF;
    color: #0284C7;
    border: 1px solid #BAE6FD;
    transition: all var(--transition-fast);
}

.btn-pdf-view-tool:hover {
    background: #E0F2FE;
    color: #0369A1;
}

.btn-pdf-view-tool.btn-tool-download {
    background: var(--royal-blue);
    color: #FFFFFF;
    border-color: var(--royal-blue);
}

.btn-pdf-view-tool.btn-tool-download:hover {
    background: var(--navy-deep);
}

.pdf-frame-container {
    width: 100%;
    height: 65vh;
    min-height: 500px;
    background: #525659;
}

.pdf-frame-container iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #0077B6;
}

/* Simulated Official Corporate Document Sheet */
.doc-sheet {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    padding: 36px 40px;
    border-radius: 6px;
    font-family: 'Times New Roman', Times, serif;
    color: #0F172A;
    line-height: 1.6;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #94A3B8;
}

.sheet-header-left {
    font-size: 0.95rem;
    line-height: 1.35;
}

.sheet-header-left strong {
    font-size: 1rem;
    color: #0A2647;
}

.sheet-header-right {
    font-size: 0.95rem;
    line-height: 1.35;
}

.sheet-header-right strong {
    font-size: 1rem;
}

.sheet-title-center {
    text-align: center;
    margin: 20px 0 16px;
}

.sheet-main-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0A2647;
    margin-bottom: 6px;
}

.sheet-subtitle {
    font-size: 0.95rem;
    font-style: italic;
    color: #334155;
}

.sheet-content-body {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.sheet-content-body p {
    margin-bottom: 12px;
    text-align: justify;
}

.sheet-content-body ul, .sheet-content-body ol {
    margin: 10px 0 14px 28px;
}

.sheet-content-body li {
    margin-bottom: 6px;
}

.sheet-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 18px;
    font-size: 0.92rem;
}

.sheet-table th, .sheet-table td {
    border: 1px solid #CBD5E1;
    padding: 8px 12px;
    text-align: left;
}

.sheet-table th {
    background: #F1F5F9;
    font-weight: 700;
}

.sheet-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 32px;
    padding-top: 16px;
}

.sheet-footer-left {
    font-size: 0.85rem;
    color: #475569;
}

.sheet-footer-right {
    text-align: center;
    min-width: 220px;
}

.sheet-signature-title {
    font-weight: 700;
    font-size: 0.98rem;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.sheet-signer-name {
    font-weight: 700;
    font-size: 1.05rem;
}

.modal-footer-bar {
    background: #FFFFFF;
    border-top: 1px solid var(--border-subtle);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* 14. TOAST NOTIFICATION */
.toast-msg-box {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--ocean-deep);
    color: #FFFFFF;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
    border-left: 4px solid var(--cyan-neon);
}

.toast-msg-box.show {
    transform: translateY(0);
    opacity: 1;
}

/* 15. BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--royal-blue);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-fast);
}

.back-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* 16. CORPORATE FOOTER */
.site-footer {
    background: var(--ocean-deep);
    color: #CBD5E1;
    padding-top: 56px;
    border-top: 3px solid var(--cyan-neon);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1.4fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .logo-box {
    margin-bottom: 16px;
}

.footer-brand .logo-main {
    color: #FFFFFF;
}

.footer-brand .logo-sub {
    color: var(--cyan-neon);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 18px;
    color: #94A3B8;
}

.social-pills {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--cyan-neon);
    color: var(--ocean-deep);
    transform: translateY(-2px);
}

.footer-col-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 18px;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--cyan-neon);
}

.footer-nav-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #CBD5E1;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--cyan-neon);
    transform: translateX(3px);
}

.footer-contact-list {
    list-style: none;
    font-size: 0.85rem;
}

.footer-contact-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #E2E8F0;
}

.footer-contact-list a {
    color: var(--cyan-neon);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    font-size: 0.82rem;
    color: #94A3B8;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legals {
    display: flex;
    gap: 12px;
}

.footer-legals a {
    color: #94A3B8;
}

.footer-legals a:hover {
    color: #FFFFFF;
}

/* 17. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .hamburger-btn { display: flex; }
    .ir-grid-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .inquiry-grid { grid-template-columns: 1fr; }
    .ir-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .topbar-search-form { display: none; }
    .subpage-hero,
    .ir-hero-section { min-height: auto; padding: 110px 0 35px; }
    .subpage-title,
    .ir-hero-title { font-size: 1.8rem; }
    .ir-stats-strip { grid-template-columns: 1fr; gap: 8px; }
    .ir-pinned-banner { flex-direction: column; align-items: stretch; }
    .pinned-actions { flex-direction: row; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-nav-columns { grid-template-columns: 1fr 1fr; }
    .doc-sheet { padding: 20px 16px; }
    .sheet-header { flex-direction: column; gap: 10px; text-align: left; }
    .form-group-row { grid-template-columns: 1fr; }
    .ir-filter-inner { flex-direction: column; align-items: stretch; }
    .ir-filter-controls { width: 100%; justify-content: space-between; }
    .ir-search-input { width: 100%; }
}


/* =========================================================================
   FOOTER VISITOR STATS & CONTACT STRIP (THỐNG KÊ TRUY CẬP & DÒNG TRỤ SỞ NGANG)
   ========================================================================= */
.footer-col.col-stats {
    justify-self: end;
    width: 100%;
    max-width: 320px;
}

.footer-visitor-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 150, 199, 0.28);
    border-radius: 12px;
    padding: 16px 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.visitor-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #E2E8F0;
}

.visitor-stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.visitor-stat-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E1;
    font-weight: 500;
}

.visitor-stat-val {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Outfit', 'Montserrat', sans-serif;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.visitor-stat-val.text-emerald {
    color: #10B981;
}

.visitor-stat-val.text-cyan {
    color: #00D2D3;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Dòng ngang Trụ sở & Liên hệ */
.footer-contact-strip {
    background: rgba(0, 20, 38, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 0;
    margin-top: 40px;
    color: #CBD5E1;
    font-size: 0.88rem;
}

.footer-contact-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    text-align: center;
}

.contact-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.contact-strip-item strong {
    color: #FFFFFF;
}

.contact-strip-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-strip-item a:hover {
    color: var(--cyan-neon, #00D2D3);
    text-decoration: underline;
}

.contact-sep {
    color: rgba(0, 150, 199, 0.5);
    font-weight: bold;
}

@media (max-width: 992px) {
    .footer-col.col-stats {
        justify-self: start;
        max-width: 100%;
    }
    .footer-contact-flex {
        flex-direction: column;
        gap: 10px;
    }
    .contact-sep {
        display: none;
    }
}
