/* --- 1. FONTS & ROOT RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Atma:wght@300;400;500;600;700&family=Tiro+Bangla:ital@0;1&display=swap');

:root { 
    --tblr-font-sans-serif: 'Inter var', -apple-system, BlinkMacSystemFont, sans-serif; 
    
    /* FIX: Neutralize the scrollbar-gutter calculation causing the thick left border */
    margin-left: 0 !important;
    margin-right: 0 !important;
}


body { 
    font-feature-settings: "cv03", "cv04", "cv11"; 
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden; /* Prevents unwanted horizontal shifting */
    overflow-y: scroll;
	scrollbar-gutter: stable;
}

/* --- 2. LAYOUT & GUTTER REMOVAL --- */

/* Force the main container to stack vertically (disables sidebar slots) */
.page {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Tabler's default sidebar margins and borders from the content area */
.page-wrapper {
    margin-left: 0 !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    min-height: auto !important;
}

/* Ensure the main body container touches the screen edges */
.page-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
}

/* --- 3. DROPDOWN HOVER & ALIGNMENT --- */
@media (min-width: 992px) {
    /* Double-check the margin-left reset inside the media query scope */
    :root, :host {
        margin-left: 0 !important;
    }

    /* Show dropdown menu on hover */
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        position: absolute;
        /* Aligns exactly to the bottom of the navigation bar */
        top: 100% !important; 
        margin-top: 0 !important;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1050;
    }

    /* Invisible Bridge: Prevents the menu from flickering/closing 
       when moving the cursor between the link and the menu box */
    .nav-item.dropdown > .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 0;
        right: 0;
        height: 10px;
    }
}

/* --- 4. NAVIGATION & BRANDING TWEAKS --- */

/* Remove default left borders from Navbars (common in Tabler) */
.navbar, .navbar-expand-md {
    border-left: 0 !important;
    border-right: 0 !important;
}

/* Spacing for icons inside menu items */
.nav-link-icon {
    margin-right: 0.5rem;
}

.footer-transparent {
    border-top: 1px solid #e5e7eb;
}

/* ---------- Google Bangla fonts ------------- */

.tiro-bangla-regular {
  font-family: "Tiro Bangla", serif;
  font-weight: 400;
  font-style: normal;
}

.tiro-bangla-regular-italic {
  font-family: "Tiro Bangla", serif;
  font-weight: 400;
  font-style: italic;
}

.atma-light {
  font-family: "Atma", system-ui;
  font-weight: 300;
  font-style: normal;
}

.atma-regular {
  font-family: "Atma", system-ui;
  font-weight: 400;
  font-style: normal;
}

.atma-medium {
  font-family: "Atma", system-ui;
  font-weight: 500;
  font-style: normal;
}

.atma-semibold {
  font-family: "Atma", system-ui;
  font-weight: 600;
  font-style: normal;
}

.atma-bold {
  font-family: "Atma", system-ui;
  font-weight: 700;
  font-style: normal;
}
.zero_margin {margin-top: 0 !important;}
.text-bold {font-weight: bold;}