/* Thiết lập font cơ bản và reset */
body {
    font-family: Arial, Sans-Serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background: linear-gradient(180deg, #004d99, #1264bb);
    color: white;
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid #ffcc00;
}

/* 1. CSS Mới cho Hình ảnh Logo SSC (Chỉnh kích thước nhỏ lại) */
.logo {
    margin-bottom: 5px;
}

.logo img {
    max-width: 150px; /* Điều chỉnh kích thước tại đây (ví dụ 100px) */
    height: auto;    /* Giữ tỷ lệ khung hình */
    display: block;  /* Chuyển thành block để căn giữa */
    margin: 0 auto;  /* Căn giữa hình ảnh */
}

.guide-title {
    font-size: 30px; /* Giảm nhẹ để cân đối với logo nhỏ hơn */
    font-weight: bold;
    color: #ffcc00;
    margin-top: 10px;
}

/* Thiết lập cho div chứa logo để các sao nằm trong phạm vi đó */
.logo {
    position: relative; /* Rất quan trọng để các sao con có thể định vị tuyệt đối */
    /* Đảm bảo logo có chiều cao và chiều rộng cụ thể nếu nó chỉ chứa ảnh */
    /* width: ...; height: ...; */ 
}

/* Kiểu dáng cho mỗi ngôi sao */
.sparkle {
    position: absolute;
    /* Sử dụng các biến CSS để tùy chỉnh ngẫu nhiên */
    width: var(--size); 
    height: var(--size);
    background-color: white; 
    box-shadow: 0 0 8px white, 0 0 10px rgba(255, 255, 255, 0.5); /* Hào quang mạnh hơn */
    pointer-events: none;
    opacity: 0;
    
    /* Thiết lập hình dạng 4 cánh sao đơn giản */
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    
    /* Áp dụng chuyển động nhấp nháy và trôi nổi nhẹ nhàng */
    animation: 
        twinkle var(--duration) infinite alternate,
        float 5s ease-in-out infinite alternate; 
    animation-delay: var(--delay);
}

/* 1. Hiệu ứng nhấp nháy (Twinkle) */
@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(0.8); }
}

/* 2. Hiệu ứng trôi nổi nhẹ nhàng (Float) */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5px, 5px); } /* Dịch chuyển 5px để tạo cảm giác trôi nhẹ */
}

/* Tắt hoặc giảm nhẹ hiệu ứng Sparkle trên điện thoại */
@media (max-width: 768px) {
    /* Giảm độ lớn và độ sáng của sao */
    /.sparkle {
        --size: 1px !important; 
        box-shadow: 0 0 4px white; 
    }
}

/* === CSS CHO SIDE MENU ICON CỐ ĐỊNH === */
.side-menu {
    position: fixed; /* Làm cho menu cố định trên màn hình */
    right: 20px; /* Cách lề phải 20px */
    top: 50%; /* Bắt đầu từ 50% chiều cao màn hình */
    transform: translateY(-50%); /* Dịch chuyển ngược lên 50% chiều cao của chính nó để căn giữa */
    z-index: 1000; /* Đảm bảo menu hiển thị trên mọi nội dung khác */
    display: flex;
    flex-direction: column; /* Xếp các icon theo chiều dọc */
    gap: 15px; /* Khoảng cách giữa các icon */
    background-color: rgba(255, 255, 255, 0.95); /* Nền trắng hơi trong suốt */
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
}

.side-menu a {
    display: flex; /* Quan trọng để canh giữa icon và chữ nếu có */
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 20px; /* Bo tròn nhẹ */
    color: #fff; /* Màu chữ/icon ban đầu */
    background-color: #11539e; /* Màu nền cho liên kết */
    text-decoration: none;
    margin: 5px 0; /* Khoảng cách giữa các liên kết */

    /* Thêm transition cho tất cả các thuộc tính liên quan */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.side-menu a:hover {
    /* Đổi màu nền */
    background-color: #0099ff;

    /* Nổi khối lên (Lift) */
    transform: translateY(-5px);

    /* Phát sáng nhẹ (Glow Effect) */
    box-shadow: 0 10px 20px rgba(0, 153, 255, 0.5), /* Bóng lớn hơn, màu sáng */
                0 6px 6px rgba(0, 0, 0, 0.23); /* Bóng nền cơ bản */
}

/* Đảm bảo Icon (i) cũng có màu sắc thay đổi */
.side-menu a i {
    color: inherit; /* Kế thừa màu từ thẻ a */
    font-size: 24px;
}

/* Áp dụng hiệu ứng Rung lặp lại */
.side-menu a:first-child i { /* Chọn icon đầu tiên (Trang Chủ) */
    animation: wiggle 1.5s infinite; /* Tên animation, thời gian, lặp vô hạn */
    transform-origin: 50% 50%; /* Điểm neo để xoay */
}

.side-menu a:hover i { 
    animation: wiggle 0.5s infinite;
}


@keyframes wiggle {
    0%, 100% { 
        transform: rotate(0deg); 
    }
    25% { 
        transform: rotate(-5deg); /* Nghiêng sang trái 5 độ */
    }
    75% { 
        transform: rotate(5deg); /* Nghiêng sang phải 5 độ */
    }
}

/* Ẩn menu trên mobile để tránh che nội dung */
@media (max-width: 1024px) {
    .side-menu {
        display: none;
    }
}

/* Main Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.section {
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.section-title {
    font-size: 24px;
    color: #12589e;
    border-bottom: 3px solid #ffcc00;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

/* Table Styling for Free Channels (Đã Chỉnh Sửa Bố cục) */
.free-channels table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed; /* Rất quan trọng để kiểm soát độ rộng cột */
}

.free-channels th, .free-channels td {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: middle;
}

.free-channels th {
    background-color: #004d99;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
}

/* --- CSS MỚI CHO BẢNG MIỄN PHÍ --- */

/* 2, 3, 4, 5. Điều chỉnh độ rộng và căn chỉnh cột */
.free-channels th:nth-child(1), .free-channels td:nth-child(1) {
    width: 5%; /* STT */
    text-align: center;
}
.free-channels th:nth-child(2), .free-channels td:nth-child(2) {
    width: 15%; /* KÊNH */
    text-align: center; /* 3. Căn giữa nội dung cột KÊNH */
}
.free-channels th:nth-child(3), .free-channels td:nth-child(3) {
    width: 15%; /* HÌNH THỨC */
    text-align: center;
    font-weight: bold;
}
.free-channels th:nth-child(4), .free-channels td:nth-child(4) {
    width: 15%; /* CHÍNH SÁCH (4. Đã mở rộng) */
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}
.free-channels th:nth-child(5) { 
    width: 50%; /* HƯỚNG DẪN THANH TOÁN */
    text-align: center; /* 5. Căn chữ giữa */
}
.free-channels td:nth-child(5) {
    text-align: left; /* 5. Căn chữ sang trái */
    font-size: 14px;
}
.free-channels td img {
    max-height: 50px;
    max-width: 100%; /* Đảm bảo hình ảnh không vượt quá chiều rộng ô */
    height: auto;    /* Giữ tỷ lệ khung hình */
    vertical-align: middle;
}

/* --- CSS MỚI CHO BẢNG CÓ PHÍ --- */

.paid-fee-title {
    background-color: #004d99; /* Màu nền xanh đậm */
    color: white;
    padding: 10px 0;
    margin-bottom: 5px !important; /* Đảm bảo tiêu đề dính vào subtitle */
    border-bottom: none !important;
    border-radius: 5px 5px 0 0;
}

.paid-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: white;
    background-color: #e50044; /* Màu nền đỏ */
    padding: 8px 0;
    margin-top: 0;
    text-align: center;
    border-radius: 0 0 5px 5px;
}

/* Định dạng chung cho bảng có phí */
.paid-channels table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    table-layout: fixed;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.paid-channels th, .paid-channels td {
    border: 1px solid #ddd;
    padding: 12px;
    vertical-align: middle;
    font-size: 14px;
}

.paid-channels th {
    background-color: #004d99; /* Màu nền xanh đậm */
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.paid-channels tr:nth-child(even) {
    background-color: #f9f9f9; /* Màu nền xen kẽ */
}

/* Định nghĩa độ rộng cột cho bảng có phí */
.paid-channels th:nth-child(1), .paid-channels td:nth-child(1) {
    width: 5%; /* STT */
    text-align: center;
}
.paid-channels th:nth-child(2), .paid-channels td:nth-child(2) {
    width: 15%; /* KÊNH (Logo) */
    text-align: center;
    
}
.paid-channels th:nth-child(3), .paid-channels td:nth-child(3) {
    width: 15%; /* HÌNH THỨC */
    text-align: center;
    font-weight: bold;
}
/* CHÍNH SÁCH (Phí) */
.paid-channels th:nth-child(4) {
    width: 15%;
    text-align: center;
    font-weight: bold;
}
.paid-channels td:nth-child(4) {    
    text-align: center;
    font-weight: bold;
    color: rgb(10, 85, 182);    
}

 /* HƯỚNG DẪN THANH TOÁN */
.paid-channels th:nth-child(5){
    width: 50%; 
    text-align: center; /* Căn giữa hướng dẫn */
}
.paid-channels td:nth-child(5) {    
    text-align: left; /* Căn trái hướng dẫn */
}

/* Căn giữa hình ảnh logo trong cột KÊNH */
.paid-channels td img {
    max-height: 50px;
    max-width: 100%; /* Đảm bảo hình ảnh không vượt quá chiều rộng ô */
    height: auto;    /* Giữ tỷ lệ khung hình */
    vertical-align: middle;
}


/* Footer */
.footer {
    background: linear-gradient(180deg, #ffffff, #4e759e);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 15px; /* Chữ lớn hơn một chút */
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    border-top: 2px solid #ffcc00;
}

.contact-info {
    display: flex;
    flex-wrap: wrap; /* Cho phép xuống dòng trên mobile */
    justify-content: center; /* Căn giữa các mục */
    gap: 15px 30px; /* Khoảng cách giữa các mục */
    max-width: 1000px;
    margin: 0 auto;
}

.footer a, .footer span {
    color: rgb(5, 5, 5); /* Đổi màu chữ thành trắng */
    text-decoration: none;
    display: flex; /* Dùng flex để căn giữa biểu tượng và chữ */
    align-items: center;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
    color: #ffcc00; /* Hiệu ứng hover màu vàng */
}

/* Định kiểu cho các biểu tượng (icons) */

.footer-zalo-icon, .footer-facebook-icon, .footer-phone-icon, .footer-website-icon{
    width: 25px; /* Điều chỉnh kích thước */
    height: 25px;
    margin-right: 8px; /* Giữ khoảng cách với chữ */
    vertical-align: middle;
}

/* --- Footer Bản quyền--- */
.site-footer {
    color: #444343;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    margin-top: 50px;
}

.site-footer p {
    margin: 5px 0;
}

/* =========================================
   CSS CHO PHẦN VISUAL GUIDE (GIAO DIỆN MỚI TRANG KÊNH THANH TOÁN CÓ PHÍ)
   ========================================= */

/* Khung tổng thể màu xanh dương gradient */
.visual-guide-section {
    background: linear-gradient(180deg, #0066cc 0%, #004080 100%);
    padding: 30px 20px;
    border-radius: 15px;
    color: white;
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Tiêu đề màu hồng ở trên cùng */
.visual-header {
    text-align: center;
    margin-bottom: 30px;
}

.visual-header h2 {
    background-color: #e50044; /* Màu hồng đậm */
    color: white;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 30px; /* Bo tròn dạng viên thuốc */
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 0;
}

/* Container chứa 4 bước điện thoại */
.phone-steps-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 15px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%; /* Chia đều 4 cột */
    min-width: 150px;
}

/* Số thứ tự (Badge) 1, 2, 3, 4 */
.step-badge {
    background-color: white;
    color: #004080;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Mũi tên nhỏ dưới số thứ tự */
.step-badge::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

/* Hình ảnh điện thoại */
.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0); /* Đây là dòng tạo ra viền xám */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);  /* Đây là dòng tạo bóng viền xám */
}

/* Dòng text link video */
.video-link-text {
    text-align: center;
    font-size: 16px;
    font-style: italic;
    margin-bottom: 30px;
}

.video-link-text a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

/* === KHU VỰC THANH TOÁN CỬA HÀNG (MÀU XANH ĐẬM DƯỚI) === */
.store-payment-area {
    background-color: #5aa6f744; /* Màu xanh nền đậm hơn khối trên */
    border: 2px solid rgba(255, 255, 255, 0.25); /* Đây là dòng tạo ra viền xám */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);  /* Đây là dòng tạo bóng viền xám */
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

/* Phần bên trái: Icon + Text */
.store-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
    padding-right: 15px;
}

.basket-icon-circle {
    background-color: #e70b0b; /* Màu đỏ */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.basket-icon-circle i {
    font-size: 28px;
    color: white;
}

.store-left p {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
}

/* Phần bên phải: Logos + Nút phí */
.store-right {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-logos-grid {
    display: flex;
    flex-wrap: wrap;       /* Cho phép xuống dòng nếu hết chỗ */
    justify-content: center; /* Căn giữa toàn bộ lưới logo */
    align-items: center;     /* Căn giữa các logo theo chiều dọc */
    gap: 15px;             /* Khoảng cách giữa các logo */
    margin-bottom: 20px;
}

.partner-logos-grid img {
    height: 35px;          /* QUAN TRỌNG: Quy định chiều cao chung (tăng từ 30px lên 55px) */
    width: auto;           /* Chiều rộng tự động để không bị méo hình */
    min-width: 50px;       /* Đảm bảo logo không bị quá bé về chiều ngang */
    
    /* Tạo khung trắng xung quanh */
    background-color: rgb(255, 255, 255);
    padding: 8px 15px;     /* Khoảng trắng đệm bên trong (trên-dưới: 8px, trái-phải: 15px) */
    border-radius: 8px;    /* Bo góc khung trắng */
    
    /* Hiệu ứng hiển thị */
    object-fit: contain;   /* Giữ trọn nội dung ảnh trong khung */
    box-shadow: 0 3px 6px rgba(0,0,0,0.15); /* Đổ bóng nhẹ giúp logo nổi bật */
    transition: transform 0.2s ease; /* Hiệu ứng mượt khi di chuột vào */
}

/* Hiệu ứng khi di chuột vào logo (Optional) */
.partner-logos-grid img:hover {
    transform: scale(1.35); /* Phóng to nhẹ khi hover */
}

.fee-red-button {
    background-color: #e70b0b; /* Màu đỏ tươi */
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 40px;
    border-radius: 25px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: inline-block;
}

/* Responsive cho màn hình nhỏ (Mobile) */
@media (max-width: 768px) {
    .step-item {
        width: 45%; /* Trên mobile hiển thị 2 cột */
        margin-bottom: 20px;
    }
    
    .store-payment-area {
        flex-direction: column;
    }

    .store-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding-bottom: 20px;
        margin-bottom: 20px;
        padding-right: 0;
    }

    .store-right {
        width: 100%;
    }
    
    .fee-red-button {
        font-size: 14px;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
}

/* === HƯỚNG DẪN THANH TOÁN CHUYỂN KHOẢN QUA BIDV === */
/* Container chính màu xanh */
        .transfer-wrapper {
            background: linear-gradient(90deg, #004d99, #1264bb);
            border-radius: 20px;
            padding: 30px;
            color: white;
            box-shadow: 0 10px 30px rgba(0, 70, 181, 0.3);
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }

        /* Tiêu đề trang */
        .transfer-title {
            text-align: center;
            font-size: 26px;
            font-weight: 900;
            text-transform: uppercase;
            margin-bottom: 30px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .transfer-title .highlight {
            color: #ffcc00;
        }

        /* Layout 2 cột: Trái (Hướng dẫn) - Phải (Ảnh) */
        .transfer-body {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 30px;
        }

        /* --- CỘT TRÁI --- */
        .transfer-instructions {
            flex: 0.8;
        }

        /* Khối QR Code */
        .qr-block {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.15);
            padding: 15px;
            border-radius: 15px;
            margin-bottom: 25px;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.3);
        }

        .qr-img {
            width: 100px;
            height: 100px;
            border-radius: 10px;
            border: 2px solid white;
            margin-right: 15px;
            background: white;
            padding: 2px;
        }

        .qr-text {
            font-weight: bold;
            font-size: 16px;
            line-height: 1.4;
        }

        /* Các bước hướng dẫn */
        .steps-list {
            font-size: 16px;
            line-height: 1.8;
        }

        .step-row {
            margin-bottom: 12px;
        }

        .step-number {
            font-weight: bold;
            font-size: 18px;
            margin-right: 5px;
        }

        .highlight-bank {
            font-weight: 900;
            font-size: 18px;
        }

        /* Bước 3: Cú pháp (Quan trọng) */
        .syntax-box {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 15px;
            border-radius: 10px;
            margin: 10px 0;
            border: 1px dashed rgba(255, 255, 255, 0.4);
        }

        .syntax-main {
            font-size: 35px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .color-yellow { color: #ffe600; }
        .color-cyan { color: #00ffff; }

        .syntax-note {
            display: flex;
            font-size: 12px;
            color: #ddd;
            gap: 40px;
        }
        
        .syntax-note span {
            position: relative;
        }
        
        /* Mũi tên chỉ dẫn nhỏ */
        .syntax-arrow-icon {
            font-size: 13px;
            margin-left: 15px;
            margin-right: 5px;
        }

        /* Lưu ý nhỏ */
        .sub-note {
            font-style: italic;
            font-size: 14px;
            opacity: 0.9;
            margin-top: 5px;
            display: block;
        }

        /* Pill màu vàng giảm giá */
        .discount-pill {
            background-color: #f7f332;
            color: #fa1515;
            font-weight: bold;
            text-align: center;
            padding: 12px 30px; /* Tăng padding 2 bên lên chút cho đẹp */
            border-radius: 50px;
            margin-top: 30px;
            font-size: 16px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            animation: pulse 2s infinite; /*Hiệu ứng nhấp nháy*/
            display: none; /* None là Tắt , hiện ra muốn hiện thì thay thế từ flex*/
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.02); }
            100% { transform: scale(1); }
        }

        /* --- CỘT PHẢI (Ảnh điện thoại) --- */
        .transfer-mockup {
            width: 280px;
            position: relative;
            flex-shrink: 0;
        }

        .phone-img {
            width: 100%;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
            /* Tạo viền trắng mỏng cho giống thiết kế */
            border: 4px solid #ffffff00; 
        }

        /* ---  Badge giá tiền tròn màu vàng --- */
        .price-badge-circle {
            position: absolute;
            bottom: 30px;
            left: 5px;
            background-color: #ffe600;
            color: #fc0e0e;
            width: 110px;
            height: 110px;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 18px;
            text-align: center;
            line-height: 1.2;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            border: 3px solid white;
            transform: rotate(-10deg);
            z-index: 10;
            display: flex; /* None là Tắt , hiện ra muốn hiện thì thay thế từ flex*/
        }
        
        .price-badge-circle small {
            font-size: 14px;
            font-weight: normal;
            color: #fc0e0e;            
        } 

        /* --- PHẦN BOTTOM: CỬA HÀNG (Style lại cho hợp tông xanh) --- */
        .store-section-blue {
            margin-top: 40px;
            background-color: rgba(0, 64, 128, 0.4); /* Nền tối hơn chút */
            border-radius: 15px;
            padding: 20px;
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .store-header-text {
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            margin-bottom: 20px;
            text-transform: uppercase;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            padding-bottom: 10px;
            color: #ffcc00;
        }
        
        /* Ghi đè style cũ để logo nổi trên nền xanh */
        .store-section-blue .partner-logos-grid img {
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        }

        .store-section-blue .store-left {
             border-right: 1px solid rgba(255,255,255,0.3);
        }
        
        .store-section-blue .store-left p {
            color: white;
        }        
       
/* ======================================================
   CSS MỚI: HƯỚNG DẪN QUÉT QR (PAGE 05 REDESIGN)
   ====================================================== */

.qr-guide-section {
    background: linear-gradient(360deg, #004d99, #1264bb); /* Gradient xanh đậm hiện đại */
    padding: 0; /* Padding xử lý bên trong container */
    border-radius: 20px;
    overflow: hidden;
    color: white;
    border: 1px solid #b3d7ff;
    box-shadow: 0 10px 30px rgba(0, 64, 128, 0.4);
    margin-bottom: 40px;
}

/* 1. Banner Header */
.qr-header-banner {
    width: 100%;
    background-color: #fff;
    border-bottom: 4px solid #ffcc00;
}

.qr-header-banner img {
    width: 50%;
    height: auto;
    display: block;
    max-height: 250px; /* Giới hạn chiều cao banner để không quá lớn */
    object-fit: cover; /* Đảm bảo ảnh không bị méo */
    object-position: center;
    margin-left: auto;
    margin-right: auto; /* Dùng để căn giữa */
    
}

/* Container nội dung chính */
.qr-content-container {
    padding: 30px;
}

/* Tiêu đề chính */
.qr-main-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.text-yellow {
    color: #ffe600;
}

/* Bố cục Flexbox 2 cột */
.qr-flex-body {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Căn giữa theo chiều dọc */
    gap: 30px;
}

/* --- Cột Trái (Steps + Phone) --- */
.qr-left-col {
    flex: 1; /* Chiếm 50% hoặc phần còn lại */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hộp các bước hướng dẫn */
.qr-steps-box {
    background: rgba(255, 255, 255, 0.1); /* Nền kính mờ */
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.qr-steps-box p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
}

.qr-steps-box p:last-child {
    margin-bottom: 0;
}

.qr-steps-box strong {
    color: #ffcc00; /* Màu vàng nhấn mạnh */
    font-weight: bold;
}

.small-italic {
    font-style: italic;
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-top: 3px;
}

/* Khu vực ảnh điện thoại + Badge giá */
.qr-phone-visual {
    position: relative;
    text-align: center;
    margin-top: 10px;
}

.floating-phone {
    max-width: 250px; /* Điều chỉnh kích thước ảnh điện thoại PAGE_05 */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    animation: floatUpDown 3s ease-in-out infinite; /* Hiệu ứng bay nhẹ */
}

/* Badge giá tiền tròn màu vàng */
.qr-price-badge {
    position: absolute;
    top: 0;
    right: 15%; /* Căn chỉnh vị trí */
    background-color: #ffe600;
    color: #d0021b;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: rotate(15deg);
    z-index: 10;
}

.qr-price-badge span {
    font-size: 10px;
    font-weight: bold;
    color: #d0021b;
}

/* --- Cột Phải (Hóa đơn) --- */
.qr-right-col {
    flex: 1; /* Chiếm 50% */
    display: flex;
    justify-content: center;
}

.receipt-wrapper img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4); /* Đổ bóng đậm tạo chiều sâu */
    transform: perspective(1000px) rotateY(-5deg); /* Xoay nhẹ 3D */
    transition: transform 0.3s ease;
    background: white; /* Đảm bảo nền trắng cho hóa đơn */
}

.receipt-wrapper img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02); /* Hiệu ứng khi di chuột */
}

/* --- Footer Lưu ý --- */
.qr-warning-footer {
    margin-top: 30px;
    background: rgba(255, 0, 68, 0.8); /* Màu đỏ cảnh báo (trong suốt) */
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Đổ bóng đậm tạo chiều sâu */
}

.warning-icon {
    font-size: 20px;
    font-weight: bold;
    color: #ffcc00;
    margin-right: 20px;
    white-space: nowrap;
}

.qr-warning-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qr-warning-footer li {
    margin-bottom: 5px;
    font-size: 15px;
}

.qr-warning-footer li:last-child {
    margin-bottom: 0;
}

.qr-warning-footer li::before {
    content: "•";
    color: #fff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Hiệu ứng chuyển động */
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}


/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */

@media (max-width: 992px) {
    .qr-flex-body {
        flex-direction: column-reverse; /* Đảo ngược để Mobile thấy hóa đơn trước hoặc sau tùy ý (ở đây để text lên trên) */
        flex-direction: column; 
    }
    
    .qr-left-col, .qr-right-col {
        width: 100%;
        flex: none;
    }

    .qr-phone-visual {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .qr-price-badge {
        right: 20%; /* Điều chỉnh lại vị trí badge trên tablet */
    }
    
    .receipt-wrapper img {
        transform: none; /* Tắt hiệu ứng 3D trên mobile cho dễ nhìn */
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .qr-content-container {
        padding: 15px;
    }

    .qr-main-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .qr-steps-box {
        padding: 15px;
    }
    
    .qr-steps-box p {
        font-size: 14px;
    }

    .qr-price-badge {
        width: 70px;
        height: 70px;
        font-size: 14px;
        right: 5%;
        top: -10px;
    }
    
    .qr-warning-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .warning-icon {
        margin-bottom: 10px;
    }
}

/* ... Các phần CSS khác giữ nguyên ... */

/* Thêm vào .table-scroll-container */
.table-scroll-container {
    max-height: 650px;
    overflow-y: auto;
    /* >>> BỔ SUNG YẾU TỐ QUAN TRỌNG NÀY <<< */
    overflow-x: auto; 
    /* -------------------------------------- */
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* KỸ THUẬT CARD VIEW CHO MÀN HÌNH NHỎ */
@media screen and (max-width: 600px) {
    /* Ẩn tiêu đề bảng (Header) */
    .table-scroll-container thead {
        display: none;
    }

    /* Chuyển dòng sang dạng khối */
    .table-scroll-container tr {
        display: block;
        margin-bottom: .625em;
        border: 1px solid #ccc;
    }

    /* Chuyển ô sang dạng khối */
    .table-scroll-container td {
        display: block;
        text-align: right;
        font-size: .8em;
        border-bottom: 1px dotted #ccc;
    }

    /* Gắn nhãn cho từng dữ liệu bằng thuộc tính data-label */
    .table-scroll-container td::before {
        content: attr(data-label); /* Lấy nội dung từ thuộc tính data-label */
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    /* Ẩn viền cuối cùng của ô */
    .table-scroll-container td:last-child {
        border-bottom: 0;
    }
}

/* Media Queries cho màn hình nhỏ hơn (Giữ lại để đảm bảo tính responsive) */
@media (max-width: 768px) {
    /* ... (CSS cho responsive đã giữ nguyên như phiên bản trước) ... */
    .free-channels table, .free-channels thead, .free-channels tbody, .free-channels th, .free-channels td, .free-channels tr {
        display: block;
    }
    .free-channels thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }    
    .free-channels td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%; 
        text-align: right !important; /* Căn phải nội dung trên mobile */
    }
    /* Thêm responsive logic cho bảng CÓ PHÍ */
    .paid-channels table, .paid-channels thead, .paid-channels tbody, .paid-channels th, .paid-channels td, .paid-channels tr {
        display: block;
    }
    .paid-channels thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .paid-channels td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        text-align: right !important;
    }
    /* Thiết lập lại căn trái cho cột Hướng dẫn thanh toán trên mobile */
    .paid-channels td:nth-child(5) {
        text-align: right !important;
    }
    .paid-channels td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        content: attr(data-label);
        text-align: left;
    }    
    /* Điều chỉnh kích thước hiển thị trên mobile */
    .paid-channels .paid-subtitle, .paid-channels .paid-fee-title {
        font-size: 10px; 
    }    
    /* Thiết lập lại căn trái cho cột Hướng dẫn thanh toán trên mobile */
    .free-channels td:nth-child(5) {
        text-align: right !important; 
    }
    
    .free-channels td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        /* Áp dụng label cho mobile */
        content: attr(data-label);
        text-align: left;
    }

    /* Responsive Mobile trang chuyển khoản bidv*/
    .transfer-body {
        flex-direction: column;
        align-items: center;
    }
            
    .transfer-mockup {
        width: 100%;
        max-width: 300px;
        margin-top: 20px;
        
    }
            
    .price-badge-circle {
    /* Phóng to hơn một chút so với Mobile, nhỏ hơn Desktop */
        position: absolute;
        display: flex; /* Giữ lại flex để căn nội dung */
        border-radius: 50%;
    /* Thêm các thuộc tính cơ bản khác... */
    
    /* KÍCH THƯỚC MẶC ĐỊNH */
        width: 120px;
        height: 120px;
        font-size: 16px;
    
    /* VỊ TRÍ MẶC ĐỊNH */
        left: 6px;
        bottom: 25px;
    }
            
    .store-section-blue .store-left {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }


}