/* Easy Mobile Nav & Menu Frontend Public Styles */

/* -------------------------------------------------------------
   1. BOTTOM NAVIGATION BAR
------------------------------------------------------------- */
.mobile-bottom-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--mbn-height, 60px);
    background-color: var(--mbn-bg-color, #F27A1A);
    z-index: var(--mbn-z-index, 9999);
    display: flex;
    align-items: center;
    font-family: var(--mbn-font-family, inherit);
    font-weight: var(--mbn-font-weight, 500);
    border-radius: var(--mbn-border-radius, 0px);
    border-top: var(--mbn-border-top-width, 0px) var(--mbn-border-style, solid) var(--mbn-border-top-color, transparent);
    box-shadow: var(--mbn-shadow-preset, none);
    opacity: var(--mbn-bg-opacity, 1);
    padding-left: var(--mbn-padding-x, 8px);
    padding-right: var(--mbn-padding-x, 8px);
    padding-bottom: var(--mbn-safe-area-bottom, 0px);
    transition: transform var(--mbn-transition-duration, 0.3s) var(--mbn-transition-easing, ease), opacity var(--mbn-transition-duration, 0.3s) ease;
    box-sizing: border-box;
}

.mobile-bottom-nav-bar.mbn-hide-desktop {
    display: none !important;
}

@media (max-width: 991px) {
    .mobile-bottom-nav-bar.mbn-hide-desktop {
        display: flex !important;
    }
    
    /* Add bottom padding to body to prevent bottom nav from covering content */
    body.mbn-body-padding {
        padding-bottom: var(--mbn-height, 60px) !important;
    }
}

.mbn-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    flex: 1;
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
    color: var(--mbn-text-color, #ffffff) !important;
}

.mbn-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
}

.mbn-icon {
    font-size: var(--mbn-icon-size, 20px);
    color: var(--mbn-icon-color, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.mbn-icon svg {
    width: var(--mbn-icon-size, 20px);
    height: var(--mbn-icon-size, 20px);
    fill: currentColor;
}

.mbn-label {
    font-size: var(--mbn-font-size, 11px);
    color: var(--mbn-text-color, #ffffff);
    font-weight: 500;
    transition: color 0.25s ease;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

/* Badge styling */
.mbn-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--mbn-badge-bg-color, #1e293b);
    color: var(--mbn-badge-text-color, #ffffff);
    font-size: 10px;
    font-weight: bold;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Shadow styling */
.mobile-bottom-nav-bar.mbn-has-shadow {
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
}

/* Active and Hover States */
.mbn-item.mbn-active, 
.mbn-item:hover {
    color: var(--mbn-text-active-color, #ffffff) !important;
    background-color: var(--mbn-active-item-bg, transparent);
}

.mbn-item.mbn-active .mbn-icon,
.mbn-item:hover .mbn-icon {
    color: var(--mbn-icon-active-color, #ffffff);
}

.mbn-item.mbn-active .mbn-label,
.mbn-item:hover .mbn-label {
    color: var(--mbn-text-active-color, #ffffff);
}

/* Label Visibility Effects */
.mbn-labels-never .mbn-label {
    display: none !important;
}
.mbn-labels-never .mbn-icon-wrapper {
    margin-bottom: 0;
}

.mbn-labels-active_only .mbn-label {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.2s ease, height 0.2s ease;
    margin-top: 0;
}
.mbn-labels-active_only .mbn-item.mbn-active .mbn-label,
.mbn-labels-active_only .mbn-item:hover .mbn-label {
    opacity: 1;
    height: auto;
    margin-top: 3px;
}

/* Active Item Effects */

/* 1. Accent Line Effect */
.mbn-effect-accent-line .mbn-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--mbn-accent-line-color, #ffffff);
    transition: width 0.25s ease;
}
.mbn-effect-accent-line .mbn-item.mbn-active::after {
    width: 60%;
}

/* 2. Background Pill Effect */
.mbn-effect-background-pill .mbn-item .mbn-icon-wrapper {
    padding: 6px 16px;
    border-radius: 20px;
    transition: background-color 0.25s ease;
}
.mbn-effect-background-pill .mbn-item.mbn-active .mbn-icon-wrapper {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 3. Grow Effect */
.mbn-effect-grow .mbn-item.mbn-active .mbn-icon {
    transform: scale(1.2);
}

/* Hide on Scroll State */
.mobile-bottom-nav-bar.mbn-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* Fix mobile drawer crop issue caused by body bottom padding */
@media (max-width: 991px) {
    .dc-drawer {
        top: 0 !important;
        bottom: 0 !important;
        height: auto !important;
    }
}


/* -------------------------------------------------------------
   2. SLIDING MOBILE DRAWER MENU
------------------------------------------------------------- */

/* Hide theme's default mobile drawer and overlay when plugin drawer is loaded */
body #dcMobileDrawer,
body #dcOverlay {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 2.1 OVERLAY MASK */
.embm-overlay {
    position: fixed;
    inset: 0;
    background: var(--embm-overlay-bg);
    z-index: calc(var(--embm-z-index) - 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.embm-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 2.2 DRAWER CONTAINER */
.embm-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--embm-width);
    max-width: 85%;
    background: var(--embm-drawer-bg);
    z-index: var(--embm-z-index);
    transform: translateX(-100%);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.embm-drawer.is-active {
    transform: translateX(0);
}

.embm-drawer-inner {
    height: 100%;
    overflow-y: auto;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* 2.3 CLOSE BUTTON */
.embm-close-btn {
    position: absolute;
    top: 20px;
    left: 100%;
    margin-left: 20px;
    background: transparent;
    border: none;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;
    color: #ffffff; /* White close button on the dark overlay */
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Hide by default when drawer is closed */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.embm-drawer.is-active .embm-close-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.embm-close-btn:hover,
.embm-close-btn:focus {
    color: #333333;
    transform: scale(1.1);
    outline: none;
}

/* 2.4 USER GREETING & PROFILE CARD */
.embm-greeting-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--embm-greeting-bg);
    border-radius: var(--embm-border-radius);
    padding: 14px 18px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.embm-greeting-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.embm-greeting-card-main {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    flex: 1;
    min-width: 0;
}

.embm-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    color: var(--embm-greeting-text);
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.embm-avatar svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.embm-avatar img,
.embm-avatar .avatar,
.embm-avatar .embm-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.embm-user-info {
    display: flex;
    flex-direction: column;
    color: var(--embm-greeting-text);
    overflow: hidden;
    min-width: 0;
}

.embm-user-hello {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--embm-greeting-text);
}

.embm-user-action {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 3px;
    text-decoration: none;
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--embm-greeting-text);
}

.embm-greeting-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--embm-greeting-text) !important;
    text-decoration: none !important;
    font-size: 14px;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.embm-greeting-logout:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.embm-greeting-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--embm-greeting-text);
    opacity: 0.8;
    font-size: 14px;
    flex-shrink: 0;
    text-decoration: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.embm-greeting-card:hover .embm-greeting-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* 2.5 SECTIONS GENERAL */
.embm-section {
    display: flex;
    flex-direction: column;
}

.embm-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #444444;
    margin: 0 0 14px 0;
    padding-bottom: 6px;
    position: relative;
}

.embm-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: #ba7761;
    border-radius: 2px;
}

.embm-card-box {
    border: 1px solid #eaeaea;
    border-radius: var(--embm-border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

/* 2.6 CATEGORIES ACCORDION LIST */
.embm-categories-box {
    background: var(--embm-cats-bg);
}

.embm-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.embm-category-item {
    border-bottom: 1px solid #f2f2f2;
}

.embm-category-item:last-child {
    border-bottom: none;
}

.embm-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.embm-category-link {
    flex: 1;
    padding: 13px 20px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--embm-cats-text);
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.embm-category-link:hover,
.embm-category-link:focus {
    color: #ba7761;
    background-color: rgba(186, 119, 97, 0.03);
}

/* Remove any theme button boxes, borders, backgrounds or shadows */
.embm-drawer .embm-accordion-toggle,
.embm-drawer button.embm-accordion-toggle,
button.embm-accordion-toggle,
.embm-accordion-toggle {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 16px !important;
    margin: 0 !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: var(--embm-cats-chevron, #888888) !important;
    transition: color 0.2s ease !important;
    flex-shrink: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.embm-drawer .embm-accordion-toggle:hover,
.embm-drawer .embm-accordion-toggle:focus,
.embm-drawer .embm-accordion-toggle:active,
button.embm-accordion-toggle:hover,
button.embm-accordion-toggle:focus,
button.embm-accordion-toggle:active,
.embm-accordion-toggle:hover {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ba7761 !important;
}

/* Arrow SVG styling - clean, borderless and larger */
.embm-drawer .embm-chevron-svg,
.embm-chevron-svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    stroke: var(--embm-cats-chevron, #888888) !important;
    stroke-width: 2.4 !important;
    fill: none !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.2s ease !important;
    pointer-events: none !important;
}

.embm-drawer .embm-accordion-toggle:hover .embm-chevron-svg,
.embm-accordion-toggle:hover .embm-chevron-svg {
    stroke: #ba7761 !important;
}

/* Flip Chevron on Open Accordion (points down when closed, up when opened) */
.embm-category-item.is-open > .embm-category-row > .embm-accordion-toggle .embm-chevron-svg {
    transform: rotate(180deg) !important;
}

/* Subcategory List Box styling */
.embm-subcategory-wrapper {
    background: #fbfbfb;
    border-top: 1px solid #f2f2f2;
}

/* Multi-depth Indentation */
.embm-category-list.depth-2 .embm-category-link {
    padding-left: 36px;
    font-size: 13.5px;
    color: #555555;
    font-weight: 400;
}

.embm-category-list.depth-2 .embm-category-item {
    border-bottom-color: #f7f7f7;
}

.embm-category-list.depth-3 .embm-category-link {
    padding-left: 50px;
    font-size: 13px;
    color: #666666;
    font-weight: 400;
}

.embm-category-list.depth-3 .embm-category-item {
    border-bottom-color: #f2f2f2;
}

.embm-category-list.depth-4 .embm-category-link {
    padding-left: 64px;
    font-size: 12.5px;
    color: #777777;
    font-weight: 400;
}

.embm-category-list.depth-5 .embm-category-link {
    padding-left: 78px;
    font-size: 12px;
    color: #777777;
    font-weight: 400;
}

/* Active Category styling */
.embm-category-item.is-current-cat > .embm-category-row {
    background-color: rgba(186, 119, 97, 0.08);
}

.embm-category-item.is-current-cat > .embm-category-row > .embm-category-link {
    color: #ba7761;
    font-weight: 600;
}

/* 2.7 QUICK LINKS LIST */
.embm-qlinks-box {
    background: var(--embm-qlinks-bg);
}

.embm-qlinks-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.embm-qlink-item {
    border-bottom: 1px solid #f2f2f2;
}

.embm-qlink-item:last-child {
    border-bottom: none;
}

.embm-qlink-anchor {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    text-decoration: none !important;
    color: var(--embm-qlinks-text);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.embm-qlink-anchor:hover,
.embm-qlink-anchor:focus {
    color: #ba7761;
    background-color: rgba(186, 119, 97, 0.03);
}

.embm-qlink-icon {
    font-size: 16px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ba7761;
    flex-shrink: 0;
}

/* Error fallback */
.embm-error {
    padding: 15px 20px;
    margin: 0;
    font-size: 13px;
    color: #cc1818;
}

/* -------------------------------------------------------------
   3. LAYOUT PRESETS FRONTEND & PREVIEW STYLES
------------------------------------------------------------- */

/* 1. MINIMAL LAYOUT */
.mobile-bottom-nav-bar.mbn-layout-minimal,
.mbn-live-navbar-bar.mbn-layout-minimal {
    box-shadow: none !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* 2. MODERN LAYOUT (DEFAULT) */
.mobile-bottom-nav-bar.mbn-layout-modern,
.mbn-live-navbar-bar.mbn-layout-modern {
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.1);
}

/* 3. GLASSMORPHISM LAYOUT */
.mobile-bottom-nav-bar.mbn-layout-glassmorphism,
.mbn-live-navbar-bar.mbn-layout-glassmorphism {
    background: rgb(255 255 255 / 0%) !important;
    backdrop-filter: blur(8px) saturate(112%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 -8px 32px rgba(31, 38, 135, 0.12) !important;
}

/* Inactive items: Crisp dark slate */
.mobile-bottom-nav-bar.mbn-layout-glassmorphism .mbn-item,
.mobile-bottom-nav-bar.mbn-layout-glassmorphism .mbn-item .mbn-icon,
.mobile-bottom-nav-bar.mbn-layout-glassmorphism .mbn-item .mbn-label,
.mbn-live-navbar-bar.mbn-layout-glassmorphism .mbn-preview-item,
.mbn-live-navbar-bar.mbn-layout-glassmorphism .mbn-preview-item .mbn-icon,
.mbn-live-navbar-bar.mbn-layout-glassmorphism .mbn-preview-item .mbn-label {
    color: #334155 !important;
}

/* Active item: Vibrant contrast dark orange */
.mobile-bottom-nav-bar.mbn-layout-glassmorphism .mbn-item.mbn-active,
.mobile-bottom-nav-bar.mbn-layout-glassmorphism .mbn-item.mbn-active .mbn-icon,
.mobile-bottom-nav-bar.mbn-layout-glassmorphism .mbn-item.mbn-active .mbn-label,
.mbn-live-navbar-bar.mbn-layout-glassmorphism .mbn-preview-item.mbn-active,
.mbn-live-navbar-bar.mbn-layout-glassmorphism .mbn-preview-item.mbn-active .mbn-icon,
.mbn-live-navbar-bar.mbn-layout-glassmorphism .mbn-preview-item.mbn-active .mbn-label {
    color: #F27A1A !important;
    font-weight: 700 !important;
}

/* Active pill highlight */
.mobile-bottom-nav-bar.mbn-layout-glassmorphism .mbn-item.mbn-active .mbn-icon-wrapper,
.mbn-live-navbar-bar.mbn-layout-glassmorphism .mbn-preview-item.mbn-active .mbn-icon-wrapper {
    background: rgba(242, 122, 26, 0.15) !important;
    padding: 5px 14px !important;
    border-radius: 16px !important;
}

/* 4. FLOATING LAYOUT */
.mobile-bottom-nav-bar.mbn-layout-floating,
.mbn-live-navbar-bar.mbn-layout-floating {
    width: calc(100% - 32px) !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    border-radius: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 5. CENTER FAB LAYOUT */
.mobile-bottom-nav-bar.mbn-layout-center_fab,
.mbn-live-navbar-bar.mbn-layout-center_fab {
    overflow: visible !important;
}
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab {
    position: relative;
    top: -18px;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50% !important;
    background-color: var(--mbn-fab-bg-color, var(--mbn-bg-color, #F27A1A)) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    border: 3.5px solid var(--mbn-fab-border-color, #ffffff) !important;
    z-index: 10;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab:hover,
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab.mbn-active,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab.mbn-active {
    transform: scale(1.08);
}
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab::after,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab::after {
    display: none !important;
}
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab .mbn-icon,
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab i,
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab svg,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab .mbn-icon,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab i,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab svg {
    color: var(--mbn-fab-icon-color, #ffffff) !important;
    fill: var(--mbn-fab-icon-color, #ffffff) !important;
}

.mobile-bottom-nav-bar .mbn-item[style*="color:"] .mbn-icon,
.mobile-bottom-nav-bar .mbn-item[style*="color:"] i,
.mobile-bottom-nav-bar .mbn-item[style*="color:"] svg,
.mobile-bottom-nav-bar .mbn-item[style*="color:"] .mbn-label {
    color: inherit !important;
    fill: currentColor !important;
}
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab .mbn-label,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab .mbn-label {
    display: none !important;
}
.mobile-bottom-nav-bar.mbn-layout-center_fab .mbn-item.mbn-item-fab .mbn-icon-wrapper,
.mbn-live-navbar-bar.mbn-layout-center_fab .mbn-preview-item.mbn-item-fab .mbn-icon-wrapper {
    margin-bottom: 0;
}

/* 6. PREMIUM APP LAYOUT */
.mobile-bottom-nav-bar.mbn-layout-premium_app,
.mbn-live-navbar-bar.mbn-layout-premium_app {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* -------------------------------------------------------------
   4. BUILT-IN SEARCH MODAL STYLES
------------------------------------------------------------- */
.emnm-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 70px 16px 20px 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.emnm-search-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.emnm-search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.emnm-search-modal-content {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 20px;
    padding: 22px 24px 26px 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
    transform: translateY(-20px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.emnm-search-modal.is-active .emnm-search-modal-content {
    transform: translateY(0) scale(1);
}

.emnm-search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.emnm-search-modal-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.emnm-search-modal-title i {
    color: #F27A1A;
    font-size: 14px;
}

.emnm-search-modal-close {
    background: #f1f5f9 !important;
    border: none !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.emnm-search-modal-close i {
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-block !important;
    margin: 0 !important;
    color: inherit !important;
}

.emnm-search-modal-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.emnm-search-form {
    margin: 0;
}

.emnm-search-input-wrap {
    display: flex !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 4px 6px 4px 14px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.emnm-search-input-wrap:focus-within {
    border-color: #F27A1A !important;
    box-shadow: 0 0 0 3.5px rgba(242, 122, 26, 0.15) !important;
    background: #ffffff !important;
}

.emnm-search-icon {
    font-size: 15px !important;
    color: #94a3b8 !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.emnm-search-field {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 14px !important;
    color: #0f172a !important;
    padding: 8px 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Hide Browser Native Search Cancel/Clear X Icon */
.emnm-search-field::-webkit-search-cancel-button,
.emnm-search-field::-webkit-search-decoration,
.emnm-search-field::-webkit-search-results-button,
.emnm-search-field::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: none !important;
}

.emnm-search-field::-ms-clear,
.emnm-search-field::-ms-reveal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.emnm-search-submit {
    border: none !important;
    background: #F27A1A !important;
    color: #ffffff !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 3px 10px rgba(242, 122, 26, 0.3) !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.emnm-search-submit:hover {
    background: #d96309 !important;
    transform: scale(1.04) !important;
}

.emnm-search-submit i {
    color: #ffffff !important;
    font-size: 14px !important;
}

