body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f6f9;
}

/* =========================
   MAIN LAYOUT
========================= */
.app {
    display: flex;
    height: calc(100vh - 56px); /* minus top navbar */
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
    width: 240px;
    background: #1f2937;
    padding-top: 10px;
    flex-shrink: 0;

    /* IMPORTANT for footer */
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Menu items */
.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
}

.menu-item i {
    font-size: 16px;
}

.menu-item:hover {
    background: #374151;
    color: #ffffff;
}

/* Logout highlight */
.menu-item.logout {
    color: #f87171;
}

/* =========================
   SIDEBAR FOOTER BRANDING
========================= */
.sidebar-footer {
    margin-top: auto; /* pushes footer to bottom */
    padding: 15px 10px;
    text-align: center;
    border-top: 1px solid #374151;
}

.sidebar-footer img {
    width: 150px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.sidebar-footer div {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 1px;
}

/* =========================
   CONTENT AREA
========================= */
.content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* Cards */
.card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =========================
   MOBILE VIEW
========================= */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -240px;
        top: 56px;
        height: calc(100vh - 56px);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .sidebar.show {
        left: 0;
    }

    .content {
        padding: 16px;
    }
}
