/* ============================
   CUSTOM AUDIO PLAYER (v2)
   ============================ */

/* General container */
.bb-activity-audio-player,
.wp-audio-shortcode {
    background-color: #1d1d1d;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    padding: 24px 24px;
    max-width: 100%;
    margin: 20px auto;
    position: relative;
}

/* MediaElement container */
.mejs-container {
    background: transparent !important;
    border-radius: 16px !important;
    overflow: hidden;
    height: 70px !important; /* increase overall height */
}

/* Ensure the player uses more horizontal space */
.mejs-controls {
    display: flex !important; /* flex layout for centering */
    align-items: center !important; /* vertically center all controls */
    height: 70px !important;
    padding: 0 10px !important;
}

/* Progress bar container */
.mejs-controls .mejs-time-rail {
    display: flex !important;
    align-items: center !important; /* vertically center the progress bar */
}

/* Progress bar itself */
.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #ff4476 !important;
    height: 10px !important;
    margin: 0 auto !important;
}
.mejs-controls .mejs-time-rail .mejs-time-total {
    background: #2a2a2a !important;
    height: 10px !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
}

/* Play/Pause buttons */
.mejs-controls .mejs-button > button {
    background: none !important;
    color: #ff4476 !important;
    width: 34px !important;
    height: 34px !important;
    filter: brightness(1.1);
    opacity: 1 !important;
}
.mejs-controls .mejs-button > button:hover {
    filter: brightness(1.4);
}

/* Make SVG icons visible */
.mejs-controls .mejs-play button::before,
.mejs-controls .mejs-pause button::before,
.mejs-controls .mejs-replay button::before {
    font-family: "dashicons" !important;
    font-size: 24px !important;
    color: #ff4476 !important;
    line-height: 34px !important;
    content: "\f522"; /* default: play icon */
}
.mejs-controls .mejs-pause button::before {
    content: "\f523"; /* pause icon */
}
.mejs-controls .mejs-replay button::before {
    content: "\f530"; /* replay icon */
}

/* Hide original SVGs to avoid overlap */
.mejs-controls .mejs-button > button svg {
    display: none !important;
}

/* Current/duration text */
.mejs-controls .mejs-time span {
    color: #fff !important;
    font-size: 14px !important;
}

/* Download link positioned on the right */
.audio-download {
    position: absolute;
    right: 24px;
    bottom: 24px;
    font-size: 13px;
    color: #ff4476;
    opacity: 0.8;
}
.audio-download a {
    color: #ff4476;
    text-decoration: none;
}
.audio-download a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .mejs-container {
        height: 60px !important;
    }
    .mejs-controls {
        height: 60px !important;
    }
    .audio-download {
        right: 18px;
        bottom: 18px;
        font-size: 12px;
    }
}

/* ================================
   BuddyBoss secondary menu full
   ================================ */

/* Dropdown background and wrapper */
.sub-menu,
.sub-menu .wrapper,
.sub-menu-inner {
    background-color: #1d1d1d !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

/* Generic menu links */
.sub-menu-inner li a {
    color: #fff !important;
    background-color: transparent !important;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Hover and active item */
.sub-menu-inner li a:hover,
.sub-menu-inner li.current-menu-item a {
    background-color: #ff4476 !important;
    color: #fff !important;
}

/* Avatars alignment */
.sub-menu-inner li a .avatar {
    margin-right: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Sub-menu wrappers */
.sub-menu-inner li .ab-sub-wrapper,
.sub-menu-inner li .ab-submenu {
    background-color: #1d1d1d !important;
    border: none !important;
}

/* Links in sub-menu */
.sub-menu-inner li .ab-submenu li a {
    color: #fff !important;
    padding: 8px 12px;
}

/* Hover sub-menu links */
.sub-menu-inner li .ab-submenu li a:hover {
    background-color: #ff4476 !important;
    color: #fff !important;
}

/* Separator between items */
.sub-menu-inner li + li {
    border-top: 1px solid #383838 !important;
}

/* Logout link */
.sub-menu-inner li.logout-link a {
    color: #fff !important;
    background-color: transparent !important;
}
.sub-menu-inner li.logout-link a:hover {
    background-color: #ff4476 !important;
    color: #fff !important;
}

/* Hide entire post-meta-wrapper on single posts */
.single-post .post-meta-wrapper {
    display: none !important;
}







