.elementor-7 .elementor-element.elementor-element-3085f00{--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-5306321{--display:flex;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-7 .elementor-element.elementor-element-5306321{--content-width:1379px;}}@media(max-width:1024px){.elementor-7 .elementor-element.elementor-element-3085f00{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-7 .elementor-element.elementor-element-3085f00{--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(2, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for html, class: .elementor-element-805ca6e *//* ตั้งค่า Layout หลักแบบ 3 คอลัมน์ */
.fin-dashboard-container {
    display: grid;
    grid-template-columns: 300px 1fr 320px;
    gap: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #ffffff;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* คอลัมน์ซ้าย (ข่าว) */
.fin-sidebar-left {
    border-right: 1px solid #eee;
    padding-right: 15px;
}
.fin-section-header {
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.fin-section-header span {
    margin-right: 15px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}
.fin-section-header span.active {
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}
.fin-news-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}
.fin-news-text h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.4;
}
.fin-news-text p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}
.fin-meta {
    font-size: 11px;
    color: #999;
}
.fin-news-thumb .img-placeholder {
    width: 60px;
    height: 45px;
    background-color: #eee;
    border-radius: 4px;
}

/* คอลัมน์กลาง (Main Content) */
.fin-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fin-block-title {
    font-size: 16px;
    margin-bottom: 15px;
}
.beta-tag {
    font-size: 12px;
    color: #666;
    vertical-align: super;
}
.fin-card-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.fin-ai-card {
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}
.fin-ai-card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}
.fin-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 13px;
}
.fin-brand {
    font-weight: bold;
}
.fin-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}
.fin-dots span {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
}
.fin-dots span.active {
    background: #333;
}

/* แถบ Login สีเหลือง */
.fin-login-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffdf0;
    border: 1px solid #fbeaa0;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 13px;
}
.fin-login-banner p { margin: 0; }
.fin-btn-login {
    background: #ffc107;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

/* ตารางข้อมูลหุ้นด้านล่าง */
.fin-ticker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.fin-ticker-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #ccc;
}
.fin-ticker-item.pos { border-left-color: #28a745; background: #f4fbf6; }
.fin-ticker-item.neg { border-left-color: #dc3545; background: #fdf5f6; }
.ticker-info h5 { margin: 0 0 4px 0; font-size: 13px; }
.ticker-info p { margin: 0; font-size: 12px; color: #555; font-weight: bold; }
.ticker-change { font-size: 12px; font-weight: bold; }
.pos .ticker-change { color: #28a745; }
.neg .ticker-change { color: #dc3545; }

/* คอลัมน์ขวา */
.fin-sidebar-right {
    border-left: 1px solid #eee;
    padding-left: 15px;
}
.fin-widget {
    margin-bottom: 25px;
}
.fin-widget h3 {
    font-size: 16px;
    color: #0056b3;
    margin: 0 0 10px 0;
}
.fin-widget-desc {
    font-size: 13px;
    color: #666;
}
.fin-tool-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fin-tool-list li {
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
}

/* ระบบ Responsive รองรับหน้าจอแท็บเล็ตและมือถือ */
@media (max-width: 1024px) {
    .fin-dashboard-container {
        grid-template-columns: 1fr;
    }
    .fin-sidebar-left, .fin-sidebar-right {
        border: none;
        padding: 0;
    }
    .fin-ticker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .fin-card-grid-2, .fin-ticker-grid {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-75b7ce8 */body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;

}

.stock-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
   
   
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    gap: 30px;
}

/* ฝั่งข้อมูลซ้าย */
.stock-info-container {
    flex: 0 0 280px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

h1#last-price {
    color: #22ac38; /* สีเขียวตามภาพต้นฉบับ */
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.chart-label {
    color: #22ac38;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.stock-table {
    width: 100%;
    border-collapse: collapse;
}

.stock-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.stock-table tr td:first-child {
    color: #666;
    text-align: left;
}

.stock-table tr td:last-child {
    font-weight: 600;
    text-align: right;
    color: #111;
}

/* ฝั่งกราฟขวา */
.stock-chart {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chart-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

#current-date {
    font-size: 13px;
    color: #888;
}

/* เมนูแท็บขวาบนของกราฟตามรูปภาพ */
.time-tabs {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.time-tabs .tab {
    padding: 5px 12px;
    font-size: 12px;
    color: #555;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
}

.time-tabs .tab:last-child {
    border-right: none;
}

.time-tabs .tab.active {
    background: #fff;
    font-weight: bold;
    color: #000;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.1);
}

.canvas-container {
    position: relative;
    height: 320px; /* คุมความสูงสัดส่วนกราฟ */
    width: 100%;
    margin-bottom: 25px;
}

/* ตารางล่างกราฟ ปรับให้คลีนแบบมินิมอลตามภาพ */
.lottery-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: #fff;
}

.lottery-table th {
    background-color: #f7f9fa;
    color: #666;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid #eaeeef;
    padding: 10px;
}

.lottery-table td {
    border: 1px solid #eaeeef;
    padding: 12px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

@media (max-width: 768px) {
    .stock-container {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }
    .stock-info-container {
        flex: 1 1 auto;
        width: 100%;
    }
    .canvas-container {
        height: 240px;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-ba551c7 */.crypto-dash-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr 1.3fr;
    gap: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333333;
    padding: 15px;
    background-color: #ffffff;
}

.dash-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.dash-divider {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 10px 0;
}


.section-block h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0b2f61;
}

.table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f7f9fa;
}
.table-row .val {
    margin-left: auto;
    margin-right: 15px;
    font-weight: 500;
}

.crypto-up {
    color: #00b050 !important;
    font-weight: 500;
}
.crypto-down {
    color: #ff3b30 !important;
    font-weight: 500;
}

 */
.dash-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #8e8e93;
}
.dash-tabs .tab.active {
    color: #0b2f61;
    font-weight: bold;
    border-bottom: 2px solid #0b2f61;
}


.view-more {
    font-size: 13px;
    color: #007aff;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

/* ข้อมูลข่าวสารฝั่งซ้าย */
.news-item h4 {
    font-size: 15px;
    margin: 5px 0;
    font-weight: 600;
    line-height: 1.4;
}
.news-item p {
    font-size: 13px;
    color: #636366;
    margin: 0;
    line-height: 1.4;
}
.news-time {
    font-size: 11px;
    color: #8e8e93;
    display: block;
}

*/
.comment-box {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
}
.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.comment-author {
    color: #8e8e93;
    margin: 2px 0;
}
.comment-text {
    margin: 4px 0 0 0;
    color: #3a3a3c;
    line-height: 1.4;
}


.ai-portfolio-card {
    background-color: #fff9e6;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 20px;
}
.ai-portfolio-card h4 {
    font-size: 13px;
    color: #8a6d3b;
    margin: 0 0 10px 0;
}
.ai-portfolio-card h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    color: #333;
}
.ai-portfolio-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0 0 12px 0;
}
.risk-level {
    font-size: 12px;
    margin-bottom: 15px;
}
.low-risk {
    color: #28a745;
    font-weight: bold;
}
.portfolio-btn {
    background-color: #ffcc00;
    border: none;
    color: #000;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 6px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}
.portfolio-btn:hover {
    background-color: #e6b800;
}


@media (max-width: 1024px) {
    .crypto-dash-wrapper {
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 767px) {
    .crypto-dash-wrapper {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-04e4a30 */h5 {
            font-size: 2em;
            color: #ffff;
            text-align: center;
            margin-top: 20px;
            font-family: 'Arial', sans-serif;
            font-weight: bold;
            
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 16px;
            text-align: center;
            table-layout: fixed;
            
        }

        table, th, td {
            border: 1px solid #ddd;
            padding: 3px;
            background-color: #ffff;
        }

        th {
            background-color: #f6f6f6;
            font-size: 1.1em;
            
        }

        @media (max-width: 768px) {
            table, th, td {
                font-size: 14px;
                padding: 3px;
            }

            h2 {
                font-size: 1.5em;
            }
        }

        @media (max-width: 480px) {
            table, th, td {
                font-size: 12px;
                padding: 5px;
            }
          
            h2 {
                font-size: 1.2em;
            }
        }/* End custom CSS */