body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    background-color: var(--rz-body-background-color);
}

.pg-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.pg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    box-sizing: border-box;
}

.pg-header--between {
    justify-content: space-between;
}

.pg-header--center {
    justify-content: center;
}

    .pg-header .logo {
        font-size: 1.25rem;
        font-weight: 600;
    }

.pg-sidebar-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.pg-sidebar {
    bottom: 0px !important;
}

.rz-sidebar-toggle {
    background-color: #ffffff00 !important;
}

.pg-admin-sidebar {
    width: 250px;
    background-color: #343a40;
    color: #ffffff;
    padding: 1rem;
    overflow-y: auto;
}

    .pg-admin-sidebar nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .pg-admin-sidebar nav ul li a {
            color: #adb5bd;
            text-decoration: none;
            display: block;
            padding: 0.5rem 0;
            transition: color 0.2s;
        }

            .pg-admin-sidebar nav ul li a:hover {
                color: #ffffff;
            }

.pg-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

.pg-content {
    flex: 1 0 auto;
}

.pg-body--padding {
    padding: 2rem;
}

@media (max-width: 767px) {
    .pg-admin-sidebar {
        position: fixed;
        top: 60px;
        bottom: 0;
        left: 0;
        z-index: 999;
        transition: transform 0.3s ease;
    }
    
    .pg-admin-sidebar--collapsed {
        transform: translateX(-100%);
    }
    
    .pg-admin-sidebar--expanded {
        transform: translateX(0);
    }
}