*,
*::before,
*::after {
    box-sizing: border-box;
}
input:focus{
    border-color:#ced4da !important;
    outline:none;
    box-shadow:none !important;
}

body{
    background:#fbfbfb
}
#sidebar-wrapper{
    background:#343A40;
}
.currency_symbols{
    font-size: 14px;
    color: #858796;
    text-transform: uppercase;
}
#sidebar-wrapper .list-group-item{
    background:transparent;
    color:#fff;
}
.sidebar-heading{
    color:white !important;
    font-weight: bold;
}
.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgb(77, 83, 88);
}
#sidebar-wrapper .list-group-item:hover{
    background:#FCA774;
    color: #000;
}

.animated--fade-in {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 200ms;
    animation-duration: 200ms;
    -webkit-animation-timing-function: opacity cubic-bezier(0, 1, 0.4, 1);
    animation-timing-function: opacity cubic-bezier(0, 1, 0.4, 1);
}

.bg-gradient-primary {
    background-color: #343A40;
    background-size: cover;
}


#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}
.help-block {
    width: 100% !important;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}



canvas{
    width:100% ;
    height:auto ;
}
.daterangepicker.show-calendar .ranges {
    margin-top: 8px;
    padding: 5px;
}
.ranges li{
    display: inline-block;
    width: 46%;
}
.ranges li:nth-of-type(3),.ranges li:nth-of-type(8){
    display: inline-block;
    width: 96%;
}
.ranges li[data-range-key="Q1"],li[data-range-key="Q2"],li[data-range-key="Q3"],li[data-range-key="Q4"]{
    display: inline-block;
    width: 21%;
}
.daterangepicker .ranges li {
    font-size: 12px;
    padding: 8px 4px;
    cursor: pointer;
    margin: 2%;
    background: #f5f5f5;
    border-radius: 4px;
    text-align:center;
    color: #000000;
}
nav.navbar{
    background: #fff;
}
.nav_section {
    color: #fff;
    background: #2a3035;
    margin-left: 10px;
    margin: 0;
    padding: 15px;
}
.btn-info {
    color: #fff;
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}
.text-primary {
    color: #CC353B !important;
}

label.error{
    display: inline-block;
    margin-bottom: 0.5rem;
    color: red;
    font-size: 14px;
}
#reportrange{
    padding-left:35px;
    background:url('../img/calendar-icon.png') no-repeat;
    background-position: 5% 50%;
    display:inline;

}
.daterangepicker .extra_options{
    clear:both;
    padding:2%;
    background: whitesmoke;

}
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #7eb395;
    border-color: transparent;
    color: #fff;
}
.daterangepicker td.available:hover, .daterangepicker th.available:hover {
    background-color: #7eb395;
    color: inherit;
}

.daterangepicker .in-range.available {
    background-color: #b7e1c9;
    color: inherit;
}

.daterangepicker .ranges li:hover {
    color: white;
    background-color: #8ac9a5;
}
.daterangepicker .ranges li.active ,.daterangepicker .active.end-date.in-range.available {
    background-color: #7eb395;
    color: #fff;
}
.daterangepicker .extra_options h6{
    font-weight: bold;
    color: #000;
    font-size: 13px;
}
.daterangepicker .form-check-label {
    margin-bottom: 0;
    font-size: 13px;
}
.chart_btns:active{
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn{
    outline: 0 !important;
    box-shadow: none !important;
}

.has-error{
    color: #dc3545 !important;
}

.has-error input,.has-error select,.has-error textarea{
    border-color: #dc3545 !important;
}

.toolbar{ 
    background: #ececec;
    margin-bottom: 10px;
    border-radius: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.toolbar .active_currency{
    display: inline;
    width:auto;
}
.form-control:focus{
    box-shadow: none !important;
}

.currency_ option,.active_currency_select{
    text-transform: uppercase;
}
.days_of_week{
    word-break: break-all;
}
.days_of_week_ .form-check{
    width:20%;
    margin-bottom:5px;
}
#custom_apply_btn{
    margin-top:-5px;
}

@media only screen and (max-width: 1100px) {
    nav.store_market_ select {
        width:33.33% !important;
        margin:5px 0 !important;
        display:inline-block !important;
    }
}
@media only screen and (max-width: 900px) {
    nav.navbar select {
        width:25% !important;
        margin:5px 0 !important;
        display:inline-block !important;
    }
    .store_market_ .inputs_div{
        width:95% !important;
    }
}

.budget_table thead tr th,.budget_table tbody tr td{
    text-align: center !important;
}

.daterangepicker .applyBtn{
    color: #fff !important;
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}
.daterangepicker .cancelBtn{
    color: #000 !important;
    background-color: #efefef !important;
    border-color: #e6e6e6 !important;
}

.widget_number .row{
    min-height: 95px;
}
.widget_number .amount{
    font-size: 45px;
}
.widget_number .currency{
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}
.widget_number i{
    font-size:70px;
}
.green{
    color:green;
}
.red{
    color:red;
}
.gray{
    color:gray;
}
.widget_number .amount{
    font-size:35px;
}


#open_sales .amount{
    font-size: 45px;
}
#open_sales .currency{
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
}
#open_sales i{
    font-size:70px;
    color:#CC353B;
}
#open_sales i.fa-spin{
    color:lightgray;
}
#open_sales i.fa-clock{
    font-size:20px;
}

#total_sales i{
    font-size:22px;
    color:#f47e20;
    margin-right: 5px;
}

#total_sales .budget,#total_sales .historical,#total_sales .period_sales{
	padding:10px !important;
}


#total_sales i.fa-spin{
    color:lightgray;
}

.reports_settings .form-check{
    margin: 2px 0px;
    text-align:center;
}
#page-content-wrapper .btn-secondary.active{
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}
.fa-store{
    color:lightgray;
}

.icheck-material-deeporange > input:first-child:checked + label::before, .icheck-material-deeporange > input:first-child:checked + input[type="hidden"] + label::before {
    background-color: #CC353B;
    border-color: #CC353B;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #17a2b8 !important;
    width: 25px;
    background-color: #17a2b8 !important;
    height: 25px;
}
.custom-radio .custom-control-label::before {
    border-radius: 50%;
    width: 26px;
    height: 26px;
}
.custom-control-label {
    position: relative;
    margin-bottom: 0;
    padding: 3px 13px;
    vertical-align: top;
}
.custom-control-label::after {
    position: absolute;
    top: 9px;
    left: -19px;
    display: block;
    width: 15px;
    height: 15px;
    content: "";
    background: no-repeat 100% / 100% 100%;
}
.custom-radio .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 26px;
    height: 26px;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #adb5bd solid 1px;
}

.alert_icon {
    xposition: absolute;
    xleft: 6px;
    xbottom: 4px;
    font-size: 35px;
    color: #b5d4da;
}
.help-block{
    color:red;
}

.store_input{
    visibility:hidden
}
.w-49{
    width:24.6%;
}

#generate_new_report,#report_result{
    display:none
}
.mute-text{
    color: gray;
}

.dt-rowReorder-moving{

}
.dt-buttons {
    display:none;
}

.chart-type-wrapper{
    min-width: 200px;
}

.chart-type-wrapper .form-control{
    display: inline-block;
    width: 50%;
}

.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {
    border-color: #cacaca;
    background-color: rgb(202, 202, 202);
}


#report_results{
    position:relative;
    display:none;
}
#report_results .kpis .card-body{
    min-height: 186px;
}

#report_results .overlay_report{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(246, 247, 250, 0.95);
    z-index: 80;
    text-align:center;
    padding-top: 15%;
}
#report_results .overlay_report i{
    font-size:50px;
    color:gray;
}

.card-body  div  div.col-8  h5{
    line-height: 1.5 !important;

}
#report_results i{
    color:#000;
}
.card-body  div  div.col-8  h5{
    line-height: 1.5 !important;
}
.mine.email_box .fa-plus:hover , .email_box .fa-minus:hover{
    cursor: pointer;
}
.email_box {
    margin-bottom: 10px;
}
#report_results,#report_results .text-muted{
    color:#000000 !important;
}

.amount{
    font-size:40px;
}

.current_day_name{
    text-transform:capitalize
}

#report_results .icon{
    font-size: 26px;
}
#report_results .percentage{
    font-size:20px;
}

@media only screen and (max-width: 1530px) {
    .amount{
        font-size:30px;
    }
}
@media only screen and (max-width: 1420px) {
    .amount{
        font-size:30px;
    }
}
@media only screen and (max-width: 1370px) {
    .col-lg-3{
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom:10px;
    }
    .amount{
        font-size:45px;
    }
    #report_results .kpis i {
        font-size: 3em;
    }
    #report_results .icon i{
        font-size:20px;
    }
}
@media only screen and (max-width: 1010px) {
    .col-lg-3{
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom:10px;
    }
    .amount{
        font-size:35px;
    }
    #report_results .kpis i {
        font-size: 2em;
    }
    #report_results .icon i{
        font-size:20px;
    }
}
@media only screen and (max-width: 950px) {
    .col-lg-3{
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom:10px;
    }
    .amount{
        font-size:45px;
    }
    #report_results .kpis i {
        font-size: 3em;
    }
    #report_results .icon i{
        font-size:20px;
    }
}
.table.table-bordered thead tr th{ 
    border-bottom:1px !important;
}
.sales_mix_table tfoot{
    display:table-header-group !important;
}
.sales_mix_table tfoot input{
    width:100% !important;
}
.sales_mix_box .dataTables_filter{
    display:none;
}
.sales_mix_table {
    width:100% !important;
}
#products_table tfoot{
    display: table-header-group;
}
#products_table_filter{
    display: none;
}
#products_table_length{
    display: none;
}
#store_tabs,#myTab{
    border-bottom: 0!important;
}
.nav-tabs .nav-item {
    margin-bottom: -1px;
    z-index: 66;
}

#bwr_dashbord .tab-content{
    min-height:390px;
}
.loading_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 89%); /* Optional: semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above other elements */
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

table.dataTable tfoot th, table.dataTable tfoot td {
    padding: 10px 6px !important;
    border-top: 0 !important;
}
#table_report_category tbody tr table tbody tr {
    background: transparent !important;
    border:0 !important;
}
#table_report_category tbody tr table tbody tr td{
    background: transparent !important;
    border:0 !important;
}
table tbody tr td.dataTables_empty{
    background: none !important;
}
#table_report_category tbody tr.odd td:first-child,#table_report_category tbody tr.even td:first-child{
    background: url(../img/details_open.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
#table_report_category tbody tr.odd.shown td:first-child,#table_report_category tbody tr.even.shown td:first-child{
    background: url(../img/details_close.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#table_report_date tbody tr table tbody tr {
    border:0 !important;
}
#table_report_date tbody tr table tbody tr td{
    background: transparent !important;
    border:0 !important;
}
#table_report_date tbody tr.odd td:first-child,#table_report_date tbody tr.even td:first-child{
    background: url(../img/details_open.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
#table_report_date tbody tr.odd.shown td:first-child,#table_report_date tbody tr.even.shown td:first-child{
    background: url(../img/details_close.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

#table_report_transaction tbody tr table tbody tr {
    border:0 !important;
}
#table_report_transaction tbody tr table tbody tr td{
    background: transparent !important;
    border:0 !important;
}
#table_report_transaction tbody tr.odd td:first-child,#table_report_transaction tbody tr.even td:first-child{
    background: url(../img/details_open.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
#table_report_transaction tbody tr.odd.shown td:first-child,#table_report_transaction tbody tr.even.shown td:first-child{
    background: url(../img/details_close.png);
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.sub_table tbody tr:nth-of-type(odd) {
    background-color: rgb(255 190 157 / 26%) !important;
}
.collapse_open{
    display: inline;
}
.collapse_close{
    display: none;
}
#sale_type_group{
    display:none;
}
#social_media_kpis_container .kpis_title ,#bbox_data .box_title{
	color:#f47d2c !important;
}
#social_media_kpis_container .card{
	margin-bottom:15px  !important;
}
.report_title{
	color: black !important;
    padding: 15px 0;
}


#products_performance_form .help-block {
    color: red;
    display: block;
}

.totals_bg{
    background: #e9e6e6;
    padding: 5px;
    margin-bottom: 5px;
}
.totals_bg_white{
    background: #fff;
    padding: 5px;
    margin-bottom: 5px;
}



/* Absolute Center Spinner */
.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 89%); /* Optional: semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above other elements */
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));

  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#bbox_results .overlay_report {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(246, 247, 250, 0.95);
    z-index: 80;
    text-align: center;
    padding-top: 15%;
}
#bbox_result h1{
	font-size:5rem;
	font-weight:bolder;
}


.bg-card {
    background-size: contain;
    background-position: right;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
.bg-holder {
    position: absolute;
    width: 100%;
    min-height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    will-change: transform,opacity,filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-repeat: no-repeat;
    z-index: 0;
}

.ideal_cost_boxes .card{
    min-height: 210px;
}

.active_same_store_sales{
    color:red;
}

.pos_status_card table th{
    font-size: 14px;
}

.loyalty_widget{
    flex-basis: auto !important;
    flex-grow: initial !important;
    width: 25% !important;
}
.loyalty_widget .h-100{
    min-height:170px !important;
    height:auto !important;
}
    
@media only screen and (max-width: 1550px) {
    .loyalty_widget{
        flex-basis: auto !important;
        flex-grow: initial !important;
        width: 25% !important;
    }
}
@media only screen and (max-width: 1200px) {
    .loyalty_widget{
        flex-basis: auto !important;
        flex-grow: initial !important;
        width: 33.33% !important;
    }
}
@media only screen and (max-width: 1050px) {
    .loyalty_widget{
        flex-basis: auto !important;
        flex-grow: initial !important;
        width: 50% !important;
    }
}
@media only screen and (max-width: 500px) {
    .loyalty_widget{
        flex-basis: auto!important;
        flex-grow: initial !important;
        width: 100% !important;
    }
}

#survey_table tbody tr.even{
    background: #f1f1f1 !important;
}
#campaign_items,#generate{
    xdisplay:none;
}
.campaign_item{
    padding: 50px;
    border: 1px solid #ededed;
    background: white;
    position:relative;
    margin-bottom:15px;
}

.campaign_item .remove_item{
    position: absolute;
    top:10px;
    right:10px;
    font-size:13px;
    color:red;
    display: none
}
#campaign_items{
    display:none
}


.campaigns_report_wrapper table thead th{
    background-color:#f7f7f7 !important;
}
.oddcolor{
    background:#ffeae1
}




.the_widget{
    background: #fff;
    border: 1px solid #dbdbdb;
    height: 100%;
    padding:15px;
    border-left:4px solid #6c757d ;
    border-radius: 5px;
    xbox-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
} 
.the_widget.widget_tabs{
    padding:0px !important;
}

.the_widget .widget_header{
        font-size: 17px;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.the_widget.widget_card .widget_value{
    font-size:30px;
    font-weight:bold;
    color: #3f3f3f  !important;
    margin: 0;
}

.the_widget .widget_description{
    margin: 0px;
    font-style: italic;
    color: gray;
    font-size: 15px;
}
.the_widget.widget_card .widget_extra_data{
    font-size:19px;
}

.the_widget.widget_text .widget_header{
    font-size:22px;
    font-weight:bold;
    margin: 0;
}

.the_widget.widget_text .widget_value{
    font-size:16px;
}    
#select_the_stores{
    display:none;
}
.the_markets_stores .market_div{
    display:inline-block;
}

.select2-container{
    display: block!important;
}

.select2-container--default .select2-selection--single{
    padding: 3px!important;
    height: 35px!important;
    border: 1px solid #ced4da !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px!important;
}

.header_class{
    background: #efefef;
    padding: 15px 10px;
    margin-top: 10px;
}

#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #F47D25;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

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

#bwr_dashbord .the_widget {
    overflow: auto;
}

#bwr_dashbord .widget_tabs .chart-container{
    padding:20px;
}
#bwr_dashbord .widget_tabs .extra{
    background: #f7f7f7;
    padding: 10px 20px;
    border-top: 1px solid lightgray;
    font-weight: bold;
}

#bwr_dashbord .widget_tabs .nav-tabs{
    overflow: auto;
    border: 0px;
    background: #f7f7f7;
    padding: 10px;
    border-top: 1px solid lightgray;
}                                    

#bwr_dashbord .widget_tabs .nav-tabs .nav-link{
    background: #6c757d;
    margin-right: 5px;
    border-radius: 5px;
    color:#fff;
    padding: 10px 20px;
}
#bwr_dashbord .widget_tabs .nav-tabs .nav-link.active{
    background: #17a2b8;
}

#bwr_dashbord .the_section [class^="col-"] {
    padding-bottom: 25px;
}

.xjukebox_report .the_widget.widget_card .widget_header,.snap_report .the_widget.widget_card .widget_header{
    font-weight: bold;
    font-size: 22px !important;
    margin-bottom: 0px !important;
}
.xjukebox_report .the_widget.widget_card .widget_value,.snap_report .the_widget.widget_card .widget_value{
    font-size: 37px !important;
    margin-bottom: 0px !important;
}

.tooltip {
    z-index: 9999; /* Ensures tooltip stays on top of other elements */
}

#loyalty_chart_kpi .card-body{
    padding:0;   
}
#loyalty_chart_kpi .card-body #bwr_dashbord .the_section .col-12{
    padding-bottom:0;   
}

/* Container for fillable icon */
.gender-progress-container {
    display: inline-block;
    position: relative;
    width: 120px;
    height: 150px;
    margin: 0 20px;
}

/* Base icon (background - empty state) */
.gender-icon-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: #e0e0e0;
    z-index: 1;
}

/* Filled icon (foreground - filled state) */
.gender-icon-filled {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    z-index: 2;
    overflow: hidden;
    transition: clip-path 1s ease-out;
}

/* Female filled color */
.gender-icon-filled.female {
    color: #F6B0B8;
}

/* Male filled color */
.gender-icon-filled.male {
    color: #A5BBD2;
}

/* Other filled color */
.gender-icon-filled.other {
    color: #CDB9AE;
}

/* Percentage label */
.gender-percentage-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 3;
}

.gender-percentage-label .percentage-number {
    font-size: 2.5rem;
    display: block;
}

/* Gender label */
.gender-name-label {
    position: absolute;
    bottom: -75px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    z-index: 3;
}

.gender-count-label {
    position: absolute;
    bottom: -95px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: #999;
    white-space: nowrap;
    z-index: 3;
}

/* Container for all gender icons */
.gender-icons-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px 120px 20px;
    border-radius: 10px;
    margin-bottom: 2rem;
    min-height: 280px;
}

/* Animation for icon fill */
@keyframes fillIcon {
    from {
        clip-path: inset(100% 0 0 0);
    }
    to {
        clip-path: inset(var(--fill-amount) 0 0 0);
    }
}

/* Pulse animation for filled icon */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.gender-icon-filled.animated {
    animation: pulse 2s ease-in-out infinite;
}

/* Hover effect */
.gender-progress-container:hover .gender-icon-filled {
    filter: brightness(1.1);
}

.gender-progress-container:hover .gender-percentage-label {
    transform: translateX(-50%) scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gender-progress-container {
        width: 90px;
        height: 120px;
        margin: 0 10px;
    }
    
    .gender-icon-base,
    .gender-icon-filled {
        font-size: 70px;
    }
    
    .gender-percentage-label {
        font-size: 1.5rem;
        bottom: -35px;
    }
    
    .gender-percentage-label .percentage-number {
        font-size: 2rem;
    }
    
    .gender-name-label {
        font-size: 0.9rem;
        bottom: -65px;
    }
    
    .gender-count-label {
        font-size: 0.8rem;
        bottom: -85px;
    }
    
    .gender-icons-wrapper {
        padding: 30px 10px 100px 10px;
        min-height: 240px;
    }
}

@media (max-width: 480px) {
    .gender-progress-container {
        width: 70px;
        height: 100px;
        margin: 0 8px;
    }
    
    .gender-icon-base,
    .gender-icon-filled {
        font-size: 60px;
    }
    
    .gender-percentage-label {
        font-size: 1.3rem;
        bottom: -30px;
    }
    
    .gender-percentage-label .percentage-number {
        font-size: 1.8rem;
    }
    
    .gender-name-label {
        font-size: 0.85rem;
        bottom: -58px;
    }
    
    .gender-count-label {
        font-size: 0.75rem;
        bottom: -75px;
    }
}

/* Add glow effect to filled icons */
.gender-icon-filled.female {
    filter: drop-shadow(0 0 10px rgba(233, 30, 99, 0.3));
}

.gender-icon-filled.male {
    filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.3));
}

.gender-icon-filled.other {
    filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.3));
}

/* Loading state */
.gender-progress-container.loading .gender-icon-filled {
    animation: pulse 1s ease-in-out infinite;
}

/* Completed state with checkmark overlay */
.gender-progress-container.complete::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 4;
}

#nav_infobar{
    box-shadow: unset !important;
    border: 1px dashed lightgray;
    background-color: #f7f7f785;    
}

#nav_infobar i.text-warning{
    color: #b7e1c9 !important;
}
#nav_infobar i.text-success{
    color: #f8b2ba !important;
}


.loader-container {
    text-align: center;
    background: #ffffff;
    padding: 60px;
    z-index: 9999;
    position: fixed; /* Changed from absolute to fixed */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0; /* Added */
    opacity: 0.95;
    overflow: hidden; /* Prevent scrolling */
    display: flex; /* Added for centering */
    flex-direction: column; /* Added for centering */
    justify-content: center; /* Added for centering */
    align-items: center; /* Added for centering */
}

.loader-container .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e8eef5;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-container .loader-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.loader-container .loader-message {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 8px;
}

.loader-container .loader-submessage {
    font-size: 14px;
    color: #94a3b8;
    font-style: italic;
}

.loader-container .progress-dots {
    display: inline-flex;
    gap: 6px;
    margin-top: 20px;
}

.loader-container .dot {
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.loader-container .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-container .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Modal Styles */
    .menu-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        overflow-y: auto;
    }

    .menu-modal.active {
        display: block;
    }

    .menu-modal-content {
        background-color: #ffffff;
        width: 98%;
        margin: 20px auto;
        border-radius: 12px;
        position: relative;
        padding: 40px;
    }

    .menu-close-btn {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 32px;
        cursor: pointer;
        color: #666;
        background: none;
        border: none;
        transition: color 0.3s;
        z-index: 10;
    }

    .menu-close-btn:hover {
        color: #333;
    }

    .menu-modal-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .menu-modal-header img {
        max-width: 150px;
        margin-bottom: 15px;
    }

    .menu-modal-header h2 {
        font-size: 28px;
        color: #6B46C1;
        margin: 0;
    }

    /* Section Headers */
    .menu-section {
        margin: 40px 0 20px 0;
    }

    .menu-section h3 {
        font-size: 20px;
        color: #000;
        margin-bottom: 20px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f0f0f0;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .menu-section p {
        color: gray;
        align-items: center;
        display:none;
    }

    .menu-section h3 i {
        font-size: 18px;
    }

    /* Menu Grid */
    .menu-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 20px;
        margin-bottom: 20px;
    }

    /* Menu Card */
    .menu-card {
        background-color: #ffffff;
        border-radius: 12px;
        padding: 24px 20px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s;
        border: 1px solid #f0f0f0;
        text-decoration: none;
        display: block;
        position: relative;
    }

    .menu-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
        text-decoration: none;
    }

    .menu-icon-wrapper {
        width: 56px;
        height: 56px;
        margin: 0 auto 16px;
        background-color: #f7f7f7;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu-card i {
        font-size: 24px;
        color: #cc353b;
    }

    .menu-card h4 {
        font-size: 16px;
        color: #333;
        margin: 0;
        font-weight: 600;
    }

    /* Color Variations */
    .menu-card i {
        color: #D946A6;
    }
    .menu-card:nth-child(21n + 1)  i { color: #A5BBD2; }
    .menu-card:nth-child(21n + 2)  i { color: #FBCB8D; }
    .menu-card:nth-child(21n + 3)  i { color: #B7E1C9; }
    .menu-card:nth-child(21n + 4)  i { color: #F6B0B8; }
    .menu-card:nth-child(21n + 5)  i { color: #E8EBA8; }
    .menu-card:nth-child(21n + 6)  i { color: #FFCDD2; }
    .menu-card:nth-child(21n + 7)  i { color: #CDB9AE; }
    .menu-card:nth-child(21n + 8)  i { color: #FDCD8F; }
    .menu-card:nth-child(21n + 9)  i { color: #A5BBD2; }
    .menu-card:nth-child(21n + 10) i { color: #B7E1C9; }
    .menu-card:nth-child(21n + 11) i { color: #FBCB8D; }
    .menu-card:nth-child(21n + 12) i { color: #F6B0B8; }
    .menu-card:nth-child(21n + 13) i { color: #E8EBA8; }
    .menu-card:nth-child(21n + 14) i { color: #FFCDD2; }
    .menu-card:nth-child(21n + 15) i { color: #CDB9AE; }
    .menu-card:nth-child(21n + 16) i { color: #FDCD8F; }
    .menu-card:nth-child(21n + 17) i { color: #8CAAC8; }
    .menu-card:nth-child(21n + 18) i { color: #A0D2B9; }
    .menu-card:nth-child(21n + 19) i { color: #F0BE87; }
    .menu-card:nth-child(21n + 20) i { color: #EB9BA5; }
    .menu-card:nth-child(21n + 21) i { color: #BEBEA0; }
    /* Responsive */
    @media (max-width: 768px) {
        .menu-modal-content {
            padding: 20px;
            width: 100%;
            margin: 0;
            border-radius: 0;
            min-height: 100vh;
        }

        .menu-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .menu-modal-header h2 {
            font-size: 22px;
        }

        .menu-close-btn {
            top: 10px;
            right: 15px;
        }
    }
    
    
    .custom_widgets {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;              /* spacing between cards */
      align-items: stretch;   /* make cards same height if possible */
    }
    
    /* If you’re using Bootstrap, .row has negative margins.
       This prevents flex overflow weirdness while still allowing gap. */
    .custom_widgets.row {
      margin-left: 0;
      margin-right: 0;
    }

    .custom_widgets > .mb-4 {
        /* 5 per row */
        flex: 0 0 calc((100% - (4 * 1rem)) / 5); /* 4 gaps in a 5-column row */
        margin-bottom: 0 !important;             /* use gap instead of mb-4 spacing */
        min-width: 180px;                         /* optional safety so cards don’t get too tiny */
    }
    
    @media (max-width: 1200px) {
      .custom_widgets > .mb-4 {
        flex-basis: calc((100% - (3 * 1rem)) / 4); /* 4 per row */
      }
    }
    
    @media (max-width: 992px) {
      .custom_widgets > .mb-4 {
        flex-basis: calc((100% - (2 * 1rem)) / 3); /* 3 per row */
      }
    }
    
    @media (max-width: 768px) {
      .custom_widgets > .mb-4 {
        flex-basis: calc((100% - (1 * 1rem)) / 2); /* 2 per row */
      }
    }
    
    @media (max-width: 480px) {
      .custom_widgets > .mb-4 {
        flex-basis: 100%; /* 1 per row */
      }
    }

.btn-primary {
    color: #fff;
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}
.btn-primary:hover {
    color: #fff;
    background-color: #6189b7;
    border-color: #6189b7;
}


.filters-sidebar {
    background-color: #fff;
    border-left: 1px solid #e0e0e0;
    height: 100vh;
    overflow-y: auto;
    padding: 20px 15px;
    position: fixed;
    right: 0;
    top: 0;
    width: 320px;
    z-index: 1050;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}
.filters-sidebar .form-control, .filters-sidebar .form-control-sm {
    font-size: 0.875rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
}
.filters-sidebar .filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}
.filter-section {
    margin-bottom: 20px;
}
.filter-section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}
.filters-sidebar .form-control, .filters-sidebar .form-control-sm {
    font-size: 0.875rem;
    border-radius: 4px;
    border: 1px solid #ced4da;
    margin:0;
}
.filters-sidebar .btn-run {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #fff;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 4px;
    width: 100%;
}
.filters-sidebar .btn-close-filters {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.2s;
}

.filters-sidebar.hidden {
    transform: translateX(100%);
}



/* ===== Multi-value card (card2) ===== */


.the_widget.widget_card2 .widget_header {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin: 0 0 6px 0;
}

.the_widget.widget_card2 .widget_description {
    font-size: 0.72rem;
    color: #8a8a8a;
    line-height: 1.35;
    margin: 0 0 14px 0;
    min-height: 32px;
}

.the_widget.widget_card2 .widget_card2_values {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
}

.the_widget.widget_card2 .widget_card2_item {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    background: linear-gradient(135deg, #B7E1C9 0%, #A0D2B9 100%);
    position: relative;
    overflow: hidden;
}
.the_widget.widget_card2 .widget_card2_item.item-2 {
    background: linear-gradient(135deg, #FBCB8D 0%, #F0BE87 100%);
}
.the_widget.widget_card2 .widget_card2_item.item-3 {
    background: linear-gradient(135deg, #A5BBD2 0%, #8CAAC8 100%);
}
.the_widget.widget_card2 .widget_card2_item.item-4 {
    background: linear-gradient(135deg, #F6B0B8 0%, #EB9BA5 100%);
}

.the_widget.widget_card2 .widget_card2_value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1f3a2d;
    line-height: 1.1;
    letter-spacing: -.5px;
}
.the_widget.widget_card2 .widget_card2_item.item-2 .widget_card2_value { color: #5a3a14; }
.the_widget.widget_card2 .widget_card2_item.item-3 .widget_card2_value { color: #1f3045; }
.the_widget.widget_card2 .widget_card2_item.item-4 .widget_card2_value { color: #5a1f28; }

.the_widget.widget_card2 .widget_card2_desc {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.65);
    margin-top: 6px;
    line-height: 1.25;
}

/* Stack on very narrow widgets (col-3 on small screens) */
@media (max-width: 575.98px) {
    .the_widget.widget_card2 .widget_card2_values {
        flex-direction: column;
    }
}
