﻿.link {
    cursor: pointer;
}

/*.bg-light-green {
    color: #8dffa4;
}*/

.valid {
    margin-top: 5px;
    display: inline-block;
    padding: 1px 8px;
    background: #c7ffd2;
    font-size: 10px;
    border-radius: 10px;
}

/*.textDisable {
    color: #D2D2D2;
}*/

.disabledata {
    opacity: 0.5;
    pointer-events: none;
}

/*------------------*/

.disabledata_profile {
    color: rgba(0, 0, 0, 0.5) !important;
    background-color: rgba(233, 236, 239, 0.5) !important;
    user-select: none; /* Prevents text selection */
    -webkit-user-select: none;
    cursor: default; /* Shows default cursor instead of text cursor */
    /* Scrollbar - Firefox */
    scrollbar-width: thin;
    scrollbar-color: #101010 #ffffff;
}

    /* Scrollbar - Chrome, Safari, Edge */
    .disabledata_profile::-webkit-scrollbar {
        width: 8px;
    }

    .disabledata_profile::-webkit-scrollbar-track {
        background: #ffffff;
        border-radius: 4px;
    }

    .disabledata_profile::-webkit-scrollbar-thumb {
        background: #101010;
        border-radius: 4px;
    }

        .disabledata_profile::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/*.disabledata_profile .form-control:focus {
        background: none;
    }*/

/*--------------*/

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.pointernone {
    opacity: 0.5 !important;
    pointer-events: none;
}

.textDisable {
    color: #D2D2D2;
}

.strategy_mainscriptdiv {
    position: absolute;
    height: 100px;
    left: 0;
    top: 44px;
    background-color: #f6f6f6;
    display: none;
    font-size: 13px;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    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;
    }

/*Autocomplete textbox dropdown values hilight*/
.highlight {
    background-color: #dcdcdc; /* Or any color for highlight */
    cursor: pointer;
}


/*--------------------------------------------------------------
# spinner
--------------------------------------------------------------*/
/* .spinner_container {
  background-color: rgb(34 31 32 / 29%);
}
.spinner_wrap{
  width: 4rem;
  height: 4rem;
  background-color: rgb(34 31 32 / 29%);
} */

#spinner_loader {
    position: fixed;
    /* display: none; */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
}



.loadershowmbinnerpg {
    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;
}


.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);
    }
}






/*NetPositions View Link*/

.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;
        }





/*Show error message at strategies dashboard*/
.error_message_show {
    display: flex;
    justify-content: center;
    padding: 10px;
}


.blur5 {
    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 */
}

.icondisabled {
    /*color: #6e6161;*/ /* Light gray for disabled effect */
    background-color: #6e6161;
    opacity: 0.6; /* Slightly faded */
    pointer-events: none; /* Prevent clicks */
    cursor: not-allowed;
}


/*-------------------Disable the buttons of analyst all (Back & Next)-------------------*/

#stg_custom_pagination .item {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border-radius: 4px;
    /*background-color: var(--bg-light, #f8f9fa);*/
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

    #stg_custom_pagination .item:hover:not(.disabled):not(.active) {
        background-color: var(--primary-light, #007bff15);
        color: var(--primary, #007bff);
    }

    #stg_custom_pagination .item.active {
        background-color: var(--primary, #007bff);
        color: #fff;
    }

    #stg_custom_pagination .item.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }


/*--------------- Disable the buttons of analyst all (Back & Next) -----------------------*/

#anlst_custom_pagination .item {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 3px;
    border-radius: 4px;
    /*background-color: var(--bg-light, #f8f9fa);*/
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

    #anlst_custom_pagination .item:hover:not(.disabled):not(.active) {
        background-color: var(--primary-light, #007bff15);
        color: var(--primary, #007bff);
    }

    #anlst_custom_pagination .item.active {
        background-color: var(--primary, #007bff);
        color: #fff;
    }

    #anlst_custom_pagination .item.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }
