body {
    font-family: "Anek Latin", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo img {
    height: 50px; /* Adjust as needed */
    width: auto;
}

.company-info {
    text-align: center;
    flex-grow: 1;
}

.company-info h2 {
    margin: 0;
    font-size: 1.2em;
    color: #007bff; /* Blue color from logo */
}

.company-info p {
    margin: 0;
    font-size: 0.85em;
    color: #666;
}

.lang-search {
    display: flex;
    align-items: center;
}

.lang-search .lang {
    text-decoration: none;
    color: #333;
    padding: 5px 8px;
    border: 1px solid #ccc;
    margin-left: 5px;
    font-size: 0.9em;
    border-radius: 3px;
}

.lang-search .lang.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.lang-search .search-icon {
    font-size: 1.2em;
    margin-left: 15px;
    color: #666;
}

.main-nav {
    background-color: #007bff; /* Blue background for nav */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around; /* Distribute items evenly */
}

.main-nav ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    white-space: nowrap; /* Prevent wrapping */
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    background-color: #0056b3; /* Darker blue on hover/active */
}

.hero-banner {
    /* background-image: url('https://via.placeholder.com/1200x150/007bff/ffffff?text='); */
    background-size: cover;
    background-position: center;
    /* height: 150px; */
    width: 100%;
    margin-bottom: 20px;
}

.content {
    padding: 20px 0;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.content h1 {
    font-size: 1.8em;
    color: #1b5eb2;
    border-bottom: 2px solid #1b5eb2;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 20px;
    justify-content: center;
}

.filter-section .date-input input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    width: 120px;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.filter-section .label {
    font-weight: bold;
    color: #555;
}

.filter-section button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.filter-section .filter-btn {
    background-color: #ff9800; /* Orange */
    color: #fff;
}

.filter-section .filter-btn:hover {
    background-color: #e68a00;
}

.filter-section .export-btn {
    background-color: #4CAF50; /* Green */
    color: #fff;
}

.filter-section .export-btn:hover {
    background-color: #45a049;
}

.table-container {
    overflow-x: auto;
    padding: 0 20px 20px;
}

.table {
    margin: 20px auto;
    width: 50%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.table thead th {
    background-color: #1b5eb2;
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #fff;
}

.table tbody td {
    padding: 10px 15px;
    text-align: center;
    border: 1px solid #eee;
    vertical-align: middle;
}

.table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Specific styling for the "Sản lượng điện (MWH)" column header based on image */
.table thead th:nth-child(3) {
    background-color: #1b5eb2; /* Even if it's already blue, good to be explicit */
    color: #fff;
}

/* New Chart Section Styling */
.chart-section {
    padding: 20px;
    margin-top: 30px; /* Space above the chart */
    background-color: #fff;
    border-top: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chart-section h2 {
    font-size: 1.5em;
    color: #007bff;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.chart-container {
    position: relative; /* Needed for responsive canvas */
    height: 400px; /* Set a height for the chart container */
    width: 100%;
    margin: auto;
}

/* Placeholder for Windows Activation - usually not part of a website */
.windows-activation-placeholder {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-top-left-radius: 5px;
    padding: 10px;
    font-size: 0.9em;
    color: #555;
    z-index: 1000;
    text-align: center;
    line-height: 1.4;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.table-power-output table {
    width: 100%;
    min-width: 1200px;
    border-color: inherit;
    border-collapse: collapse;
    text-indent: 0;
}
.table-power-output th:first-child {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    border-bottom-color: rgb(27 94 178 / var(--tw-border-opacity));
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    color: rgb(27 94 178 / var(--tw-text-opacity));
    font-weight: 700;
}
.table-power-output th {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(255 255 255 / var(--tw-border-opacity));
    background-color: rgb(27 94 178 / var(--tw-bg-opacity));
    padding: calc(8 / 1920 * 100rem);
    color: rgb(255 255 255 / var(--tw-text-opacity));
    font-weight: 700;
    font-size: clamp(14px, calc(16 / 1920 * 100rem), calc(48 / 1920 * 100rem));
    line-height: 1.25;
    text-align: center;
}
.table-power-output td:first-child {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(27 94 178 / var(--tw-bg-opacity));
    color: rgb(255 255 255 / var(--tw-text-opacity));
    font-weight: 700;
    font-size: clamp(14px, calc(16 / 1920 * 100rem), calc(48 / 1920 * 100rem));
    line-height: 1.25;
}
.table-power-output td {
    --tw-border-opacity: 1;
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    border-width: 1px;
    border-color: rgb(255 255 255 / var(--tw-border-opacity));
    background-color: rgb(228 236 250 / var(--tw-bg-opacity));
    padding: calc(8 / 1920 * 100rem);
    color: rgb(0 0 0 / var(--tw-text-opacity));
    font-weight: 400;
    font-size: clamp(14px, calc(14 / 1920 * 100rem), calc(48 / 1920 * 100rem));
    line-height: 1.25;
    text-align: center;
}