﻿/*Hover DropDown ToolTip*/
.tooltip-inner {
    background-color: lightgray !important; /* Set the background color to gray */
    color: black !important;
}

.hoverdropbtn {
    background-color: #04AA6D;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}

.hoverdropdown {
    position: relative;
    display: inline-block;
}

.hoverdropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .hoverdropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .hoverdropdown-content a:hover {
            background-color: #ddd;
        }

.hoverdropdown:hover .hoverdropdown-content {
    display: block;
}

.hoverdropdown:hover .hoverdropbtn {
    background-color: #3e8e41;
}
/*Hover DropDown ToolTip*/
.d-none {
    display: none;
}
.page-sidebar .primary-nav{
    overflow:hidden !important;
}

div.dt-button-collection.dropdown-menu {
    /*  top: 117% !important;
    left: 73% !important;*/
    /*   margin-left: 62rem !important;
    margin-top: 21rem !important;
     */
    /*margin-left: 68rem !important;
    margin-top: 13rem !important;*/
    width: fit-content !important;
    max-height: 350px !important;
    overflow-y: scroll !important;
    line-height: 0.1 !important;
    padding-top: 0px !important;
}

.dt-button-collection-title {
    border-bottom: 1px solid black !important;
    font-weight: bold !important;
}

.card-side {
    /*    Code Changes in order to show name in left panel by Talha */
    height: 100px !important;
}

.dropdown-menu .buttons-columnVisibility {
    /*background-color:lightgreen !important;*/
    background-color: white !important;
    color: black !important;
}

.dt-button-collection .active {
    /*  background-color: white !important;
    color:black !important;*/
    background-color: lightgray !important;
}

.links {
    color: #0d8cee;
}

.nav-menu li a {
    color: white !important;
    /*background-color: rgba(0, 0, 0, 0.1) !important;*/
}

    .nav-menu li a:hover {
        color: silver !important;
    }

    /*.nav-menu li a:focus {
        color: #10f010 !important;
    }*/

    .nav-menu li a:focus {
        color: darkseagreen !important;
        /* font-weight:bold !important;*/
    }

.LoadingDiv_height {
    height: 650px;
}

.modal-backdrop {
    position: relative !important;
}

.panel {
    margin-bottom: 8px !important;
}

.panel-content {
    padding: 8px !important;
    /*padding-top: 0px !important;*/
    padding-bottom: 0px !important;
}

.dataTables_filter label input {
    height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.844rem !important;
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    border-radius: 4px 4px !important;
}

.dataTables_length label .custom-select {
    padding: 0rem 1.475rem 0rem 0.475rem !important;
}

.panel-hdr {
    max-height: 38px !important;
    min-height: 38px !important;
}

.table {
    line-height: 12px !important;
}
    /* Center align table headers and cells */
    .table th, .table td {
        vertical-align: middle !important;
        text-align: center;
    }

        /* Adjust checkbox column */
        .table td:first-child, .table th:first-child {
            width: 5%;
        }

    /* Checkbox alignment */
    .table .form-check-input {
        margin: 0;
        position: relative;
        top: 0;
        transform: translateY(-1px); /* Adjust this if necessary */
    }

.page-content-wrapper-login {
    padding-left: 0rem !important;
}
.header-btn[data-class="mobile-nav-on"] {
    color: black !important; /* Ya jo bhi color chahiye */
    background: none !important;
    border-color: #b0b0b0 #e0e0e0 !important; /* Ya jo bhi color chahiye */
}
/*.page-logo {
    width: 13.875rem !important;
}

.page-sidebar {
    width: 13.875rem !important;
    max-width: 13.875rem !important;
}*/
.page-link {
    cursor: pointer !important;
}

.text-goldenrod {
    color: goldenrod;
}
/*Css of Rotatable icon(Down Arrow) in Filter*/
.rotate {
    -moz-transition: all .3s linear;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
}

    .rotate.down {
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
/*Css of Rotatable icon(Down Arrow) in Filter*/

/*Css of Collapse show */
.display_hidden {
    display: block !important;
}
/*Css of Collapse show */


/*Dashboard*/
.app-list-item {
    width: 4.25rem !important;
}

.top-15 {
    top: 15rem !important
}



.alert-info:hover {
    color: #c18300 !important;
    background-color: #fff8e9 !important;
    border-color: #ffcd65 !important;
}

.app-list-name:hover {
    color: #c18300 !important;
}

.app-list-item {
    margin: 0px 0px !important;
}

.background-none {
    background: none !important;
}

.text-small {
    font-size: 11px !important;
}

.sm-loader {
    width: 1rem !important;
    height: 1rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

.left_border_nav {
    border-left: 1px solid gainsboro;
    height: 57px;
}

.green_check {
    color: green !important;
    font-weight: bold !important;
}

.red_check {
    color: red !important;
    font-weight: bold !important;
}

.custom-pagination .page-item.active .page-link {
    background-color: #A9A9A9; /* Your desired background color */
    color: white; /*Text color */
    /*border-color: #007bff;  Border color */
}

.pagination .page-link:hover {
    background-color: #808080 !important; /* Your desired hover background color */
    color: white !important; /* Text color */
}
/* For Chrome, Safari, and Edge */
::-webkit-scrollbar {
    width: 12px; /* Width of the entire scrollbar */
}

::-webkit-scrollbar-track {
    background: #e0e0e0; /* Light grey background color of the scrollbar track */
    border-radius: 6px !important; /* Rounded corners for the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background-color: #b0b0b0; /* Light grey color for the scrollbar thumb */
    border-radius: 10px !important; /* Makes the scrollbar thumb cylindrical and rounded */
    border: 2px solid #e0e0e0; /* Border around the thumb to match the track */
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #9a9a9a; /* Darker grey on hover for better visibility */
    }

/* For Firefox */
* {
    scrollbar-width: thin; /* Thin scrollbar width */
    scrollbar-color: #b0b0b0 #e0e0e0; /* Scrollbar thumb and track colors */
}

    /* Rounded corners for Firefox */
    *::-webkit-scrollbar-track {
        border-radius: 6px !important; /* Rounded corners for the scrollbar track */
    }

    *::-webkit-scrollbar-thumb {
        border-radius: 6px !important; /* Rounded corners for the scrollbar thumb */
    }

        *::-webkit-scrollbar-thumb:hover {
            background-color: #9a9a9a; /* Darker grey on hover for Firefox */
        }
/* Basic styling for the prompt-like appearance */
#authContainer {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px; /* Fixed width */
    padding: 20px;
    border: 1px solid #888;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center; /* Center the text */
}

    #authContainer input {
        width: 90%; /* Input width */
        padding: 10px;
        margin: 10px 0; /* Space between elements */
    }

    #authContainer button {
        padding: 10px 20px; /* Button padding */
        cursor: pointer; /* Pointer cursor for button */
    }

    /*Added by Talha */
.primary-nav{
    background:none !important;
}
.small-text {
    font-size: 0.8rem; /* Adjust size as needed */
}
.card-flip {
    perspective: 1000px;
    cursor: pointer;
    width: 100%;
    height: 75px;
    position: relative;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
}

.card-flip.flipped .card-inner {
    transform: rotateY(180deg);
}
.card-flip:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.card-front {
    background-color: var(--bg-primary, #007bff);
}

.card-back {
    background-color: var(--bg-primary-dark, #0056b3);
    transform: rotateY(180deg);
}
.dataTables_empty {
    color: red !important;
    font-size: 25px !important;
}
.dataTables_empty {
    color: red !important;
    font-size: 25px !important;
}
.dataTables_empty {
    color: red !important;
    font-size: 25px !important;
}
.flatpickr-input {
    background: transparent !important;
}

.flatpickr-calendar {
    /*font-size:10px !important;*/
    font-weight: bold !important;
}

.flatpickr-monthDropdown-months {
    font-weight: bold !important;
}

.numInput {
    font-weight: bold !important;
}

.numInputWrapper {
    width: 7ch !important;
    font-size: 13px;
}

.flatpickr-monthDropdown-months option {
    font-weight: normal !important;
}

.flatpickr-current-month select {
    font-size: 13px !important;
}
.flatpickr-input[readonly] {
    cursor: default !important;
}
.PDate {
    right: 10px;
    cursor: pointer;
}
.submenubolet
{
    font-size: 6px!important;
    margin-left: 1px!important;
}
.PaymentSectionLoader {
    bottom: 10% !important;
    left: 50% !important;
}
.custom-btn {
    color: lightgray; /* Icon color */
    border: 2px solid lightgray; /* Light gray border */
    border-radius: 50%; /* Makes the button a perfect circle */
    padding: 2px; /* Adjust padding for consistent button size */
    font-size: 10px; /* Same font size for both buttons */
    background-color: transparent; /* Transparent background */
    cursor: pointer; /* Pointer cursor on hover */
    display: inline-flex; /* Ensure the icon stays centered */
    justify-content: center; /* Center icon horizontally */
    align-items: center; /* Center icon vertically */
    width: 20px; /* Set fixed width for consistency */
    height: 20px;
    /*display:block !important;*/
}
/*#dtWithHoldingAgentCollection_wrapper .row .dataTables_scroll .dataTables_scrollHead .dataTables_scrollHeadInner{
    width: 100% !important;
}*/
.datepicker-icon {
    margin-left: 85%;
    cursor: pointer;
}
.select2-dropdown.select2-dropdown--below {
    width: 484px !important;
}
.select2-results__option--highlighted {
    background-color: #6f42c1 !important; /* Your desired hover color */
    color: #fff !important; /* Text color on hover */
}
.select2-results__option--highlighted {
    background-color: #e0e0e0 !important; /* light grey hover */
    color: #000 !important; /* black text for readability */
}
.select2-results__option[aria-selected="true"] {
    background-color: #d6d6d6 !important; /* slightly darker grey when selected */
    color: #000 !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #ccc !important;
    background-color: #fff !important;
}
.select2-container--default .select2-selection--single:focus {
        border-color: #999 !important;
        box-shadow: 0 0 0 0.2rem rgba(160, 160, 160, 0.25) !important;
}
.select2-container .select2-selection--single {
    height: calc(1.2em + 1rem + 2px) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.2em + 1rem + 2px) !important;
    padding: 0 0.875rem;
}
.bright-icon {
    color: #ffffff;
    opacity: 2;
    filter: brightness(2);
}

/*Login Pages css start*/
/*----------------Login CSS-------------------*/
.inf-bdy {
      /*background: linear-gradient(180deg, #7a59ad, #41418d);*/
    background: linear-gradient(180deg, var(--theme-primary), color-mix(in srgb, var(--theme-primary) 70%, black) ) !important;
    overflow:hidden;
   /* background-color: #41418d;*/
    background-repeat: no-repeat;
}

.login-container {
    margin: auto;
    background: #fff;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
}

input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #A5A5A5 !important; /* Example: a specific shade of red */
    opacity: 1; /* Fixes a default opacity issue in Firefox */
}

input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #A5A5A5;
}

input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #A5A5A5;
}

/* ---------------------------------------------------------
       2. Left Panel
    --------------------------------------------------------- */
.left-panel {
    width: 50%;
    background: #f5f0fc;
    padding: 34px 50px;
    position: relative;
    background-image: url("../img/left-bg.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 510px;
}

.left-heading {
    margin-top: 380px;
    font-size: 36px;
    font-weight: 700;
    color: #595067;
    position: relative;
    z-index: 5;
}

.left-text {
    margin-top: 15px;
    color: #65616C;
    font-size: 15px;
    line-height: 1.4;
    max-width: 450px;
    position: relative;
    z-index: 5;
}

.inf-lbl-txt {
    font-size: 15px;
    color: #595067;
    float:left;
}

/* ---------------------------------------------------------
       3. Right Panel
    --------------------------------------------------------- */
.right-panel {
    width: 50%;
    padding: 44px 42px;
    background: #ffffff;
    text-align: center;
}

.login-logo img {
    width: 200px;
    margin-bottom: 0px;
}

.login-title {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 700;
    color: #4a3a7a;
}

.inf-icn {
    color: #C1C1C1;
}
/* form styling */
.form-control Login {
    height: 44px;
    border-radius: 6px;
    font-size: 14px;
}

    .form-control Login:focus {
        border-color: #7b61ff;
        box-shadow: none;
    }

.btn-login {
    background-color: var(--theme-primary) !important;
    color: #fff;
    border-radius: 6px;
    height: 44px;
    width: 100%;
    margin-top: 15px;
    font-weight: 600;
}

    .btn-login:hover {
        background-color: var(--theme-primary) !important;
        color: #fff; /* ensure text color stays same */
    }

.inf-rmb {
    color: #595067;
    font-size: 13px;
}
/* ---------------------------------------------------------
       Responsive
    --------------------------------------------------------- */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .left-panel {
        width: 100%;
        padding: 40px;
        display: none;
    }

    .right-panel {
        width: 100%;
        padding: 40px;
    }

    .circle-bg {
        left: 50%;
        transform: translateX(-50%);
    }

    .graph-box {
        left: 50%;
        transform: translateX(-50%);
    }

    .label-stock, .label-registration, .label-payment,
    .label-returns, .label-withhold {
        position: static;
        display: inline-block;
        margin: 5px;
    }

    .left-heading {
        margin-top: 30px;
    }
/*
    .inf-container {
        margin-top: -90px;
    }*/
}
/*-------------------Login CSS End-------------------*/


.inf-container {
    height: 100vh;
    position: relative;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    width: 90%;
    max-width: 1100px;
    z-index: 9999; /* ← ADD THIS */
}
.username-dropdown-wrapper {
    position: relative;
}

.user-dropdown-list {
    position: absolute !important;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 99999 !important;
    max-height: 180px;
    overflow-y: auto;
    display: none;
}
.validation-left {
    text-align: left !important;
    display: block !important;
}
.eye-inside {
    position: absolute;
    right: 45px; /* Adjust so it sits BEFORE lock icon */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    z-index: 5;
}

    .eye-inside:hover {
        color: #000;
    }
.spinner-circle {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*Login Pages css end*/