/* Styling for the off-canvas sidebar wrapper */
#off-canvas-sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px; /* Adjust width as needed */
    height: 100%;
    background-color: #fff; /* White background */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    overflow-y: auto; /* Enable vertical scrolling within the sidebar */
    
    /* Animation settings */
    transform: translateX(-100%); /* Start off-screen */
    transition: transform 0.3s ease;
}

#off-canvas-sidebar-wrapper.off-canvas-open {
    transform: translateX(0); /* Slide in when open */
}

/* Styling for the overlay */
#off-canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none; /* Hide by default */
    cursor: pointer;
}

#off-canvas-overlay.off-canvas-open {
    display: block;
}

/* Styling for the header, close button, and content */
.off-canvas-header {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
}

.off-canvas-content {
    padding: 20px;
}

.off-canvas-toggle {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

.off-canvas-toggle:hover {
    background-color: #0056b3;
}

/* Styling for widgets inside the sidebar */
#off_canvas_menu_sidebar .widget {
    margin-bottom: 20px;
}

#off_canvas_menu_sidebar .widget-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
