.elementor-132 .elementor-element.elementor-element-37c01f1d{--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-132 .elementor-element.elementor-element-4c052c91{--display:flex;}.elementor-132 .elementor-element.elementor-element-4c052c91:not(.elementor-motion-effects-element-type-background), .elementor-132 .elementor-element.elementor-element-4c052c91 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-132 .elementor-element.elementor-element-af2289e{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-132 .elementor-element.elementor-element-2dc81ac8{--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-132 .elementor-element.elementor-element-2dc81ac8:not(.elementor-motion-effects-element-type-background), .elementor-132 .elementor-element.elementor-element-2dc81ac8 > .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 );}.elementor-132 .elementor-element.elementor-element-2e47b83c img{width:100%;}.elementor-132 .elementor-element.elementor-element-2e47b83c .widget-image-caption{color:#4D4D4D;}.elementor-132 .elementor-element.elementor-element-2d3285b9{--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-132 .elementor-element.elementor-element-2d3285b9:not(.elementor-motion-effects-element-type-background), .elementor-132 .elementor-element.elementor-element-2d3285b9 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}body.elementor-page-132:not(.elementor-motion-effects-element-type-background), body.elementor-page-132 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#707070;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-132 .elementor-element.elementor-element-2dc81ac8{--width:20%;}.elementor-132 .elementor-element.elementor-element-2d3285b9{--width:80%;}}/* Start custom CSS for html, class: .elementor-element-597fb7ac */.sgx-main-content {
    font-family: Arial, sans-serif;
    padding: 0 20px 20px 20px;
    background-color: white;
}
.sgx-section-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
}
.sgx-price-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}


.sgx-left-data {
    width: 300px; 
    padding-right: 20px;
}
.sgx-current-price {
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.sgx-change {
    color: #008000; 
    font-weight: bold;
    margin-bottom: 20px;
}

/* ตารางสถิติ */
.sgx-data-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.9em;
}
.sgx-data-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.sgx-label {
    color: #666;
}
.sgx-value {
    font-weight: 500;
}



.sgx-chart-area {
    flex-grow: 1;
    min-width: 0; 
}
.sgx-chart-controls {
    display: flex;
    justify-content: flex-end; 
    gap: 1px;
    margin-bottom: 10px;
}
.sgx-chart-controls button {
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: bold;
    color: #666;
    transition: all 0.2s;
    border-radius: 0; 
}
.sgx-chart-controls button.day-active {
    border-left: 1px solid #008000; 
    border-top: 1px solid #008000;
    border-bottom: 2px solid #008000;
    color: #333;
    font-weight: bold;
}

#myChart { 
    height: 300px !important; 
    max-height: 300px; 
    width: 100%;
    border-left: 1px solid #eee; 
    border-bottom: 1px solid #eee; 
    padding-left: 10px; 
    padding-bottom: 10px;
}


.sgx-bottom-table-wrapper {
    margin-top: 15px;
    width: 100%;
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    border: 1px solid #ccc;
}
.custom-table th, .custom-table td {
    border: none; 
    border-right: 1px solid #ccc; 
    padding: 8px 0;
    background-color: #f7f7f7;
    font-size: 0.85em;
    font-weight: bold;
}
.custom-table td:last-child, .custom-table th:last-child {
    border-right: none;
}
.custom-table thead {
    display: none; 
}
.sgx-bottom-data-row {
    text-align: right;
    font-size: 0.75em;
    color: #999;
    margin-top: 5px;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .sgx-price-section {
        flex-direction: column; 
        gap: 10px;
    }
    .sgx-left-data {
        width: 100%;
        padding-right: 0;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-72f1f4db */.sgx-history-title {
        font-size: 1.5em;
        color: #333; 
        text-align: left;
        margin-top: 20px;
        margin-bottom: 15px;
        font-family: 'Arial', sans-serif;
        font-weight: bold;
        padding-left: 5px;
    }

    .sgx-history-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 16px;
        text-align: center;
        table-layout: fixed;
        border: 1px solid #ddd;
        font-family: Arial, sans-serif;
    }

    .sgx-history-table th, .sgx-history-table td {
        border: 1px solid #ddd;
        padding: 8px 5px;
        color: #333; 
        height: 40px; 
    }

    .sgx-history-table th {
        background-color: #f0f0f0;  
        color: #333; 
        font-size: 0.9em;
        font-weight: bold;
    }

   
    @media (max-width: 768px) {
        .sgx-history-table th, .sgx-history-table td {
            font-size: 14px;
            padding: 5px;
        }
        .sgx-history-title {
            font-size: 1.3em;
        }
    }
    @media (max-width: 480px) {
        .sgx-history-table th, .sgx-history-table td {
            font-size: 12px;
            padding: 4px;
        }
    }/* End custom CSS */