    .app-nav { display: none !important; }
    .bottom-nav { display: none !important; }
    body {
        background: #ffffff !important;
        /* --cao-header do chi-tiet-co-so.js do that (header ghim, cao doi theo do dai ten co so). */
        padding-top: var(--cao-header, 98px) !important;
        padding-bottom: 130px !important;
        margin: 0 !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }
    @media (min-width: 993px) {
        body.co-chan-trang {
            padding-bottom: calc(var(--ctc-cao) + 120px) !important;
        }
    }

    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 100% !important; width: 100% !important;
        padding-left: 0 !important; padding-right: 0 !important;
        margin-left: 0 !important; margin-right: 0 !important;
    }
    :root { --ytv-primary: #1d4ed8; --ytv-secondary: #3b82f6; --ytv-text: #1e293b; }

    /* Header */
    .ytv-header {
        background: linear-gradient(135deg, #4285f4, #60a5fa);
        color: white; padding: 15px 30px;
        display: flex; align-items: center; justify-content: space-between;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-bottom: 3px solid var(--ytv-secondary);
        position: fixed; top: 0; left: 0; width: 100%; z-index: 1100; box-sizing: border-box;
    }
    .ytv-logo-area { display: flex; align-items: center; gap: 15px; text-decoration: none; color: #ffffff; }
    .ytv-logo-area > img { width: 65px !important; height: 65px !important; }
    .ytv-logo-text { font-family: 'Times New Roman', serif; font-size: 34px; font-weight: 900; line-height: 1.05; letter-spacing: 1px; }
    .ytv-header-title { text-align: center; flex-grow: 1; }
    .ytv-header-title h1 { margin: 0 0 5px; font-size: 26px; font-weight: 700; color: #ffffff; }
    .ytv-header-title p { margin: 0; font-size: 20px; opacity: 0.9; color: #ffffff; font-style: italic; }
    .ytv-header-menu { padding: 10px; font-size: 32px; cursor: pointer; color: #ffffff; position: relative; }

    .ytv-dropdown { display: none; position: absolute; top: 100%; right: 0; background: white; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); min-width: 240px; z-index: 9999; animation: fadeDown 0.2s ease; margin-top: 15px; }
    .ytv-dropdown.open { display: block; }
    @keyframes fadeDown {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .ytv-dropdown a { display: flex; align-items: center; gap: 14px; padding: 15px 20px; color: #334155; font-size: 16px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #f1f5f9; transition: all 0.2s; white-space: nowrap; }
    .ytv-dropdown a:last-child { border-bottom: none; }
    .ytv-dropdown a:hover { background: #eff6ff; color: #1d4ed8; padding-left: 28px; }
    .ytv-dropdown a i { font-size: 20px; width: 26px; text-align: center; color: #3b82f6; }

    /* Layout */
    .ytv-main { display: flex; width: 100%; min-height: calc(100vh - 184px); align-items: flex-start; padding-left: 250px; box-sizing: border-box; }

    /* Sidebar */
    .ytv-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: white;
    border-right: 1px solid #e2e8f0;

    display: flex;
    flex-direction: column;

    padding: 12px 0 0;

    position: fixed;
    top: var(--cao-header, 98px);
    left: 0;

    /* Sidebar tự co giãn theo nội dung, không cuộn */
    height: auto;
    overflow: visible;
    z-index: 100;
}

    /* Không cuộn gì cả, hiện toàn bộ nội dung */
    .sidebar-scroll-area {
        flex: none;
        overflow: visible;
    }
    .operating-hours-box {
        flex-shrink: 0;
        margin-bottom: 0;
    }
    .sidebar-logo-container {
        text-align: left;
        margin-bottom: 12px;
        padding: 0 16px;
        flex: 0 0 auto;
    }
    .sidebar-logo {
        width: 68px;
        height: 68px;
        object-fit: contain;
        border-radius: 50%;
        border: 2px solid #f1f5f9;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        background: white;
        transition: transform 0.3s ease;
    }
    .sidebar-logo:hover {
        transform: scale(1.05);
    }
    .ytv-sidebar-title {
        font-size: 11px; font-weight: 700; color: #94a3b8;
        text-transform: uppercase; letter-spacing: 1px;
        padding: 0 20px 8px; border-bottom: 1px solid #f1f5f9; margin-bottom: 0px;
    }
    .ytv-menu-item {
        display: flex; align-items: center; padding: 12px 16px; margin: 2px 16px; gap: 12px;
        color: #475569; font-size: 18px; font-weight: 600; line-height: 1.3; text-decoration: none;
        transition: all 0.2s ease; border-radius: 10px; cursor: pointer;
    }
    .ytv-menu-item i { font-size: 20px; width: 24px; text-align: center; color: #64748b; transition: color 0.2s ease; }
    .ytv-menu-item:hover {
        background: #f1f5f9; color: #0f172a;
    }
    .ytv-menu-item:hover i { color: #475569; }
    .ytv-menu-item.active {
        background: #eff6ff; color: #1d4ed8;
    }
    .ytv-menu-item.active i { color: #1d4ed8; }

    /* Content Area */
    .ytv-content { flex: 1; background: transparent; padding: 30px; display: flex; flex-direction: column; gap: 24px; min-width: 0; max-width: 1050px; margin: 0; }

    /* New Content Styles */
    .hospital-card {
        background: transparent;
        border-radius: 16px;
        display: flex;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    .hospital-card-img {
        width: 300px;
        object-fit: cover;
    }
    .hospital-card-content {
        padding: 24px 30px;
        flex: 1;
        position: relative;
    }
    .verified-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255, 255, 255, 0.15);
        color: #60a5fa;
        font-size: 13px;
        font-weight: 600;
        padding: 6px 14px;
        border-radius: 20px;
        margin-bottom: 16px;
    }
    .verified-badge i { color: #10b981; }

    .hospital-title {
        font-size: 32px;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 8px 0;
    }
    .hospital-rating {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 20px;
    }
    .hospital-rating .score {
        color: #0f172a;
        font-weight: 600;
        font-size: 18px;
    }
    .hospital-rating .stars i { color: #f59e0b; font-size: 17px; }
    .hospital-rating .count { color: #38bdf8; }

    .hospital-info-grid {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 24px;
        gap: 20px;
    }

    .hospital-details {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .detail-item {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 17px;
    }
    .detail-item i { width: 18px; color: rgba(255, 255, 255, 0.7); text-align: center; }
    .detail-item a { color: #38bdf8; text-decoration: none; }

    .operating-hours-box {
        background: #f8fafc;
        border-radius: 12px;
        padding: 10px 12px;
        margin: 8px 16px 12px;
        border: 1px solid #e2e8f0;
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
    }
    .oh-header {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0px;
    }
    .oh-header i {
        font-size: 14px;
        color: #94a3b8;
    }
    .oh-row {
        display: flex;
        align-items: baseline;
        gap: 8px;
        margin-top: 4px;
        margin-bottom: 2px;
    }
    .oh-days {
        font-size: 16px;
        color: #334155;
        font-weight: 600;
        white-space: nowrap;
        padding-left: 22px;
    }
    .oh-time {
        font-size: 16px;
        color: #0f172a;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 0px;
        white-space: nowrap;
        padding-left: 22px;
    }
    .oh-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #16a34a;
        font-weight: 700;
        background: #f0fdf4;
        padding: 4px 8px 4px 22px;
        border-radius: 20px;
        border: 1px solid #bbf7d0;
    }
    .status-dot {
        width: 6px;
        height: 6px;
        background: #16a34a;
        border-radius: 50%;
        display: inline-block;
        animation: status-pulse 2s infinite;
    }

    @keyframes status-pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
        }
        70% {
            box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
        }
    }


    .hospital-actions { padding: 4px 16px; display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
    .hospital-actions .btn-outline { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
    .btn-primary { background: #1d4ed8; color: #0f172a; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; flex: 1; }
    .btn-primary:hover { background: #1e40af; color: #0f172a; }
    .btn-outline {
        background: #ffffff;
        color: #1d4ed8;
        padding: 12px 16px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        border: 1.5px solid #1d4ed8;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    }
    .btn-outline:hover {
        background: #eff6ff;
        border-color: #1e40af;
        color: #1e40af;
        transform: translateY(-1px);
        box-shadow: 0 4px 6px rgba(29, 78, 216, 0.08);
    }

    /* Stats Grid */
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .stat-card {
        background: transparent;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }
    .stat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.05);
        background: rgba(255, 255, 255, 0.08);
    }
    .stat-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
    .stat-icon.blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
    .stat-icon.green { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
    .stat-icon.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
    .stat-icon.orange { background: rgba(249, 115, 22, 0.15); color: #ff9d5c; }
    .stat-info { display: flex; flex-direction: column; }
    .stat-info .value { margin: 0; font-size: 20px; font-weight: 800; color: #0f172a; }
    .stat-info .title { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.9); margin: 2px 0; }
    .stat-info .desc { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin: 0; }

    .intro-section {
        background: transparent;
        border-radius: 16px;
        padding: 32px;
        display: none;
        justify-content: space-between;
        align-items: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    .intro-section.active-tab {
        display: flex !important;
    }
    .intro-content { flex: 1; width: 100%; max-width: 100%; }
    .intro-title { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; color: #38bdf8; margin-bottom: 20px; }
    .intro-content p { color: #334155; line-height: 1.8; font-size: 17px; margin-bottom: 16px; }
    .intro-content .nd-cskcb-text { color: #000000; line-height: 1.8; font-size: 17px; width: 100%; max-width: 100%; overflow-x: auto; }
    .intro-content .nd-cskcb-text img { max-width: 100%; height: auto; }
    .intro-content .nd-cskcb-text table {
        width: 100%;
        max-width: 100%;
        border-collapse: collapse;
        margin: 12px 0 18px;
        table-layout: auto;
    }
    .intro-content .nd-cskcb-text th,
    .intro-content .nd-cskcb-text td {
        border: 1px solid #94a3b8;
        padding: 8px 10px;
        vertical-align: top;
        min-width: 48px;
    }
    .intro-content .nd-cskcb-text th {
        background: #f1f5f9;
        font-weight: 700;
    }
    .intro-image { width: 320px; height: auto; opacity: 0.85; border-radius: 12px; }



    /* Login Modal Styles */
    .ytv-modal-overlay {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
        display: none; align-items: center; justify-content: center;
        z-index: 2000; opacity: 0; transition: opacity 0.3s ease;
    }
    .ytv-modal-overlay.show { display: flex; opacity: 1; }
    .ytv-modal-content {
        background: white; border-radius: 20px; width: 100%; max-width: 420px; margin: 0 20px;
        padding: 40px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        transform: translateY(20px); transition: transform 0.3s ease; position: relative;
    }
    .ytv-modal-overlay.show .ytv-modal-content { transform: translateY(0); }
    .ytv-modal-close {
        position: absolute; top: 16px; right: 20px; background: none; border: none;
        font-size: 28px; color: #94a3b8; cursor: pointer; transition: color 0.2s; line-height: 1;
    }
    .ytv-modal-close:hover { color: #0f172a; }

    .login-step { display: none; }
    .login-step.active { display: block; animation: fadeIn 0.4s; }
    @keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

    .login-title { font-size: 24px; font-weight: 800; color: #0f172a; margin: 0 0 10px 0; text-align: center; }
    .login-desc { font-size: 14px; color: #64748b; margin-bottom: 30px; text-align: center; line-height: 1.6; }

    .input-group { margin-bottom: 24px; position: relative; }
    .input-group i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 18px; }
    .ytv-input {
        width: 100%; padding: 14px 16px 14px 44px; border: 2px solid #e2e8f0;
        border-radius: 12px; font-size: 16px; color: #0f172a; outline: none; transition: all 0.2s;
        box-sizing: border-box; font-family: inherit; font-weight: 500;
    }
    .ytv-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }

    .btn-submit {
        width: 100%; background: #1d4ed8; color: #0f172a; border: none; border-radius: 12px;
        padding: 16px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background 0.2s;
        box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2);
    }
    .btn-submit:hover { background: #1e40af; transform: translateY(-1px); }

    .otp-inputs { display: flex; gap: 12px; justify-content: center; margin-bottom: 30px; }
    .otp-input {
        width: 50px; height: 60px; border: 2px solid #e2e8f0; border-radius: 12px;
        font-size: 24px; font-weight: 700; text-align: center; color: #0f172a;
        outline: none; transition: all 0.2s; background: #f8fafc;
    }
    .otp-input:focus { border-color: #3b82f6; background: white; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }

    .resend-text { text-align: center; margin-top: 24px; font-size: 14px; color: #64748b; }
    .resend-link { color: #3b82f6; font-weight: 600; text-decoration: none; cursor: pointer; transition: color 0.2s; }
    .resend-link:hover { color: #1d4ed8; text-decoration: underline; }

    @media (max-width: 992px) {
        .ytv-main { flex-direction: column; padding-left: 0; }
        /* Nam sua 2026-08-26: muc ngan (Dich vu, Lien he) lam trang qua thap,
           trinh duyet het cho cuon truoc khi tieu de cham dinh nen showTab()
           khong dua len sat header duoc. Chi ap cho dien thoai - o day menu nam
           TREN noi dung nen moi thieu cho; may tinh von da dat, them vao chi
           sinh thanh cuon thua. */
        .ytv-content { min-height: calc(100vh - var(--cao-header, 98px)); }
        .ytv-sidebar {
            position: relative; top: 0; left: 0; height: auto; z-index: 1; width: 100%;
            flex-direction: column; overflow: hidden; padding: 10px 16px;
            border-right: none; border-bottom: 1px solid #e2e8f0;
            align-items: stretch; gap: 0;
        }
        .sidebar-scroll-area {
            display: block;
            flex: 1 1 auto;
            min-height: auto;
            overflow-x: hidden;
            overflow-y: auto;
        }
        .ytv-menu-item {
            margin: 0 !important;
            padding: 12px 16px !important;
            border-radius: 8px !important;
            white-space: nowrap;
        }
        .sidebar-logo-container {
            margin-bottom: 0 !important;
            padding: 0 !important;
            flex-shrink: 0 !important;
        }
        .sidebar-logo {
            width: 50px !important;
            height: 50px !important;
            border-width: 1.5px !important;
        }
        .hospital-card { flex-direction: column; }
        .hospital-card-img { width: 100%; height: 250px; }
        .stats-grid { grid-template-columns: repeat(2, 1fr); }
        .intro-section { flex-direction: column; text-align: left; }
        .intro-image { margin-top: 24px; width: 100%; max-width: 400px; }
        .hospital-title-row { flex-direction: column; gap: 16px; }
        .operating-hours-box {
            width: auto !important;
            margin: 0 !important;
            padding: 10px 16px !important;
            flex-shrink: 0 !important;
        }
        .hospital-actions {
            padding: 0 !important;
            margin: 0 !important;
            flex-shrink: 0 !important;
        }
        .btn-outline {
            padding: 6px 12px !important;
            border-radius: 8px !important;
            font-size: 12px !important;
            width: auto !important;
        }
        .oh-header { margin-bottom: 4px !important; }
        .oh-days { font-size: 14px !important; }
        .oh-time { font-size: 14px !important; margin-bottom: 4px !important; }
        .oh-status { padding: 2px 6px !important; }

        /* Stats Footer Responsive */
        .stats-footer-bar {
            position: relative !important;
            bottom: auto !important;
            left: auto !important;
            width: 100% !important;
            padding: 0 !important;
            background: white !important;
            box-shadow: none !important;
            border-top: none !important;
            z-index: 1 !important;
        }
        .stats-footer-bar .stats-grid {
            max-width: 100% !important;
        }
        .stats-footer-bar .stat-card {
            background: white !important;
            border: 1px solid rgba(255, 255, 255, 0.2) !important;
            padding: 20px !important;
        }
        .stats-footer-bar .stat-info .value {
            color: white !important;
        }
        .stats-footer-bar .stat-info .title {
            color: rgba(255, 255, 255, 0.9) !important;
        }
        .stats-footer-bar .stat-info .desc {
            color: rgba(255, 255, 255, 0.6) !important;
        }
        .stats-footer-bar .stat-icon.blue { background: rgba(59, 130, 246, 0.15) !important; color: #60a5fa !important; }
        .stats-footer-bar .stat-icon.green { background: rgba(34, 197, 94, 0.15) !important; color: #4ade80 !important; }
        .stats-footer-bar .stat-icon.purple { background: rgba(168, 85, 247, 0.15) !important; color: #c084fc !important; }
        .stats-footer-bar .stat-icon.orange { background: rgba(249, 115, 22, 0.15) !important; color: #ff9d5c !important; }
    }
    @media (max-width: 576px) {
        .stats-grid { grid-template-columns: 1fr; }
        .fab-btn {
            width: 56px !important;
            height: 130px !important;
            right: 12px !important;
            gap: 6px !important;
            border-width: 2px !important;
        }
        .fab-btn i {
            font-size: 20px !important;
        }
        .fab-text {
            font-size: 11px !important;
            line-height: 1.2 !important;
        }
    }

    /* Floating Action Button (FAB) */
    .fab-btn {
        position: fixed;
        top: 50%;
        right: 24px;
        transform: translateY(-50%);
        z-index: 1005; /* Above the footer and header */
        background: #ffffff;
        color: #1d4ed8 !important;
        border: 2.5px solid #1d4ed8;
        width: 70px;
        height: 160px;
        border-radius: 40px; /* Vertical oval */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        animation: fab-pulse 2s infinite;
    }
    .fab-btn i {
        font-size: 24px;
    }
    .fab-text {
        font-size: 13px;
        font-weight: 800;
        text-align: center;
        line-height: 1.25;
        letter-spacing: 0.5px;
    }
    .fab-btn:hover {
        background: #1d4ed8;
        color: white !important;
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 8px 25px rgba(29, 78, 216, 0.4);
    }
    .fab-btn:active {
        transform: translateY(-50%) scale(1.02);
    }

    @keyframes fab-pulse {
        0% {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(29, 78, 216, 0.4);
        }
        70% {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 15px rgba(29, 78, 216, 0);
        }
        100% {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(29, 78, 216, 0);
        }
    }

    /* Stats Footer (Second Footer) */
    .stats-footer-bar {
        background: white !important;
        border: none !important;
        position: fixed;
        bottom: 82px;
        left: 250px;
        width: calc(100% - 250px);
        z-index: 999;
        padding: 6px 30px;
        box-sizing: border-box;
        box-shadow: none !important;
        pointer-events: none;
    }
    .stats-footer-bar .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px; /* Minimized gap */
        max-width: 1200px;
        margin: 0 auto;
    }
    .stats-footer-bar .stat-card {
        background: #f8fafc;
        border-radius: 10px;
        padding: 2px 12px; /* Minimized padding inside cards */
        display: flex;
        align-items: center;
        gap: 10px; /* Minimized gap between icon and text */
        border: 1px solid #f1f5f9;
        box-shadow: none;
    }
    .stats-footer-bar .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .stats-footer-bar .stat-info {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }
    .stats-footer-bar .stat-info .value {
        color: #1d4ed8;
        font-size: 15px;
        font-weight: 700;
        margin: 0;
    }
    .stats-footer-bar .stat-info .title {
        color: #334155;
        font-size: 12px;
        font-weight: 600;
        margin: 2px 0 1px 0;
    }
    .stats-footer-bar .stat-info .desc {
        color: #64748b;
        font-size: 10px;
        margin: 0;
    }
    .stats-footer-bar .stat-icon.blue { background: #eff6ff; color: #3b82f6; }
    .stats-footer-bar .stat-icon.green { background: #f0fdf4; color: #22c55e; }
    .stats-footer-bar .stat-icon.purple { background: #faf5ff; color: #a855f7; }
    .stats-footer-bar .stat-icon.orange { background: #fff7ed; color: #f97316; }
    .stats-footer-bar .stat-card.stat-card-blue { background: #eff6ff !important; border-color: #dbeafe !important; }
    .stats-footer-bar .stat-card.stat-card-green { background: #f0fdf4 !important; border-color: #dcfce7 !important; }
    .stats-footer-bar .stat-card.stat-card-purple { background: #faf5ff !important; border-color: #f3e8ff !important; }
    .stats-footer-bar .stat-card.stat-card-orange { background: #fff7ed !important; border-color: #ffedd5 !important; }
    .stats-footer-bar .stat-card.stat-card-blue .stat-info .value { color: #2563eb !important; }
    .stats-footer-bar .stat-card.stat-card-green .stat-info .value { color: #16a34a !important; }
    .stats-footer-bar .stat-card.stat-card-purple .stat-info .value { color: #9333ea !important; }
    .stats-footer-bar .stat-card.stat-card-orange .stat-info .value { color: #ea580c !important; }

    /* Responsive layout for DangKyOnline */
    .ytv-content > *,
    .hospital-card,
    .intro-section {
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }

    .nd-cskcb-text,
    .nd-cskcb-text table {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    @media (min-width: 1200px) {
        .ytv-content {
            max-width: none;
            padding-left: clamp(24px, 3vw, 48px);
            padding-right: clamp(24px, 3vw, 48px);
        }
    }

    @media (max-width: 992px) {
        /* Header xep DOC giong trang chinh (thong-tin-benh-nhan.css @media 992):
           logo tren, ten co so to ben duoi, nut menu goc phai — nhung VAN GHIM
           (chot 2026-10-29). Cao ~170-200px tuy ten dai bao nhieu dong nen
           padding-top lay --cao-header do that, 180px chi la du phong. */
        body {
            padding-top: var(--cao-header, 180px) !important;
            padding-bottom: 0 !important;
            overflow-x: hidden;
        }

        .ytv-header {
            flex-direction: column;
            gap: 15px;
            text-align: center;
            padding: 20px 16px 15px;
        }

        .ytv-header-title {
            min-width: 0;
            padding: 0 8px;
        }

        .ytv-header-title h1 {
            text-transform: uppercase;
            line-height: 1.25;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .ytv-header-menu {
            position: absolute;
            top: 15px;
            right: 20px;
        }

        .ytv-main {
            width: 100%;
            min-height: auto;
        }

        .ytv-sidebar {
            width: 100%;
            box-sizing: border-box;
            max-height: none;
            bottom: auto;
        }

        .sidebar-scroll-area {
            max-height: none;
            overflow-y: visible;
        }

        .sidebar-logo-container {
            text-align: center;
            margin-bottom: 12px !important;
        }

        .sidebar-logo {
            width: 72px !important;
            height: 72px !important;
        }

        .hospital-actions {
            width: 100%;
            box-sizing: border-box;
            gap: 8px;
        }

        .hospital-actions .btn-outline {
            width: 100% !important;
            box-sizing: border-box;
        }

        .operating-hours-box {
            width: 100% !important;
            box-sizing: border-box;
        }

        .ytv-content {
            width: 100%;
            max-width: none;
            padding: 16px;
            gap: 16px;
        }

        .hospital-card-content {
            padding: 20px;
        }

        .hospital-card-img {
            width: 100%;
            height: auto;
            min-height: 180px;
            max-height: 280px;
        }

        .hospital-title {
            font-size: clamp(24px, 5vw, 32px);
            overflow-wrap: anywhere;
        }

        .hospital-info-grid {
            flex-wrap: wrap;
        }

        .detail-item {
            min-width: 0;
            overflow-wrap: anywhere;
        }

        .intro-section {
            padding: 20px;
        }

        .intro-title {
            font-size: 20px;
            line-height: 1.3;
            margin-bottom: 14px;
        }

        .intro-content p,
        .intro-content .nd-cskcb-text {
            font-size: 15px;
            line-height: 1.65;
        }

        .intro-content .nd-cskcb-text {
            overflow-x: auto;
        }

        /* On mobile these blocks must stay in document flow, so they cannot cover operating hours or content. */
        .stats-footer-bar {
            position: relative !important;
            inset: auto !important;
            width: 100% !important;
            padding: 0 16px 12px !important;
            background: transparent !important;
            border: 0 !important;
            box-shadow: none !important;
            pointer-events: auto;
            z-index: 1 !important;
        }

        .stats-footer-bar .stats-grid {
            width: 100%;
            max-width: none !important;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 8px;
        }

        .stats-footer-bar .stat-card {
            min-width: 0;
            padding: 10px !important;
            gap: 8px;
            background: #f8fafc !important;
            border: 1px solid #e2e8f0 !important;
            box-shadow: none !important;
        }

        .stats-footer-bar .stat-info .value {
            color: #1d4ed8 !important;
        }

        .stats-footer-bar .stat-info .title {
            color: #334155 !important;
        }

        .stats-footer-bar .stat-info .desc {
            color: #64748b !important;
        }

        .fab-btn {
            top: auto;
            right: 16px;
            bottom: 16px;
            transform: none;
            width: 54px;
            height: 54px;
            border-radius: 50%;
            gap: 0;
        }

        .fab-text {
            display: none;
        }

        .fab-btn:hover {
            transform: scale(1.05);
        }

        .fab-btn:active {
            transform: scale(1.02);
        }
    }

    @media (max-width: 576px) {
        /* Header giu nguyen co chu cua trang chinh (logo 65px, chu 34px, ten 26px). */
        .ytv-content {
            padding: 12px;
        }

        .hospital-card-content,
        .intro-section {
            padding: 16px;
        }

        .hospital-title {
            font-size: 24px;
        }

        .hospital-info-grid {
            flex-direction: column;
            gap: 12px;
        }

        .stats-footer-bar {
            padding-left: 12px !important;
            padding-right: 12px !important;
        }

        .stats-footer-bar .stat-card {
            padding: 8px !important;
        }

        .stats-footer-bar .stat-icon {
            width: 30px;
            height: 30px;
            font-size: 14px;
        }

        .stats-footer-bar .stat-info .value {
            font-size: 14px;
        }

        .stats-footer-bar .stat-info .title {
            font-size: 11px;
        }

        .stats-footer-bar .stat-info .desc {
            font-size: 9px;
        }
    }

    /* Modal chan dang nhap cheo co so (ADR 0006) — man moi, khong co khuon cu */
    .ccs-lop-phu {
        position: fixed; inset: 0; z-index: 2000;
        background: rgba(15, 23, 42, .55);
        display: flex; align-items: center; justify-content: center; padding: 16px;
    }
    .ccs-lop-phu[hidden] { display: none; }
    .ccs-hop {
        background: #fff; border-radius: 16px; max-width: 380px; width: 100%;
        box-shadow: 0 18px 50px rgba(0,0,0,.25); overflow: hidden;
    }
    .ccs-than { padding: 22px 22px 16px; text-align: center; }
    .ccs-bieu-tuong {
        width: 52px; height: 52px; border-radius: 50%; background: #fef3c7; color: #b45309;
        font-size: 26px; font-weight: 700; display: flex; align-items: center; justify-content: center;
        margin: 0 auto 14px;
    }
    .ccs-than h4 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: #0f172a; }
    .ccs-than p { margin: 0 0 6px; font-size: 14px; color: #64748b; line-height: 1.5; }
    .ccs-ten-co-so { font-weight: 700; color: #1d4ed8; font-size: 15px; margin-bottom: 10px; }
    .ccs-nut { display: flex; flex-direction: column; gap: 9px; padding: 0 22px 22px; }
    .ccs-nut a, .ccs-nut button {
        font: inherit; font-weight: 700; font-size: 14px; padding: 12px; border-radius: 12px;
        cursor: pointer; border: 1.5px solid transparent; text-align: center; text-decoration: none;
        display: block;
    }
    .ccs-nut .ccs-chinh { background: #dc2626; color: #fff; }
    .ccs-nut .ccs-phu { background: #fff; color: #475569; border-color: #cbd5e1; }
