﻿
body {
    background: #FCFDFE !important;
}

.main-content-wrap {
    background: #FCFDFE !important;
}
/* ============================
   GLOBAL UTILITIES
============================ */
.p0 {
    padding: 0 !important;
}

.m0 {
    margin: 0 !important;
}

.mt-05 {
    margin-top: 5px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.ml-10 {
    margin-left: 10px !important;
}

.mr-10 {
    margin-right: 10px !important;
}

.w-60 {
    width: 60% !important;
}

.pl-10 {
    padding-left: 10px !important;
}
/* ---------------------------SECONDARY SIDEBAR------------------------------- */
.sidebar-left-secondary {
    top: 70px !important;
}

.gapwarpper {
    padding: 0rem 5rem 0;
}

@media (max-width: 576px) {
    .gapwarpper {
        padding: 0rem 1rem 0;
    }
}

@media (max-width: 1500px) {
    .gapwarpper {
        padding: 0rem 2rem 0;
    }
}

/* ---------------------------FOOTER---------------------------- */
.app-footer {
    background: #EEF2F5 !important;
}

.social-footer img {
    width: 27px;
    transition: .2s;
}

    .social-footer img:hover {
        transform: scale(1.1);
    }



/* ------------------- RESPONSIVE -------------------------------------*/
@media(max-width:1024px) {
    #dropdownNotification,
    .block-bar,
    .checkusername {
        display: none !important;
    }

    .logotop-hidemenu {
        position: fixed !important;
        left: calc(50% - 70px) !important;
    }

    .sidebar-left {
        width: 100px !important;
    }

    .app-footer,
    .app-footer .col-md-8,
    .app-footer .col-md-4 {
        text-align: center !important;
    }
}



/*---------------MODAL — DESKTOP VERSION-------------------------*/
.modal-header-custom {
    text-align: center;
    padding: 2.5rem 0 0;
    border-bottom: none;
}

.modal-body {
    padding: 25px 35px !important;
}

.modal-content {
    border-radius: 10px !important;
}

.modal-footer-btns button {
    width: 30%;
    min-width: 120px;
}

.modal-dialog {
    max-width: 1000px !important;
}



/*------------------------------  MOBILE VERSION FOR MODAL (PDPA / Terms / All Modals)-------------------------------------------*/

@media (max-width: 576px) {


    .txt-indent {
        margin-left: 0 !important;
        margin-bottom: 8px !important;
        line-height: 1.5 !important;
    }

    .txt-indent-2 {
        margin-left: 12px !important;
        margin-bottom: 8px !important;
        line-height: 1.5 !important;
    }

    .txt-indent-3 {
        margin-left: 20px !important;
        margin-bottom: 8px !important;
        line-height: 1.5 !important;
    }


        .txt-indent-3::before {
            content: "• ";
            font-size: 14px;
            margin-right: 6px;
        }


    .modal-body {
        padding: 0px 12px 5px 12px !important;
    }

    .modal-header-custom {
        padding-top: 1.2rem !important;
    }

    .title-modal {
        font-size: 22px !important;
        font-weight: 700;
        color: #00A4E4;
    }

    .modal-header-custom p {
        font-size: 24px !important;
        line-height: 1.3;
    }


    .checkbox.checkbox-primary {
        margin-top: 5px;
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .checkbox .checkmark {
        position: absolute;
        top: 2px !important;
        left: 0;
        height: 17px;
        width: 17px;
        border-radius: 4px !important;
        background-color: #ffffff !important;
        border: 1px solid #BFBFBF;
    }
}
/* ตอน hover / focus */
.checkbox input:focus ~ .checkmark,
.checkbox:hover input ~ .checkmark {
    border: 1px solid #01A1DF !important;
}

/* ตอน checked */
.checkbox input:checked ~ .checkmark {
    border: 1px solid #01A1DF !important;
    background-color: #01A1DF !important;
}

    /* เครื่องหมายถูก */
    .checkbox input:checked ~ .checkmark:after {
        border-color: #fff !important;
    }



/*   --------------Layout--------------------------*/

.main-content {
    padding-bottom: 150px;
}

@media (max-width:576px) {
    .gapwarpper {
        padding: 0rem 1rem 0;
    }

    .main-content {
        padding-bottom: 50px;
    }

    .main-content-wrap {
        padding-top: 70px;
    }
}

@media(min-width:1025px) {
    .sidebar-left {
        display: block !important;
        width: 120px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .sidebar-left-secondary {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}



/*---------------------------------BREADCRUMB*------------------------*/


.page-head-wrapper {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 5px;
}

.page-breadcrumb {
    font-size: 13px;
    color: #979797;
    margin-left: 10px;
}

    .page-breadcrumb .slash {
        margin: 0 0px;
        color: #AFAFAF;
    }

    .page-breadcrumb .active {
        color: #666666;
    }

.page-head-line {
    margin-top: 5px;
    margin-bottom: 33px;
    width: 100%;
    border-bottom: 1px solid #E6E6E6;
}

.page-title {
    font-size: 30px;
    font-weight: 700;
    color: #00A4E4;
    margin-left: 4px;
    margin-top: 5px;
}

.page-title2 {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin-left: 6px;
    margin-top: 30px;
}

@media (min-width:577px) and (max-width:1024px) {

    .page-title {
        font-size: 26px;
    }
}

@media(max-width: 576px) {
    .page-title {
        font-size: 24px;
        font-weight: 700;
        color: #00A4E4;
        margin-left: 4px;
        margin-top: 5px;
    }
}

.card-shadow {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0px 1px 8px 0px #0000000F;
}


.card-noshadow {
    border: 1px solid #E5E7EB !important;
    border-radius: 10px;
    box-shadow: none !important;
}


.btn-success, .btn-outline-success, .btn-primary, .btn-outline-primary {
    font-size: 18px;
    font-weight: 700;
}
/*----------------------fund-----------------------------*/
.fund-code {
    font-size: 22px;
    font-weight: 700;
    color: #00A4E4;
}


.text-time {
    font-size: 18px !important;
}

.fund-name {
    font-size: 18px;
    color: #333333;
    margin-top: 4px;
}

.right {
    text-align: right;
}

.risk-label {
    font-size: 14px;
    color: #666666;
    line-height: 17px;
}

.risk-level {
    font-size: 37px;
    font-weight: 700;
    color: #00A4E4;
}

.bottom-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.nav-label {
    font-size: 13px;
    color: #888;
}

.nav-value {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
}

.change-up {
    color: #14BA59;
    font-weight: 700;
}

.change-down {
    color: #E40000;
    font-weight: 700;
}


.nav-date {
    font-size: 12px;
    color: #555;
    margin-top: 6px;
}

.fund-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 1px 8px 0px #0000000F;
    margin-bottom: 20px;
    transition: 0.2s;
}

    .fund-card:hover {
        box-shadow: 0px 3px 12px rgba(0,0,0,0.15);
    }

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ktam-w100 {
    width: 100% !important;
    max-width: 1000px !important;
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    width: 100% !important;
    display: contents !important;
    border-radius: 4px !important;
    font-size: 18px;
    color: #333 !important;
    margin-bottom: 8px !important;
}

#select2-selection__rendered {
    margin-bottom: 5px !important;
}

.select2 {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    border: 1px solid #E1EAEF;
    border-radius: 4px;
    padding: 8px 40px 0px 10px;
    font-size: 18px;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.select2-container {
    font-size: 18px;
    color: #333;
}


.ktam-dropdown {
    width: 100%;
    max-width: 437px;
    height: 3rem;
    line-height: 3rem;
    border: 1px solid #E1EAEF;
    border-radius: 4px;
    padding: 0px 30px 0px 10px;
    font-size: 18px;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

    .ktam-dropdown:focus {
        border-color: #00A4E4;
        outline: none;
        box-shadow: 0 0 0 2px rgba(0,164,228,0.15);
    }



.ktam-search-wrapper {
    position: relative;
    width: 100%;
}


.ktam-search-input {
    width: 100%;
    height: 3rem;
    max-width: 437px;
    line-height: 3rem;
    border: 1px solid #E1EAEF;
    border-radius: 4px;
    padding-left: 40px;
    font-size: 18px;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23979797' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/></svg>");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: 12px center;
}

    .ktam-search-input::placeholder {
        color: #979797;
        opacity: 1;
    }

    .ktam-search-input:focus {
        border-color: #00A4E4;
        outline: none;
        box-shadow: 0 0 0 2px rgba(0,164,228,0.15);
    }


@media (min-width: 361px) and (max-width: 533px) {
    .ktam-dropdown, .ktam-search-input {
        width: 100%;
        height: 3rem;
        font-size: 16px;
        margin: 0.2rem;
    }
}
/*RESPONSIVE FOR MOBILE */
@media (min-width: 534px) and (max-width: 768px) {

    .ktam-dropdown,
    .ktam-search-input {
        max-width: 100%;
        width: 100%;
        height: 3rem;
        font-size: 16px;
        margin: 0.2rem;
    }



    .fund-card {
        padding: 16px;
        border-radius: 10px;
    }


    .top-row {
        flex-direction: row;
        align-items: flex-start;
    }


    .risk-label {
        font-size: 12px;
        line-height: 14px;
    }

    .risk-level {
        font-size: 28px;
    }


    .nav-value {
        font-size: 18px;
    }

    .change-up, .change-down {
        font-size: 14px;
    }

    .nav-date-wrapper label {
        font-size: 13px !important;
        text-align: right;
    }

    .bottom-row {
        margin-top: 10px;
    }

    .set-pad-card {
        margin-bottom: 15px;
    }
}
/*----------------------------------------------------*/
.ktam-search {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    max-width: 437px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding-left: 15px;
    padding-right: 40px;
    font-size: 18px;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23979797' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/></svg>");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: calc(100% - 12px) center;
}

    .ktam-search::placeholder {
        color: #979797;
        opacity: 1;
    }

@media (max-width: 576px) {
    .ktam-search {
        height: 2.5rem !important;
        /*      font-size: 16px !important;*/
    }


    .select2-container--default .select2-selection--single .select2-selection__rendered {
        /*       font-size: 16px;*/
    }

    #select2-selection__rendered {
        margin-bottom: 5px !important;
    }

    .select2 {
        height: 2.5rem;
        line-height: 2.5rem;
        /*        font-size: 16px;*/
        color: #333;
    }

    .select2-container {
        font-size: 18px;
        color: #333;
    }
}


.fund-list-container {
    /*max-width: 900px;*/
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    margin-left: 4rem;
}

.marginfind {
    margin-left: 4rem;
    margin-right: 4rem;
}

.card-body {
    flex: 1 1 auto;
    padding: 0.3rem;
}

.card {
    border-radius: 10px;
    border: 0px solid #e5e7eb;
    padding: 11px 16px;
    margin-bottom: 15px;
    background: #fff;
}

.btn-primary {
    color: #fff;
    background-color: #00A4E4;
}

.btn.rounded, .btn.btn-rounded {
    height: 3rem;
    width: 100%;
    max-width: 341px;
    border-radius: 8px !important;
    font-size: 18px;
    font-weight: 700;
}

.close {
    float: right;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: black;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}


.OTP_Selection .modal-content {
    height: 450px;
    width: 800px;
    margin-left: 6rem;
}

.modal {
    top: 26px;
}

.modal-header {
    border-radius: 4px;
}

.OTP_Selection .modal-dialog {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
}

@media (max-width: 576px) {
    .txt-otp {
        width: 37px !important;
        height: 40px !important;
        font-size: 22px !important;
    }
}
/*
------------------------input-group----------------------------*/
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

    .input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
    }

    .input-group-addon, .input-group-btn, .input-group .form-control {
        display: table-cell;
    }

    .input-group .form-control {
        position: relative;
        z-index: 2;
        float: left;
        width: 100%;
        margin-bottom: 0;
    }

.input-group-addon:last-child {
    border-left: 0;
}

.input-group-addon {
    padding: 7px 12px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1;
    color: #333333;
    text-align: center;
    background-color: #fcfcfc;
    border: 1px solid #ddd;
    border-radius: 0 3px 3px 0;
}

.input-group-addon, .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
/*---------------------------------checkbox and radio*-----------------------------
*/
.checkbox and radio
.custom-radio {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

    .custom-radio input:checked + span {
        color: #00a4e4 !important;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
}

.custom-radio:hover input ~ .checkmark {
    background-color: #fff;
    border: 1px solid #00a4e4;
}

.custom-radio input:checked ~ .checkmark {
    background-color: #fff;
    border: 1px solid #00a4e4;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-radio input:checked ~ .checkmark:after {
    display: block;
}

.custom-radio .checkmark:after {
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00a4e4;
}

.custom-radio input:checked ~ .checkmark.chk {
    background-color: #00a4e4;
    border: 1px solid #00a4e4;
}

.custom-radio .checkmark.chk:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}



/*-------------------------------------------------------------------*/
@media (max-width: 375px) {

    gapwarpper {
        margin-left: 0rem;
    }

    .ktam-dropdown, .ktam-search-input {
        width: 100% !important;
        height: 2.5rem;
        line-height: 2.5rem;
        font-size: 16px;
        margin: 0.2rem;
    }

    .sidebar-left.rtl-ps-none.ps.open, .sidebar-left-secondary.rtl-ps-none.ps.open {
        padding-top: 122px !important;
    }
}

@media (max-width: 479.98px) {

    gapwarpper {
        margin-left: 0rem;
    }

    .ktam-dropdown, .ktam-search-input {
        width: 100% !important;
        height: 2.5rem;
        font-size: 18px;
        line-height: 2.5rem;
        margin: 0.2rem;
    }
}

@media (max-width: 575.98px) {

    .ktam-dropdown, .ktam-search-input {
        margin: 0.2rem;
    }

    gapwarpper {
        margin-left: 0rem;
    }
}


@media (min-width: 576px) and (max-width: 767.98px) {
}

@media (min-width: 768px) and (max-width: 991.98px) {
}



@media (min-width: 992px) and (max-width: 1199.98px) {
    .col-lg-12 {
        flex: 0 0 100%;
        max-width: 90%;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
}

@media (min-width: 1400px) {
}




/*-------------------------------------------------------------------*/

.main-content {
    max-width: 95%;
    margin: 17px;
    margin-left: 45px;
    width: 100%;
    padding: 0px 0px;
}

.main-content-wrap {
    padding: 0rem;
}

@media (max-width: 577px) {
    .layout-sidebar-large .main-content-wrap {
        margin-left: 120px;
        width: calc(100% - 120px);
    }

    .main-content {
        max-width: 100%;
        margin: 0px;
        margin-left: 0px;
        width: 100%;
        padding: 0px 0px;
    }
}

@media (min-width: 577px) {
    .layout-sidebar-large .main-content-wrap {
        margin-left: 120px;
        width: calc(100% - 120px);
    }
}

@media (min-width: 991px) {
    .layout-sidebar-large .main-content-wrap {
        margin-left: 70px;
        width: calc(100% - 120px);
        margin-right: 120px;
    }
}

@media (min-width: 1300px) {
    .gapwarpper {
        padding: 0rem 1rem 0 !important;
    }
}


@media (max-width: 576px) {
    .layout-sidebar-large .main-content-wrap {
        margin-left: 0 !important;
        width: 100% !important;
    }


    .gapwarpper {
        padding: 0rem 0rem 0;
    }
}



@media (max-width: 576px) {
    .main-content-wrap {
        margin-top: 80px !important;
        min-height: calc(100vh - 80px) !important;
        height: auto !important;
    }
}
/*------------------------btn-edit-------------------------------------------*/

.btn-block + .btn-block {
    margin-top: 0rem !important;
}

/*--------------------title------------------------------------------*/

.label-title {
    font-size: 16px;
    font-weight: 700;
    color: #666666;
    /*margin-bottom: 6px;*/
    display: flex;
    align-items: center;
}

.title-modal {
    font-size: 26px;
    font-weight: 700;
    color: #00A4E4;
}


.h-45 {
    height: 45px !important;
}

.custom-radio {
    position: relative;
    padding-left: 25px;
    display: flex;
    align-items: center;
}

    .custom-radio input[type="radio"] {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .custom-radio .chk {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }


.labelcard {
    font-size: 18px;
    color: #666666;
}

.labelinfo {
    font-size: 18px;
    color: #333333;
}

@media (max-width: 576px) {
    .labelcard {
        font-size: 16px;
        color: #666666;
    }

    .labelinfo {
        font-size: 16px;
        color: #333333;
    }

    .label-title {
        font-size: 16px;
    }
}

.eyes {
    width: 22px;
    position: absolute;
    right: 22px;
    top: 13px;
    cursor: pointer;
}

@media (max-width: 576px) {
    .eyes {
        width: 20px;
        position: absolute;
        right: 22px;
        top: 10px;
        cursor: pointer;
    }

    .btn-success, .btn-outline-success, .btn-primary, .btn-outline-primary {
        font-size: 16px;
        font-weight: 700;
    }

    button.close {
        line-height: 2;
    }
}


/*----------------------------------------------*/
/*.modal-content {
    margin: 0 !important;
}

.modal-dialog {
    margin: 0 auto !important;
    max-width: 1000px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}


.modal-content {
    width: 100% ;
    margin: 0 !important;
    border-radius: 12px;
}


@media (max-width: 576px) {
    .modal-dialog {
        max-width: 95% !important;
    }

    .modal-content {
        width: 100%;
        margin: 0 !important;
    }
}
*/

.section-card {
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 30px 35px;
    box-shadow: 0px 1px 8px 0px #0000000F !important;
    margin-bottom: 35px;
}

@media (max-width: 576px) {
    .section-card {
        padding: 1px 13px;
        margin-bottom: 35px;
    }
}

.card {
    box-shadow: 0px 1px 8px 0px #0000000F !important;
}

/*-------------------pin---------------------------*/



.txt-otp {
    font-size: 28px;
    width: 45px !important;
    text-align: center;
    display: inline;
    color: #00a4e4 !important;
    background: transparent;
}

    .txt-otp:focus {
        box-shadow: 0 3px 3px -3px rgb(0 164 228 / 0.5);
        border-bottom: 1px solid rgb(0 164 228 / 0.5);
    }

    .txt-otp.pin {
        font-size: 28px;
        width: 58px;
        border: 1px solid #ced4da;
        border-radius: 5px;
    }

        .txt-otp.pin:focus {
            box-shadow: 0 0 3px 1px #00A4E4;
            opacity: 0.7;
            /*border: 0;*/
        }

    .txt-otp::-webkit-inner-spin-button,
    .txt-otp::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }


.paddingedit {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
/*
-----------------------------------------------------*/



/*-----------------------------------------------------*/
.note-title {
    color: #00A4E4;
    font-weight: 700;
}

.note-box {
    background: #F6F8FA;
    border-radius: 4px;
    padding: 15px 20px;
    font-size: 16px;
    line-height: 1.5;
}

.info-box {
    background: #F6F8FA;
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
}

    .info-box .left-area {
        display: flex;
        align-items: center;
    }

    .info-box .right-area {
        width: 180px;
    }

/* MOBILE FIX */
@media (max-width: 576px) {

    .info-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
        height: auto !important;
        width: 100%;
    }

        .info-box .left-area {
            width: 100%;
        }

        .info-box .right-area {
            width: 100% !important;
            display: flex;
            justify-content: center !important; /* ปุ่มอยู่กลาง */
            margin-top: 5px;
        }

            .info-box .right-area button {
                width: auto !important;
                min-width: 120px;
                height: 32px !important;
                padding: 4px 16px;
                white-space: nowrap;
                border-radius: 20px !important;
                font-size: 14px;
            }

    .custom-radio span {
        font-size: 14px !important;
    }
}

#holidaylist.holiday-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border: 1.6px solid #C7D5DE;
    border-radius: 40px;
    / background: #fff;
    width: max-content;
}


#holidaylist .holiday-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}


#holidaylist .holiday-text {
    font-size: 14px;
    color: #666666;
    text-decoration: none;
    font-weight: 400;
}



#holidaylist.holiday-pill:hover {
    background: #f5f9fc;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 18px !important;
}

.select2-container .select2-selection--single .select2-selection__placeholder {
    font-size: 18px !important;
}

.select2-container .select2-results__option {
    font-size: 18px !important;
}

.select2-container .select2-selection--single {
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    background-color: transparent !important;
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0px !important;
    display: flex !important;
    align-items: center !important;
    background-color: transparent !important;
}

.select2-container--default .select2-selection--single {
    background-color: transparent !important;
    border: none !important;
}


    .select2-container--default .select2-selection--single .select2-selection__rendered {
        background-color: transparent !important;
        border: none !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow b {
        border-style: none;
    }

.select2-selection select2-selection--single {
    margin-bottom: 5px;
}

.select2-selection__rendered {
    padding-bottom: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-style: none !important;
}
/*
@media (max-width: 558px) {
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        width: 100% !important;
        display: contents !important;
        border-radius: 4px !important;
        font-size: 18px;
        color: #333 !important;
        margin-bottom: 17px !important;
    }

    .select2-container {
        max-width: 468px;
    }
}*/


@media (max-width: 576px) {
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        width: 100% !important;
        display: contents !important;
        border-radius: 4px !important;
        font-size: 18px;
        color: #333 !important;
        margin-bottom: 17px !important;
    }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    /*old*/
    /*white-space: nowrap !important;*/ /* ไม่ขึ้นบรรทัดใหม่ */
    /*overflow: hidden !important;*/ /* กันล้น */
    /*text-overflow: ellipsis !important;*/ /* เติม ... */
    /*display: block !important;*/
    /*new*/
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    max-width: 100% !important;
    line-height: 34px !important;
}


.form-control::placeholder {
    color: #D8D8D8 !important;
    opacity: 1; /* ป้องกันบาง browser ทำให้จางเกินไป */
}

/* สำหรับ Safari / Chrome / Edge */
.form-control::-webkit-input-placeholder {
    color: #D8D8D8 !important;
}

/* สำหรับ Firefox */
.form-control::-moz-placeholder {
    color: #D8D8D8 !important;
}

/* สำหรับ IE 10+ */
.form-control:-ms-input-placeholder {
    color: #D8D8D8 !important;
}

/* สำหรับ Edge Legacy */
.form-control::-ms-input-placeholder {
    color: #D8D8D8 !important;
}


.card-note {
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
}



.table-btn {
    border: 1px solid #BDD1D9;
    border-radius: 4px;
    padding: 4px 6px;
    margin: auto;
    max-width: 86px;
    display: flex;
    justify-content: center;
}


    .table-btn a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }


@media (max-width: 480px) {
    .table-btn {
        max-width: none;
        width: fit-content;
        padding: 4px 10px;
    }
}



.note-box2 {
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    padding: 16px 20px;
    background-color: transparent;
}

.note-title2 {
    font-size: 16px;
    font-weight: 700;
    color: #666666;
    margin-bottom: 6px;
    text-align: left;
}

.note-text2 {
    font-size: 18px;
    color: #333333;
    text-align: left;
    word-break: break-word;
}

.info-box {
    cursor: not-allowed;
    pointer-events: none;
}

.card-gray {
    padding: 20px;
    background: #F6F8FA;
    margin-top: 3rem;
}

@media (max-width: 576px) {


    .card-gray {
        padding: 15px;
    }
}
/*--------------------sweet-alert-----------------------------*/
.sweet-alert {
    border-radius: 10px;
}

    .sweet-alert button {
        background-color: #2196F3;
        color: #fff;
        border: 0;
        border-radius: 8px;
        padding: 7px 15px;
        margin: 10px 5px 0 5px;
        box-shadow: none !important;
        width: 272px;
        font-size: 18px;
        font-weight: 600;
    }

/* ตัว anchor */
.fund-code-tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* ตัว tooltip */
.fund-tooltip {
    position: absolute;
    left: 0;
    bottom: 120%;
    z-index: 9999;
    background: #000;
    color: #fff;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease;
}

    /* ลูกศร */
    .fund-tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 12px;
        border-width: 6px;
        border-style: solid;
        border-color: #000 transparent transparent transparent;
    }

/* hover */
.fund-code-tooltip:hover .fund-tooltip {
    opacity: 1;
    visibility: visible;
}
