 :root {
          --heading-font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;   
    --primary-blue: #0078d4;
            --primary-blue-hover: #106ebe;
            --primary-blue-light: #e1f5fe;
            --accent-teal: #018574;
            --accent-purple: #8764b8;
            --accent-orange: #ca5010;
            --neutral-grey: #f3f2f1;
            --neutral-grey-dark: #e1dfdd;
            --neutral-grey-darker: #d2d0ce;
            --text-primary: #201f1e;
            --text-secondary: #605e5c;
            --text-tertiary: #adaba8d2;
            --white: #ffffff;
            --border: #edebe9;
            --sidebar-bg: #faf9f8;
            --sidebar-width: 280px;
            --header-height: 64px;
            --shadow-sm: 0 1.6px 3.6px rgba(0,0,0,.13), 0 0.3px 0.9px rgba(0,0,0,.11);
            --shadow-md: 0 3.2px 7.2px rgba(0,0,0,.13), 0 0.6px 1.8px rgba(0,0,0,.11);
            --danger: #d13438;
             --h1-font-size: 1.1rem;
            --h1-color: #01174b;
            --h1-font-weight: 700;
            
        }



        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
           font-family: var(--heading-font-family);
           
            color: var(--text-primary);
        }

 h1 {
  
    font-size: var(--h1-font-size);
    font-family: var(--heading-font-family);


    color: var(--h1-color);
    font-weight: var(--h1-font-weight);
    margin-top: 5px;
    margin-bottom: 2px;
    margin: 1rem 0;
    line-height: 1.2;
     padding-bottom: 0.5rem;
    
    position: relative;
}

        

        /* Hamburger Button */
        .hamburger {
            position: fixed;
            top: 16px;
            left: 16px;
            z-index: 1001;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 4px;
            width: 44px;
            height: 44px;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.15s ease;
            box-shadow: var(--shadow-sm);
        }

        .hamburger:hover {
            background: var(--neutral-grey);
            border-color: var(--text-tertiary);
        }

        .hamburger i {
            color: var(--text-primary);
            font-size: 18px;
        }

        /* Overlay */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .overlay.active {
            display: block;
            opacity: 1;
        }

        /* Sidebar */
        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--sidebar-bg);
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            z-index: 1000;
            transition: transform 0.2s ease;
        }

        /* Sidebar Header */
        .sidebar-header {
            height: var(--header-height);
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            background: var(--white);
        }

        .logo-link {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text-primary);
        }

        .logo {
            width: 68px;
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
          
            border-radius: 4px;
            flex-shrink: 0;
        }

        .logo-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .logo-text {
            font-size: 16px;
            font-weight: 600;
            line-height: 1.3;
            color: var(--text-primary);
            letter-spacing: 0.5px;
        }

        .text-danger {
            color: var(--danger);
            font-weight: 700;
        }

        /* Sidebar Content */
        .sidebar-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .sidebar-content::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar-content::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar-content::-webkit-scrollbar-thumb {
            background: var(--neutral-grey-darker);
            border-radius: 3px;
        }

        .sidebar-content::-webkit-scrollbar-thumb:hover {
            background: var(--text-tertiary);
        }

        /* Primary Nav */
        .primary-nav {
            flex: 1;
            padding: 8px 12px;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 16px;
            margin-bottom: 2px;
            text-decoration: none;
            color: var(--text-primary);
            border-radius: 4px;
            font-size: 14px;
            font-weight: 400;
            transition: all 0.15s ease;
            cursor: pointer;
        }

        .nav-link:hover {
            background: var(--neutral-grey-dark);
            color: var(--text-primary);
        }

        .nav-link.active {
            background: var(--primary-blue-light);
            color: var(--primary-blue);
            font-weight: 600;
        }

        .nav-link i {
            width: 20px;
            font-size: 16px;
            text-align: center;
        }

        /* Dropdown */
        .dropdown {
            margin-bottom: 2px;
        }

        .dropdown-toggle {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 16px;
            background: transparent;
            border: none;
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 400;
            cursor: pointer;
            border-radius: 4px;
            transition: all 0.15s ease;
            text-align: left;
            font-family: 'Segoe UI', sans-serif;
        }

        .dropdown-toggle:hover {
            background: var(--neutral-grey-dark);
        }

        .dropdown-toggle::after {
            content: '';
          
        }

        .dropdown.active .dropdown-toggle {
            background: var(--neutral-grey-dark);
            color: var(--text-primary);
        }

        .dropdown.active .dropdown-toggle::after {
            transform: rotate(180deg);
        }

        .dropdown-menu-custom {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.2s ease;
            padding-left: 12px;
        }

        .dropdown.active .dropdown-menu-custom {
            max-height: 500px;
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 16px;
            margin: 2px 0;
            text-decoration: none;
            color: var(--text-secondary);
            border-radius: 4px;
            font-size: 14px;
            transition: all 0.15s ease;
        }

        .dropdown-item:hover {
            background: var(--neutral-grey-dark);
            color: var(--text-primary);
        }

        .dropdown-item.active {
            background: var(--primary-blue-light);
            color: var(--primary-blue);
            font-weight: 600;
        }

        .dropdown-item i {
            width: 20px;
            font-size: 14px;
            text-align: center;
        }

        .dropdown-divider {
            height: 1px;
            background: var(--border);
            margin: 8px 16px;
            border: none;
        }

        /* User Info */
        .user-info {
            padding: 16px 20px;
            border-top: 1px solid var(--border);
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 12px;
            flex: 1;
            min-width: 0;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--border);
        }

        .avatar-placeholder {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary-blue);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 16px;
            flex-shrink: 0;
        }

        .user-details {
            display: flex;
            flex-direction: column;
            min-width: 0;
            flex: 1;
        }

        .user-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .user-role {
            font-size: 12px;
            color: var(--text-secondary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .logout-button {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 4px;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.15s ease;
            flex-shrink: 0;
        }

        .logout-button:hover {
            background: var(--neutral-grey);
            border-color: var(--danger);
            color: var(--danger);
        }

        .logout-button i {
            font-size: 16px;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .hamburger {
                display: flex;
            }

            .sidebar {
                transform: translateX(-100%);
                box-shadow: var(--shadow-md);
            }

            .sidebar.active {
                transform: translateX(0);
            }
        }

        /* Content Area (exemplo de uso) */
        .main-content {
            margin-left: var(--sidebar-width);
            min-height: 100vh;
            padding: 24px;
            transition: margin-left 0.2s ease;
        }

        @media (max-width: 768px) {
            .main-content {
                margin-left: 0;
            }
        }

        /* Animações */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        .sidebar {
            animation: fadeIn 0.3s ease;
        }