/*
Theme Name: Beyond Biz Experience
Description: A custom theme for the Beyond Biz Experience platform
Author: Susan Robichaud
Version: 1.7.6
Author URI: https://susanrobichaud.ca
Text Domain: beyondbizexperience
*/

/* ==========================================================================
   PRECISE WHITE SPACE CONTROL
   ========================================================================== */
  

* {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Restore WordPress's own admin-bar offset, which the reset above overrides */
body.admin-bar {
    margin-top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar {
        margin-top: 46px !important;
    }
}


/* Toggle safety */
.style-5-theme-toggle,
.style-5-theme-toggle::before {
    font-weight: normal !important;
}


/* Remove outer container margins but preserve internal spacing */
.site {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Full-width elements */
.beyondbizexperience-notification-wrapper,
.site-header,
.site-footer {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}


/* ==========================================================================
   MAIN THEME STYLES
   ========================================================================== */
 
 .alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* Submenu text weight */
.main-navigation .nav-menu .sub-menu a {
    font-weight: 300 !important;
}

/* Optional: keep current/active submenu items same weight */
.main-navigation .nav-menu .sub-menu .current-menu-item > a,
.main-navigation .nav-menu .sub-menu .current_page_item > a,
.main-navigation .nav-menu .sub-menu .current-menu-ancestor > a {
    font-weight: 300 !important;
}


/* ==========================================================================
   COMPREHENSIVE BUTTON STYLING - ALL SITE BUTTONS
   ========================================================================== */

body:not(.wp-admin):not(.wp-customizer):not(.elementor-editor-active):not(.elementor-editor-preview)
button:not([class*="elementor"]):not([class*="customize-"]):not([class*="wp-"]):not(.components-button):not(.e-con-select-preset):not(.style-5-theme-toggle):not([class*="theme-toggle"]),
body:not(.wp-admin):not(.wp-customizer):not(.elementor-editor-active):not(.elementor-editor-preview)
input[type="submit"]:not([class*="elementor"]):not([class*="customize-"]):not([class*="wp-"]) {
    padding: 22px 34px !important;
}

.style-5-theme-toggle {
    width: 50px !important;
    height: 24px !important;
    min-width: 50px !important;
    min-height: 24px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    line-height: 0 !important;
    font-size: 18 !important;
    overflow: hidden !important;
}

.style-5-theme-toggle::before {
    width: 20px !important;
    height: 20px !important;
    top: 2px !important;
    left: 2px !important;
    border-radius: 50% !important;
}

.style-5-theme-toggle[data-theme="dark"]::before {
    transform: translateX(26px) !important;
    left: 2px !important;
}

