.elementor-142 .elementor-element.elementor-element-111840c9{--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-142 .elementor-element.elementor-element-7f04b674{--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-142 .elementor-element.elementor-element-3538ad02 img{width:100%;}.elementor-142 .elementor-element.elementor-element-2933045{--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-142:not(.elementor-motion-effects-element-type-background), body.elementor-page-142 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-142 .elementor-element.elementor-element-7f04b674{--width:33.3333%;}.elementor-142 .elementor-element.elementor-element-2933045{--width:66.6666%;}}/* Start custom CSS for html, class: .elementor-element-18251732 *//* 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-73c86294 *//* 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-47d7ffd *//* Namespace for lottery statistics */				
.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;				
    /* แก้ปัญหา td ถูกซ่อน: บังคับให้แสดงผลเป็นเซลล์ตาราง */
    display: table-cell !important;
}				
.lottery-statistics th {				
    background-color: #f2f2f2;				
    color: #333;				
}				
/* .lottery-statistics td { 
    /* width: 100px; /* ถูกลบออกเพื่อให้ตารางยืดหยุ่น */
} */

/* *** NEW CSS: สไตล์หัวตารางวันที่ *** */
.lottery-statistics .date-header-row {
    background-color: #f0f0f0; /* สีพื้นหลังตามภาพตัวอย่าง */
    border-bottom: 2px solid #ccc;
    font-size: 16px;
    padding: 10px 0;
}
.lottery-statistics .date-header-row td {
    padding: 10px !important;
    border: none !important;
    text-align: center !important;
    font-weight: bold;
    color: #333;
    background-color: #f0f0f0 !important;
}
/* *** END NEW CSS *** */
				
.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); }				
}				
/* Hide unnecessary headers for this table */				
.lottery-statistics .hide-header thead {				
    /* ลบคลาส .hide-header thead display: none; ออกเพื่อแสดงหัวตารางวันที่ */
}	

/* ซ่อนแถว th ที่ไม่จำเป็นออก */
.lottery-statistics .hide-header thead tr:nth-child(2) {
    display: none;
}
			
#resultDB, #resultG7_1, #resultG7_2, #resultG7_3, #resultG7_4 {				
    color: red;				
    font-weight: 800;				
}				
/* Media Queries for mobile devices */				
@media (max-width: 600px) {				
    .lottery-statistics td {				
        padding: 4px !important;				
    }				
}				
/* Media Queries for tablets */				
@media (min-width: 601px) and (max-width: 1024px) {				
    .lottery-statistics td {				
        padding: 6px !important;				
    }				
}				
/* Media Queries for computers */				
@media (min-width: 1025px) {				
    .lottery-statistics td {				
        padding: 8px !important;				
    }				
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-56cc48a7 *//* 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-70bb75c2 */.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 .loading {				
    display: inline-block;				
    width: 20px;				
    height: 20px;				
    border: 3px solid #ccc; 
    border-radius: 50%;				
    border-top: 3px solid red; 
    animation: spin 1s linear infinite;				
}				
@keyframes spin {				
    0% { transform: rotate(0deg); }				
    100% { transform: rotate(360deg); }				
}				
				

/* สีสำหรับผลล่าสุดและประวัติ */
/* Giải Nhất (บน) และ Giải เจ็ด (2 ตัวท้าย) */
#resultG1, #resultG1History,
#resultG7_1, #resultG7_2, #resultG7_3, #resultG7_4,
#resultG7_1History, #resultG7_2History, #resultG7_3History, #resultG7_4History {				
    color: #e74c3c; /* สีแดงเข้ม */				
    font-weight: 800;				
}	
/* Giải ĐB (ล่าง) */
#resultDB, #resultDBHistory { 
    color: #333; /* สีดำ */
    font-weight: 800;
}

/* Style for Date Picker Input */
#datePickerHistory {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 300px;
    display: block;
    margin-bottom: 15px;
}

/* Media Queries for mobile devices */				
@media (max-width: 600px) {				
    .lottery-statistics td {				
        padding: 4px;				
        font-size: 12px;
    }				
}/* End custom CSS */