#b2b-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Roboto', sans-serif; /* Matches your typography standard */
  }
 #chat-toggle-btn {
    background-color: #ff0000;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    
    /* NEW RULES TO FIX THE LOGO ALIGNMENT */
    padding: 0 !important; 
    overflow: hidden; 
    display: flex; 
    justify-content: center; 
    align-items: center;
  }
  #chat-toggle-btn:hover {
    transform: scale(1.05);
  }
  #chat-toggle-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 50%; 
    display: block; /* Prevents weird image gaps */
  }
  #chat-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #ccc;
    overflow: hidden;
  }
  #chat-header {
    background-color: #000000;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #chat-close {
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
  }
  #chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
    #b2b-chat-widget .msg { padding: 10px; border-radius: 8px; max-width: 80%; line-height: 1.4; font-size: 14px;}
    #b2b-chat-widget .bot-msg { background: #e2e2e2; color: #333; align-self: flex-start; }
    #b2b-chat-widget .user-msg { background: #ff0000; color: white; align-self: flex-end; }
  #chat-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background: white;
  }
  #chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
  }
  #chat-send {
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
  }
  /* "We're Online" Bubble Styling */
  #online-bubble {
    position: absolute;
    bottom: 75px; /* Hovers just above your 60px button */
    right: 0; 
    background-color: #ffffff;
    color: #000000;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border: 1px solid #eaeaea;
    white-space: nowrap;
    pointer-events: none; /* Prevents it from blocking accidental clicks */
    animation: floatBubble 2.5s ease-in-out infinite; /* Gentle bobbing effect */
  }

  /* Creates the little tail pointing down to your logo */
  #online-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 24px; /* Points to the center of your button */
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
  }

  /* The animation keyframes */
  @keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }