/* LMS Custom Header Styles - Version 1.3 */
.lms-custom-header {
    background: linear-gradient(to right, #000080, #0000CD); /* Navy to Royal Blue */
    color: #fff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.lms-header-title a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}
.lms-header-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.lms-header-nav .menu-item {
    position: relative; /* Needed for dropdown positioning */
}
.lms-header-nav .menu-item a {
    color: #E5E7EB; /* Light Gray */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 10px 0;
}
.lms-header-nav .menu-item a:hover,
.lms-header-nav .current-menu-item a {
    color: #fff;
}

/* Dropdown Menu Styles */
.lms-header-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 200px;
    list-style: none;
}
.lms-header-nav .menu-item:hover > .sub-menu {
    display: block;
}
.lms-header-nav .sub-menu li {
    width: 100%;
}
.lms-header-nav .sub-menu li a {
    color: #4B5563 !important; /* Gray */
    padding: 10px 20px;
    display: block;
    white-space: nowrap;
}
.lms-header-nav .sub-menu li a:hover {
    background-color: #f4f6f9;
}


.lms-header-search .search-form {
    display: flex;
}
.lms-header-search .search-field {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid #4B5563; /* Gray */
    color: #fff;
    border-radius: 8px 0 0 8px;
    padding: 8px 12px;
}
.lms-header-search .search-field::placeholder {
    color: #E5E7EB;
}
.lms-header-search .search-submit {
    background-color: #800000; /* Maroon */
    color: #fff;
    border: 1px solid #800000;
    border-left: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}