.elementor-27 .elementor-element.elementor-element-c0b04c0{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-27 .elementor-element.elementor-element-6846c70{--display:flex;--overlay-opacity:0.05;}.elementor-27 .elementor-element.elementor-element-6846c70:not(.elementor-motion-effects-element-type-background), .elementor-27 .elementor-element.elementor-element-6846c70 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#D5D5D5;}.elementor-27 .elementor-element.elementor-element-6846c70::before, .elementor-27 .elementor-element.elementor-element-6846c70 > .elementor-background-video-container::before, .elementor-27 .elementor-element.elementor-element-6846c70 > .e-con-inner > .elementor-background-video-container::before, .elementor-27 .elementor-element.elementor-element-6846c70 > .elementor-background-slideshow::before, .elementor-27 .elementor-element.elementor-element-6846c70 > .e-con-inner > .elementor-background-slideshow::before, .elementor-27 .elementor-element.elementor-element-6846c70 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-image:url("https://tokyotelv.com/wp-content/uploads/2025/10/BASF-ernergy.jpg");--background-overlay:'';}.elementor-27 .elementor-element.elementor-element-2cdee5c{--display:flex;}.elementor-27 .elementor-element.elementor-element-2cdee5c:not(.elementor-motion-effects-element-type-background), .elementor-27 .elementor-element.elementor-element-2cdee5c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.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 );}body.elementor-page-27:not(.elementor-motion-effects-element-type-background), body.elementor-page-27 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#7E7E7E;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-27 .elementor-element.elementor-element-c0b04c0{--content-width:927px;}}/* Start custom CSS for html, class: .elementor-element-6414f66 */.dax-main-content {
            font-family: 'Roboto', Arial, sans-serif;
            padding: 20px;
            background-color: white;
            margin: 0 auto;
            border: 1px solid #e0e0e0;
        }
        /* Header Section (Title, Price, Change) */
        .dax-header-row {
            margin-bottom: 5px;
        }
        .dax-section-title {
            font-size: 1.2em;
            font-weight: 500;
            color: #000;
            margin-bottom: 5px;
        }
        .dax-price-info {
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 10px;
            margin-bottom: 10px;
        }
        .dax-current-price-section {
            display: flex;
            align-items: baseline;
            gap: 10px;
        }
        .dax-current-price {
            font-size: 2.5em;
            font-weight: bold;
            color: #28a745; /* Default Green for example */
            line-height: 1;
        }
        .dax-change-data {
            font-size: 1.1em;
            font-weight: 500;
            color: #28a745; /* Default Green for example */
            line-height: 1;
        }
        .dax-data-status {
            font-size: 0.8em;
            color: #6a6a6a;
            margin-top: 5px;
        }
        /* Chart Controls */
        .dax-chart-controls {
            display: flex;
            gap: 0;
            margin-bottom: 10px;
        }
        .dax-chart-controls button {
            background-color: white;
            border: 1px solid #ccc;
            padding: 4px 12px;
            cursor: pointer;
            font-size: 0.8em;
            color: #333;
            border-radius: 0;
            font-weight: normal;
            transition: all 0.1s;
        }
        .dax-chart-controls button.time-active {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
            font-weight: bold;
        }
        /* Ensure the chart container takes available space */
        .dax-chart-area {
            min-height: 250px;
            position: relative;
            border-left: 1px solid #e0e0e0;
            border-bottom: 1px solid #e0e0e0;
            padding-left: 5px;
            margin-bottom: 15px;
        }
        #myChart {
            height: 300px !important;
            max-height: 300px;
            width: 100%;
        }
        /* Bottom Info Table (Volume, Open, Range) */
        .dax-info-table-bottom {
            display: flex;
            flex-direction: column;
            font-size: 0.9em;
            margin-bottom: 15px;
            border: 1px solid #e0e0e0;
            border-left: none;
            border-right: none;
        }
        .dax-info-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr 1fr;
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        .dax-info-row:last-child {
            border-bottom: none;
        }
        .dax-info-label, .dax-info-label-right {
            color: #6a6a6a;
            padding-left: 10px;
        }
        .dax-info-value {
            font-weight: 500;
            text-align: left;
        }
        .dax-info-label-right {
            text-align: right;
        }
        .dax-info-value-right {
            font-weight: 500;
            text-align: right;
            padding-right: 10px;
        }
        /* Custom Bottom Table (closed, top, bottom) */
        .dax-custom-table-wrapper {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1.5fr 1fr 1.5fr;
            font-size: 1em;
            color: white;
            margin-bottom: 10px;
            border: 1px solid #111;
        }
        /* The first row (Header) is all labels */
        .dax-custom-table-wrapper > .dax-custom-label:nth-child(-n+5) {
            font-weight: bold;
            background-color: #333;
            border-right: 1px solid #111;
        }
        /* For Morning/Evening rows (rows 2 and 3 in the grid) */
        .dax-custom-cell {
            padding: 8px 0;
            text-align: center;
            border-bottom: 1px solid #111;
        }
        .dax-custom-cell:nth-child(5n) { /* Right border for every 5th cell (last in row) */
            border-right: none;
        }
        .dax-custom-cell:nth-child(5n-4), .dax-custom-cell:nth-child(5n-1) { /* Leftmost and 4th column */
            border-right: 1px solid #111;
        }
        .dax-custom-table-wrapper > .dax-custom-cell:nth-child(11),
        .dax-custom-table-wrapper > .dax-custom-cell:nth-child(12),
        .dax-custom-table-wrapper > .dax-custom-cell:nth-child(13),
        .dax-custom-table-wrapper > .dax-custom-cell:nth-child(14),
        .dax-custom-table-wrapper > .dax-custom-cell:nth-child(15) {
            border-bottom: none; /* Remove bottom border for the last row */
        }
        /* Styles for specific cell types */
        .dax-session-label { /* Morning/Evening cell */
            font-weight: bold;
            background-color: #333;
        }
        .dax-result-label { /* Top/Bottom label */
            background-color: #2a2a2a;
            font-weight: normal;
        }
        .dax-custom-value { /* The result itself */
            background-color: #222;
            font-weight: bold;
            font-size: 1.1em;
        }
        /* Final bottom date row */
        .dax-bottom-data-row {
            text-align: right;
            font-size: 0.7em;
            color: #999;
            padding-right: 0;
        }
        /* Responsive adjustments */
        @media (max-width: 600px) {
            .dax-info-row {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .dax-info-label-right, .dax-info-value-right {
                text-align: left;
                padding-right: 0;
                padding-left: 10px;
            }
            .dax-custom-table-wrapper {
                font-size: 0.85em;
            }
            .dax-custom-cell {
                padding: 6px 0;
            }
        }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-1cba560 */.history-table-container {  margin: 20px auto; }
    
    .history-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 10px;
        font-size: 0.95em;
        /* 🛑 เพิ่ม border รอบนอก */
        border: 2px solid #555; 
    }
    
    /* 🛑 Header Colors & Font */
    .history-table th {
        background-color: #333; /* สีพื้นหลัง Header */
        color: white;
        padding: 10px 5px;
        text-align: center;
        border-right: 1px solid #555;
    }
    
    /* 🛑 กำหนดสีสำหรับแถวหัวข้อ Session/Top/Bottom */
    .history-table th.session-header {
        background-color: #555; 
        font-weight: normal;
        border-right: 1px solid #888;
    }
    
    .history-table td {
        border: 1px solid #ccc;
        padding: 8px 5px;
        text-align: center;
        color: #333;
    }
    .history-table tbody tr:nth-child(even) {
        background-color: #f7f7f7;
    }
    .result-value {
        font-weight: bold;
    }/* End custom CSS */