/* Reset and Base Styles */

/* some effect on side issue css Start */
/* -------- visiblility hidden larimar menu logo in kpi dashboard -------- */

/* visiblility hidden larimar menu logo in kpi dashboard */

.kpiBoard .elementor-element.elementor-element-ba886e7.e-con-full.e-flex.e-con.e-child {
    visibility: hidden;
}

/* ::-webkit-scrollbar {
    width: 10px;
}


::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}


::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
} */

/* some effect on side issue css end */

:root {
    --primary-color: #339FCD;
    --secondary-color: #13264A;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4cc9f0;
    --warning-color: #f8961e;
    --danger-color: #f72585;
    --primary-blue: #4285F4;
    --primary-purple: #6f42c1;
    --primary-green: #28A745;
    --primary-orange: #FD7E14;
    --sidebar-width: 200px;
    --sidebar-collapsed-width: 100px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
.text-left {
    text-align: left !important;
}

.border-radius-1 {
    border-radius: 5px;
}

.border-radius-2 {
    border-radius: 10px;
}

.kpi-text-primary-color {
    color: var(--primary-color);
}

.kpi-card-blue {
    border-top: 4px solid var(--primary-blue);
}

.kpi-card-purple {
    border-top: 4px solid var(--primary-purple);
}

.kpi-card-green {
    border-top: 4px solid var(--primary-green);
}

.kpi-card-orange {
    border-top: 4px solid var(--primary-orange);
}

.kpi-text-secondary-color {
    color: var(--secondary-color);
}

.bg-larimar-gradient {
    background: linear-gradient(145deg, rgba(19, 38, 74, 1) 0%, rgba(51, 159, 205, 1) 100%);
}

.bg-primary {
    background-color: #13264A !important;
}

.bg-secondary {
    background-color: #339FCD !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* Base flex classes */
.d-flex {
    display: flex;
    justify-content: start;
    align-items: start;
}

.flex-0 {
    flex: 0 !important;
}

.px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.m-auto {
    margin: 0 auto !important;
}

.p-0 {
    padding: 0 !important;
}

.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}




.m-0 {
    margin: 0 !important;
}



.mb-0 {
    margin-bottom: 0px !important;
}

.mb-1 {
    margin-bottom: 10px !important;
}

.mb-2 {
    margin-bottom: 20px !important;
}

.mb-3 {
    margin-bottom: 30px !important;
}

.mb-4 {
    margin-bottom: 40px !important;
}

.mb-5 {
    margin-bottom: 50px !important;
}




.mt-0 {
    margin-top: 0px !important;
}

.mt-1 {
    margin-top: 10px !important;
}

.mt-2 {
    margin-top: 20px !important;
}

.mt-3 {
    margin-top: 30px !important;
}

.mt-4 {
    margin-top: 40px !important;
}

.mt-5 {
    margin-top: 50px !important;
}


.ml-0 {
    margin-left: 0px !important;
}

.ml-1 {
    margin-left: 10px !important;
}

.ml-2 {
    margin-left: 20px !important;
}

.ml-3 {
    margin-left: 30px !important;
}

.ml-4 {
    margin-left: 40px !important;
}

.ml-5 {
    margin-left: 50px !important;
}

.mr-0 {
    margin-right: 0px !important;
}

.mr-1 {
    margin-right: 10px !important;
}

.mr-2 {
    margin-right: 20px !important;
}

.mr-3 {
    margin-right: 30px !important;
}

.mr-4 {
    margin-right: 40px !important;
}

.mr-5 {
    margin-right: 50px !important;
}

.w-100 {
    width: 100% !important;
}

.w-50 {
    width: 50% !important;
}

.gap-1 {
    gap: 10px;
}

.gap-2 {
    gap: 20px;
}

.kpi-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}


.h-100 {
    height: 100%;
}

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

/* Justify Content Utilities */
.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-start {
    justify-content: start;
}

.justify-content-end {
    justify-content: end;
}

.justify-content-around {
    justify-content: space-around;
}

.justify-content-evenly {
    justify-content: space-evenly;
}

/* Align Items Utilities */
.align-items-center {
    align-items: center !important;
}

.align-items-start {
    align-items: start !important;
}

.align-items-end {
    align-items: end !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

.align-items-baseline {
    align-items: baseline;
}

/* Flex Direction Utilities */
.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-row-reverse {
    flex-direction: row-reverse !important;
}

.flex-column-reverse {
    flex-direction: column-reverse;
}

/* Flex Wrap Utilities */
.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-nowrap {
    flex-wrap: nowrap !important;
}

/* Responsive Display Classes */
/* Mobile First Approach - Default (xs) */
.d-none {
    display: none;
}

.d-flex {
    display: flex !important;
}

.box-shadow-none {
    box-shadow: none !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    .d-sm-flex {
        display: flex !important;
    }

    .d-sm-none {
        display: none !important;
    }

    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 70% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }
    .justify-content-sm-between {
        justify-content: space-between !important;
    }

    .justify-content-sm-center {
        justify-content: center !important;
    }

    .justify-content-sm-start {
        justify-content: start !important;
    }

    .justify-content-sm-end {
        justify-content: end !important;
    }

    .mr-sm-0 {
        margin-right: 0px !important;
    }

    .mr-sm-1 {
        margin-right: 10px !important;
    }

    .mr-sm-2 {
        margin-right: 20px !important;
    }

    .mr-sm-3 {
        margin-right: 30px !important;
    }

    .mr-sm-4 {
        margin-right: 40px !important;
    }

    .mr-sm-5 {
        margin-right: 50px !important;
    }

    .ml-sm-0 {
        margin-left: 0px !important;
    }

    .ml-sm-1 {
        margin-left: 10px !important;
    }

    .ml-sm-2 {
        margin-left: 20px !important;
    }

    .ml-sm-3 {
        margin-left: 30px !important;
    }

    .ml-sm-4 {
        margin-left: 40px !important;
    }

    .ml-sm-5 {
        margin-left: 50px !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 70% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }
    .ml-md-0 {
        margin-left: 0px !important;
    }

    .ml-md-1 {
        margin-left: 10px !important;
    }

    .ml-md-2 {
        margin-left: 20px !important;
    }

    .ml-md-3 {
        margin-left: 30px !important;
    }

    .ml-md-4 {
        margin-left: 40px !important;
    }

    .ml-md-5 {
        margin-left: 50px !important;
    }

    .mr-md-0 {
        margin-left: 0px !important;
    }

    .mr-md-1 {
        margin-left: 10px !important;
    }

    .mr-md-2 {
        margin-right: 20px !important;
    }

    .mr-md-3 {
        margin-right: 30px !important;
    }

    .mr-md-4 {
        margin-right: 40px !important;
    }

    .mr-md-5 {
        margin-right: 50px !important;
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    .mb-lg-0 {
        margin-bottom: 0px !important;
    }

    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 70% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }
    .ml-lg-0 {
        margin-left: 0px !important;
    }

    .ml-lg-1 {
        margin-left: 10px !important;
    }

    .ml-lg-2 {
        margin-left: 20px !important;
    }

    .ml-lg-3 {
        margin-left: 30px !important;
    }

    .ml-lg-4 {
        margin-left: 40px !important;
    }

    .ml-lg-5 {
        margin-left: 50px !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .d-lg-none {
        display: none !important;
    }

    /* LG Justify Content */
    .justify-content-lg-between {
        justify-content: space-between !important;
    }

    .justify-content-lg-center {
        justify-content: center !important;
    }

    .justify-content-lg-start {
        justify-content: start !important;
    }

    .justify-content-lg-end {
        justify-content: end !important;
    }

    /* LG Align Items */
    .align-items-lg-center {
        align-items: center !important;
    }

    .align-items-lg-start {
        align-items: start !important;
    }

    .align-items-lg-end {
        align-items: end !important;
    }

    /* LG Flex Direction */
    .flex-lg-row {
        flex-direction: row !important;
    }

    .flex-lg-column {
        flex-direction: column !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .mb-xl-0 {
        margin-bottom: 0px !important;
    }

    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 70% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }


    .d-xl-flex {
        display: flex !important;
    }

    .d-xl-none {
        display: none !important;
    }

    /* XL Utilities */
    .justify-content-xl-between {
        justify-content: space-between !important;
    }

    .align-items-xl-center {
        align-items: center !important;
    }
}

/* Base mobile-first styles (xs) */
.fs-1 {
    font-size: 10px !important;
}

.fs-2 {
    font-size: 20px !important;
}

.fs-3 {
    font-size: 30px !important;
}

.fs-4 {
    font-size: 40px !important;
}

.fs-5 {
    font-size: 50px !important;
}

.fs-6 {
    font-size: 60px !important;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .mb-md-0 {
        margin-bottom: 0px !important;
    }

    .mb-md-1 {
        margin-bottom: 10px !important;
    }

    .mb-md-2 {
        margin-bottom: 20px !important;
    }

    .mb-md-3 {
        margin-bottom: 30px !important;
    }

    .mb-md-4 {
        margin-bottom: 40px !important;
    }

    .mb-md-5 {
        margin-bottom: 50px !important;
    }

    .mt-md-0 {
        margin-top: 0px !important;
    }

    .mt-md-1 {
        margin-top: 10px !important;
    }

    .mt-md-2 {
        margin-top: 20px !important;
    }

    .mt-md-3 {
        margin-top: 30px !important;
    }

    .mt-md-4 {
        margin-top: 40px !important;
    }

    .mt-md-5 {
        margin-top: 50px !important;
    }



    .d-md-flex {
        display: flex !important;
    }

    .d-md-none {
        display: none !important;
    }

    /* MD Justify Content */
    .justify-content-md-between {
        justify-content: space-between !important;
    }

    .justify-content-md-center {
        justify-content: center !important;
    }

    .justify-content-md-start {
        justify-content: start !important;
    }

    .justify-content-md-end {
        justify-content: end !important;
    }

    /* MD Align Items */
    .align-items-md-center {
        align-items: center !important;
    }

    .align-items-md-start {
        align-items: start !important;
    }

    .align-items-md-end {
        align-items: end !important;
    }

    /* MD Flex Direction */
    .flex-md-row {
        flex-direction: row !important;
    }

    .flex-md-column {
        flex-direction: column !important;
    }

    .fs-md-1 {
        font-size: 10px !important;
    }

    .fs-md-2 {
        font-size: 20px !important;
    }

    .fs-md-3 {
        font-size: 30px !important;
    }

    .fs-md-4 {
        font-size: 40px !important;
    }

    .fs-md-5 {
        font-size: 50px !important;
    }

    .fs-md-6 {
        font-size: 60px !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .mt-lg-0 {
        margin-top: 0px !important;
    }

    .fs-lg-1 {
        font-size: 10px !important;
    }

    .fs-lg-2 {
        font-size: 20px !important;
    }

    .fs-lg-3 {
        font-size: 30px !important;
    }

    .fs-lg-4 {
        font-size: 40px !important;
    }

    .fs-lg-5 {
        font-size: 50px !important;
    }

    .fs-lg-6 {
        font-size: 60px !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .fs-xl-1 {
        font-size: 10px !important;
    }

    .fs-xl-2 {
        font-size: 20px !important;
    }

    .fs-xl-3 {
        font-size: 30px !important;
    }

    .fs-xl-4 {
        font-size: 40px !important;
    }

    .fs-xl-5 {
        font-size: 50px !important;
    }

    .fs-xl-6 {
        font-size: 60px !important;
    }
}

/* XXL devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .fs-xxl-1 {
        font-size: 10px !important;
    }

    .fs-xxl-2 {
        font-size: 20px !important;
    }

    .fs-xxl-3 {
        font-size: 30px !important;
    }

    .fs-xxl-4 {
        font-size: 40px !important;
    }

    .fs-xxl-5 {
        font-size: 50px !important;
    }

    .fs-xxl-6 {
        font-size: 60px !important;
    }
}



/* Custom Progress Bar Styles */
.progress-container {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.progress-bar {
    height: 8px;
    background-color: #E4E6EB;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease-in-out;
}

/* Progress Bar Colors */
.progress-primary .progress-fill {
    background-color: var(--primary-color);
}

.progress-secondary .progress-fill {
    background-color: var(--secondary-color);
}

.progress-warning .progress-fill {
    background-color: var(--warning-color);
}

.progress-danger .progress-fill {
    background-color: var(--danger-color);
}

.progress-info .progress-fill {
    background-color: var(--info-color);
}

/* Progress Bar Sizes */
.progress-sm .progress-bar {
    height: 6px;
}

.progress-lg .progress-bar {
    height: 12px;
}

.progress-xl .progress-bar {
    height: 16px;
}

/* Progress Bar with Animation */
.progress-animated .progress-fill {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0.3) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Progress Bar with Stripes */
.progress-striped .progress-fill {
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 75%,
            transparent);
    background-size: 1rem 1rem;
}

.progress-striped.progress-animated .progress-fill {
    animation:
        shimmer 2s infinite,
        progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
    0% {
        background-position: 1rem 0;
    }

    100% {
        background-position: 0 0;
    }
}




/* All skeleton css for different Cards css start */

/* Skeleton Loader Styles */
.kpi-card-skeleton {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
}

.skeleton-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
}

.skeleton-text {
    height: 16px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.skeleton-title {
    width: 70%;
    margin: 0 auto 20px;
}

.skeleton-value {
    width: 40%;
    height: 32px;
    margin: 0 auto;
}



/* Animation */
/* .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
} */

/* All skeleton css for different Cards css end */



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f5f7fa;
    color: var(--dark-color);
}

.site-main {
    background-color: #339fcd12;
}

.page-id-14627 .site-main {
    max-width: 100%;
}




/* KPI Container (like Bootstrap's container) */
.kpi-container {
    width: 100%;
    /* max-width: 1440px; */
    padding-right: 25px;
    padding-left: 25px;
    margin-right: auto;
    margin-left: auto;
}

/* Responsive Breakpoints */
@media (max-width: 1399.98px) {
    .kpi-container {
        max-width: 1320px;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 1199.98px) {
    .kpi-container {
        max-width: 1140px;
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 991.98px) {
    .kpi-container {
        max-width: 960px;
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-width: 767.98px) {
    .kpi-container {
        max-width: 720px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .hide-on-mobile {
        display: none !important;
    }

    /* .hide-on-mobile+.custom-tooltip {
        display: none !important;
    }

    .hide-on-mobile {
        pointer-events: none;
    } */
}

@media (max-width: 575.98px) {
    .kpi-container {
        max-width: 540px;
        padding-right: 10px;
        padding-left: 10px;
    }
}

.border-r-1 {
    border-radius: 10px;
}

.text-white {
    color: #fff !important;
}

.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0px 10px 1px !important;
}

.p-2 {
    padding: 0px 20px 2px !important;
}

/* KPI Grid System (like Bootstrap's row/col) */
.kpi-flex {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.kpi-flex-item {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}


a.kpi-menu-item {
    color: #fff !important;
}


.kpi-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kpi-card-footer {
    display: flex;
    justify-content: end;
    margin: 0 20px 10px;
}

.kpi-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.kpi-card-body button.btn.btn-secondary.btn.btn-secondary {
    padding: 6px 15px;
    background: #13264a;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
}

.kpi-card-body .active.btn-primary {
    padding: 6px 15px;
    background: #000;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
}

.kpi-card-body .btn-secondary:hover {
    background: #339FCD;
    border-color: #339FCD;
}

.kpi-card-body {
    padding: 12px;
    flex: 1;
}

.kpi-card-value {
    font-size: 18px;
    font-weight: 500;
    text-wrap: nowrap;
}

/* Card Variations */
.kpi-card-primary {
    border-top: 4px solid var(--primary-color);
}

.kpi-card-success {
    border-top: 4px solid var(--success-color);
}

.kpi-card-warning {
    border-top: 4px solid var(--warning-color);
}

.kpi-card-danger {
    border-top: 4px solid var(--danger-color);
}

/* Chart Containers */
.kpi-chart-container {
    height: 200px;
    position: relative;
}

/* Status Indicators */
.kpi-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.kpi-status-success {
    background-color: var(--success-color);
}

.kpi-status-warning {
    background-color: var(--warning-color);
}

.kpi-status-danger {
    background-color: var(--danger-color);
}




table.fb-insta-graph-header td {
    border-color: #eee !important;
}

/* Column sizes */
/* Base column styles (mobile first - applies to all screens) */
[class*="kpi-col-"] {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Extra small devices (portrait phones, less than 576px) */
/* Default styles above already handle this */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .kpi-col-sm-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .kpi-col-sm-2 {
        flex: 0 0 16.667%;
        max-width: 16.667%;
    }

    .kpi-col-sm-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .kpi-col-sm-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .kpi-col-sm-5 {
        flex: 0 0 41.667%;
        max-width: 41.667%;
    }

    .kpi-col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .kpi-col-sm-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .kpi-col-sm-8 {
        flex: 0 0 66.667%;
        max-width: 66.667%;
    }

    .kpi-col-sm-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .kpi-col-sm-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .kpi-col-sm-11 {
        flex: 0 0 91.667%;
        max-width: 91.667%;
    }

    .kpi-col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .w-sm-50 {
        width: 50% !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .kpi-col-md-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .kpi-col-md-2 {
        flex: 0 0 16.667%;
        max-width: 16.667%;
    }

    .kpi-col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .kpi-col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .kpi-col-md-5 {
        flex: 0 0 41.667%;
        max-width: 41.667%;
    }

    .kpi-col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .kpi-col-md-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .kpi-col-md-8 {
        flex: 0 0 66.667%;
        max-width: 66.667%;
    }

    .kpi-col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .kpi-col-md-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .kpi-col-md-11 {
        flex: 0 0 91.667%;
        max-width: 91.667%;
    }

    .kpi-col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .kpi-col-lg {
        flex: 1 0;
    }

    .kpi-col-lg-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .kpi-col-lg-2 {
        flex: 0 0 16.667%;
        max-width: 16.667%;
    }

    .kpi-col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .kpi-col-lg-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .kpi-col-lg-5 {
        flex: 0 0 41.567%;
        max-width: 41.567%;
    }

    .kpi-col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .kpi-col-lg-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .kpi-col-lg-8 {
        flex: 0 0 66.667%;
        max-width: 66.667%;
    }

    .kpi-col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .kpi-col-lg-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .kpi-col-lg-11 {
        flex: 0 0 91.667%;
        max-width: 91.667%;
    }

    .kpi-col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .kpi-col-xl-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .kpi-col-xl-2 {
        flex: 0 0 16.667%;
        max-width: 16.667%;
    }

    .kpi-col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .kpi-col-xl-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .kpi-col-xl-5 {
        flex: 0 0 41.667%;
        max-width: 41.667%;
    }

    .kpi-col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .kpi-col-xl-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .kpi-col-xl-8 {
        flex: 0 0 66.667%;
        max-width: 66.667%;
    }

    .kpi-col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .kpi-col-xl-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .kpi-col-xl-11 {
        flex: 0 0 91.667%;
        max-width: 91.667%;
    }

    .kpi-col-xl-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}




.kpi-validation-connection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
}
.kpi-validation-connection p {
    text-align: center;
}

/* @media (max-width: 576px){
    .kpi-validation-connection {
       flex-direction: column;
        }

    .kpi-validation-connection p{
        text-align: center;
    }
} */

.kpi-das-validation-form {
    padding: 20px;
    border-radius: 10px;
}

.kpi-validation-connection .form-step h4 {
    color: #000 !important;
}

select.form-select,
input.form-control {
    border: 1px solid #D8D6DE !important;
    padding: 10px;
    border-radius: 5px !important;
    margin: 5px 0;
}


a.larimar-kpi-btn {
    background: #339FCD;
    display: inline-block;
    text-align: center;
    padding: 15px 20px;
    border-radius: 6px;
    margin: 10px 0;
    color: #fff !important;
    font-weight: 500;
}

button#nextStep,
.larimar-kpi-btn,
.btn.btn-secondary {
    border-radius: 7px !important;
}

button#nextStep:hover,
.btn.btn-secondary:hover {
    background: #339FCD;
    border-color: #339FCD;
}

.ga4-dashboard-container {
    display: grid;
    gap: 20px;
}

.ga4-kpi-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.ga4-kpi-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ga4-chart {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.ga4-daterange {
    margin-bottom: 20px;
}


/* GA */

.date-select {
    margin: 10px 0;
}

.date-select select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.kpi-tab p {
    font-size: 16px;
}

.pie-legends-vertical {
    display: block;
    position: relative;
}

.pie-legends-vertical .pl-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    padding-top: 8px;
}

.pie-legends-vertical .pl-item:not(:last-child) {
    border-bottom: 1px solid #D9D9D9;
}

.pie-legends-vertical .pl-item .pl-item-initial:first-child {
    flex-grow: 1;
    max-width: 65%;
}

.pie-legends-vertical .pl-legend-name {
    position: relative;
    font-size: 14px;
    color: #5e5e5e;
    font-weight: 400;
    display: flex;
    align-items: center;
    padding-left: 30px;
    line-height: normal;
}

.pie-legends-vertical .pl-legend-name:before {
    content: "";
    left: 0;
    background: var(--legend-color);
    height: 10px;
    position: absolute;
    display: block;
    width: 22px;
    margin-top: -1px;
}

.pie-legends-vertical .pl-item-nums {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
}

.return-user-card .comparison-dates-header {
    top: 50px;
}

.comparison-dates-header {
    position: relative;
    width: 100%;
    left: 0;
    top: 0;
}

.pie-legends-vertical .pl-num-lg {
    font-weight: 800;
    font-size: 24px;
    color: #333;
    line-height: normal;
}

.card {
    margin-bottom: 20px;
}


.kpi-grid-item.active .kpi-card-body {
    background: var(--primary-color);
}

.kpi-grid-item.active .kpi-card-title,
.kpi-grid-item.active i:before,
.kpi-grid-item.active .kpi-card-value {
    color: #fff;
}


.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.modern-table thead {
    background-color: #13264A;
    color: white;
    z-index: 2;
}

.modern-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.5px;
}

.modern-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

.modern-table tbody tr:hover {
    background-color: #f8f9ff;
}

.modern-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.modern-table tbody tr:nth-child(even):hover {
    background-color: #f0f4ff;
}


.elementor-kit-46 .layout_1 h2 {
    color: #000000 !important;
}

.alert-warning {
    color: #664d03;
    background: #fff3cd;
    border-color: #ffe69c;

}

.alert {
    position: relative;
    padding: 16px;
    margin-bottom: 16px;
    color: #664d03;
    background-color: #fff3cd;
    border: 1px solid #ffe69c;
    border-radius: 6px;
}

/* .nav-tab-wrapper {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
    scrollbar-width: none;
    padding: 10px 0 0 0;
    flex-wrap: wrap;
} */

.nav-tab-wrapper.table-responsive .nav-tab-container {
    display: flex;
    overflow: auto;
    padding: 10px 20px 0 0;
    overflow-y: hidden;
}

a.nav-tab {
    padding: 10px 20px;
    margin-right: 5px;
    color: #333;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    left: 10px;
    position: relative;
}

.gsc-tab-content .kpi-card-title {
    margin-bottom: 10px;
}

a.nav-tab.nav-tab-active {
    background: #fff;
    color: var(--secondary-color) !important;
    border-color: #ccc;
    font-weight: 600;
    border-bottom: 1px solid #fff;
    z-index: 1;
    position: relative;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
}

.custom-button {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 0.5em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
    font-size: 14px;
}

.refresh-btn {
    background-color: #f0f8ff;
    color: #0073aa;
    border: 1px solid #0073aa;
}

.refresh-btn:hover {
    background-color: #0073aa;
    color: #fff;
}

.disconnect-btn {
    background-color: #fff5f5;
    color: #d63638;
    border: 1px solid #d63638;
}

.disconnect-btn:hover {
    background-color: #d63638;
    color: #fff;
}

/* Dashboard Layout */
.kpi-dashboard {
    display: flex;
    min-height: 100vh;
}

.kpi-page-heading {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
    margin-top: 15px;
    line-height: 1;
}

/* Sidebar */
.kpi-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: fixed;
    /* height: calc(100vh - 537px) !important; */
    transition: all var(--transition-speed) ease;
    z-index: 999;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    top: 0;
    height: 100%;
    overflow-y: auto;
}


.kpi-sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.kpi-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-speed) ease;
}

.kpi-sidebar.collapsed .kpi-sidebar-header {
    justify-content: center;
    padding: 20px 10px;
}

.kpi-sidebar-title {
    white-space: nowrap;
    transition: opacity var(--transition-speed) ease;
}

.kpi-sidebar.collapsed .kpi-sidebar-title {
    opacity: 0;
    width: 0;
}

.kpi-sidebar-menu {
    padding: 20px 0 20px 0;
}

.kpi-submenu-item .kpi-menu-icon i {
    font-size: 12px;
}

.kpi-menu-item {
    padding: 8px 20px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}


.kpi-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.kpi-menu-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-left: 3px solid var(--accent-color);
}

.kpi-menu-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

.kpi-menu-text {
    transition: opacity var(--transition-speed) ease;
    font-size: 16px;
    font-family: 'Archivo Narrow' !important;
    color: #fff;
}

.kpi-sidebar.collapsed .kpi-menu-text {
    opacity: 0;
    width: 0;
    display: none;
}

.inorganic-dot {
    width: 8px;
    height: 8px;
    background: #FFD700;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    right: 20px;
}

.organic-dots {
    width: 10px;
    height: 10px;
    border: 1px solid #25c500;
    background: #25c500;
    border-radius: 50%;
    position: absolute;
    left: 20px;
    top: 5px;
}


/* ========== HIGHLIGHTED: SUBMENU STYLES ========== */
.kpi-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: rgba(0, 0, 0, 0.1);
}

.kpi-submenu.open {
    max-height: 330px;
    width: 100%;
}

.kpi-submenu-item.has-submenu {
    padding: 12px 20px 12px 30px;
    cursor: pointer;
}

.kpi-submenu-item {
    padding: 12px 20px 12px 58px;
    color: #e0e0e0;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.kpi-submenu-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    /* border-left-color: #4a90e2; */
}

.kpi-submenu-item.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: #4a90e2;
}

.kpi-menu-item.has-submenu::after {
    content: '›';
    position: relative;
    right: -10px;
    transition: transform 0.3s ease;
}

.kpi-menu-item.has-submenu.open::after {
    transform: rotate(90deg);
}

.kpi-submenu a {
    padding: 10px 0px 10px 30px !important;
    margin: 0 !important;
    color: #e4e0e0;
    font-size: 15px;
}

.has-submenu::after {
    content: "›";
    margin-left: auto;
    font-size: 18px;
    transition: transform 0.3s ease;
    float: right;
}

.has-submenu.open::after {
    transform: rotate(90deg);
}

/* ========== END HIGHLIGHTED ========== */

.kpiBoard {
    position: relative;
}

.kpiBoard .bottom_footer_sec {
    position: absolute;
    bottom: auto;
    z-index: 9;
}

/* Main Content Area */
.kpi-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 10px 10px 70px;
    transition: margin-left var(--transition-speed) ease;
    background-color: #339fcd12;
    min-height: calc(100dvh - 106px);


}

.wp-admin .kpi-main{
    margin-left: 0;
}
.kpi-sidebar.collapsed~.kpi-main {
    margin-left: var(--sidebar-collapsed-width);
}

/* Toggle Button */
.kpi-toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* .kpi-toggle-btn {
    background: #fff;
    border: none;
    color: #2c85b1 !important;
    font-size: 1.5rem !important;
    z-index: 9999999;
    position: absolute;
    right: 0px;
} */

.kpi-toggle-btn:hover {
    color: var(--accent-color);
}

/* Dashboard Cards */
.kpi-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* overflow: hidden; */
    transition: transform 0.3s, box-shadow 0.3s;
}

.kpi-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.kpi-card-header {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    display: block;
}

@media (min-width: 576px) {
    .kpi-card-header {
        display: flex;
        justify-content: space-between;
    }
}

.kpi-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

@media (min-width: 576px) {
    .kpi-card-title {
        margin-bottom: 0;
    }
}

.kpi-card-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}

.kpi-card-body {
    padding: 20px;
}

/* Metric Cards */
.kpi-metric {
    text-align: center;
    padding: 20px;
}

.kpi-metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.kpi-metric-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.kpi-metric-change {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 5px;
}

.kpi-metric-change.positive {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.kpi-metric-change.negative {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.kpi-card-title i {
    margin-right: 3px;
}

/* Tooltip for collapsed menu */



.kpi-menu-tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    margin-left: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.kpi-menu-item:hover .kpi-menu-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive Sidebar */
@media (max-width: 1199.98px) {
    .kpi-sidebar.expanded {
            position: fixed;
            z-index: 11;
            top: 0px;
        }
        
    .kpi-sidebar {
        width: var(--sidebar-collapsed-width);
    }

    .kpi-sidebar-header {
        justify-content: center;
        padding: 20px 10px;
    }

    .kpi-sidebar-title {
        opacity: 0;
        width: 0;
    }

    .kpi-menu-text {
        opacity: 0;
        width: 0;
        display: none;
    }

    .kpi-main {
        margin-left: var(--sidebar-collapsed-width);
    }

    .kpi-sidebar.expanded {
        width: var(--sidebar-width);
    }

    .kpi-sidebar.expanded .kpi-sidebar-header {
        justify-content: space-between;
        padding: 20px;
    }

    .kpi-sidebar.expanded .kpi-sidebar-title {
        opacity: 1;
        width: auto;
    }

    .kpi-sidebar.expanded .kpi-menu-text {
        opacity: 1;
        width: auto;
        display: inline;
    }

    .kpi-sidebar.expanded~.kpi-main {
        margin-left: var(--sidebar-width);
    }
}

@media (max-width: 767.98px) {
    .navbar-toggler {
        display: block;
        position: absolute;
        right: 33px;
        z-index: 9999;
        color: #fff;
    }

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

    .kpi-sidebar.expanded {
        transform: translateX(0);
    }

    .kpi-main {
        margin-left: 0;
    }
}

.kpi-mobile-menu-btn {
    position: fixed;
    top: 10px;
    left: 15px;
    z-index: 1100;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    padding: 7px 26px 12px 14px !important;
}

@media (min-width:768px){
    .kpi-mobile-menu-btn {
        top: 20px;
    }
}

button.btn.btn-secondary.apply-btn {
    position: relative;
    top: 8px;
}

@media (max-width: 1024px) {
    .elementor-10849 .elementor-element.elementor-element-852a07b .elementskit-menu-hamburger {
        padding: 8px 8px 8px 8px !important;
        width: 40px !important;
        border-radius: 3px;
        height: 35px !important;
        bottom: 3px !important;
        right: 3px !important;
    }
}

@media (max-width: 1199.98px) {
    .kpi-sidebar {
        position: absolute;
        z-index: 1000;
        height: 100%;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .kpi-sidebar.expanded {
        transform: translateX(0);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .kpi-main {
        margin-left: 0 !important;
        width: 100%;
    }

    .kpi-mobile-menu-btn {
        display: block;
    }
}



.youtube-analytic-filter-btn {
    padding: 7px 10px !important;
    border-radius: 5px !important;
}






/* ---------------- Overview Dashboard Css ----------- */
.highlight-items-inner {
    border-bottom: 1px solid #339fcd36;
    color: #222;
    margin-bottom: 14px;
    padding: 5px 0;
}

.overview-table-scroll {
    max-height: 180px;
    overflow: hidden;
    overflow-y: scroll;
    overflow-x: scroll;
}

div#customDateRange {
    display: block;
}

.calender-inside {
    display: block;
    margin-top: 10px;
    position: absolute;
    right: 0;
    font-size: 14px;
    background: #339FCD;
    padding: 10px;
    border-radius: 5px;
    top: 28px;
    color: #fff;
}

.custom-date-range,
.custom-campaign {
    font-size: 11px;
    width: 130px;
    padding: 3px 2px;
    cursor: pointer;
    color: #343434;
}

/* Custom Select Dropdown Styles */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    font-size: 11px;
    max-width: 130px;
    min-width: 130px;
}

.custom-select-button {
    width: 100%;
    padding: 3px 25px 3px 2px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #343434;
    font-size: 11px;
    text-align: left;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.custom-select-button:hover {
    border-color: #339FCD;
}

.custom-select-button:focus {
    outline: none;
    border-color: #339FCD;
    box-shadow: 0 0 0 2px rgba(51, 159, 205, 0.2);
}

.custom-select-button[aria-expanded="true"] {
    border-color: #339FCD;
    box-shadow: 0 0 0 2px rgba(51, 159, 205, 0.2);
    width: 100%;
}

.custom-select-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #666;
    pointer-events: none;
    transition: transform 0.2s ease;
}
.custom-select-arrow:before{
    display: none !important;
}
button.custom-select-button {
    background: transparent !important;
    color: #000 !important;
    padding: 4px 10px !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    width: 100%;
}
.custom-select-button[aria-expanded="true"] .custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 2px 0 0 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 998;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    min-width: 100%;
}

.custom-select-dropdown.show {
    display: block;
}

.custom-select-option {
    padding: 8px 12px;
    cursor: pointer;
    color: #343434;
    font-size: 11px;
    transition: background-color 0.15s ease;
    border-bottom: 1px solid #f0f0f0;
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover {
    background-color: #f5f5f5;
}

.custom-select-option[aria-selected="true"] {
    background-color: #e8f4f8;
    color: #339FCD;
    font-weight: 500;
}

.custom-select-option:active {
    background-color: #d0e8f0;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .custom-select-wrapper {
        width: 100%;
        max-width: 130px;
    }
    
    .custom-select-dropdown {
        position: absolute;
        left: 0;
        right: auto;
        width: 100%;
        min-width: 130px;
        max-width: calc(100vw - 20px);
    }
    
    /* Ensure dropdown is visible on mobile */
    .custom-select-dropdown.show {
        z-index: 1001;
    }
}

/* Prevent text selection on mobile when interacting with dropdown */
.custom-select-button,
.custom-select-option {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure dropdown is above other elements */
.ga-global-filter {
    z-index: 10;
}

.date-range-label {
    font-size: 13px;
    font-weight: bold;
    color: #31264A;
    margin-right: 10px;
        /* min-width: 80px; */
        width: auto;
        white-space: nowrap;
}

.campaign-filter-select {
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 12px;
    min-width: 170px;
    border: 1px solid #000;
    margin-left: 3px;
}

.custom-Date-Range-box {
    display: none;
    margin-top: 10px;
    position: absolute;
    left: 0px;
    font-size: 12px;
    background: #339FCD;
    padding: 10px;
    border-radius: 5px;
    top: 20px;
    color: #fff;
    z-index: 997;
    width: min-content;
    /* max-width: 265px !important; */
}




.ga-ads-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ga-ads-loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: ga-ads-spin 1s linear infinite;
    margin-bottom: 15px;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.campaign-filter-wrapper {
    margin-right: 15px;
}

@media(max-width: 690px){
    .campaign-filter-wrapper {
            margin-right: 0px;
        }
}

.campaign-filter-label {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 13px;
    font-weight: bold;
    color: #31264A;
    margin-right: 3px;
}

.campaign-filter-select {
    padding: 3px 12px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 12px;
    max-width: 150px;
}

.fb-insta-graph-header tr td {
    text-align: center;
}

.fb-insta-graph-header thead th {
    border: 1.5px solid #a5d5e9 !important;
}

/* navtab-design-css */

.custom-navtab {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.custom-navtab .nav {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    border-bottom: 1px solid #dee2e6;
}

.custom-navtab .nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #000;
    text-decoration: none;
    background: none;
    border: 0;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.custom-navtab .nav-link:hover {
    color: #339FCD;
    border-color: #dee2e6 #dee2e6 #dee2e6;
    isolation: isolate;
}

.custom-navtab .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.custom-navtab .nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

.custom-navtab .nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    font-size: 18px;
}

.custom-navtab .nav-tabs .nav-link:hover {
    background: #13264a1c;
}

.custom-navtab .nav-tabs .nav-link.active {
    color: #fff;
    background-color: #13264A;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 600;
}

.custom-navtab .tab-content>.tab-pane {
    display: none;
}

.custom-navtab .tab-content>.active {
    display: block;
    padding: 1rem;
}

.custom-navtab .fade {
    transition: opacity 0.15s linear;
}

.custom-navtab .fade:not(.show) {
    opacity: 0;
}


/* ------ custom datatable css start ----- */
/* Main Container */
.custom-datatable-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
}

/* Header Styles */
.custom-datatable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.custom-datatable-search {
    display: flex;
    align-items: center;
}

.custom-search-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    min-width: 200px;
}

.custom-search-btn {
    padding: 8px 16px;
    background: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.custom-search-btn:hover {
    background: #3a5a8a;
}

.custom-length-select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Table Styles */
.custom-datatable-scroll {
    overflow-x: auto;
    margin-bottom: 15px;
}

.custom-datatable {
    width: 100%;
    border-collapse: collapse;
}

.custom-datatable th {
    background-color: #2c3e50;
    color: white;
    padding: 12px 15px;
    text-align: left;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.custom-datatable th:hover {
    background-color: #1a252f;
}

.sort-icon {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(255, 255, 255, 0.5);
    position: relative;
    top: -2px;
}

.sort-icon.asc {
    border-bottom: 5px solid white;
    border-top: none;
}

.sort-icon.desc {
    border-top: 5px solid white;
    border-bottom: none;
}

.custom-datatable td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.custom-datatable tr:hover td {
    background-color: #f5f7fa;
}

.custom-datatable a {
    color: #3498db;
    text-decoration: none;
}

.custom-datatable a:hover {
    text-decoration: underline;
}





.dropdown-wrapper {
    flex: 1;
    /* min-width: 260px; */
    /* max-width: 350px; */
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-header {
    padding: 12px 16px;
    background: white;
    border: 1px solid #00bcd4;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.dropdown-header:hover {
    background: #f0f8ff;
}

.dropdown-header span {
    color: #008b8b;
    font-weight: 500;
}

.arrow {
    transition: transform 0.3s ease;
    color: #343434;
    font-size: 10px;
    position: relative;
    width: auto;
    height: auto;
    bottom: 0;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.1);
}

.dropdown-list.active {
    max-height: 250px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 5px 3px 5px 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
    line-height: 1.5;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.8;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #e0f7fa;
}

.dropdown-item i {
    margin-right: 6px;
    color: #00bcd4;
    font-size: 12px;
    opacity: 0;
}

.dropdown-item.selected i {
    opacity: 1;
}

/* custom dropdown css */
.custom-dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Arial', sans-serif;
    width: 100%;
    outline: none;
    box-shadow: none;
    margin-right: 10px;
}

.dropdown-toggle {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-menu.show {
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-menu li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown-menu li:hover {
    background-color: #f5f5f5;
}

.selected-option {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-kpi-btn {
    background: #fff !important;
    border: 1px solid #eee !important;
    color: #696161 !important;
    padding: 0px 3px !important;
}

/* Footer Styles */
.custom-datatable-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.custom-datatable-info {
    color: #555;
    font-size: 14px;
}

.custom-datatable-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-pagination-btn {
    padding: 6px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-pagination-btn:hover:not(:disabled) {
    background: #e9ecef;
}

.custom-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-pagination-pages {
    display: flex;
    gap: 5px;
}

.custom-pagination-pages button {
    min-width: 32px;
}

.custom-pagination-pages button.active {
    background: #4a6fa5;
    color: white;
    border-color: #4a6fa5;
}

/* Responsive */
@media (max-width: 768px) {

    /* .custom-Date-Range-box.Linkedin-date-range{
        left: 0 !important;
    } */

    /* .custom-Date-Range-box{
        right: auto;
        left: auto;
    } */
    /* .custom-date-range,
    .custom-campaign {
        width: 120px;
    } */

    a.larimar-kpi-btn {
        padding: 8px 15px;
    }

    .custom-datatable-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-datatable-footer {
        flex-direction: column;
    }

    .custom-datatable th,
    .custom-datatable td {
        padding: 8px 10px;
    }
}

@media (max-width: 350px) {

    .custom-date-range,
    .custom-campaign {
        width: 120px;
    }

        /* .custom-Date-Range-box.ga-console-date{
            left: -25px !important;
        } */

}

/* ------ custom datatable css end ----- */



/* ------- Overview Page chart css ----- */
.custom-menu .elementor-menu-toggle {
    left: -50px !important
}

nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    right: 0 !important;
}

.analytics-chart-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

#analyticsDonutChart {
    max-height: 400px;
    margin: 0 auto;
}

.facebook-chart-container {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    border: 1px solid #eee;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
    top: 50px;
}

.chart-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: translate(-58px, -140px);
}

.chart-logo-lnkedPin {
    position: absolute;
    top: 80%;
    left: 50%;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transform: translate(-58px, -140px);
}

.facebook-chart-container h3 {
    color: #1877f2;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.fb-insta-graph-header thead {
    background: #339fcd70;
    color: #333;
}

.fb-insta-graph-header thead th {
    border: none;
}

canvas#facebookLineChart {
    bottom: 60px !important;
    position: relative;
}

.fb-insta-graph-header thead th,
.fb-insta-graph-header tr td {
    padding: 8px 15px !important;
}

/*  ========= kpi-dropdown Export button start  =============== */
.kpi-dropdown {
    position: relative;
    display: inline-block;
    top: 3px;
}

/* Three-dot icon button */
.kpi-dropdown-btn {
    color: #000;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Dropdown menu - hidden by default */
.kpi-dropdown-content {
    position: absolute;
    right: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
    overflow: hidden;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Show dropdown when the container is in focus */
.kpi-dropdown-container:focus-within .kpi-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Keep focus on the container when dropdown is clicked */
.kpi-dropdown-content a {
    display: flex;
    align-items: center;
    color: #2c3e50;
    padding: 14px 18px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f5f5f5;
}

.kpi-dropdown-content a:last-child {
    border-bottom: none;
}

.kpi-dropdown-content a:hover {
    background: #f0f7ff;
    padding-left: 22px;
}

.kpi-dropdown-content a i {
    margin-right: 14px;
    width: 22px;
    color: #3498db;
    font-size: 18px;
}

.icon-wrapper {
    display: inline-flex;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    left: 10px;
    position: relative;
    transform: rotate(90deg);
}

.fa-ellipsis-h {
    font-size: 18px;
}

/* Tab index for focus */
.kpi-dropdown-container {
    display: inline-block;
    outline: none;
}

/* Close when clicking outside - the container loses focus */
.kpi-dropdown-container:focus {
    outline: none;
}

/* Hide the default focus outline */
.kpi-dropdown-container:focus .kpi-dropdown-btn {
    outline: none !important;
}

/* ===========  kpi-dropdown Export button start  ============  */

.kpi-funky-card {
    /* background-color: var(--card-bg); */
    background: url(./../images/dashed-linearrow.svg);
    border-radius: 5px;
    padding: 15px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(19, 38, 74, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-position: 162px 5px;
    background-repeat: no-repeat;
    background-attachment: initial;
    background-size: contain;
    margin-bottom: 20px;
}

.kpi-funky-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(19, 38, 74, 0.15);
}


.card-content {
    position: relative;
    z-index: 1;
}

.overview-card-icon {
    width: 60px;
    height: 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--light-primary) 0%, var(--light-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(19, 38, 74, 0.08);
}

.overview-card-icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.kpi-funky-card-name {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-wrap-mode: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kpi-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

@media (min-width: 991.2px) {
    .kpi-value {
        font-size: 2     6px;
    }
}

/* Decorative elements */
.circle-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(51, 159, 205, 0.1) 0%, rgba(51, 159, 205, 0.03) 100%);
    top: -40px;
    right: -40px;
    z-index: 0;
}

.gsc-toggle-wrapper-header {
    display: flex;
    justify-content: space-between;
}

th.position-column {
    padding: 0 5px;
    height: 100%;
}

span#kpi-watchtime {
    white-space: nowrap;
}


/* Shruti - 12-8-25 */
/* Full page loader */
#ga-fullpage-loader,
#keywords-loading,
#ads-loading,
#campaigns-loading,
#ad-groups-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.ga-fullpage-spinner,
.spinner-border {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: ga-spin 1s linear infinite;
}



/* Widget-specific loaders */
.ga-widget-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.ga-widget-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: ga-spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

/* Make widget containers relative for positioning */
.kpi-card-body,
.kpi-card,
#ga-kpi-grid,
#userChart-container,
#totalUsersChart-container,
#deviceBreakdown-container,
#geographicBreakdown-container,
#trafficSummary-container {
    position: relative;
}

/* Shruti - 12-8-25 */




/* dropdown with checkbox css start */
.dropdowns-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.dropdown-title {
    font-weight: 600;
    color: #008b8b;
    margin-bottom: 8px;
    font-size: 16px;
}

.kpi-custom-dropdown {
    position: relative;
}

.dropdown-header {
    padding: 0px 5px;
    background: white;
    border-radius: 3px;
    cursor: pointer;
    min-width: 180px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 188, 212, 0.1);
    border: 1px solid #777;
}

.dropdown-header:hover {
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.2);
    border-color: #0097a7;
}

.dropdown-header.active {
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-header span {
    color: #343434;
    font-weight: 500;
}

.arrow.active {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 100;
    min-width: fit-content;
}

.dropdown-list.active {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid #777;
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.15);
    border-top: none !important;
    border-radius: 0 0 3px 3px;
    min-width: 150px;
    display: block !important;
}

.dropdown-list label {
    display: flex;
    align-items: center;
    padding: 5px 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    color: #484848;
    line-height: 1.2;
    width: 100%;
}

.dropdown-list label:last-child {
    border-bottom: none;
}

.dropdown-list label:hover {
    background: #e0f7fa;
}

.dropdown-list input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: #339fcd;
    width: 15px;
    height: 15px;
}

.dropdown-actions {
    display: flex;
    justify-content: flex-end;
    padding: 12px;
    border-top: 1px solid #e0e0e0;
    background: #f8fdff;
    width: 100%;
}

.G-analytics-list-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
}

.G-analytics-list-wrapper span.square-badge {
    font-size: 11px;
    height: 20px;
    line-height: 1.5;
    background: #329ac814;
    padding: 2px;
    margin-right: 5px;
    color: #13264a;
    max-width: 40px;
    width: 35px;
    text-align: center;
    border-radius: 2px;
    font-weight: bold;
}

.ok-button {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
    padding: 5px 8px !important;
    border-radius: 3px !important;
    font-size: 12px !important;
}

.ok-button:hover {
    background: #0097a7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 151, 167, 0.3);
}

/* dropdown with checkbox css end */




/* Tabs tabpan css start */
.tab-button {
    padding: 10px 12px !important;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}


.tab-button.active {
    color: #fff;
    background-color: #339fcd;
}

button.tab-button {
    background-color: #fff;
    color: #339fcd;
    border: 1px solid #eee;
    width: 100%;
}

.tab-button:hover {
    background-color: #fff !important;
    border: 1px solid #eee !important;
    color: #339fcd !important;
}

.tab-button:focus {
    background-color: #339fcd !important;
    border: 1px solid #eee !important;
    color: #fff !important;
}

.tab-content {
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



/* custom tool tips start */

.tooltip-trigger {
    /* background: rgba(255, 255, 255, 0.2); */
    border-radius: 0;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Custom Tooltip Styles */
.custom-tooltip {
    position: absolute;
    z-index: 1070;
    max-width: 200px !important;
    padding: 2px 2px;
    background-color: #1b2025;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.custom-tooltip.show {
    opacity: 1;
}

.user-control .custom-tooltip.show {
    font-size: 16px;
    padding: 5px 5px !important;
}

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

/* Tooltip positioning */
.custom-tooltip[data-placement^="top"] {
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
}

.custom-tooltip[data-placement^="top"] .tooltip-arrow {
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px 5px 0;
    border-top-color: #2c3e50;
}

.custom-tooltip[data-placement^="bottom"] {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
}

.custom-tooltip[data-placement^="bottom"] .tooltip-arrow {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 5px 5px;
    border-bottom-color: #2c3e50;
}

.custom-tooltip[data-placement^="left"] {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 8px;
}

.custom-tooltip[data-placement^="left"] .tooltip-arrow {
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-left-color: #2c3e50;
}

.custom-tooltip[data-placement^="right"] {
    left: 30%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 8px;
}

.custom-tooltip[data-placement^="right"] .tooltip-arrow {
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-right-color: #2c3e50;
}

/*  end tool tip */


span.circle-badge {
    background: #339fcd;
    position: relative;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    padding: 2px 7px;
    color: #fff;
}


/* custom table scroll */
/* .kpi-card-body {
    overflow: hidden;
} */

/* .kpi-card-body {
    overscroll-behavior: contain;
} */





/* ========================= */
/* DEFAULT (Chrome / Firefox) */
/* ========================= */

/* .dashboard-table-responsive {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 350px;
}

.table-responsive {
    overflow-x: auto;
    max-height: 550px;
}

.table-body {
    border-bottom: 1px solid #eee;
} */

/* .dashboard-table-responsive,
.table-responsive {
    max-height: 350px;
    overflow-x: auto;
    overflow-y: auto;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-x pan-y;
}
.table-scroll-y {
    max-height: 350px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
}

.table-scroll-x {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

@supports (-webkit-touch-callout: none) {
    .table-responsive {
        overscroll-behavior: none;
        touch-action: pan-x;
    }
}

@supports (-webkit-touch-callout: none) {


    .table-scroll-y {
       height: 100%;
       max-height: auto !important;
        overflow-x: hidden;

        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .table-scroll-x {
        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
} */

#countries .table-responsive, #queries-content .table-responsive, #pages-content .table-responsive,
 #devices-content .table-responsive, #dates-content .table-responsive,
#search_appearance-content .table-responsive, .pinterest-data-table .table-responsive{
    overflow-x: hidden !important;
}

/* Base styles for all browsers */
.dashboard-table-responsive, .table-responsive {
    max-height: 350px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    /* Critical for iOS Safari */
    overscroll-behavior: contain;
    /* Ensure the container can scroll */
    display: block;
    width: 100%;
}

/* Small screens पर ही scroll आने दें */
@media (max-width: 768px) {
    .dashboard-table-responsive, .table-responsive {
        overflow-x: auto;
    }
        #countries .table-responsive,
        #queries-content .table-responsive,
        #pages-content .table-responsive,
        #devices-content .table-responsive,
        #dates-content .table-responsive,
        #search_appearance-content .table-responsive {
            overflow-x: auto !important;
        }
    .pinterest-data-table .table-responsive{
        overflow: auto !important;
    }
}

/* Fix for Safari (both desktop and mobile) */
@supports (-webkit-touch-callout: none) {
    .dashboard-table-responsive, .table-responsive{
        /* iOS Safari specific fixes */
        -webkit-overflow-scrolling: touch !important;
        overflow: auto !important;
        /* Prevent elastic bounce in Safari */
        overscroll-behavior: none;
        /* Enable hardware acceleration */
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        /* Ensure it creates a stacking context */
        isolation: isolate;
    }

    /* Force momentum scrolling on iOS */
    .dashboard-table-responsive::-webkit-scrollbar, .table-responsive::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }

    .dashboard-table-responsive::-webkit-scrollbar-thumb, .table-responsive::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background-color: rgba(0, 0, 0, .3);
    }
}

/* Ensure table takes full width and can scroll horizontally */
.dashboard-table-responsive table, .table-responsive table {
    width: 100%;
    min-width: 270px;
    /* Ensures horizontal scrolling on mobile */
    border-collapse: collapse;
}

@media (min-width: 991px){
    .dashboard-table-responsive table, .table-responsive table {
            width: 100%;
            min-width: 400px;
            /* Ensures horizontal scrolling on mobile */
            border-collapse: collapse;
        }

}

/* Desktop Safari specific fixes */
@supports (background: -webkit-named-image(i)) and (not (-webkit-touch-callout: none)) {
    .dashboard-table-responsive {
        overflow: auto;
        /* Fix for Safari rendering issues */
        -webkit-transform: translateZ(0);
        will-change: transform;
    }
}


.modern-table td span {
    white-space: nowrap;
}

.dataTables_info {
    position: relative;
    left: 20px;
    margin-bottom: 10px;
    margin-top: 5px;
    color: var(--primary-color) !important;
}

.dataTables_paginate {
    margin-top: 15px;
    position: relative;
    right: 20px;
    color: var(--primary-color) !important;
}

.notice.notice-info {
    padding: 0 20px;
    color: var(--secondary-color);
}

.modern-table th,
.modern-table thead {
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

/* Custom scrollbar styling */
.table-body::-webkit-scrollbar {
    width: 8px;
}

.table-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-body::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.overview-card-icon i.fas {
    font-size: 18px;
}

.google-analytic-table-tab-wrapper.tabs-system button.tab-button {
    height: 60px;
}

.gsc-kpi label {
    display: block;
    padding: 10px;
    cursor: pointer;
}

.dashboard-view-more-btn {
    border: none !important;
    border-radius: 5px !important;
    padding: 10px 15px !important;
    color: #fff !important;
}

.dashboard-view-more-btn:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(19, 38, 74, 0.15) !important;
}

.tab-button:first-child {
    border-top-left-radius: 10px;
}

.tab-button:last-child {
    border-top-right-radius: 10px;
}

.graph-title {
    font-size: 16px;
    font-weight: bold;
    color: #4a4848;
}


/* .google-analytic-table-tab-wrapper.tabs-system .tab-container .tab-content {
    background: #fff;
    min-height: 280px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 100%;
    margin-bottom: 20px;
} */

main.kpi-main.admin-kpi-main {
    margin-left: 0;
    padding: 0;
}



/* facebook Ads pages */

.donut-chart {
    flex: 1;
    position: relative;
    width: 200px;
    padding: 10px;
}

.donut-legend {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 10px;
}

.legend-text {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.total-clicks {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    transition: all 0.3s ease;
}

.total-label {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.donut-center-text.hidden .total-label {
    color: #999999;
}

.donut-center-text.hidden .total-clicks {
    color: #cccccc;
}

.donut-center-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
}

.donut-center-text.hidden {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.95);
}

.flag-img img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

.country-region-name {
    margin-left: 15px;
}


/* Instagram Post and reels css */
.kpi-post-reels-wrapper {
    height: 86vh;
    overflow-y: scroll;
}

.post-card {
    /* width: 400px; */
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;

}

.post-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.user-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.post-date {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 12px;
    color: #666;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-caption {
    font-size: 13px;
    color: #888;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.post-footer {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.comments {
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.comments:hover {
    text-decoration: underline;
}

.stats {
    display: flex;
    gap: 10px;
}

.stats span {
    background: #f0f0f0;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
    color: #555;
    text-transform: uppercase;
    font-weight: 600;
}


/* LinkedIn Dashboard css */
.legend-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 600;
}

.legend-center .organic {
    color: #36a2eb;
    font-size: 1rem;
    margin-bottom: 5px;
}

.legend-center .paid {
    color: #ff6384;
    font-size: 1.1rem;
}

.card-overflow-scroll {
    max-height: 220px;
    overflow-y: auto;
    padding: 0 5px 0 0;
}


/* pinterest css */
.total-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}


/* canvas {
            height: 100% !important;
            width: 100% !important;
        } */
@media print {

    /* Hide sidebar */
    .sidebar,
    #adminmenu,
    .wp-admin #adminmenuwrap {
        display: none !important;
    }

    /* Main container full width */
    .main-content,
    .content-wrapper,
    .dashboard-wrapper {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove background colors */
    body,
    html {
        background: #fff !important;
    }

    /* Force charts and containers to full width */
    canvas,
    .chart-container,
    .widget-box,
    .card {
        width: 100% !important;
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Avoid cutting widgets */
    .section {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}



/* iOS Compatibility Fixes */

/* Reset iOS default styles */
* {
    -webkit-tap-highlight-color: transparent;
    /* iOS tap highlight fix */
}

/* iOS-specific fixes for form elements */
select,
input,
button,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    /* Reset for iOS */
}

/* Custom dropdown arrow for iOS */
select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px !important;
}

/* Safari specific fixes */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {

        select,
        input[type="email"],
        input[type="number"],
        input[type="password"],
        input[type="search"],
        input[type="tel"],
        input[type="text"],
        input[type="url"] {
            -webkit-appearance: none;
            border-radius: 5px;
        }

        select {
            padding-right: 30px !important;
            background-position: right 8px center;
        }
    }
}

/* iOS font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* iOS button fixes */
.kpi-card-body button.btn.btn-secondary.btn.btn-secondary,
.kpi-card-body .active.btn-primary,
.kpi-dropdown-btn {
    -webkit-appearance: none;
}

/* iOS form input fix */
@supports (-webkit-touch-callout: none) {

    select.form-select,
    input.form-control {
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    input.form-control:focus,
    select.form-select:focus {
        font-size: 16px;
    }
}


/* -------Cross Browser compability css ---------  */


/* Smooth scrolling for iOS sidebar */
.kpi-sidebar {
    -webkit-overflow-scrolling: touch;
}

/* Prevent tabs from shrinking on iOS */
.nav-tab-wrapper {
    -webkit-overflow-scrolling: touch;
}

a.nav-tab {
    flex-shrink: 0;
    /* Prevent tabs from shrinking on iOS */
}

/* iOS dropdown fixes */
.custom-navtab .nav-tabs .nav-link {
    -webkit-appearance: none;
}

.dropdown-toggle {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* iOS dropdown menu smooth scroll */
.dropdown-menu {
    -webkit-overflow-scrolling: touch;
}

/* iOS checkbox styling */
.dropdown-list input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    position: relative;
}

.dropdown-list input[type="checkbox"]:checked {
    background-color: #339fcd;
    border-color: #339fcd;
}

.dropdown-list input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* iOS dropdown item tap highlight */
.dropdown-menu li,
.kpi-submenu-item,
.kpi-dropdown-content a {
    -webkit-tap-highlight-color: transparent;
}

/* iOS table scrolling */
.table-body,
.table-responsive {
    -webkit-overflow-scrolling: touch;
}

/* iOS tooltip fix */
.custom-tooltip {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Additional iOS-specific fixes */
@supports (-webkit-touch-callout: none) {

    /* Safari and iOS-specific styles */
    .kpi-sidebar {
        -webkit-transform: translateZ(0);
        /* Fix for iOS rendering */
    }

    .kpi-card {
        -webkit-transform: translateZ(0);
    }

    /* Fix for 100vh issue on iOS */
    .kpi-main {
        min-height: -webkit-fill-available;
    }

    /* Fix for sticky hover on iOS */
    @media (hover: hover) {
        .kpi-menu-item:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
        }
    }

    /* Prevent text size adjustment on orientation change */
    html {
        -webkit-text-size-adjust: 100%;
    }
}

/* Fix for iOS input zoom */
@media screen and (max-width: 767px) {

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    select,
    textarea {
        font-size: 12px !important;
        /* Prevents iOS zoom */
    }
}

/* Fix for iOS button styling */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    border-radius: 0;
}

/* Fix for iOS touch delays */
a,
button,
input,
select,
textarea,
label {
    touch-action: manipulation;
}

/* iOS Safari date picker fix */
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

/* iOS date input fix */
input[type="date"] {
    position: relative;
    padding: 4px;
    font-size: 12px;
    /* Prevents zoom on iOS */
}

/* Safari specific fixes */
input[type="date"] {
    -webkit-appearance: none;
    min-height: 28px;
    background-color: white;
    color: #333;
    /* width: 100px; */
}

.compare-date-range {
    display: flex;
    flex-direction: column;
}

.date-range-fields {
    display: flex;
    /* flex-direction: column; */
    /* gap: 8px; */
}

.date-range-fields label {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: rgb(27, 27, 27);
}

#compare-apply-btn {
    background-color: #fff;
    color: #339FCD;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

#compare-apply-btn:hover {
    background-color: #f0f8ff;
    transform: translateY(-1px);
}

/* Safari date input focus fix */
input[type="date"]:focus {
    outline: 2px solid #4da6ff;
    border-color: #4da6ff;
}


.comparison-dates-header {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

#events-table table tr td:nth-child(4),
#events-table table tr td:last-child,
#traffic-sources table tr td:nth-child(4),
#traffic-sources table tr td:nth-child(7),
#traffic-sources table tr td:nth-child(10),
#traffic-sources table tr td:last-child {
    text-wrap-mode: nowrap;
}


.chart-container:hover .legend-center .organic {
    opacity: 0.2;
    font-weight: bold;
}

.chart-container .legend-center .organic {
    opacity: 1;
    display: flex;
    flex-direction: column;
}

.chart-container:hover .legend-center .paid {
    opacity: 0.2;
    font-weight: bold;
}

.chart-container .legend-center .paid {
    opacity: 1;
    font-weight: bold;
}


.kpiBoard .elementor-sticky--active .elementor-element-ba886e7 {
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.kpiBoard .elementor-sticky--active .elementor-element.elementor-element-ba886e7.e-con-full.e-flex.e-con.e-child::after {
    content: 'Beta';
    visibility: visible !important;
    display: inline-block;
    position: absolute;
    left: 190px;
    top: 10px;
    background: #339fcd;
    color: #fff;
    padding: 7px 20px;
    border-radius: 3px;
}

@media(max-width: 1024px) {
    .kpiBoard .elementor-sticky--active .elementor-element.elementor-element-ba886e7.e-con-full.e-flex.e-con.e-child::after {
        content: 'Beta';
        visibility: visible !important;
        display: inline-block;
        position: absolute;
        left: 60px;
        top: 10px;
        background: #339fcd;
        color: #fff;
        padding: 7px 20px;
        border-radius: 3px;
    }
}

.insta-follow-gender-wrapper {
    display: block;
}


.insta-follow-gender-wrapper .donut-chart {
    flex: 1;
    position: relative;
    width: 100% !important;
    padding: 10px;
    height: 210px !important;
}

.donut-legend#genderLegend {
    max-width: 300px;
    margin: 0 auto;
}