/* 1. Top Global Header Bar (White background with Navy baseline) */
.toolbar.global-menu,
.global-menu {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0 !important;
    height: 70px !important; /* Provides breathing room for the logo */
}

/* 2. Top-Right Global Buttons (Navy Blue background with White text) */
.toolbar.global-menu > a,
.toolbar.global-menu > .group > a,
.toolbar.global-menu .ui-button {
    background-color: #394c8f !important;
    background: #394c8f !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
}

/* Hover state for Top-Right Buttons (Turns Gold) */
.toolbar.global-menu > a:hover,
.toolbar.global-menu > .group > a:hover {
    background-color: #AB823C !important;
    background: #AB823C !important;
}

/* 3. Second Navigation Bar (Solid UoE Navy Blue) */
#header,
.header,
.header-core,
.header-navigation {
    background-color: #ffffff !important;
    background: #ffffff !important;
    background-image: none !important;
}

/* Text and Links inside the Second Navigation Bar */
.header-nav-list > li > a {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Active and Hover states for the Second Navigation Bar (Gold Accent) */
.header-nav-list > li.active > a,
.header-nav-list > li > a:hover {
    background-color: #AB823C !important;
    background: #AB823C !important;
    color: #ffffff !important;
}

/* 4. Page Action Buttons (e.g., "Create event" button on the homepage) */
.ui-button.primary,
.action-button,
.btn-primary {
    background-color: #394C8F !important;
    background: #394C8F !important;
    border-color: #394C8F !important;
    color: #ffffff !important;
}

.ui-button.primary:hover,
.action-button:hover {
    background-color: #AB823C !important;
    background: #AB823C !important;
    border-color: #AB823C !important;
}

