            @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

    body {
      font-family: 'Poppins', sans-serif;
      display: flex;
      min-height: 100vh;
      background: rgb(233, 233, 248);
    }

    nav.sidebar {
      background: linear-gradient(145deg, #e0eaff, #f8f9fd);
      color: #333;
      width: 250px;
      min-height: 100vh;
      transition: all 0.3s ease;
      overflow: hidden;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    nav.sidebar.collapsed {
      width: 70px;
    }

    .logo_items {
      display: flex;
      align-items: center;
      padding: 15px 20px;
      justify-content: space-between;
    }

    .logo_items img {
      width: 40px;
      height: 40px;
    }

    .logo_name {
      font-size: 18px;
      font-weight: bold;
      margin-left: 10px;
      /* color: #4a4a4a; */
    }

    .logo_items i {
      color: #4a4a4a;
      font-size: 20px;
      cursor: pointer;
    }

 .menu_container {
  padding: 10px 0;
  overflow-y: auto;
  max-height: calc(100vh - 70px); /* adjust 70px if your logo section height is different */
}

/* Optional: Custom scrollbar styling */
.menu_container::-webkit-scrollbar {
  width: 6px;
}

.menu_container::-webkit-scrollbar-track {
  background: transparent;
}

.menu_container::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}


    .menu_title {
      color: #888;
      font-weight: 600;
      font-size: 14px;
      text-transform: uppercase;
      margin: 20px 15px 5px;
      display: flex;
      justify-content: space-between;
    }

    ul.menu_item {
      list-style: none;
    }

    .item {
      margin: 5px 0;
    }

    .link {
      display: flex;
      align-items: center;
      text-decoration: none;
      padding: 12px 20px;
      color: #444;
      border-radius: 8px;
      margin: 0 10px;
      transition: all 0.3s ease;
    }

    .link i {
      font-size: 20px;
      min-width: 25px;
      color: #5c6bc0;
      transition: color 0.3s ease;
    }

    .link span {
      margin-left: 15px;
      font-size: 15px;
    }

    .link:hover {
      background: #e3f2fd;
      color: #1976d2;
      scale: 1.1;
    }

    .link:hover i {
      color: #1976d2;
    }

    nav.sidebar.collapsed .logo_name,
    nav.sidebar.collapsed .link span,
    nav.sidebar.collapsed .menu_title {
      display: none;
    }

    .main {
      margin-left: 250px;
      padding: 20px;
      flex: 1;
      transition: margin-left 0.3s ease;
    }

    nav.sidebar.collapsed ~ .main {
      margin-left: 70px;
    }

    /* Toggle button - hidden by default */
    .menu_toggle_btn {
      display: none;
    }

    /* Responsive Styling */
    @media (max-width: 768px) {
      nav.sidebar {
        left: -250px;
        position: fixed;
      }

      nav.sidebar.show {
        left: 0;
      }

      .main {
        margin-left: 0;
      }

      nav.sidebar.show ~ .main {
        margin-left: 250px;
      }

      .menu_toggle_btn {
        display: block;
        position: fixed;
        top: 15px;
        left: 15px;
        background: #5c6bc0;
        color: #fff;
        padding: 8px 10px;
        border-radius: 4px;
        z-index: 2001;
        cursor: pointer;
      }
      .logo_name{
        margin-left: 40px;
      }
    }


    /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

    
    .chartcontainer  {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      
    }

    .chartcontainer .card {
      background: #fff;
      border-radius: 24px;
      padding: 20px;
      width: 180px;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
      transition: 0.3s;
    }

    .chartcontainer .card:hover {
      transform: translateY(-5px);
    }

    .chartcontainer .icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 10px;
      font-size: 24px;
      color: #fff;
    }

    .chartcontainer .card h3 {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 5px;
      color: #333;
      height: 120px;
    }

    .chartcontainer .count {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 15px;
    }

    .chartcontainer .progress {
      position: relative;
      width: 90px;
      height: 90px;
      margin: 0 auto 10px;
    }

    .chartcontainer .progress svg {
      width: 90px;
      height: 90px;
      transform: rotate(-90deg);
    }

    .chartcontainer .progress circle {
      fill: none;
      stroke-width: 8;
      stroke-linecap: round;
    }

    .chartcontainer .progress-bg {
      stroke: #e4e4e4;
    }

    .chartcontainer .progress-bar {
      stroke: #6d73ff;
      stroke-dasharray: 251.2;
      stroke-dashoffset: 251.2;
      transition: stroke-dashoffset 1s ease-out;
    }

    .chartcontainer .percentage {
      position: absolute;
      top: 50%;
      left: 50%;
      font-size: 14px;
      font-weight: 600;
      transform: translate(-50%, -50%);
      color: #444;
    }

    .chartcontainer .card p {
      width: 100px;
      height: 5px;
      margin:20px auto;
      border-radius: 20px;
      background-color: rgb(245, 125, 61);
    }

    .chartcontainer .card small{
      color: red;
    }
  