.elementor-7 .elementor-element.elementor-element-6a93d37{--display:grid;--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-7 .elementor-element.elementor-element-6f88af2{--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;}.elementor-7 .elementor-element.elementor-element-5ec53a6{--display:flex;}.elementor-7 .elementor-element.elementor-element-9606718{--display:flex;border-style:solid;--border-style:solid;border-width:0px 0px 5px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:5px;--border-left-width:0px;border-color:#00428D;--border-color:#00428D;}.elementor-7 .elementor-element.elementor-element-9606718:not(.elementor-motion-effects-element-type-background), .elementor-7 .elementor-element.elementor-element-9606718 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(42deg, #00428D 47%, #FFFFFF 32%);}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-7 .elementor-element.elementor-element-cb1252a .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:28px;font-weight:600;color:#FFFFFF;}.elementor-7 .elementor-element.elementor-element-4ec8a12{--display:flex;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-7 .elementor-element.elementor-element-4ec8a12{--width:51%;}}@media(max-width:1024px){.elementor-7 .elementor-element.elementor-element-6a93d37{--grid-auto-flow:row;}.elementor-7 .elementor-element.elementor-element-9606718:not(.elementor-motion-effects-element-type-background), .elementor-7 .elementor-element.elementor-element-9606718 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(49deg, #00428D 71%, #FFFFFF 13%);}}@media(max-width:767px){.elementor-7 .elementor-element.elementor-element-6a93d37{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-7 .elementor-element.elementor-element-9606718:not(.elementor-motion-effects-element-type-background), .elementor-7 .elementor-element.elementor-element-9606718 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:transparent;background-image:linear-gradient(32deg, #00428D 80%, #FFFFFF 16%);}.elementor-7 .elementor-element.elementor-element-cb1252a .elementor-heading-title{font-size:22px;}}/* Start custom CSS for html, class: .elementor-element-9a110bc */.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-bd5e705 */.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 */
/* Start custom CSS for html, class: .elementor-element-55b274c */.responsive-market-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
}

.market-content-area {
    flex: 1;
    padding: 12px;
    min-width: 0;
    box-sizing: border-box;
}

.challenge-banner-btn {
    display: block;
    background-color: #1359a6;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}
.challenge-banner-btn:hover {
    background-color: #0d4687;
}

.section-spacer {
    border: 0;
    border-top: 1px solid #eeeeee;
    margin: 12px 0;
}

.market-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.market-main-title {
    font-size: 15px;
    font-weight: bold;
    color: #222222;
    margin: 0;
}
.arrow-indicator {
    color: #1359a6;
}
.country-.elementor-7 .elementor-element.elementor-element-55b274cs {
    display: flex;
    gap: 4px;
}
.country-flag {
    padding: 2px 6px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    background-color: #f8f9fa;
    font-size: 12px;
}
.country-flag.active {
    background-color: #e8ecef;
    border-color: #cccccc;
}

.filter-tabs-row {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-tabs-row::-webkit-scrollbar {
    display: none;
}
.filter-tab {
    background: none;
    border: none;
    padding: 6px 0;
    font-size: 12px;
    font-weight: bold;
    color: #666666;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}
.filter-tab.active {
    color: #1359a6;
}
.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #1359a6;
}

.market-data-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.market-list-row {
    display: flex;
    align-items: center;
    padding: 8px 2px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    color: #222222;
    box-sizing: border-box;
}
.market-list-row.row-header {
    color: #666666;
    font-weight: 500;
    border-bottom: 1px solid #e0e0e0;
    font-size: 11px;
}

.col-item {
    box-sizing: border-box;
}
.col-name { 
    flex: 1; 
    min-width: 0; 
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 4px;
}
.col-price { width: 45px; flex-shrink: 0; text-align: right; }
.col-change { width: 55px; flex-shrink: 0; text-align: right; }
.col-vol { width: 50px; flex-shrink: 0; text-align: right; }
.col-status { width: 20px; flex-shrink: 0; text-align: center; }

.font-bold { font-weight: 600; }
.status-up { color: #00873c; font-weight: 500; }
.status-down { color: #cc0000; font-weight: 500; }
.status-neutral { color: #222222; }
.time-dot { color: #cc0000; font-size: 10px; }

.ad-disclosure-text {
    font-size: 10px;
    color: #999999;
    text-align: center;
    margin-top: 10px;
}

.market-sticky-sidebar {
    width: 65px;
    flex-shrink: 0;
    border-left: 1px solid #eeeeee;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0;
    box-sizing: border-box;
}
.sidebar-nav-link {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 2px;
    text-decoration: none;
    color: #555555;
    font-size: 10px;
    text-align: center;
    box-sizing: border-box;
}
.sidebar-nav-link:hover {
    background-color: #f0f0f0;
}
.sidebar-nav-link.active {
    color: #1359a6;
    font-weight: bold;
    background-color: #f4f7fa;
}
.nav-icon {
    font-size: 16px;
    margin-bottom: 2px;
}
.new-tag-badge {
    background-color: #f3a444;
    color: #000000;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 10px;
    margin-top: 2px;
}/* End custom CSS */