/* Structural Layout Matrix - Custom Colors Compiled Dynamically via Core PHP Engine */
.skiptranslate, #google_translate_element { 
    display: none !important; 
}
body { 
    top: 0px !important; 
}

.bm-ios-toggle {
    display: flex; 
    border-radius: 30px;
    position: fixed; 
    bottom: 30px; 
    z-index: 999999;
    padding: 4px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 140px; 
    justify-content: space-between; 
    align-items: center; 
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.bm-toggle-btn {
    flex: 1; 
    text-align: center; 
    padding: 8px 0; 
    border-radius: 26px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px; 
    font-weight: 600; 
    color: #8e8e93; 
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    z-index: 2; 
    position: relative;
}

.bm-toggle-slider {
    position: absolute; 
    width: calc(50% - 4px); 
    height: calc(100% - 8px);
    border-radius: 26px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    z-index: 1; 
    left: 4px; 
    top: 4px;
}

.bm-ios-toggle[data-active='left'] .bm-toggle-slider { transform: translateX(0); }
.bm-ios-toggle[data-active='right'] .bm-toggle-slider { transform: translateX(100%); }

/* ==========================================================================
   Mobile & Tablet Viewport Adaptability
   ========================================================================== */
@media (max-width: 768px) {
    .bm-ios-toggle {
        bottom: 15px !important;
        width: 110px;
        padding: 3px;
    }
    
    .bm-toggle-btn {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .bm-toggle-slider {
        width: calc(50% - 3px);
        height: calc(100% - 6px);
        left: 3px;
        top: 3px;
    }
}