/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* =========================================
  









/* =========================================================
   BWMF CHAT: LIBERATED POSITION (v31.0)
   ========================================================= */

/* 1. GHOST MODE (Hide original bar instantly) */
.bm-reply {
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    position: absolute !important;
    z-index: -1 !important;
}

/* 2. MAIN CONTAINER (The Floater) */
#bwmf-custom-interface {
    position: fixed !important;
    left: 0 !important;
    width: 100% !important;
    
    /* DEFAULT STATE: Floating above the footer */
    bottom: 80px !important; 
    
    /* MAX Z-INDEX: Higher than footer/header */
    z-index: 2147483647 !important; 
    
    background: transparent !important; /* See-through background normally */
    display: none; /* Managed by JS */
    flex-direction: row !important;
    align-items: flex-end !important;
    padding: 10px 15px !important;
    box-sizing: border-box !important;
}

/* 3. TYPING STATE (Keyboard Open) */
/* When user clicks input, bar drops down to cover footer/sit on keyboard */
body.bwmf-typing-mode #bwmf-custom-interface {
    bottom: 0px !important; 
    background: #fff !important; /* White background to cover the footer content */
    padding-bottom: 15px !important; /* Little padding for aesthetics */
}

/* 4. PILL & ICONS (Same as before) */
#bwmf-pill-container {
    flex-grow: 1 !important;
    background: #f2f3f5 !important;
    border-radius: 25px !important;
    border: 1px solid #e0e0e0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 8px 15px !important;
    min-height: 45px !important;
}

#bwmf-proxy-input {
    flex-grow: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 16px !important;
    color: #000 !important;
    resize: none !important;
    max-height: 120px !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 20px !important;
    font-family: inherit !important;
}

#bwmf-camera-trigger {
    flex: 0 0 40px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    color: #888 !important;
    margin-right: 5px !important;
    cursor: pointer !important;
    margin-bottom: 2px !important;
}

#bwmf-emoji-trigger {
    color: #888 !important;
    font-size: 20px !important;
    margin-left: 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}

#bwmf-send-trigger {
    width: 28px !important;
    height: 28px !important;
    margin-left: 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
}
#bwmf-send-trigger svg {
    fill: #007bff !important;
    width: 100% !important;
    height: 100% !important;
}

/* 5. SPACER */
/* Ensures the last message isn't hidden behind our floating bar */
.bm-messages-list, .bm-list {
    padding-bottom: 160px !important;
}


body > .um-notification-b {
	display: none !important;
}









/* =========================================================
   BWMF: CUSTOM CAMERA BUTTON STYLES
   ========================================================= */

#bwmf-avatar-trigger {
    position: absolute !important;
    bottom: 5px !important; 
    right: 5px !important;
    z-index: 500 !important;
    
    /* The Pink Circle Look */
    width: 36px !important;
    height: 36px !important;
    background: #E91E63 !important; /* Your Brand Pink */
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
    
    /* Icon Centering */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.2s ease !important;
}

#bwmf-avatar-trigger i {
    color: #ffffff !important;
    font-size: 16px !important;
}

/* Hover Effect */
#bwmf-avatar-trigger:hover {
    transform: scale(1.1) !important;
    background: #d81b60 !important;
}

/* Ensure the parent allows positioning */
.um-profile-photo {
    position: relative !important;
    overflow: visible !important; /* Lets the button sit on the edge */
}