:root {
    /* Primary Colors */
    --primary-gradient: #013237;
    --seconder-gradient: linear-gradient(135deg, #dbfde9 25%, #6deea5 100%, #138245 50%);
    
    
    
    /* Neutral Colors */
    --bg-primary: #4ca771;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.1);
    
    /* Text Colors */
    --text-primary: #180701;
    --text-secondary: #013237;
    --text-muted: rgba(255, 255, 255, 0.6);

    /* Glass Effect  for sider*/
    --glass-bg: rgba(203, 247, 209, 0.08);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    
}

/* Base Styles */
   *{
		margin: 0;
		padding: 0;
        box-sizing: border-box;
        font-family: "Poppins" , sans-serif;
	}
    body {
    
  font-family: 'Poppins', sans-serif;
    position: relative;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', 'Poppins', sans-serif;
    overflow-x: hidden;
    transition: var(--transition-smooth);
}
body.loaded {
    animation: fadeInUp 0.8s ease-out;
}
/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background:  var(--seconder-gradient) ;
}
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.shape {
    position: absolute;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 40%;
    animation-delay: -15s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 70%;
    left: 60%;
    animation-delay: -8s;
}
.Sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 78px;
    padding: 6px 14px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    transition: all 0.5s ease;
    box-shadow: var(--glass-shadow);
      z-index: 10000;
}
    .Sidebar.active{
        width: 240px;
    }
    .Sidebar .logo_content .logo{
        color: var(--text-primary);
        display: flex;
        height: 50px;
        width: 100%;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        
    }
    .Sidebar.active .logo_content .logo{
        opacity: 1;
        pointer-events: none;
    }
    .logo_content .logo i{
        font-size: 28px;
        margin-right: 5px;
    }
    .logo_content .logo .logo_name{
        font-size: 20px;
        font-weight: 600;
    }
    .Sidebar #btn{
        position: absolute;
        font-weight: 400;
        color: var(--text-primary);
        left: 50%;
        top: 6px;
        font-size: 24px;
        height: 50px;
        width: 50px;
        text-align: center;
        line-height: 50px;
        transform: translateX(-50%);
    }
    
        .Sidebar.active #btn{
            left: 90%;

        }
    .Sidebar ul{
        margin-top: 20%;
    }
     .Sidebar ul li{
        position: relative;
        height: 50px;
        width: 100%;
          margin: 0 5px;
        list-style: none;
        line-height: 50px;
    }

    
     .Sidebar ul li .tooltip{
    /* أضف هذا السطر */
        color: var(--text-primary);
        position: absolute;
        left: 122px;
        top: 0;
        transform: translate(-50% ,-50%);
        border-radius: 6px;
        height: 35px;
        width: 100px;
        background: white;
        line-height: 35px;
        text-align: center;
        box-shadow:var( --glass-shadow) ;
        transition: 0s;
        opacity: 0;
        pointer-events: none;
        display: block;
         z-index: 9999;
        }
         .Sidebar.active ul li .tooltip{
            display: none;

         }
        .Sidebar ul li:hover .tooltip{
        transition: all 0.5s ease;
        opacity: 1;
        top: 50%;

        }
    .Sidebar ul li input{
        position: absolute;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        border-radius: 12px;
        outline: none;
        border: none;
        padding-left: 50px;
        font-size: 18px;
        color: var(--text-primary);
    }
    .Sidebar ul li .bx-search{
        position: absolute;
        z-index: 99;
        color: var(--text-primary);
        font-size: 22px;
         font-weight: 500;
    }
      .Sidebar ul li .bx-search:hover{
        background: white;
        color: var(--text-primary);
    }
    .Sidebar ul li a{
        color: var(--text-primary);
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: all 0.5s ease;
        border-radius: 12px;
        white-space: nowrap;
        font-size: 20px;
         
    }
    .Sidebar ul li a:hover{
       transform: scaleX(0.8);
    }
    .Sidebar ul li i{
        
        height: 50px;
        min-width: 50px;
        border-radius: 12px;
        line-height: 50px;
        text-align: center;
    }
    .Sidebar .link_name{
            opacity: 0;
            pointer-events: none;
        }
        .Sidebar.active .link_name{
            opacity: 1;
            pointer-events: auto;
             
          
        }



 
.home_content {
  position: absolute;
  flex-direction: column;
  top: 0;
  left: 78px;
  width: calc(100% - 78px);
  min-height: 100vh;
  padding: 20px;
  display: flex;
  gap: 20px;
 align-items: flex-end; 
 z-index: 1;/* هذا يضع العنصر في الجهة اليسرى */
}
.Sidebar.active ~ .home_content {
  width: calc(100% - 240px);
  left: 240px;
}

  /* ================================================= */
    
    /* أنماط التصميم المتجاوب (Responsive Design) */
        /* ================================================= */