/* 
 * Retraide Menu Styles (Independent from HivePress)
 */

/* Menu container & list items */
.header-navbar__menu > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important; /* Force items to stay on one line */
}

.retraide-menu-item {
    position: relative;
}

.retraide-menu-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Ensure submenu text is left-aligned */
.header-navbar__menu ul li ul li a {
    justify-content: flex-start !important;
}

.retraide-menu-item a:hover {
    color: var(--color-primary, #0073e6);
}

/* Ensure submenus display vertically if flex is used */
.header-navbar__menu ul li ul {
    flex-direction: column;
}
.header-navbar__menu ul li ul li {
    padding: 0.5rem 1rem !important;
}

/* Button styles */
.retraide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.retraide-btn--primary {
    background-color: var(--color-primary, #0073e6);
    color: #ffffff !important;
    border: 1px solid var(--color-primary, #0073e6);
}

.retraide-btn--primary:hover {
    background-color: var(--color-primary-dark, #005bb5);
    color: #ffffff !important;
}

.retraide-btn--secondary {
    background-color: transparent;
    color: var(--color-primary, #0073e6) !important;
    border: 1px solid var(--color-primary, #0073e6);
}

.retraide-btn--secondary:hover {
    background-color: var(--color-primary, #0073e6);
    color: #ffffff !important;
}

/* Notification Bubble */
.retraide-menu-notification {
    background-color: #e53e3e;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    margin-left: 0.25rem;
    line-height: 1;
}

/* Icons */
.retraide-menu-item i {
    font-size: 1.1em;
}

/* 
 * Mobile Menu (Hamburger) Overlay
 */
@media (max-width: 900px) {
    .header-navbar__burger ul.is-active {
        display: block !important; /* Override the theme's display: none */
    }

    .retraide-btn {
        width: 100%;
        text-align: center;
    }
}
