:root {
    --primary-color: #27ae60; 
    --sidebar-bg: #1e272e; 
    --body-bg: #f4f7f6;
    --card-bg: #ffffff;
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --accent-yellow: #f1c40f;
    --topbar-text: #ffffff; 
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
body {
    height: 100vh;
    width: 100vw;
    background-color: var(--body-bg);
    overflow: hidden;
    scrollbar-gutter: stable;
}
    /* =========================
      MAIN WRAPPER 
    ========================= */
    .wrapper
    {
        width: 100%;
        height: 100%;
        background-color: rgb(247, 247, 247);
    }
    /* =========================
      TOPBAR WRAPPER 
    ========================= */
  .topbar_wrapper {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 50px; /* একটু হাইট বাড়ানো হয়েছে */
    background-color: var(--primary-color);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8);
    color: var(--topbar-text); /* টেক্সট কালার এখন সাদা */
    padding: 0 20px;
}
    .topbar_wrapper .left{
        height: inherit;
        align-items: center;
        display: flex;
    }

 .menu-toggle {
    background-color: rgba(0, 0, 0, 0.2); /* পিউর ব্ল্যাকের চেয়ে ভালো দেখাবে */
    color: white;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 8px; /* একটু স্কয়ার শেপ মডার্ন লাগে */
    cursor: pointer;
    transition: 0.3s;
}
.menu-toggle:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
    .topbar_wrapper .left h3{
        height: inherit;
        width: 260px;
        align-items: center;
        display: flex;
        padding: 10px;
    }

    .topbar_wrapper .right
    {
        height: inherit;
        display: flex;
        align-items: center;
        padding: 10px;
        gap: 10px;
    }
    .topbar_wrapper .right .profile
    {
        cursor: pointer;
        align-items: center;
        height:inherit ;
        display: flex;
    }
    .topbar_wrapper .right .profile span
    {
        background-color:inherit;

    }
    .profile .dropdown{
        display: none;
        position: absolute;
        top: 50px;
        right: 0px;
        z-index: 999;
        background-color: rgb(43, 4, 70);
        min-width: 150px;
        border-top: 1px solid rgb(98, 84, 179);
    }

    .profile .dropdown a{
        display: block;
        text-decoration: none;
        color: white;
        padding: 10px;
    }
    .profile .dropdown a:hover{
        background-color: rgb(83, 78, 78);
    }
    .profile:hover .dropdown{
      display: block; 
    }

    .balance{
        cursor: pointer;
    }
    .notify{
       display: flex;
       cursor: pointer;
       border-radius: 50%;
       background-color: rgb(25, 19, 27);
       height: 40px;
       width: 40px;
       align-items: center;
       justify-content: center;
    }
    /* =========================
      MAIN CONTENT WRAPPER 
    ========================= */
    .main_contant_wrapper{
        position: fixed;
        z-index: 999;
        left: 0;
        top: 50px;
        display: flex;
        flex-direction: row;
        height: calc(100% - 80px);
        width: 100%;
        background-color: rgb(255, 255, 255,0);
        border: 1px;
    }
    /* =========================
      SIDEBAR WRAPPER 
    ========================= */
    .sidebar_wrapper {
    width: 300px;
    background-color: var(--sidebar-bg);
    color: var(--text-light);
    height: 100% ;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
}

    .sidebar_wrapper
    {
     transition: all 0.3s ease;
     transform: translateX(0%);
     display: block;
    }

    .sidebar_wrapper.active
    {
       transform: translateX(-100%);
       display: none;
    }

    /* =========================
      SIDEBAR PROFILE 
    ========================= */
  .sidebar_wrapper .profile {
    padding: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    height: auto; /* ফিক্সড হাইট সরিয়ে দেয়া হয়েছে */
}
    .profileNumber
    {
         display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 5px;
        border-bottom: 1px solid green;
    }
    .profileName{
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 5px;
        border-bottom: 1px solid green;
    }
 .profileID {
    color: var(--accent-yellow) !important;
    border: 1px solid var(--accent-yellow) !important;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
}
    .profileName .profileType
    {
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 13px;
    }
    /* =========================
      SIDEBAR MENU
    ========================= */
    .sidebar_wrapper .menu{
        width: inherit;
        height:inherit;
        border-bottom: 1px solid green;
        display: flex;
        flex-direction: column;
        overflow: auto;

        padding-right: 5px;
        overflow-y: auto;
        overflow-x: hidden;
        overflow-y: overlay;
    }
    .sidebar_wrapper .menu
    {
        list-style: none;
        padding: 5px;
    }
    .sidebar_wrapper .menu li{
        width: 100%;
    }
    .menu_icon{
        width: 40px;
        height: 40px;
        object-fit: contain;
        padding: 10px;
    }
    .menu_icon_box{
        display: flex;
        align-items: center;
        justify-content: center;
background-color: var(--text-light); /* আইকন বক্স হালকা ট্রান্সপারেন্ট */
    width: 30px;
    height: 30px;
    border-radius: 6px;
    margin-right: 12px;
    }

.sidebar_wrapper .menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}
    .ic_mm_name
    {
        display: flex;
        align-items: center;
        justify-items: center;
    }
.sidebar_wrapper .menu li a:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}
    .sidebar_wrapper .menu li.has-submenu > a  {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .submenu{
        list-style: none;
        padding-left: 30px  ;
        display: none;
    }
    .submenu li {
        list-style: none;
        position: relative;
        padding-left: 45px; /* গোল ইমেজের জন্য পর্যাপ্ত জায়গা */
        display: flex;
        align-items: center; /* টেক্সট এবং ইমেজকে লম্বালম্বি মাঝখানে রাখবে */
        height: 40px;
        margin-bottom: 5px;
    }
    .submenu li::before {
        content: "";
        position: absolute;
        left: 10px;
        background-image: url('/assets/images/list_style.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 50%;
        width: 25px; 
        height: 25px;
        box-shadow: 0 0 3px rgba(0,0,0,0.3);
        transition: 0.3s;
    }
    .submenu.active{
        display: block;
    }
    .indicator{
        transform: rotate(0deg);
        transition: all 0.3s ease;
    }
    .indicator.active{
        transform: rotate(180deg);
    }
    /* =========================
      MAIN CONTENT 
    ========================= */
    .main_content {
        height: 100%;
        width: 100%;
    }
    .main_content iframe{
        height: 100%;
        width: 100%;
        border: 0px;
    }
    /* =========================
      SIDEBAR PROFILE 
    ========================= */
.footer_wrapper {
    display: flex;
    width: 100%;
    height: 30px;
    background-color: #f1f1f1; /* হালকা মডার্ন রঙ */
    padding: 0 15px;
    font-size: 12px;
    align-items: center;
    justify-content: space-between;
    
    /* ফুটারকে নিচে আটকে রাখার জন্য */
    position: fixed;
    bottom: 0; /* স্ক্রিনের একদম নিচে থাকবে */
    left: 0;
    z-index: 998;
    border-top: 1px solid #ddd;
}

    /* =========================
      SIDEBAR PROFILE 
    ========================= */
/* পুরো স্ক্রলবারের এরিয়া */
.menu::-webkit-scrollbar {
    width: 2px; /* স্ক্রলবারটি চিকন করা হয়েছে */
}

/* স্ক্রলবারের ট্র্যাক (পেছনের অংশ) */

  iframe::-webkit-scrollbar-trac,
.menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05); 
}

  iframe::-webkit-scrollbar-thumb,
.menu::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
}

/* হোভার করলে কালার একটু গাঢ় হবে */
iframe::-webkit-scrollbar-thumb:hover,
.menu::-webkit-scrollbar-thumb:hover {
    background-color: #219150; 
}
iframe{
    overflow: hidden;
}