 @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Epilogue:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
 body {
            background-color: #f2f3f5;
            font-family: 'Roboto', sans-serif;
            overflow-x: hidden;
            font-size: 13px;
        }

        .color_adsdata {
            color: #73706c;
        }

        .color_gdata {
            color: #5d5d5d;
        }

        .navbar {
            background-color: #f2f3f5;
            border-bottom: 1px solid #ddd;
            padding: 10px 20px;
        }

        .navbar .logo {
            display: flex;
            align-items: center;
        }

        .navbar .logo i {
            margin-right: 10px;
        }

        .navbar .nav-icons i {
            font-size: 20px;
            margin: 0 10px;
            color: #666;
            cursor: pointer;
        }

     
.sidebar-link.active {
    background-color: #e9ecef; /* Light highlight */
    font-weight: bold;
    border-left: 3px solid #0d6efd; /* Bootstrap primary color */
}


        .navbar .nav-icons .bi-bell {
            position: relative;
        }

        .navbar .nav-icons .bi-bell .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            font-size: 10px;
        }

        .navbar .user-email {
            margin: 0 10px;
            color: #666;
        }

        .navbar .user-initial {
            background-color: #666;
            color: white;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        /* Sidebar Styles */
        .sidebar {
            background-color: #f2f3f5;
            height: 100vh;
            padding: 20px 0;
            width: 100px;
            /* Narrow width when collapsed */
            transition: width 0.3s ease;
            /* Smooth width transition */
        }

        .content_sidenav {
            display: flex;
            align-items: flex-start;
        }

        .side_namefirst {
            width: 100px;
            /* Fixed width for the constant section */
            text-align: center;
            flex-shrink: 0;
        }

        .side_namefirst a {
            display: block;
            padding: 10px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            /* Smaller font for better alignment */
        }

        .side_namefirst a i {
            display: block;
            margin: 0 auto 5px auto;
            /* Center icon and add spacing below */
            color: #666;
            font-size: 24px;
        }

        .side_namefirst a:hover,
        .side_namefirst a.active {
            background-color: #e9ecef;
        }

        .sidebar_openclose {
            width: 250px;
            display: none;
            transition: margin-left 0.3s ease;
        }

        .sidebar-expanded .sidebar_openclose {
            display: block;
            transition: margin-left 0.3s ease;
        }

        .sidebar_openclose a {
            display: flex;
            align-items: center;
            padding: 10px 20px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            text-wrap: auto;
        }
        .top_menu-icon i{
            cursor: pointer;
        }

        .sidebar_openclose a:hover,
        .sidebar_openclose a.active {
            background-color: #e9ecef;
        }

        .sidebar_openclose .create-btn {
            background-color: #0d6efd;
            color: white;
            border-radius: 20px;
            text-align: center;
            padding: 10px 20px;
            font-weight: bold;
            display: block;
        }

        .log_upimg.logo img {
            height: 40px;
        }

        .sidebar .createlogo img {
            height: 60px;
            width: 60px;
            object-fit: contain;
            border-width: 0;
            background-color: #fff;
            border-radius: 50%;
            padding: 15px;
            box-shadow: 0 1px 3px 0 rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15);
        }

        .sidebar_openclose .dropdown-toggle::after {
            display: none;
            transition: margin-left 0.3s ease;
        }

        .sidebar_openclose .dropdown-menu.show {
            transform: unset !important;
        }

        .sidebar_openclose .dropdown-menu {
            position: static !important;
            width: 100%;
            border: none;
            padding: 0;
            margin: 0;
            box-shadow: none;
        }

        .sidebar_openclose .dropdown-item {
            padding: 10px 40px;
            color: #333;
            font-size: 16px;
        }

        .sidebar_openclose .dropdown-item:hover {
            background-color: #e9ecef;
        }

        /* Main Content */
        .main-content {
            margin-left: 0px;
            /* Match the collapsed sidebar width */
            padding: 0 20px;
            transition: margin-left 0.3s ease;
            /* Smooth transition for margin adjustment */
        }

        .main-content-expanded {
            margin-left: 260px;
            /* Match the expanded sidebar width */
        }

        .card {
            border: none;
            box-shadow: 0 2px 0px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }

        .stat-box {
            padding: 20px;
            text-align: center;
            color: white;
            border-radius: 0;
            /* Remove border-radius to make boxes touch */
            cursor: pointer;
            transition: background-color 0.3s;
            height: 100%;
            /* Ensure all boxes have the same height */
        }

        .stat-box.clicks {
            background-color:  #efefef;
            color: #333;
        }

        .stat-box.clicks.active {
            background-color: #1a73e8;
            color: white;
        }
        .stat-box.conversions{
             background-color:  #efefef;
            color: #333;
        }
        .stat-box.conversions.active {
            background-color: #700b73;
            color: white;
        }

        .stat-box.impressions {
            background-color: #efefef;
            color: #333;
        }

        .stat-box.impressions.active {
            background-color: #d93025;
            color: white;
        }

        .stat-box.avg-cpc {
            background-color:  #efefef;
            color: #333;
        }

        .stat-box.avg-cpc.active {
            background-color: #f9ab00;
            color: white;
        }

        .stat-box.cost {
            background-color:  #efefef;
            color: #333;
        }

        .stat-box.cost.active {
            background-color: #188038;
            color: white;
        }

        /* Remove gaps between stat boxes */
        .stat-box-row {
            display: flex;
            /* Use flexbox to remove gaps */
            margin: 0;
            /* Remove any margin */
        }

        .stat-box-row .col-md-3 {
            padding: 0;
            /* Remove Bootstrap column padding */
            margin: 0;
            /* Remove any margin */
        }

        .stat-box-row .card {
            margin: 0;
            /* Remove card margin */
            box-shadow: none;
            /* Remove shadow to avoid visual gaps */
            border-radius: 0;
            /* Remove border-radius to make boxes touch */
            height: 100%;
            /* Ensure all cards have the same height */
        }

        .filter-section {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .filter-section .form-select {
            width: auto;
            margin-right: 10px;
        }

        .filter-section .btn {
            margin-right: 10px;
        }

        .action-buttons {
            display: flex;
            align-items: center;
        }

        .action-buttons i {
            font-size: 20px;
            margin: 0 10px;
            color: #666;
            cursor: pointer;
        }

        .date-picker {
            display: flex;
            align-items: center;
            margin-right: 10px;
        }

        .date-picker label {
            margin-right: 5px;
            margin-bottom: 0;
        }

        .date-picker input {
            padding: 5px;
            border-radius: 4px;
            border: 1px solid #ced4da;
        }

        /* Mobile View Adjustments */
        @media (max-width: 768px) {
            .sidebar {
                width: 70px;
                /* Narrower for mobile */
                transform: translateX(0);
                /* Ensure it's visible initially */
            }

            .sidebar-expanded {
                width: 250px;
                /* Adjusted width for mobile */
            }

            .side_namefirst {
                width: 70px;
                /* Match sidebar width */
            }

            .side_namefirst a {
                font-size: 12px;
                /* Smaller font for mobile */
            }

            .side_namefirst a i {
                font-size: 20px;
                /* Smaller icon for mobile */
            }

            .sidebar_openclose {
                width: 180px;
                /* Adjusted width for mobile */
            }

            .sidebar_openclose a {
                font-size: 14px;
                /* Smaller font for mobile */
            }

            .sidebar_openclose .dropdown-item {
                font-size: 14px;
                /* Smaller font for dropdowns */
                padding: 8px 30px;
                /* Adjusted padding */
            }

            .main-content {
                margin-left: 70px;
                /* Match collapsed sidebar width */
            }

            .main-content-expanded {
                margin-left: 250px;
                /* Match expanded sidebar width */
            }

            .navbar .logo p {
                font-size: 16px;
                /* Smaller logo text on mobile */
            }

            .navbar .nav-icons i {
                font-size: 16px;
                /* Smaller icons on mobile */
                margin: 0 5px;
                /* Reduced spacing */
            }

            .navbar .user-email {
                font-size: 14px;
                /* Smaller email text */
            }

            .navbar .user-initial {
                width: 25px;
                height: 25px;
                font-size: 12px;
            }

            .filter-section {
                flex-direction: column;
                /* Stack filters vertically */
                align-items: flex-start;
            }

            .date-picker {
                margin-bottom: 10px;
                /* Add spacing between stacked elements */
            }

            .action-buttons i {
                font-size: 16px;
                /* Smaller icons on mobile */
            }

            .stat-box h5 {
                font-size: 14px;
                /* Smaller stat box titles */
            }

            .stat-box h3 {
                font-size: 20px;
                /* Smaller stat box values */
            }

            /* Adjust stat boxes for mobile */
            .stat-box-row {
                flex-direction: column;
                /* Stack boxes vertically on mobile */
            }

            .stat-box-row .col-md-3 {
                width: 100%;
                /* Full width on mobile */
            }

            .stat-box {
                border-radius: 5px;
                /* Restore border-radius for mobile */
                margin-bottom: 10px;
                /* Add some spacing between stacked boxes */
            }

            .stat-box-row .card {
                border-radius: 5px;
                /* Restore border-radius for mobile */
            }
        }

        @media (max-width: 576px) {
            .sidebar {
                transform: translateX(-100%);
                /* Hide sidebar off-screen by default on very small screens */
            }

            .sidebar-expanded {
                transform: translateX(0);
                /* Slide in when expanded */
            }

            .main-content {
                margin-left: 0;
                /* No margin when sidebar is hidden */
            }

            .main-content-expanded {
                margin-left: 0;
                /* Main content takes full width */
            }

            .col-md-2.py-5 h2 {
                font-size: 20px;
                /* Smaller heading on very small screens */
            }

            .btn-primary.rounded-pill {
                font-size: 14px;
                /* Smaller button text */
                padding: 8px 16px;
                /* Adjusted padding */
            }
        }

        .top_header .iconts_texttop .text__imgtext p {
            font-size: 13px;
        }