/* Reset default margin/padding */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}


/* Full width header */
#headerNavigationContainer {
    width: 100%;
    height: 190px;
    background-color: #162238;
    /* blue fill */
    background-image: url('https://cjmri.nubb.edu.kh/public/site/images/admin/logo-empty.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100%;
    /* scale image to full height, auto width */
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding-left: 20px;
    /* spacing from left edge */
}


.pkp_site_nav_menu {
    background-color: #162238;
    margin-top: 10px;
}

/* Main nav container cleanup */
.pkp_navigation_primary_wrapper {
    background: none !important;
    padding: 8px 20px;
}

/* Top-level nav links */
#navigationPrimary li a {
    /* color: #004aad !important; */
    background: none !important;
    font-weight: 600;
    font-size: 15px;
    color: whitesmoke;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    background-color: transparent !important;
    border: 1px solid #162238;
    border-radius: 6px;
}

/* Hover style: soft background with border */
#navigationPrimary li a:hover {
    background-color: transparent !important;
    border: 1px solid whitesmoke;
    border-radius: 6px;
}

/* Dropdown (submenu) cleanup */
#navigationPrimary .dropdown-menu {
    background: #162238;
    border-radius: 8px;
    padding: 12px 0px 12px 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
}

/* Submenu links */
#navigationPrimary .dropdown-menu li a {
    color: whitesmoke !important;
    background: #162238 !important;
    padding: 6px;
    margin: 6px;
    font-size: 14px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;

}

/* Submenu hover */
#navigationPrimary .dropdown-menu li a:hover {
    background-color: #162238 !important;
    border: 1px solid whitesmoke;
    margin: 6px;
}

/* User profile nav (top right) */
#navigationUser li a {
    color: whitesmoke !important;
    font-weight: 600;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #162238;
}

#navigationUser li a:hover {
    background-color: rgba(0, 74, 173, 0.1);
    border: 1px solid whitesmoke;
}

/* Dropdown from user menu */
#navigationUser .dropdown-menu {
    background: #162238;
    border-radius: 8px;
    color: whitesmoke;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 1000;
}

#navigationUser .dropdown-menu li a {
    color: whitesmoke !important;
    padding: 8px 16px;
    font-size: 14px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
}

#navigationUser .dropdown-menu li a:hover {
    border: 1px solid whitesmoke;

}

.pkp_brand_footer {
    display: none;
}

.pkp_structure_footer_wrapper {
    background-color: #162238;
    color: whitesmoke;
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 10px;
    width: 100%;
}