
<?php

$user_role = $_SESSION['role'] ?? 'guest'; // Make sure role is set at login
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>RAMS EXECUTIVE LODGE</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <!-- Custom CSS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>

    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f5f5;
        }
        .navbar-brand {
            font-weight: bold;
            color: #;
        }
        .table thead th {
            background-color: #343a40;
            color: white;
        }
        .table tbody tr:hover {
            background-color: #e9f7ef;
        }
        .badge-stock-critical {
            background-color: #dc3545;
        }
        .badge-stock-low {
            background-color: #fd7e14;
        }
        .badge-stock-ok {
            background-color: #28a745;
        }
        .btn-custom {
            border-radius: 0.35rem;
            font-weight: bold;
        }
        .form-control:focus {
            box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
            border-color: #28a745;
        }
        .tab-content {
            background: white;
            padding: 20px;
            border-radius: 0.5rem;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .dropdown-menu .dropdown-item:hover {
    background-color: #e9f7ef;
    font-weight: bold;
}

    </style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark px-3">
    <a class="navbar-brand" href="sales_pos.php"><i class="fa fa-cash-register"></i>e-Hotels</a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
        <ul class="navbar-nav ms-auto">
<li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" href="#" id="posDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
        <i class="fa fa-cash-register"></i> <b>POS</b>
    </a>

    <ul class="dropdown-menu dropdown-menu-end shadow" aria-labelledby="posDropdown">
        <li>
            <a class="dropdown-item" href="sales_pos.php">
                <i class="fa fa-cash-register text-success"></i> Bar POS
            </a>
        </li>
        <li>
            <a class="dropdown-item" href="restaurant_pos.php">
                <i class="fa fa-utensils text-danger"></i> Restaurant POS
            </a>
        </li>
    </ul>
</li>


          
                  <li class="nav-item"><a href="front_office.php" class="nav-link"><i class="fa fa-boxes-stacked"></i>Front Office</a></li>
                     
                             
                                  
                                 <li class="nav-item"><a href="Kitchen.php" class="nav-link"><i class="fa fa-boxes-stacked"></i>Kitchen</a></li>

                             
                                   <li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" href="#" id="sectionsDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">
        <i class="fa fa-boxes-stacked"></i> Sections
    </a>
    <ul class="dropdown-menu dropdown-menu-end shadow" aria-labelledby="sectionsDropdown">
        <li><a class="dropdown-item" href="restaurant.php">Restaurant</a></li>
        <li><a class="dropdown-item" href="bar.php">Bar</a></li>
        <li><a class="dropdown-item" href="kitchen_dashboard.php">Kitchen</a></li>
        <li><a class="dropdown-item" href="accounts.php">Accounts</a></li>

        <li><a class="dropdown-item" href="front_office_dashboard.php">Front Office</a></li>

        <li><a class="dropdown-item" href="manager.php">Manager</a></li>
        <li><a class="dropdown-item" href="inventory.php">Inventory</a></li>
        <li><a class="dropdown-item" href="house_keeping.php">House Keeping</a></li>
    </ul>
</li>


               <li class="nav-item"><a href="assets.php" class="nav-link"><i class="fa fa-user-circle"></i>Assets</a></li>
          
                           
         
                   <li class="nav-item"><a class="nav-link" href="settings.php"><i class="fa fa-cogs"></i> Settings</a></li>
                      
            <li class="nav-item"><a href="logout.php" class="btn btn-secondary btn-custom ms-2"><i class="fa fa-sign-out-alt"></i> Logout</a></li>
        </ul>
    </div>
</nav>
<div class="container-fluid mt-4">
