body {
    background: #f4f6f9;
    overflow-x: hidden;
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 150px;
    background: #111827;
    transition: width .3s ease;
    padding-top: 60px;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar .logo {
    position: fixed;
    top: 0;
    width: inherit;
    height: 60px;
    background: #0f172a;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar.collapsed .logo span {
    display: none;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin: 8px 0;
}

.sidebar ul li a {
    color: #cbd5e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    transition: background .2s;
}

.sidebar ul li a:hover {
    background: #1e293b;
    color: #fff;
}

.sidebar ul li i {
    font-size: 18px;
    min-width: 30px;
    text-align: center;
}

.sidebar ul li span {
    transition: opacity .2s;
}

.sidebar.collapsed ul li span {
    opacity: 0;
    pointer-events: none;
}

.sidebar ul li a.active {
    background: #1e293b;
    color: #fff;
}

.sidebar ul li a.active i {
    color: #fff;
}


/* CONTENT */
.main {
    margin-left: 240px;
    transition: margin-left .3s ease;
}

.main.collapsed {
    margin-left: 70px;
}

/* TOPBAR */
.topbar {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
}

.toggle-btn {
    font-size: 22px;
    cursor: pointer;
}



/* dashboard page */
 body {
            background-color: #f4f6f9;
        }
        .navbar {
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }
        .card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
        .card-icon {
            font-size: 40px;
        }
        .welcome-box {
            background: linear-gradient(135deg, #1d3557, #457b9d);
            color: white;
            border-radius: 15px;
        }

        /* inventory list page */

         table th {
            white-space: nowrap;
        }

        .card {
            border-radius: 15px;
            border: none;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }
 
        /* add inventory */
        .form-control, .form-select {
            height: 46px;
        }
        label {
            font-weight: 500;
        }