body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

/* Sidebar styles */
.sidebar {
    height: 100vh;
    width: 250px;
    background-color: #343a40;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 1rem;
    transition: all 0.3s ease;
    z-index: 1050;
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sidebar .logo img {
    width: 100px;
    border-radius: 50%;
}

.sidebar a {
    color: #adb5bd;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: #495057;
    color: #fff;
}

/* Main content */
.content {
    margin-left: 250px;
    padding: 20px;
    transition: all 0.3s;
}

/* Responsive behavior */
@media (max-width: 991px) {
    .sidebar {
        left: -250px;
    }

    .sidebar.active {
        left: 0;
    }

    .content {
        margin-left: 0;
    }
}

/* Toggle & close buttons */
.menu-toggle {
    background: none;
    border: none;
    color: #343a40;
    font-size: 1.8rem;
}

.sidebar .close-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
}

@media (max-width: 991px) {
    .sidebar .close-btn {
        display: block;
    }
}