﻿

.txtWhite {
    color: #fff;
}

.lblGreen {
    color: #198754;
}

.lblRed {
    color: #dc3545;
}

.txtBlue {
    color: #659fd9;
}


.error_message_show {
    display: flex;
    justify-content: center;
    padding: 10px;
}

.pointer {
    cursor: pointer;
}


.textDisable {
    color: #D2D2D2;
}

.checkboxdisable {
    opacity: 0.5;
    pointer-events: none;
}

.atagdisable {
    opacity: 0.5;
    pointer-events: none;
}

.textNeutral {
    color: #f6d606;
}


.textNeutralSmbl {
    color: #5199d9;
}


.strategy_mainscriptdiv {
    position: absolute;
    height: 100px;
    left: 0;
    top: 44px;
    background-color: #f6f6f6;
    display: none;
    font-size: 13px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px;
    z-index: 99;
    /*width: 220px;*/
    width: 100%;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 8px 18px #a2a2a2;
}

    .strategy_mainscriptdiv div a {
        font-size: 13px;
        padding: 4px 10px;
        color: #0a5a9e;
        line-height: normal;
        display: block;
    }

        .strategy_mainscriptdiv div a.active, .strategy_mainscriptdiv div a:hover {
            color: #8ecc3e;
            background: #fff;
        }
    /*.strategy_mainscriptdiv div div > span { color: #fff; font-size: 13px; }*/
    /*.strategy_mainscriptdiv div div:hover { color: #8ecc3e; }*/
    .strategy_mainscriptdiv div a {
        display: block;
        color: #0a5a9e;
        cursor: pointer
    }

    .strategy_mainscriptdiv > .nodata {
        color: #0a5a9e;
    }


.marginfoottotal {
    margin: 15px 0 30px;
    text-align: right;
    font-size: 15px;
}

    .marginfoottotal > span {
        color: #004f8e;
        text-transform: uppercase;
        font-family: var(--bold);
    }

.sbnolegs {
    height: 194px;
    /* UI Properties */
    background: #F6F6F6;
    border-radius: 10px;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; /* Adjust padding as needed */
}


.strkepricehgt {
    background-color: #ff9100 !important;
    box-shadow: none !important;
}


/*#option_chain_datatable tbody tr.strkepricehgttr {
    background-color: #ffd59d !important;
}*/

/*.OCA-table > tbody > tr.strkepricehgttr > td {
    background-color: #ffd59d;
}

.OCA-table > tbody > tr.yellowRowRight > td:nth-of-type(n+8) {
    background-color: #FFF9EC;
}*/


.table tr.silverBG th {
    background-color: transparent !important;
}


/*.table-container {
    max-height: 400px;*/ /* Adjust as needed */
/*overflow-y: auto;*/
/*position: relative;
}*/

/* Fix the header */
/*.table-container thead {
        position: sticky;
        top: 54px;
        z-index: 10;
        background-color: white;*/ /* Ensure header is visible */
/*}*/


.align-center {
    /* text-align: center; */
    align-items: center;
    /* justify-content: center; */
    display: flex;
}


.profile .table td {
    background-color: transparent !important;
}


#strastrategy_builder_datatable.dataTable > tbody > tr > th, #strastrategy_builder_datatable.dataTable > tbody > tr > td {
    padding: 8px 4px;
}

.txt-center {
    align-items: center;
}

.viewportcmntbl {
    font-size: 14px;
    width: 100%;
}

    .viewportcmntbl > thead > tr > th {
        padding: 4px 5px;
        vertical-align: middle;
        border-right: 1px solid #d9d9d9;
        background-color: #0a5a9e !important;
        color: #fff;
        font-weight: normal;
        border-bottom: 0 !important;
    }

        .viewportcmntbl > thead > tr > th:last-child {
            border-right: 0;
        }

    .viewportcmntbl > tbody > tr > td {
        padding: 2px 5px;
        height: 40px;
        border: 1px solid #d9d9d9;
    }

        .viewportcmntbl > tbody > tr > td:first-child {
            border-left: 0;
        }

        .viewportcmntbl > tbody > tr > td:last-child {
            border-right: 0;
        }



.scalping.disable {
    opacity: 0.5;
    pointer-events: none;
}

.asb.disable {
    opacity: 0.5;
    pointer-events: none;
}

.tt.disable {
    opacity: 0.5;
    pointer-events: none;
}

.initialordsp.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.definetimesp.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.definerangedis.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.DisableClATS {
    pointer-events: none;
    position: relative;
    opacity: 0.6;
}

.disableDivSec {
    pointer-events: none;
    opacity: 0.5;
}

.customdisable {
    pointer-events: none;
    opacity: 0.5 !important;
}

/*Scalping page response*/
@media (max-width: 1440px) {


    /* .form-select {
        font-size: 12px;
    }

        .form-control {
        font-size: 12px
    }*/


    /*  .form-control {
        font-size: 0.7rem;
    }

    .form-select {
        font-size: 0.7rem;
    }*/
}






/*option chain tost container*/
.toast-container {
    z-index: 1050;
}

.mo-sm {
    font-size: 0.8rem;
}

@media screen and (max-width:480px) {

    .mo-sm {
        font-size: 0.7rem !important;
    }

    .lh-m-sm {
        line-height: 20px !important;
    }
}



/*manual order*/
/*#orderTable.table > :not(caption) > * > * {
    padding: .5rem .5rem;
}*/


/*.silverBG {
    background-color: var(--silver) !important;
}
*/


/*.OCA-table > tbody > tr.strkepricehgttr  {
    background-color: #ffd59d !important;
}*/




/*.exit {
    background-image: url(../img/auto_strategy/exit_circle_icon.svg);
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
}*/




/*Show tooltip error message ===> not in use*/
.tooltip-error {
    display: none;
    position: absolute;
    background-color: #f44336;
    color: white;
    padding: 5px;
    border-radius: 4px;
    z-index: 1;
}

.form-control:focus + .tooltip-error {
    display: block;
}


/*.btn-secondary{

}*/

.blur5px {
    filter: blur(5px);
    /*pointer-events: none;
    -webkit-user-select: none;*/ /* Safari */
    /*-ms-user-select: none;*/ /* IE 10 and IE 11 */
    /*user-select: none;*/ /* Standard syntax */

    cursor: pointer;
}


/*strategy builder chart*/

.underlyingprice {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 290px;
    height: 395px;
}


/*Scalping LotSize*/

.lotsizecss {
    display: block;
    font-size: 12px;
    margin-top: 4px;
    padding: 0;
    text-align: left;
}

/*Custom Scalping Qty placeholder remove*/
.whiteBGG {
    background-color: #fff !important;
}

    .whiteBGG .input-group-text {
        background-color: #ffffff;
    }


/*#dashboard_orderbook_equity.table.dataTable td.dt-type-numeric {
    text-align: center !important;
}*/


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

/*#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #2487ce;
        border-top-color: #fff;
        border-bottom-color: #fff;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        -webkit-animation: animate-preloader 1s linear infinite;
        animation: animate-preloader 1s linear infinite;
    }

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
*/

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/

/*@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}*/

/*Autocomplete textbox dropdown values hilight*/

.highlight {
    background-color: #dcdcdc; /* Or any color for highlight */
    cursor: pointer;
}

/*.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;*/
/* prevent horizontal scrollbar */
/*overflow-x: hidden;
}*/





/*equity dashboard live basket ==> divident declared*/
/* Set fixed dimensions for the modal */
#dividenddeclaredview .modal-dialog {
    max-width: 400px; /* Adjust the width as needed */
    max-height: 300px; /* Adjust the height as needed */
}
/* Allow inner content to scroll */
#dividenddeclaredview .modal-body {
    max-height: 300px; /* Adjust based on how much content should fit */
    overflow-y: auto; /* Enable vertical scrolling */
}
/* Optional: Adjust padding and spacing */
#dividenddeclaredview .modal-content {
    padding: 10px;
}



/*Netpositions history view*/
#modelpopupview .modal-dialog {
    max-width: 500px;
    max-height: 400px;
}

#modelpopupview .modal-body {
    max-height: 400px;
    overflow-y: auto;
}

#modelpopupview .modal-content {
    padding: 10px;
}


.m-width-20 {
    min-width: 18px;
}


/*Mix Basket Loader*/
.loadershowmb {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/*New net-position page style*/

/*body {
    font: 90%/1.45em "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}*/


.dropdown-container-np {
    position: relative;
    display: inline-block;
}

.dropdown-btn-np {
    background-color: #4F6877;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
}

.dropdown-menu-np {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    min-width: 150px;
    max-height: 150px;
    overflow-y: auto;
    padding: 5px;
    z-index: 1000;
}

    .dropdown-menu-np label {
        display: block;
        font-size: 12px;
        padding: 5px;
    }

    .dropdown-menu-np input {
        margin-right: 5px;
    }

/*Terms and condition consent letter*/

.terms_box {
    /*background-color: #f4f7ff;*/
    background-color: #ffffff;
    padding: 5px;
    border-radius: 10px;
    /*New*/

    border: #dedede;
    border-style: outset;
    border-width: 1px;
}

.ConsentText {
    font-size: 12px;
    max-height: calc(100vh - 380px);
    padding: 10px;
    overflow: auto;
    overflow-x: hidden;
}



.terms_box h3 {
    color: #30b54b;
    font-size: 1.3rem;
}

.terms_box h4 {
    color: #095a9e;
    font-size: 1.2rem;
}

.terms_box h6 {
    color: #095a9e;
    font-size: 1rem;
}


.terms_box b {
    text-align: left;
    display: block;
    margin: 0 0 5px;
    padding: 10px 0 0;
    font-weight: normal;
    font-size: 17px;
    line-height: 25px;
    color: #095a9e;
    font-weight: 600;
    margin-top: 20px; /* Space between points */
}



.terms_box p {
    font-size: 0.7rem; /* Smaller than <b> tag */
    text-align: justify;
    margin-bottom: 10px; /* Add space between points */
}

.terms_box ul li {
    font-size: 0.7rem; /* Consistent with <p> */
    margin-bottom: 8px; /* Add space between points */
}




@media (max-width: 575px) {
    .terms_box h3 {
        font-size: 1rem;
    }

    .terms_box h6 {
        font-size: 0.8rem;
    }

    .terms_box h4 {
        font-size: 0.9rem;
    }

    .ConsentText, .terms_box {
        padding: 0.5rem;
    }

    .box {
        padding: 10px;
    }

    .agreeCheck label {
        font-size: 0.8rem;
    }
}


/* ripple effect  */

.circle-ripple {
    width: 1em;
    height: 1em;
    border-radius: 10%;
    -webkit-animation: ripple 0.9s linear infinite;
    animation: ripple 0.9s linear infinite;
}

@-webkit-keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgb(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0.5em rgba(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0.4, 0);
    }
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0.5em rgba(102, 186, 255, 0.4), 0 0 0 0.5em rgba(102, 186, 255, 0);
    }
}




/*Trading-view app and web*/
#tv_chart_container {
    height: 100%;
    border-bottom: 2px solid #CBD9D9;
    position: relative
}

    #tv_chart_container iframe {
        position: absolute
    }

/*Trading-view chart for mobile app*/
.tv_chart_container_mbl {
    height: 100% !important;
}

/*Trading-view chart for mobile app*/
.fullHightmbl {
    height: calc(100vh - 4px);
}



#sus_fail_Message {
    position: fixed;
    top: 80px;
    right: 20px;
    background-color: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 9999;
}


/*chatbot in option chain*/
.z100 {
    z-index: 100 !important;
}


/*asb,sp,tt,sb strategy name textbox*/
.stgnamecls.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem !important;
    padding-bottom: .625rem !important;
}

.bgColor01 {
    background-color: #F3F1FF;
}
