/* Layout & Container Styles extracted from Bootstrap Template */

.layout-container {
	display: flex;
	width: 100%;
	min-height: 100vh;
	position: relative;
	background: #f5f5f5;
}

/* Left Section */
.left-section {
	width: 260px;
	flex-shrink: 0;
	/* background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%); */
	overflow-y: auto;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	/* border-right: 2px solid #dee2e6; */
	/* box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05); */
	z-index: 100;
	background: transparent;
	/* border-radius: 5px; */
	box-shadow: none;
	padding: 0;
	border-right: none;
}

.left-section.closed {
    margin-left: 0;
    width: 0;
    border-right: none;
}

/* Middle Section */
.middle-section {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    padding: 15px 0px;
    background: none;
    position: relative;
}

/* Right Section */
.right-section {
	width: 260px;
	flex-shrink: 0;
	/* background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%); */
	overflow-y: auto;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-left: none;
	box-shadow: none;
	z-index: 100;
	background: none;
}
.right-section.closed {
    margin-right: 0;
    width: 0;
    border-left: none;
}

/* Toggle Buttons */
.toggle-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    border: none;
    padding: 18px 10px;
    cursor: pointer;
    z-index: 1000;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: bold;
}

.toggle-btn:hover {
    background: linear-gradient(135deg, #006699 0%, #004466 100%);
    transform: translateY(-50%) scale(1.1);
}

.toggle-left {
    left: 0;
    border-radius: 0 8px 8px 0;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.left-section.closed~.toggle-left {
    left: 0;
}

.left-section:not(.closed)~.toggle-left {
    left: 0;
}

.toggle-right {
    right: 0;
    border-radius: 8px 0 0 8px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.right-section.closed~.toggle-right {
    right: 0;
}

.right-section:not(.closed)~.toggle-right {
    right: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .layout-container {
        flex-direction: column;
    }

    .left-section,
    .right-section {
        width: 100%;
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100%;
    }

    .left-section {
        left: 0;
        transform: translateX(0);
    }

    .left-section.closed {
        transform: translateX(-100%);
        width: 100%;
    }

    .right-section {
        right: 0;
        transform: translateX(0);
    }

    .right-section.closed {
        transform: translateX(100%);
        width: 100%;
    }
}
/*
.layout-container{
    top: 32px;
}*/
