.layout-menu {
    width: 320px;
    z-index: 0;
    background-color: #ffffff;
    border-right: 1px solid #e0e0e0;
    cursor: pointer;
    height: 100vh;
    /* Fixed height */
    display: flex;
    flex-direction: column;
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85px;
}

.logo-container img {
    width: auto;
    height: 70px;
    margin-top: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    display: block;
}

.menu-inner {
    padding: 0;
    flex: 1;
    /* Takes remaining space inside .layout-menu */
    overflow-y: auto;
    overflow-x: hidden;
    list-style-type: none;
}

/* Removed old height media queries for .menu-inner */

.menu-header {
    color: #d7f5fc;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 18px;
    width: -webkit-fill-available !important;
}

.menu-item {
    margin-bottom: 5px;
}

.menu-item.active {
    margin-left: 15px !important;
}

.menu-item:hover {
    margin-left: 15px !important;
}

.menu-link {
    display: flex;
    cursor: pointer;
    padding: 12px 20px;
    align-items: center;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s, color 0.3s;
}

.menu-link.active {
    color: rgba(var(--bs-dark-rgb));
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-link:hover {
    background-color: white;
    color: rgba(var(--bs-dark-rgb));
}

.menu-icon {
    margin-right: 12px;
    font-size: 20px;
    transition: color 0.3s;
}

.menu-icon.active {
    color: rgba(var(--bs-dark-rgb)) !important;
}

.menu-icon:hover {
    color: rgba(var(--bs-dark-rgb)) !important;
}

.menu-link span {
    transition: font-weight 0.2s;
}

.menu-link:hover span {
    font-weight: bold;
}

/* Search Input Styles */
.search-container {
    border-right: none;
    border-bottom: none;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-container>input {
    background: unset;
    text-align: center;
    border-top: none;
    width: 100%;
    height: 50px;
    color: white !important;
    outline: none;
    padding: 0.5rem;
    transition: border-color 0.2s ease;
}

.search-container>input::placeholder {
    text-align: center;
    color: white;
}

.search-container>input:focus {
    border-top-color: #0c2d57;
    text-align: center;
    color: white;
}

.search-icon {
    position: absolute;
    left: 95px;
    margin-top: 4px;
}


/* Right section */
.layout-page {
    height: 100vh;
    /* Fixed height for full screen */
    overflow: hidden;
    /* Prevent body scroll, control it manually */
    display: flex;
    flex-direction: column;
}

.layout-content {
    flex: 1;
    /* Take remaining space */
    overflow-y: auto;
    /* Vertical scroll if content overflows */
    overflow-x: hidden;
    padding: 1rem;
    /* Optional spacing */
}