.clean-navbar .navbar-nav .nav-link {
    font-size: 1rem;
}

hr {
    border-top: 1px solid rgb(95,164,243,0.75);
}

a:hover{
    cursor: pointer;
    /* border-bottom: 1px solid rgb(95,164,243,0.75) !important; */
}

/* Global alert styling (override Bootstrap defaults) */
.alert {
    border-radius: 12px;
    border-width: 1px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    padding: 0.85rem 1.1rem;
}

.alert.alert-warning {
    background: linear-gradient(180deg, #fff7e6 0%, #fff3d6 100%);
    border-color: #f0b45b;
    color: #7a4b00;
}

.alert.alert-info {
    background: linear-gradient(180deg, #eef6ff 0%, #e7f1ff 100%);
    border-color: #7bb7ff;
    color: #1a4d8f;
}

.alert.alert-danger {
    background: linear-gradient(180deg, #fff1f1 0%, #ffe7e7 100%);
    border-color: #ff8f8f;
    color: #8a1f1f;
}

.alert.alert-success {
    background: linear-gradient(180deg, #f1fff5 0%, #e7ffef 100%);
    border-color: #7be2a0;
    color: #1f6b3a;
}

.alert a {
    color: inherit;
    text-decoration: underline;
}

.switch {
position: relative;
display: inline-block;
width: 30px;
height: 17px;
top: 10px;
}

.switch input { 
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 13px;
width: 13px;
left: 2px;
right: 2px;
bottom: 2px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}


input:checked + .slider {
background-color: rgb(134,144,245);
}

input:focus + .slider {
box-shadow: 0 0 1px rgb(134,144,245);
}

input:checked + .slider:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}

.form-check {
    padding-left: 0rem !important;
}

.btn {
    font-family: jostFont;
    /* text-transform: uppercase; */
    /* letter-spacing: 2.5px; */
    font-weight: 500;
    color: #000;
    /* background-color: #fff; */
    border: none;
    border-radius: 45px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    cursor: pointer;
    outline: none;
    font-size: 1.2rem;
}

.button:hover {
    /* background-color: #2EE59D; */
    box-shadow: 0px 15px 20px rgba(255,193,6, 0.4);
    /* color: #fff; */
    transform: translateY(-7px);
}
html {
    scroll-behavior: smooth;
}
.elevation {
    text-shadow: 0px 15px 20px rgba(255,193,6, 0.4);
    outline: none;
    font-weight: bold;
}
.clear-fix{
clear: both;
}

.testimonial{
/* width: 100%; */
height: auto;
/* margin: 80px auto; */
text-align: center;
}

.testimonial .item{
width: 30vw;
margin: 0 10px;
float: left;
background: rgb(103,108,220);
border-radius: 25px;
box-shadow: 0 0 5px rgba(0,0,0,0.125);
}

.testimonial .item .img{
padding: 20px;
}

.testimonial .item .img img{
width: 100px;
display: block;
margin: 0 auto;
}

.testimonial .item .name{
margin-bottom: 20px;
text-align: center;
text-transform: uppercase;
letter-spacing: 3px;
}

.testimonial .item .content{
background: #fff;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-bottom-left-radius: 25px;
border-bottom-right-radius: 25px;
padding: 20px;
text-align: center;
}

.testimonial .item .content h1{
margin-bottom: 10px;
color: rgb(103,108,220);
}

.testimonial .item .content p{
line-height: 20px;
margin-bottom: 15px;
}

.testimonial .item .content .stars img{
width: 25px;
}

@media screen and (max-width: 1000px) {
    .testimonial .item {
        float: none !important;
        width: 95vw;
        margin-bottom: 20px;
    }
    /* .testimonial {
        text-align: center;
    } */
}

.col_half { width: 49%; }
.col_third { width: 32%; }
.col_fourth { width: 23.5%; }
.col_fifth { width: 18.4%; }
.col_sixth { width: 15%; }
.col_three_fourth { width: 74.5%;}
.col_twothird{ width: 66%;}
.col_half,
.col_third,
.col_twothird,
.col_fourth,
.col_three_fourth,
.col_fifth{
	position: relative;
	display:inline;
	display: inline-block;
	float: left;
	margin-right: 2%;
	margin-bottom: 20px;
}
.end { margin-right: 0 !important; }
/* Column Grids End */

/* .wrapper { width: 980px; margin: 30px auto; position: relative;} */
.counter { background-color: #ffffff; padding: 20px 0; border-radius: 5px;}
.count-title { font-size: 2.5vh; font-weight: normal;  margin-top: 10px; margin-bottom: 0; text-align: center; }
.count-text { font-size: 2vh; font-weight: normal;  margin-top: 10px; margin-bottom: 0; text-align: center; }
.fa-2x { margin: 0 auto; float: none; display: table; color: #6c63ff; }

.Modal {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    padding-top: 100px;
    background-color: black;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-transition: 0.5s;
    overflow: auto;
    transition: all 0.3s linear;
  }
  
  .Modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 10px;
    border-radius: 4px;
    max-width: 70vw;
    height: auto;
    margin: 0; position: absolute; 
    top: 50%; 
    left: 50%; 
    margin-right: -50%; 
    transform: translate(-50%, -50%);
  }
  
  .ModalOpen { overflow: hidden; }
  
  .is-hidden { display: none; }
  
  .is-visuallyHidden { opacity: 0; }

  .Close {
    color: #aaaaaa;
    float: right;
    font-size: 4vh;
    top: -1.7vh;
    right: 0px;
    z-index: 2;
    position: absolute;
    color: red;
  }
  
  .Close:hover, .Close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  .is-blurred {
    filter: blur(2px);
    -webkit-filter: blur(2px);
  }

.nav-link {
    padding: .5rem .7rem !important;
}
.nav-title {
    font-size: 2vh !important;
}
.android-span {
    position: fixed;
    z-index:9999;
    width: 100%;
    text-align: center;
    display: none;
}
.closebtn {
    position: absolute;
    right: 0;
}
.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.horizontal-center {
    margin: 0;
    position: absolute;
    left: 50%;
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
.login-nav {
    padding: 6px 20px;
    background: #6c63ff; /* original purple */
    color: #fff !important;
    display: inline-block;
    border-radius: 5px; /* smoother rounded corners */
    border: 0;
    font-size: 15px;
    font-family: "jostFont";
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;

    /* soft shadow */
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.25);
}

/* Shine effect element */
.login-nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

/* Hover animation */
.login-nav:hover {
    background: #807aff; /* brighter hover purple */
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(108, 99, 255, 0.35);
    color: #fff !important;
    text-decoration: none !important;
}

.login-nav:hover::after {
    left: 140%; /* sweeps across like a shine */
}

.registration-nav {
    padding: 8px 32px;
    background: #F97316;
    color: #fff !important;
    font-size: 22px;
    font-family: "jostFont";
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 12px;
    display: inline-block;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

/* Hover state */
.registration-nav:hover {
    background: #EA6A13;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    color: #fff !important;
    text-decoration: none !important;
}

/* Shine animation */
.registration-nav::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.registration-nav:hover::after {
    left: 140%;
}


.logout-nav {
    padding: 6px 20px;
    background: hsla(0,0%,100%,.3);
    display: inline-block;
    padding: 12px 22px;
    background: #ff6397;
    border-radius: 3px;
    border: 0;
    font-size: 15px;
    font-family: 'jostFont';
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    color: #fff;
    -webkit-transition: .1s linear;
    transition: .1s linear;
    cursor: pointer;
    -webkit-appearance: none;
}

.logout-nav:hover {
    color: #000;
    background: #ff6397;
}

.logout-nav-active {
    padding: 6px 20px;
    background: hsla(0,0%,100%,.3);
    display: inline-block;
    padding: 12px 22px;
    border-radius: 3px;
    border: 0;
    font-size: 15px;
    font-family: 'jostFont';
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    -webkit-transition: .1s linear;
    transition: .1s linear;
    cursor: pointer;
    -webkit-appearance: none;
    color: #000;
    background: #ff6397;
}

.logout-nav-active:hover {
    color: #000;
    background: #ff6397;
}

.play-store-banner {
    position: fixed;
    bottom: 0px;
    /* left: 10%; */
    /* right: 10%; */
    width: 100%;
    padding: 5px 14px;
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
    background-color: #eee;
    /* border-radius: 5px; */
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-width: thin;
    animation: fadein 1200ms;
    animation-delay: 1s;
    -moz-animation: fadein 1200ms; /* Firefox */
    -moz-animation-delay:1s;
    -webkit-animation: fadein 600ms; /* Safari and Chrome */
    -webkit-animation-delay:1s;
    -o-animation: fadein 3200ms; /* Opera */
    opacity: 0;
    animation-fill-mode: forwards;
    z-index: 99999 !important;
}
@keyframes fadein {
0% {
    opacity: 0;
}

100% {
    opacity: 1;
}
}
.close-banner {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    color: #000;
    border-radius: 2px;
    cursor: pointer;
    left: -2px;
    top: -4px;
    float: left;
}

.table_headers {
    font-size: 25px;
}
.table_rows {
    font-size: 20px;
}
.mobile_header {
    font-size: 25px;
}
@media screen and (max-width: 1000px) {
    .table_headers {
        font-size: 10px;
    }
    .mobile_header {
        font-size: 16px;
    }
    .table_rows {
        font-size: 8px;
    }

}

#navcol-2{
    margin-left: 30px !important;
}
.collapse .navbar-collapse{
    flex-basis: fill !important;
}

.dropdown-item-checked::before {
    position: absolute;
    left: .4rem;
    content: '\2713';
    font-weight: 600;
}

.updates {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    display: none;
    width: 4rem;
    height: 2.75rem;
    text-align: center;
    color: #6c63ff;
    line-height: 46px;
}


.loader,
    .loader:after {
        z-index: 10000001;
        border-radius: 50%;
        width: 10em;
        height: 10em;
    }
    .loader {  
        z-index: 10000001;          
        margin: 60px auto;
        font-size: 10px;
        position: relative;
        text-indent: -9999em;
        border-top: 1.1em solid rgba(108,99,255, 0.5);
        border-right: 1.1em solid rgba(108,99,255, 0.5);
        border-bottom: 1.1em solid rgba(108,99,255, 0.5);
        border-left: 1.1em solid #6c63ff;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation: load8 1.1s infinite linear;
        animation: load8 1.1s infinite linear;
    }
    @-webkit-keyframes load8 {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
        }
    }
    @keyframes load8 {
        0% {
            -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
        }
    }
    #loadingDiv {
        text-align: center;
        z-index: 99999999;
        position:fixed;
        top:0;
        left:0;
        width:100%;
        height:100%;
        color: black;
        background-color: rgba(255, 255, 255, 1);
    }

.bg-grey {
    background-color: #e4e7e8!important;
}

.graph {
    background-color: #222222!important;
    color: #fff!important;
}

.shadow-lg-custom {
    box-shadow: 0 1rem 3rem rgba(108, 99, 255, .175)!important;
}

.text-black {
    color: #3d3d3d!important;
}

.text-identity {
    color:#6c63ff!important;
}

.blur{
    filter: blur(20px);
    -webkit-filter: blur(20px);
}

.modal-open .container-fluid, .modal-open  .container {
    -webkit-filter: blur(5px) grayscale(90%);
}

.modal-open #content {
    -webkit-filter: blur(5px) grayscale(90%);
}

.text-dark {
    color: #1a2126 !important;
}

.bg-dark, .btn-dark {
    background-color: #1a2126 !important;
}

#accordionSidebar {
    z-index: 10000003 !important;
    border-right: 1px solid #2d3940 !important;
}


table.dataTable thead tr,
table.dataTable thead th,
table.dataTable thead td,
div.dataTables_scrollHead table.dataTable thead tr,
div.dataTables_scrollHead table.dataTable thead th,
div.dataTables_scrollHead table.dataTable thead td {
    background-color: #7672FB !important;
    color: #fff !important;
}

table.dataTable tfoot tr,
table.dataTable tfoot th,
table.dataTable tfoot td {
    background-color: #7672FB !important;
    color: #fff !important;
}

table.dataTable thead tr>.dtfc-fixed-left,
table.dataTable thead tr>.dtfc-fixed-right,
table.dataTable thead th.dtfc-fixed-left,
table.dataTable thead th.dtfc-fixed-right,
table.dataTable thead td.dtfc-fixed-left,
table.dataTable thead td.dtfc-fixed-right {
    background-color: #7672FB !important;
    color: #fff !important;
}

table.dataTable tfoot tr>.dtfc-fixed-left,
table.dataTable tfoot tr>.dtfc-fixed-right,
table.dataTable tfoot th.dtfc-fixed-left,
table.dataTable tfoot th.dtfc-fixed-right,
table.dataTable tfoot td.dtfc-fixed-left,
table.dataTable tfoot td.dtfc-fixed-right {
    background-color: #7672FB !important;
    color: #fff !important;
}

body.bg-dark table.dataTable thead tr,
body.bg-dark table.dataTable thead th,
body.bg-dark table.dataTable thead td,
body.bg-dark div.dataTables_scrollHead table.dataTable thead tr,
body.bg-dark div.dataTables_scrollHead table.dataTable thead th,
body.bg-dark div.dataTables_scrollHead table.dataTable thead td,
body.bg-dark table.dataTable tfoot tr,
body.bg-dark table.dataTable tfoot th,
body.bg-dark table.dataTable tfoot td,
body.bg-dark table.dataTable thead tr>.dtfc-fixed-left,
body.bg-dark table.dataTable thead tr>.dtfc-fixed-right,
body.bg-dark table.dataTable thead th.dtfc-fixed-left,
body.bg-dark table.dataTable thead th.dtfc-fixed-right,
body.bg-dark table.dataTable thead td.dtfc-fixed-left,
body.bg-dark table.dataTable thead td.dtfc-fixed-right,
body.bg-dark table.dataTable tfoot tr>.dtfc-fixed-left,
body.bg-dark table.dataTable tfoot tr>.dtfc-fixed-right,
body.bg-dark table.dataTable tfoot th.dtfc-fixed-left,
body.bg-dark table.dataTable tfoot th.dtfc-fixed-right,
body.bg-dark table.dataTable tfoot td.dtfc-fixed-left,
body.bg-dark table.dataTable tfoot td.dtfc-fixed-right {
    background-color: #4f4ab8 !important;
    color: #fff !important;
}

.datatable-image-wrap {
    align-items: center;
    display: inline-flex;
    height: 160px;
    justify-content: center;
    width: 100px;
}

.datatable-image-wrap img {
    height: 160px !important;
    max-height: 160px !important;
    max-width: 100px !important;
    object-fit: contain;
    width: 100px !important;
}

.dtfc-right-top-blocker {
    background-color: unset !important;
}

/* Basic scrollbar styling */
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

/* Striped track styling */
::-webkit-scrollbar-track {
    background: repeating-linear-gradient(
        45deg,
        #f0f0f0,
        #f0f0f0 5px,
        #e0e0e0 5px,
        #e0e0e0 10px
    );
}

/* Thumb styling */
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

/* Hover state for thumb */
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, .7);
}

/* Optional: Style the buttons at the top and bottom */
::-webkit-scrollbar-button {
    display: none;
}

/* if on mobile */
@media screen and (max-width: 767px) {
    .introjs-arrow.top{
        border-bottom-color: unset !important;
    }
    .introjs-arrow{
        border: unset !important;
    }
    #chatra.chatra--side-bottom{
        bottom: 60px !important;
    }
    
    #chatra.chatra--mobile-widget.chatra--expanded.chatra--pos-right:not(.chatra--transparent){
        height: 45% !important;
    }

    #chatra.chatra--style-round:not(.chatra--expanded) #chatra__iframe-wrapper, #chatra.chatra--style-round.chatra--safari:not(.chatra--expanded) #chatra__iframe {
        transform: scale(0.7) !important;
    }

    #chatra.chatra--pos-right {
        right: 0px !important;
    }

}

@media screen and (max-width: 1680px) {
    thead {
        font-size: 13px;
    }
    tfoot {
        font-size: 13px;
    }
}

#loadingDiv {
    width: 100%;
    height: 100%;
    /* position: absolute; */
    top: 0;
    left: 0;
    display:flex;
    justify-content: center;
    align-items: start;
    padding: 80px;
    background-color: rgba(246, 246, 246, 1);
}
#loader {
    animation: spinningColor 1.5s ease-in-out infinite;
    margin: 50px auto;
    border: 10px double #f0eff5;
    border-radius: 50%;
    width: 100px;
    height: 100px;
}
  
@keyframes spinningColor {
    0% {
        transform: rotate(360deg);
        border-top:10px dashed #f56682;
        border-bottom:10px dashed #6c63ff;
    }
    25% {
        border-top:10px dashed #f591a6;
        border-bottom:10px dashed #6c63ff;
    }
    50% {
        border-top:10px dashed #fd878e;
        border-bottom:10px dashed #6c63ff;
    }
    75% {
        border-top:10px dashed #f57f8f;
        border-bottom:10px dashed #6c63ff;
    }
    100% {
        border-top:10px dashed #f56682;
        border-bottom:10px dashed #6c63ff;
    }
}

.btn-kdpchamp {
    color: #4C52BD !important;
    background-color: #D1D4F5 !important;
    border-color: #4C52BD66 !important;
    font-weight: bold !important;
}
  
.btn-kdpchamp:hover {
    color: #4C52BD !important;
    background-color: #bcbfdd !important;
    border-color: #4C52BD66 !important;
}

.dropdown-menu {
    z-index: 5000000 !important;
}

.text-kdpchamp {
    color: #6c63ff !important;
}

.dataTables_scrollHeadInner {
    height: auto !important;
}


.skeleton {
    opacity: 0.7;
    animation: hide-show 1s linear infinite alternate;
}

.skeleton-text {
    width: 100%;
    margin-bottom: 0.25rem;
    text-align: center;
    font-size: 20px;
}

.ana2024-loader-overlay {
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  
  .ana2024-barchart-wrapper {
    display: inline-flex;
    align-items: flex-end;
    height: 100px;
    gap: 8px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .ana2024-chart-bar {
    width: 12px;
    background: #6B62FF;
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: ana2024BarAnimation 1.5s ease-in-out infinite;
  }
  
  .ana2024-chart-bar:nth-child(1) { height: 60%; animation-delay: 0s; }
  .ana2024-chart-bar:nth-child(2) { height: 80%; animation-delay: 0.1s; }
  .ana2024-chart-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
  .ana2024-chart-bar:nth-child(4) { height: 90%; animation-delay: 0.3s; }
  .ana2024-chart-bar:nth-child(5) { height: 70%; animation-delay: 0.4s; }
  .ana2024-chart-bar:nth-child(6) { height: 50%; animation-delay: 0.5s; }
  .ana2024-chart-bar:nth-child(7) { height: 85%; animation-delay: 0.6s; }
  .ana2024-chart-bar:nth-child(8) { height: 45%; animation-delay: 0.7s; }
  
  @keyframes ana2024BarAnimation {
    0%, 100% {
      transform: scaleY(1);
    }
    50% {
      transform: scaleY(0.3);
    }
  }
  
  .ana2024-loading-text {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
  }
  
  .ana2024-chart-container {
    position: relative;
  }


@keyframes hide-show {
  0% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.7;
  }
}

.skeleton-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 1rem;
}
  
.skeleton-card {
    padding: 16px;
    border-radius: 4px;
    width: 100%;
}
  
.skeleton-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
  
.skeleton-header-img {
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
    animation: hide-show 1s linear infinite alternate;
}

.bg-dark-transparent {
    background-color: rgba(26,33,38, 1) !important;
}


@keyframes typing {
    2.5% { content: ""; }
    5% { content: "a"; }
    7.5% { content: "ac"; }
    10% { content: "acc"; }
    12.5% { content: "accu"; }
    15% { content: "accur"; }
    17.5% { content: "accura"; }
    20% { content: "accurac"; }
    22.5% { content: "accuracy"; }
    25%, 30% { content: "accuracy!"; }

    32.5% { content: "accuracy"; }
    35% { content: "accurac"; }
    37.5% { content: "accura"; }
    40% { content: "accur"; }
    42.5% { content: "accu"; }
    45% { content: "acc"; }
    47.5% { content: "ac"; }
    50% { content: "a"; }
    52.5% { content: ""; }


    55% { content: "p"; }
    57.5% { content: "pr"; }
    60% { content: "pre"; }
    62.5% { content: "prec"; }
    65% { content: "preci"; }
    67.5% { content: "precis"; }
    70% { content: "precisi"; }
    72.5% { content: "precisio"; }
    75% { content: "precision"; }
    77.5%, 82.5% { content: "precision!"; }

    85% { content: "precision"; }
    87% { content: "precisio"; }
    89% { content: "precisi"; }
    90% { content: "precis"; }
    92% { content: "preci"; }
    93.5% { content: "prec"; }
    95% { content: "pre"; }
    96.5% { content: "pr"; }
    98% { content: "p"; }
    100% { content: ""; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typewriter::before {
    content: "";
    animation: typing 10s infinite;
}
  
.typewriter::after {
    content: "";
    border-right: 1.5px solid black;
    animation: blink 1s linear infinite;
}

@media screen and (max-width:1023px){ 
    .multiselect-container button.dropdown-item {
      pointer-events:none;
    }
    .multiselect-container span.form-check input {
      pointer-events: all;
    }
    .multiselect-container span.form-check label  {
      pointer-events: none;
    }
}


.form-control-android {
    height: unset !important;
    padding: unset !important;
    font-size: 0.75rem !important;
    line-height: unset !important;
  }

.fa-hover:hover {
    color: #B13601 !important;
    font-size: 0.9rem !important;
}

.highlight-container, .highlight {
    position: relative;
  }

  .highlight-container {
    display: inline-block;
  }
  .highlight-container:before {
    content: " ";
    display: block;
    height: 90%;
    width: 103%;
    margin-left: -3px;
    margin-right: -3px;
    position: absolute;
    background: #6C63FF4D;
    transform: rotate(2deg);
    top: -1px;
    left: -1px;
    border-radius: 20% 25% 20% 24%;
    padding: 10px 3px 3px 10px;
  }

  .highlight-container-gold, .highlight-gold {
    position: relative;
  }

  .highlight-container-gold {
    display: inline-block;
  }
  .highlight-container-gold:before {
    content: " ";
    display: block;
    height: 90%;
    width: 100%;
    margin-left: -1px;
    margin-right: 0px;
    position: absolute;
    background: #ffd500;
    transform: rotate(2deg);
    top: 0px;
    left: 1px;
    border-radius: 20% 25% 20% 24%;
    padding: 10px 3px 3px 10px;
  }

input[type=number]::-webkit-inner-spin-button, 
  input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.img-hover:hover {
    box-shadow: 0 0 3px #878FF5;
    margin-top: -5px;
    transition: 0.5s;
    border: 1px solid #2d3940;
}

.sorting_1 {
    background-color: #d3d3d333;
}

@keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.3);
    }
    100% {
      transform: scale(1);
    }
}

.icon-heartbeat {
    animation: heartbeat 1s infinite;
}

@keyframes heartbeat-xs {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
}

@keyframes heartbeat-s {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
}

@keyframes heartbeat-xxs {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.025);
    }
    100% {
      transform: scale(1);
    }
}

.icon-heartbeat-xs {
    animation: heartbeat-xs 1s infinite;
}

.icon-heartbeat-s {
    animation: heartbeat-s 1s infinite;
}

.icon-heartbeat-xxs {
    animation: heartbeat-xxs 1s infinite;
}

.introjs-helperLayer {
    box-shadow: rgba(108, 99, 255, 0.8) 0px 0px 1px 2px, rgba(33, 33, 33, 0.5) 0px 0px 0px 5000px !important;
}

.introjs-progressbar {
    background-color: rgba(108, 99, 255, 0.8) !important;
}

.introjs-button {
    color: rgba(108, 99, 255, 1) !important
}

.form-control[readonly] {
    background-color: unset !important;
}

b, strong {
    font-weight: bold !important;
}

@media screen and (max-width: 767px) {
    #top-bar-nav {
        max-width: unset !important;
    }
}

.sources-alert {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0px !important;
    font-size: 0.9rem !important;
    margin-top: 0px !important;
    margin-bottom: 5px !important;
}


/* Search container styling */
.docu-search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

/* Input field styling to match the image */
#docu-search-input {
    width: 100%;
    height: 30px;
    padding: 8px 8px 8px 44px; /* Space for search icon and action buttons */
    font-size: 16px;
    border: none;
    border-radius: 10px; /* Rounded corners */
    background-color: #EAEDF0;
    color: #333;
    outline: none;
    transition: box-shadow 0.2s ease;
}

#docu-search-input:focus {
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    outline: 2px solid #6c63ff;
}

#docu-search-input::placeholder {
    color: #a8a8a8;
}

/* Search icon styling */
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    width: 18px;
    height: 18px;
}

/* Action buttons container */
.search-actions {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
}

/* Individual action buttons */
.search-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #e4e6eb;
    border: none;
    border-radius: 6px;
    color: #606770;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-action-button:hover {
    background-color: #d8dadf;
}

/* Search results styling (preserved from your original CSS) */
.docu-search-results {
    position: absolute;
    z-index: 99999999;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 8px;
}

.docu-search-result {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.docu-search-result:hover {
    background-color: #f8f9fa;
}

.docu-search-result:last-child {
    border-bottom: none;
}

.docu-search-result h5 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #333;
}

.docu-search-result p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #6c757d;
}

.docu-search-highlight {
    background-color: #fff3cd;
    font-weight: bold;
    padding: 1px 2px;
    border-radius: 2px;
}

.docu-category {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.8rem;
    background-color: #e9ecef;
    margin-right: 5px;
    margin-bottom: 3px;
    color: #495057;
}

/* Loading indicator for search */
.docu-search-loading {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: docu-search-spin 1s linear infinite;
    display: none;
}

@keyframes docu-search-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Empty state styling */
.docu-search-empty {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* Error state styling */
.docu-search-error {
    padding: 15px;
    text-align: center;
    color: #dc3545;
    background-color: #f8d7da;
    border-radius: 4px;
    margin-top: 5px;
}

@media (min-width: 992px) {
    .docu-search-container {
        max-width: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .docu-search-container {
        max-width: 100%;
        width: 100%;
    }
}

.badge-outline-kdpchamp {
    color: #4C52BD;
    background-color: transparent;
    border: 1px solid #4C52BD;
    color: #4C52BD !important;
}

.badge-outline-kdpchamp-dark {
    color: #fff;
    background-color: transparent;
    border: 1px solid #4C52BD;
    color: #fff !important;
}


.dropdown-item.active:not(.multiselect-option):not(.multiselect-all):not(.secondary-accounts-dropdown), .dropdown-item:active:not(.multiselect-option):not(.multiselect-all):not(.secondary-accounts-dropdown) {
    background-color: #E3E2FF;
    color: #000;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.8);
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #4C52BD !important;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #4C52BD !important;
}

.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.hover {
    color: #4C52BD !important;
}

.navbar-light .navbar-nav .show > .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
    color: #4C52BD !important;
}

.shine-effect {
  position: relative;
  overflow: hidden;
  text-transform: none; /* Override uppercase if needed */
}

.shine-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
      90deg, 
      rgba(255,255,255,0) 0%, 
      rgba(255,255,255,0.5) 50%, 
      rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: shine-animation 2s infinite;
}
@keyframes shine-animation {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.border_kdpchamp {
    border: 1px solid #878FF573 !important;
}


.book-cover-3d {
    /* width: 120px;
    height: 180px; */
    border-radius: 6px;
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.12),
        0 1px 2px rgba(0,0,0,0.24),
        -5px 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: perspective(1000px) rotateY(-25deg);
    object-fit: contain;
}

.book-cover-3d:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-5px);
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.15),
        0 2px 4px rgba(0,0,0,0.3),
        -8px 0 15px rgba(0,0,0,0.15);
}

.fa-down-trend::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url('/static/icons/down-trend.svg');
  mask: url('/static/icons/down-trend.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  vertical-align: -0.125em;
}

.fa-down-trend {
  color: inherit;
}


.fa-info-square::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url('/static/icons/info-square.svg');
  mask: url('/static/icons/info-square.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.fa-info-square {
  color: inherit;
  cursor: help;
}

.fa-grip-vertical {
    cursor: grab !important;
}

.fa-grip-vertical:active {
    cursor: grabbing !important;
}

.fa-lower {
    vertical-align: -0.125em;
}


.fa-up-trend::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url('/static/icons/up-trend.svg');
  mask: url('/static/icons/up-trend.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  vertical-align: -0.125em;
}

.fa-up-trend {
  color: inherit;
}

:root {
  --chart-height: 500px;
}

@media (min-width: 576px) {
  :root {
    --chart-height: 400px;
  }
}

@media (min-width: 768px) {
  :root {
    --chart-height: 340px;
  }
}


.fa-wifi-solid-slash {
  color: inherit;
}

.fa-wifi-solid-slash::before {
  content: "";
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  background-color: currentColor;
  -webkit-mask: url('/static/icons/wifi-solid-slash.svg');
  mask: url('/static/icons/wifi-solid-slash.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  vertical-align: -0.125em;
}

.ana2024-loader-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(0, 0, 0, 0.04) 6px,
        rgba(0, 0, 0, 0.04) 7px
    );
    background-size: 10px 10px;
    animation: stripeScroll 0.8s linear infinite;
}

.bg-dark-transparent::before {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 6px,
        rgba(255, 255, 255, 0.04) 6px,
        rgba(255, 255, 255, 0.04) 7px
    );
    background-size: 10px 10px;
}

@keyframes stripeScroll {
    0% { background-position: 0 0; }
    100% { background-position: 10px 10px; }
}


.widget-graph-select {
    border-radius: 20px !important;
}


.fa-dashboard-square::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url('/static/icons/dashboard-square.svg');
  mask: url('/static/icons/dashboard-square.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.fa-dashboard-square {
  color: inherit;
}

.popover-header {
  color: #363B3F;
}

.popover-body {
  color: #363B3F !important;
}

#flame-icon {
  color: #ff6a00 !important;
  margin-left: 6px;
  animation: flame-pulse 0.7s infinite alternate ease-in-out;
}

@keyframes flame-pulse {
  from { transform: scale(0.95); opacity: 0.8; }
  to   { transform: scale(1.1); opacity: 1; }
}


.champ-select-picker-btn {
    padding: 0.375rem 0.75rem !important
}

.topbar-feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.24rem 0.64rem !important;
  border-radius: 999px;
  border: 1px solid rgba(135, 143, 245, 0.42) !important;
  background: linear-gradient(180deg, rgba(135, 143, 245, 0.14), rgba(135, 143, 245, 0.06));
  color: #4d55c7 !important;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.01em;
  transition: all 0.16s ease;
}

.topbar-feature-btn:hover,
.topbar-feature-btn:focus {
  color: #3f46ad !important;
  border-color: rgba(135, 143, 245, 0.65) !important;
  background: linear-gradient(180deg, rgba(135, 143, 245, 0.2), rgba(135, 143, 245, 0.1));
  text-decoration: none;
  transform: translateY(-1px);
}

.topbar-feature-btn .topbar-feature-icon {
  color: #4d55c7;
  font-size: 0.7rem;
}

.topbar-feature-btn-dark {
  border-color: #3c4043 !important;
  background: linear-gradient(180deg, rgba(46, 49, 63, 0.95), rgba(26, 33, 38, 0.95));
  color: #e6e9f7 !important;
}

.topbar-feature-btn-dark:hover,
.topbar-feature-btn-dark:focus {
  color: #ffffff !important;
  border-color: #6d7289 !important;
  background: linear-gradient(180deg, rgba(43, 53, 60, 0.97), rgba(26, 33, 38, 0.97));
}

.topbar-feature-btn-dark .topbar-feature-icon {
  color: #cdd2ff;
}

/* Keep the desktop topbar usable when it is rendered at phone widths. */
@media (max-width: 575.98px) {
  .navbar.topbar {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .navbar.topbar #sidebarToggleTop {
    flex: 0 0 2.5rem;
    margin-right: 0.25rem !important;
  }

  .navbar.topbar > .navbar-nav {
    min-width: 0;
  }

  /* The trailing actions include logout, so they must not be pushed off-screen. */
  .navbar.topbar > .navbar-nav.ml-auto {
    flex-shrink: 0;
  }

  /* These wide desktop controls are already omitted for detected mobile UAs.
     The media query also covers phones requesting the desktop site. */
  .navbar.topbar .topbar-feature-btn,
  .navbar.topbar .cd-settings-btn {
    display: none !important;
  }

  .navbar.topbar .topbar-divider {
    display: none !important;
  }

  .navbar.topbar .nav-item .nav-link {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

.multiselect-container .dashboard-filter-reset-item {
  margin: 0;
}

.multiselect-container .dashboard-filter-reset-btn {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #4c52bd !important;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 6px 10px !important;
}

.multiselect-container .dashboard-filter-reset-btn:hover {
  background: rgba(118, 114, 251, 0.08);
  color: #4c52bd !important;
}

/* Reuse the Publisher Champ SVG icon family in the legacy mobile bottom bar. */
#bottom_nav_bar i.fas {
  background-color: currentColor;
  display: inline-block;
  font-size: 0 !important;
  height: 20px;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  vertical-align: middle;
  width: 20px;
}

#bottom_nav_bar i.fas::before {
  content: none !important;
}

#bottom_nav_bar .fa-tachometer-alt {
  -webkit-mask-image: url('/static/assets/icons/mobile-dashboard.svg');
  mask-image: url('/static/assets/icons/mobile-dashboard.svg');
}

#bottom_nav_bar .fa-scroll {
  -webkit-mask-image: url('/static/assets/icons/mobile-logs.svg');
  mask-image: url('/static/assets/icons/mobile-logs.svg');
}

#bottom_nav_bar .fa-chart-bar {
  -webkit-mask-image: url('/static/assets/icons/mobile-book-stats.svg');
  mask-image: url('/static/assets/icons/mobile-book-stats.svg');
}

#bottom_nav_bar .fa-ad {
  -webkit-mask-image: url('/static/assets/icons/mobile-ads.svg');
  mask-image: url('/static/assets/icons/mobile-ads.svg');
}

/* Page-shaped loading states used during server-rendered navigation. */
.pc-page-skeleton-overlay {
  --pc-skeleton-base: #e5e7eb;
  --pc-skeleton-highlight: #f1efff;
  --pc-skeleton-surface: #ffffff;
  --pc-skeleton-border: rgba(63, 68, 83, 0.09);
  --pc-skeleton-sidebar-width: 0px;
  background: #f6f6f6;
  bottom: 0;
  box-sizing: border-box;
  display: block;
  left: var(--pc-skeleton-sidebar-width);
  opacity: 1;
  overflow: hidden auto;
  padding: clamp(1rem, 2.5vw, 2.5rem);
  position: fixed;
  right: 0;
  top: 0;
  width: auto;
  height: auto;
  z-index: 2147483000 !important;
}

.pc-page-skeleton-overlay--delayed {
  animation: pc-skeleton-overlay-reveal 0.16s ease 0.12s forwards;
  opacity: 0;
}

body:has(#accordionSidebar) .pc-page-skeleton-overlay {
  --pc-skeleton-sidebar-width: 14rem;
}

#loadingDiv.pc-page-skeleton-overlay {
  align-items: initial;
  background-color: #f6f6f6;
  bottom: 0;
  display: block;
  height: auto;
  justify-content: initial;
  left: var(--pc-skeleton-sidebar-width);
  padding: clamp(1rem, 2.5vw, 2.5rem);
  position: fixed;
  right: 0;
  text-align: initial;
  top: 0;
  width: auto;
  z-index: 2147483000 !important;
}

html.page-skeleton-active #content-wrapper,
body:has(#loadingDiv.pc-page-skeleton-overlay--initial) #content-wrapper {
  visibility: hidden !important;
}

.pc-page-skeleton-overlay--dark,
body.bg-dark .pc-page-skeleton-overlay {
  --pc-skeleton-base: #34384a;
  --pc-skeleton-highlight: #4b4967;
  --pc-skeleton-surface: #282b3a;
  --pc-skeleton-border: rgba(255, 255, 255, 0.07);
  background: #202331;
}

#loadingDiv.pc-page-skeleton-overlay--dark,
body.bg-dark #loadingDiv.pc-page-skeleton-overlay {
  background-color: #202331;
}

.pc-skeleton {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1600px;
  width: 100%;
}

.pc-skeleton__header,
.pc-skeleton__topbar,
.pc-skeleton__toolbar,
.pc-skeleton__cards,
.pc-skeleton__charts,
.pc-skeleton__form {
  display: grid;
  gap: 1rem;
}

.pc-skeleton__topbar {
  align-items: center;
  background: var(--pc-skeleton-surface);
  border: 1px solid var(--pc-skeleton-border);
  border-radius: 0.6rem;
  grid-template-columns: auto minmax(8rem, 14rem) 1fr auto;
  margin-bottom: 1.25rem;
  min-height: 4rem;
  padding: 0.75rem 1rem;
}

.pc-skeleton__avatar,
.pc-skeleton__cover {
  animation: pc-skeleton-shimmer 1.45s ease-in-out infinite;
  background: linear-gradient(90deg, var(--pc-skeleton-base) 20%, var(--pc-skeleton-highlight) 38%, var(--pc-skeleton-base) 58%);
  background-size: 240% 100%;
  display: block;
}

.pc-skeleton__avatar {
  border-radius: 50%;
  height: 2.25rem;
  width: 2.25rem;
}

.pc-skeleton__avatar--small {
  height: 1.8rem;
  width: 1.8rem;
}

.pc-skeleton__line--account { height: 0.85rem; width: 72%; }
.pc-skeleton__line--topbar-action { height: 0.7rem; justify-self: end; width: min(10rem, 45%); }

.pc-skeleton__header {
  align-items: center;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(7rem, 0.12fr);
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.pc-skeleton__toolbar {
  grid-template-columns: minmax(10rem, 1.5fr) minmax(10rem, 1fr) minmax(7rem, 0.55fr);
  margin-bottom: 1.25rem;
}

.pc-skeleton__cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.pc-skeleton__charts {
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.85fr);
  margin-bottom: 1.25rem;
}

.pc-skeleton__form {
  background: var(--pc-skeleton-surface);
  border: 1px solid var(--pc-skeleton-border);
  border-radius: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1.5rem;
}

.pc-skeleton__field {
  display: grid;
  gap: 0.6rem;
}

.pc-skeleton__card,
.pc-skeleton__panel,
.pc-skeleton__table {
  background: var(--pc-skeleton-surface);
  border: 1px solid var(--pc-skeleton-border);
  border-radius: 0.6rem;
  box-shadow: 0 0.25rem 0.75rem rgba(32, 35, 49, 0.04);
}

.pc-skeleton__card {
  display: grid;
  gap: 0.75rem;
  min-height: 8.5rem;
  padding: 1.2rem;
  position: relative;
}

.pc-skeleton__card::before {
  background: rgba(118, 114, 251, 0.16);
  border-radius: 50%;
  content: "";
  height: 2.2rem;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 2.2rem;
}

.pc-skeleton__panel {
  min-height: 19rem;
  position: relative;
}

.pc-skeleton__chart-line {
  background-color: var(--pc-skeleton-surface);
  background-image:
    linear-gradient(var(--pc-skeleton-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--pc-skeleton-border) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%;
}

.pc-skeleton__chart-line::after {
  background: linear-gradient(to top right, transparent 47%, var(--pc-skeleton-base) 49%, var(--pc-skeleton-base) 52%, transparent 54%);
  border-bottom: 1px solid var(--pc-skeleton-border);
  bottom: 2.2rem;
  content: "";
  left: 1.5rem;
  opacity: 0.72;
  position: absolute;
  right: 1.5rem;
  top: 3.2rem;
}

.pc-skeleton__chart-donut::before {
  background: conic-gradient(
    var(--pc-skeleton-base) 0 28%,
    var(--pc-skeleton-highlight) 28% 52%,
    var(--pc-skeleton-base) 52% 78%,
    var(--pc-skeleton-highlight) 78% 100%
  );
  border-radius: 50%;
  content: "";
  height: 9rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9rem;
}

.pc-skeleton__chart-donut::after {
  background: var(--pc-skeleton-surface);
  border-radius: 50%;
  content: "";
  height: 4.8rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.8rem;
}

.pc-skeleton__chart-bars {
  align-items: end;
  display: flex;
  gap: clamp(0.45rem, 1vw, 0.9rem);
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
}

.pc-skeleton__chart-bars span {
  animation: pc-skeleton-bars 1.6s ease-in-out infinite alternate;
  background: linear-gradient(180deg, rgba(118, 114, 251, 0.72), rgba(118, 114, 251, 0.18));
  border-radius: 0.35rem 0.35rem 0 0;
  display: block;
  height: 42%;
  max-width: 2.2rem;
  width: 11%;
}

.pc-skeleton__chart-bars span:nth-child(2) { height: 68%; animation-delay: -0.25s; }
.pc-skeleton__chart-bars span:nth-child(3) { height: 51%; animation-delay: -0.5s; }
.pc-skeleton__chart-bars span:nth-child(4) { height: 82%; animation-delay: -0.75s; }
.pc-skeleton__chart-bars span:nth-child(5) { height: 62%; animation-delay: -1s; }
.pc-skeleton__chart-bars span:nth-child(6) { height: 74%; animation-delay: -1.25s; }
.pc-skeleton__chart-bars span:nth-child(7) { height: 48%; animation-delay: -1.5s; }

.pc-skeleton__line,
.pc-skeleton__input,
.pc-skeleton__table-header,
.pc-skeleton__table-row span {
  animation: pc-skeleton-shimmer 1.45s ease-in-out infinite;
  background: linear-gradient(90deg, var(--pc-skeleton-base) 20%, var(--pc-skeleton-highlight) 38%, var(--pc-skeleton-base) 58%);
  background-size: 240% 100%;
  border-radius: 999px;
  display: block;
}

.pc-skeleton__line--title { height: 1.65rem; width: min(18rem, 86%); }
.pc-skeleton__line--action { height: 2.25rem; justify-self: end; width: 8rem; }
.pc-skeleton__line--label { height: 0.72rem; width: 44%; }
.pc-skeleton__line--value { height: 1.8rem; width: 66%; }
.pc-skeleton__line--meta { height: 0.65rem; width: 52%; }
.pc-skeleton__input { border-radius: 0.4rem; height: 2.5rem; }
.pc-skeleton__input--short { max-width: 11rem; }

.pc-skeleton__table {
  overflow: hidden;
  padding: 1rem;
}

.pc-skeleton__table-header {
  border-radius: 0.35rem;
  height: 2.6rem;
  margin-bottom: 0.35rem;
}

.pc-skeleton__table-row {
  border-bottom: 1px solid var(--pc-skeleton-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  padding: 1rem 0.5rem;
}

.pc-skeleton__table-row:last-child { border-bottom: 0; }
.pc-skeleton__table-row span { height: 0.75rem; }
.pc-skeleton__table-row:nth-child(2n) span:nth-child(1) { width: 82%; }
.pc-skeleton__table-row:nth-child(3n) span:nth-child(2) { width: 64%; }
.pc-skeleton__table-row:nth-child(2n + 1) span:nth-child(3) { width: 76%; }
.pc-skeleton__table-row span:nth-child(4) { justify-self: end; width: 58%; }

.pc-skeleton__books {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pc-skeleton__book {
  align-items: center;
  background: var(--pc-skeleton-surface);
  border: 1px solid var(--pc-skeleton-border);
  border-radius: 0.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  min-width: 0;
  padding: 0.9rem;
}

.pc-skeleton__cover {
  aspect-ratio: 2 / 3;
  border-radius: 0.3rem;
  width: 100%;
}

.pc-skeleton__book-copy {
  display: grid;
  gap: 0.7rem;
}

.pc-skeleton__line--book-title { height: 0.9rem; width: 88%; }
.pc-skeleton__line--book-author { height: 0.68rem; width: 62%; }
.pc-skeleton__line--book-meta { height: 0.6rem; width: 44%; }

.pc-skeleton__card:nth-child(2) .pc-skeleton__line,
.pc-skeleton__book:nth-child(2n) .pc-skeleton__line { animation-delay: -0.18s; }
.pc-skeleton__card:nth-child(3) .pc-skeleton__line,
.pc-skeleton__book:nth-child(3n) .pc-skeleton__line { animation-delay: -0.36s; }
.pc-skeleton__card:nth-child(4) .pc-skeleton__line,
.pc-skeleton__book:nth-child(4n) .pc-skeleton__line { animation-delay: -0.54s; }

@keyframes pc-skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@keyframes pc-skeleton-overlay-reveal {
  to { opacity: 1; }
}

@keyframes pc-skeleton-bars {
  from { filter: saturate(0.82); transform: scaleY(0.94); transform-origin: bottom; }
  to { filter: saturate(1.08); transform: scaleY(1.02); transform-origin: bottom; }
}

@media (max-width: 991.98px) {
  .pc-skeleton__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-skeleton__books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-skeleton__charts { grid-template-columns: 1fr; }
  .pc-skeleton__panel { min-height: 15rem; }
}

@media (max-width: 767.98px) {
  body:has(#accordionSidebar) .pc-page-skeleton-overlay { --pc-skeleton-sidebar-width: 6.5rem; }
  .pc-skeleton__toolbar,
  .pc-skeleton__form { grid-template-columns: 1fr; }
}

/*
 * sb-admin collapses the phone sidebar from JavaScript after the document has
 * rendered. Match that state while the server-rendered initial skeleton is
 * present so neither the sidebar nor its reserved rail is painted before
 * sb-admin-2.js runs. Scoping this to the initial loader leaves the existing
 * hamburger and resize states unchanged after the page is ready.
 */
@media (max-width: 479.98px) {
  body:has(#loadingDiv.pc-page-skeleton-overlay--initial):not(.sidebar-toggled) #accordionSidebar {
    overflow: hidden;
    width: 0 !important;
  }

  body:has(#loadingDiv.pc-page-skeleton-overlay--initial):not(.sidebar-toggled):has(#accordionSidebar) .pc-page-skeleton-overlay {
    --pc-skeleton-sidebar-width: 0px;
  }
}

@media (max-width: 575.98px) {
  .pc-skeleton__cards { grid-template-columns: 1fr; }
  .pc-skeleton__header { grid-template-columns: 1fr; }
  .pc-skeleton__line--action { display: none; }
  .pc-skeleton__card:nth-child(n + 3) { display: none; }
  .pc-skeleton__books { grid-template-columns: 1fr; }
  .pc-skeleton__book:nth-child(n + 5) { display: none; }
  .pc-skeleton__topbar { grid-template-columns: auto minmax(5rem, 1fr) auto; }
  .pc-skeleton__line--topbar-action { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pc-skeleton__line,
  .pc-skeleton__input,
  .pc-skeleton__avatar,
  .pc-skeleton__cover,
  .pc-skeleton__table-header,
  .pc-skeleton__table-row span,
  .pc-skeleton__chart-bars span {
    animation: none;
  }
  .pc-page-skeleton-overlay--delayed { animation: none; opacity: 1; }
}

/* Keep a changed optional filter visually distinct until it is reset. */
.pc-extra-filter-active .multiselect.dropdown-toggle,
.pc-extra-filter-active .champ-select-picker-btn,
.pc-extra-filter-active select.form-control {
  border-color: rgba(118, 114, 251, 0.7) !important;
  box-shadow: 0 0 0 0.14rem rgba(118, 114, 251, 0.14) !important;
}

.multiselect-container .pc-extra-filter-locked {
  cursor: help;
}

.multiselect-container .pc-extra-filter-locked label {
  cursor: help;
}

.multiselect-container .pc-extra-filter-locked input {
  pointer-events: none;
}

.multiselect-container .pc-extra-filter-locked label::after {
  color: #7672fb;
  content: "\f023";
  font-family: "Font Awesome 5 Free";
  font-size: 0.7rem;
  font-weight: 900;
  margin-left: 0.45rem;
  opacity: 0.75;
}

.pc-active-extra-filter-tooltip {
  background: rgba(38, 42, 56, 0.96);
  border-radius: 0.3rem;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.3;
  max-width: 230px;
  padding: 0.42rem 0.58rem;
  pointer-events: none;
  position: fixed;
  text-align: left;
  z-index: 1000002;
}
