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

body {font-family: 'Noto Sans Lao', sans-serif;background-color: #f4f6f9;color: #333;}
.navbar {background-color: #ffffff;padding: 10px 40px; display: flex;justify-content: flex-end; box-shadow: 0 1px 4px rgba(0,0,0,0.1);}
.nav-links {display: flex;align-items: center;gap: 20px;}
.nav-links a {text-decoration: none;color: #555;font-size: 14px;font-weight: 500;}
.nav-links a:hover {color: #0056b3;}
.btn-yellow {
    background-color: #f39c12;
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: bold;
}


.banner {
    background: linear-gradient(135deg, #004488, #0072ff);
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.2;
}

.logo-img {
    max-height: 120px;
    position: relative;
    z-index: 2;
}


.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    align-items: flex-start;
}


.card-draw {
    width: 280px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-header {
    background: linear-gradient(to bottom, #155BC8, #3b99fc);
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 16px;
}

.number-boxes {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 15px 10px 5px;
}

.number-boxes div {
    background-color: #fff;
    width: 42px;
    height: 55px;
    border: 1px solid #333;
    border-radius: 4px;
    font-weight: 800;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
}

.card-draw h3 {
    font-size: 14px;
    text-align: center;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
}

.table-result {
    width: 90%;
    margin: 0 auto 15px;
    border-collapse: collapse;
}

.table-result td {
    border: 1px solid #ccc;
    padding: 6px 10px;
    text-align: center;
    font-size: 14px;
    background-color: #fdfdfd;
}
.featured-news {flex: 1;}
.img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    border: 1px solid #ddd;
}

.featured-news h2 {
    font-size: 18px;
    margin-top: 15px;
    color: #222;
    line-height: 1.4;
    font-weight: 600;
}
.news-sidebar {width: 250px;flex-shrink: 0;}
.news-title-header {
    color: #d9534f;
    font-size: 16px;
    border-bottom: 2px solid #d9534f;
    padding-bottom: 4px;
    margin-bottom: 12px;
}
.news-list {list-style: none;}
.news-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.news-list a {
    text-decoration: none;
    color: #444;
    font-size: 13px;
    line-height: 1.3;
    display: block;
}
.news-list a:hover {color: #0056b3;}
.divider-section {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1140px;
    margin: 40px auto 20px;
    padding: 0 15px;
}
.divider-line {flex: 1;height: 1px;background-color: #b3c6e7;}
.divider-text {
    padding: 0 15px;
    color: #155BC8;
    font-weight: bold;
    font-size: 18px;
}
.history-section {margin-bottom: 40px;}
#custom-table-container table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

#custom-table-container th, #custom-table-container td {
    border: 1px solid #d1d5db;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

#custom-table-container th {background: linear-gradient(to bottom, #155BC8, #3b99fc);color: #fff;font-weight: 600;}
#custom-table-container tbody tr:nth-child(even) {background-color: #f9fafb;}
#custom-table-container .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 20px;
}
#custom-table-container .pagination button {
    border: 1px solid #ccc;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 3px;
    font-size: 13px;
}

#custom-table-container .pagination button.active {background: #046bd2;color: white;border-color: #046bd2;}

#custom-table-container .pagination button:hover:not(.active) {background-color: #e2e8f0;}
.footer { background-color: #155BC8;color: #ffffff; text-align: center; padding: 15px 20px;font-size: 12px;line-height: 1.6;}