.elementor-23 .elementor-element.elementor-element-d899f3f{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-23 .elementor-element.elementor-element-bdab367{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-23 .elementor-element.elementor-element-0130861 img{width:100%;}.elementor-23 .elementor-element.elementor-element-4e23805{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}body.elementor-page-23:not(.elementor-motion-effects-element-type-background), body.elementor-page-23 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-23 .elementor-element.elementor-element-bdab367{--width:33.3333%;}.elementor-23 .elementor-element.elementor-element-4e23805{--width:66.6666%;}}/* Start custom CSS for html, class: .elementor-element-2b4d6c1 *//* Container chính và Tiêu đề */
.custom-daily-container {
    position: relative;
    padding-top: 25px; /* Tạo không gian cho banner DÀNH CHO ĐẠI LÝ */
    max-width: 500px; /* Giới hạn chiều rộng để dễ quản lý */
    margin: 0 auto;
}

.header-banner {
    background-color: #2b6cb0; /* Màu xanh đậm */
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    padding: 15px 30px 10px 30px; 
    margin: 0 auto;
    border-radius: 0 0 15px 15px; 
    width: 80%; /* Chiều rộng của banner */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    
    clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 10% 100%, 0 70%);
    border-radius: 5px 5px 0 0;
    box-shadow: 0 4px 0 0 #1e4b85; /* Giả lập hiệu ứng 3D/độ dày */
}

/* Danh sách chính (3 mục) */
.daily-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
    background-color: #ffffff; /* Nền trắng cho danh sách */
    padding-top: 35px; /* Đẩy nội dung xuống dưới banner */
    position: relative;
    z-index: 5;
    border-radius: 5px;
    overflow: hidden; /* Giúp các border-radius hoạt động tốt */
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.05em;
    font-weight: 500;
    color: #333;
    flex-wrap: wrap; /* Cho phép nội dung chi tiết xuống dòng */
}

.list-item:last-child {
    border-bottom: none;
}

/* Nhãn NEW */
.new-tag {
    background-color: #d9534f; /* Màu đỏ */
    color: white;
    font-size: 0.7em;
    padding: 2px 5px;
    margin-left: 5px;
    border-radius: 3px;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}

/* Icon Dấu Cộng (+) */
.icon-toggle {
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1;
    background-color: #4CAF50; /* Màu xanh lá cây */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

/* Kích hoạt chuyển đổi thành dấu trừ (-) khi nội dung mở
   LƯU Ý: Phần này cần JavaScript để thêm class 'open' */
.list-item.open .icon-toggle {
    transform: rotate(45deg); /* Biến dấu + thành dấu x */
    background-color: #f0ad4e; /* Màu cam khi mở */
}

/* Nội dung chi tiết (Mặc định ẩn) */
.content-daily {
    display: none; 
    width: 100%;
    padding: 10px 0 0 0;
    margin-top: 10px;
    border-top: 1px dashed #eee;
}

/* Tạo kiểu cho bảng Đèn Led */
.tbldenled {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9em;
}
.tbldenled thead th {
    background-color: #f1f1f1;
    padding: 8px;
    border: 1px solid #ddd;
    font-weight: bold;
}
.tbldenled tbody td {
    padding: 8px;
    border: 1px solid #eee;
}
.tbldenled .download-link {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: bold;
}

/* Tạo kiểu cho File âm thanh */
.tblaudio {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9em;
}
.tblaudio td {
    padding: 10px 0;
    border-bottom: 1px dotted #ddd;
}
.tblaudio tr:last-child td {
    border-bottom: none;
}

/* Tạo kiểu cho Trình chiếu TV */
.tv-options, .clip-link {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}
.tv-options li, .clip-link li {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}
.tv-options li:hover {
    background-color: #e6e6e6;
}
.clip-link a {
    color: #2b6cb0;
    text-decoration: none;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-dec99f4 *//* Container chính */
.blog-list-container {
    position: relative;
    padding-top: 25px; /* Đẩy nội dung xuống dưới banner */
    max-width: 500px; /* Giới hạn chiều rộng */
    margin: 0 auto;
}

/* Tiêu đề XỔ SỐ ĐIỆN TOÁN */
.header-banner-blog {
    background-color: #2b6cb0; /* Màu xanh đậm */
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 15px 30px 20px 30px; 
    margin: 0 auto;
    width: 80%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    
    /* Tạo hình dạng cong (hình thang ngược) */
    clip-path: polygon(0 0, 100% 0, 100% 80%, 85% 100%, 15% 100%, 0 80%);
    border-radius: 5px 5px 0 0;
    box-shadow: 0 4px 0 0 #1e4b85; /* Bóng giả lập độ dày */
}

/* Khối bao danh sách */
.blog-items-wrapper {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding-top: 35px; /* Đẩy nội dung xuống dưới banner */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Mỗi mục bài viết */
.list-item-blog {
    display: flex; /* Sắp xếp nội dung và ảnh cạnh nhau */
    align-items: center; /* Căn giữa theo chiều dọc */
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    border-bottom: 1px solid #eee; /* Đường phân cách mảnh */
    transition: background-color 0.2s;
}

.list-item-blog:hover {
    background-color: #f8f8f8; /* Hiệu ứng hover */
}

.list-item-blog:last-child {
    border-bottom: none;
    padding-bottom: 20px; /* Thêm padding dưới cùng */
}

/* Hình thu nhỏ */
.thumbnail-blog {
    flex-shrink: 0; /* Đảm bảo hình ảnh không bị co lại */
    width: 80px; /* Chiều rộng cố định cho thumbnail */
    height: 80px; /* Chiều cao cố định cho thumbnail */
    border-radius: 5px;
    overflow: hidden;
    margin-right: 15px;
}

.thumbnail-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh luôn lấp đầy khung mà không bị méo */
    display: block;
}

/* Nội dung tiêu đề bài viết */
.content-blog {
    flex-grow: 1; /* Cho phép tiêu đề chiếm hết không gian còn lại */
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.4;
}

/* Nút cuộn xuống (Nút màu cam ở góc dưới) */
.scroll-button-placeholder {
    position: absolute;
    bottom: 0;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #ff9800; /* Màu cam */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 15;
    transform: translateY(50%); /* Đẩy nửa nút xuống dưới khối */
}

.arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid white; /* Mũi tên trắng hướng xuống */
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2bfd232 */.lottery-statistics table {				
                width: 100%;	background-color: #fff;			
                border-collapse: collapse;				
                font-family: Arial, sans-serif;				
            }				
            .lottery-statistics th, .lottery-statistics td {				
                border: 1px solid #ddd;				
                padding: 8px;				
                text-align: center;				
               				
                font-weight: bold;				
            }				
            .lottery-statistics th {				
                background-color: #f2f2f2;				
                color: #333;				
            }				
            .lottery-statistics td {				
                width: 100px;				
            }				
            .lottery-statistics .loading {				
                display: inline-block;				
                width: 20px;				
                height: 20px;				
                border: 3px solid #fff;				
                border-radius: 50%;				
                border-top: 3px solid red;				
                animation: spin 1s linear infinite;				
            }				
            @keyframes spin {				
                0% { transform: rotate(0deg); }				
                100% { transform: rotate(360deg); }				
            }				
          
            .lottery-statistics .hide-header thead {				
                display: none;				
            }				
            #resultDB, #resultG7_1, #resultG7_2, #resultG7_3, #resultG7_4 {				
                color: red;				
                font-weight: 800;				
            }				
          	
            @media (max-width: 600px) {				
                .lottery-statistics td {				
                    padding: 4px;				
                }				
            }				
            /* Media Queries for tablets */				
            @media (min-width: 601px) and (max-width: 1024px) {				
                .lottery-statistics td {				
                    padding: 6px;				
                }				
            }				
           
            @media (min-width: 1025px) {				
                .lottery-statistics td {				
                    padding: 8px;				
                }				
            }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-d872f46 *//* CONTAINER หลัก */
.xs-max3d-container {
    font-family: Arial, sans-serif;
    จำกัดความกว้างให้ดูเหมือนในภาพ */
    margin: 20px auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ส่วนหัวตาราง (TRỰC TIẾP XỔ SỐ MAX3D PRO) */
.xs-max3d-header {
    background-color: #920063; /* สีม่วงเข้ม */
    color: white;
    padding: 10px 15px;
    text-align: center;
    border-bottom: 2px solid #6b0047;
}

.xs-header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.xs-header-logo img {
    margin-right: 5px;
    height: 30px;
}

.xs-header-info {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

.xs-header-date {
    font-size: 12px;
    font-weight: 300;
    margin: 0;
}

/* ตารางแสดงผลรางวัล */
.xs-max3d-result-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.xs-max3d-result-table th, .xs-max3d-result-table td {
    border: 1px solid #e0e0e0;
    padding: 8px 5px;
    text-align: center;
    font-size: 13px;
    vertical-align: top;
}

/* ส่วนหัวตาราง (GIẢI, SỐ QUAY THƯỞNG,...) */
.xs-max3d-result-table thead th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
    padding: 10px 5px;
}

/* กำหนดความกว้างคอลัมน์ */
.xs-col-giải { width: 15%; font-weight: bold; background-color: #f9f9f9; }
.xs-col-số { width: 50%; }
.xs-col-giá { width: 20%; font-weight: bold; }
.xs-col-sl { width: 15%; }


/* สไตล์ลูกบอลตัวเลข */
.xs-ball {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.xs-number-group {
    margin: 0 3px;
}

/* สีลูกบอล */
.xs-ball-purple { background-color: #920063; }
.xs-ball-gray { background-color: #a0a0a0; }

/* สไตล์แถวรางวัลที่ข้อมูลสำคัญ (Đặc biệt) */
.xs-prize-dac-biet {
    background-color: #fff0f0; /* พื้นหลังสีชมพูอ่อน */
}

/* ข้อความแสดงมูลค่าเงินที่เด่น */
.xs-value-highlight {
    color: #920063; /* สีม่วง */
    font-size: 15px;
}

/* การจัดบรรทัดสำหรับรางวัลที่มีหลายผลลัพธ์ (Nhất, Nhì, Ba) */
.xs-number-multi-line {
    text-align: center;
    padding: 5px 0 !important;
}

.xs-number-line {
    display: flex;
    justify-content: space-around;
    padding: 2px 0;
    font-weight: bold;
}

/* สไตล์แถวรางวัล Tư, Năm, Sáu (ข้อมูลสรุป) */
.xs-prize-tu, .xs-prize-nam, .xs-prize-sau {
    background-color: #fdf5e6; /* สีเหลืองอ่อน/ครีม */
    font-style: italic;
    color: #444;
}

.xs-prize-info {
    text-align: left !important;
    padding-left: 10px !important;
    font-weight: normal;
}

.xs-prize-tu .xs-col-giải, .xs-prize-nam .xs-col-giải, .xs-prize-sau .xs-col-giải {
    background-color: #f7e9c9; /* สีเข้มขึ้นเล็กน้อย */
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2b065e6 */#lotteryResultsHistory {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.history-title {
    font-size: 18px;
    color: #1e3c72;
    font-weight: 800;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.filter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.filter-container label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}


#datePickerHistory {
    padding: 10px 16px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 8px;
    border: 2px solid #cbd5e1;
    width: 100%;
    max-width: 260px;
    text-align: center;
    color: #334155;
    background-color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

#datePickerHistory:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.15);
}


.lottery-statistics table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}


#tableHeaderStatus {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 10px;
    text-align: center;
    border: none;
    letter-spacing: 0.3px;
    border-radius: 6px 6px 0 0;
}


.lottery-statistics td {
    border: 1px solid #eef2f5;
    padding: 12px 6px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #4a5568;
}


.lottery-statistics tbody tr td:first-child {
    background-color: #f8fafc;
    color: #718096;
    font-weight: 600;
    font-size: 13px;
}

#resultDBHistory, #resultG1History {
    font-size: 22px;
    font-weight: 800;
    background-color: #fff5f5;
}

#resultDBHistory {
    color: #e53e3e; 
}

#resultG1History {
    color: #dd6b20; 
}

#resultG7_1History, #resultG7_2History, #resultG7_3History, #resultG7_4History {				
    color: #dd6b20; 
}


.lottery-statistics .loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    border-top: 2px solid #3182ce;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

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


@media (max-width: 480px) {
    #lotteryResultsHistory {
        padding: 12px;
    }
    .history-title {
        font-size: 16px;
    }
    #datePickerHistory {
        font-size: 14px;
        padding: 8px 12px;
    }
    .lottery-statistics td {
        padding: 10px 4px;
        font-size: 13px;
    }
    .lottery-statistics tbody tr td:first-child {
        font-size: 11px;
    }
    #resultDBHistory, #resultG1History {
        font-size: 18px;
    }
}/* End custom CSS */