#zangief-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    max-width: 95vw;
    box-sizing: border-box;
    z-index: 2147483647;
    font-family: Arial, sans-serif;
    background: transparent;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: visible;
    transition: all 0.25s;
  }
  /* När widgeten är stängd: lägre bottenposition */
  #zangief-chatbot:not(.open) {
    bottom: 2px !important;
  }
  #zangief-chat-header {
    background: orange;
    color: #fff;
    padding: 14px 22px;
    font-weight: bold;
    border-radius: 16px 16px 0 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.16);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    text-align: center;
    transition: border-radius 0.2s, width 0.2s;
  }
  #zangief-chat-header span:first-child {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 18px;
  }
  #zangief-chat-toggle {
    flex-shrink: 0;
    font-size: 1.15em;
    margin-left: 8px;
    pointer-events: none;
  }
  #zangief-chatbot.open #zangief-chat-header {
    border-radius: 12px 12px 0 0;
    width: 100%;
    font-size: 1.15em;
    justify-content: space-between;
    padding-left: 22px;
    padding-right: 22px;
  }
  #zangief-chat-body {
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 400px;
    min-height: 250px;
    overflow-y: auto;
    padding: 14px 18px;
    font-size: 1em;
    border-radius: 0 0 12px 12px;
    width: 100%;
    box-sizing: border-box;
    display: none;
  }
  #zangief-chatbot.open #zangief-chat-body,
  #zangief-chatbot.open #zangief-chat-input-area {
    display: block;
  }
  #zangief-chat-input-area {
    display: none;
    align-items: center;
    padding: 10px 18px;
    background-color: #f8f8f8;
    border-top: 1px solid #ccc;
    border-radius: 0 0 12px 12px;
    width: 100%;
    box-sizing: border-box;
  }
  #zangief-chat-input {
    width: 72%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1em;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }
  #zangief-chat-input:focus {
    outline: none;
    border-color: orange;
  }
  #zangief-chat-send {
    width: 24%;
    min-width: 80px;
    padding: 10px;
    margin-left: 8px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: bold;
    letter-spacing: 0.03em;
    background: orange;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    box-sizing: border-box;
  }
  #zangief-chat-send:hover {
    background-color: #cc8400;
  }
  #zangief-chat-body button {
    font-weight: 600;
    margin: 4px 2px;
    padding: 7px 12px;
    border-radius: 5px;
    border: 1px solid orange;
    background: #e9ecef;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s, border-color 0.3s;
    display: inline-block;
  }
  #zangief-chat-body button:hover {
    background-color: orange;
    color: white;
    border-color: orange;
  }
  /* --- MOBIL: helskärm när öppen med avrundad topp --- */
  @media (max-width: 700px) {
    #zangief-chatbot {
      left: 50% !important;
      right: auto !important;
      bottom: 30px !important;
      top: auto !important;
      width: 95vw !important;
      max-width: 400px !important;
      transform: translateX(-50%) !important;
      border-radius: 16px !important;
      background: #fff !important;
      box-shadow: 0 0 30px rgba(0,0,0,0.2) !important;
      margin: 0 !important;
      transition: all 0.3s;
      height: auto;
      min-height: unset;
    }
    /* Widgeten är ännu närmare kanten på mobil när stängd */
    #zangief-chatbot:not(.open) {
      bottom: 2px !important;
    }
    #zangief-chatbot.open {
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      min-width: 0 !important;
      max-width: none !important;
      border-radius: 18px 18px 0 0 !important;
      background: #fff !important;
      transform: none !important;
      box-shadow: none !important;
      margin: 0 !important;
      z-index: 2147483647 !important;
      display: flex !important;
      flex-direction: column;
    }
    #zangief-chat-header {
      width: 100% !important;
      margin: 0 !important;
      border-radius: 16px 16px 0 0 !important;
      font-size: 1.2em !important;
      padding: 18px 22px !important;
      text-align: center !important;
      justify-content: center !important;
      left: 0; right: 0;
      position: relative;
      box-sizing: border-box;
    }
    #zangief-chatbot.open #zangief-chat-header {
      border-radius: 18px 18px 0 0 !important;
      position: static;
      padding: 18px 22px !important;
      font-size: 1.15em !important;
    }
    #zangief-chat-body {
      height: auto !important;
      max-height: none !important;
      flex-grow: 1;
      padding: 18px 22px;
      border-radius: 0 0 0 0 !important;
      overflow-y: auto;
      width: 100% !important;
      box-sizing: border-box;
    }
    #zangief-chat-input-area {
      flex-direction: column !important;
      padding: 14px 22px;
      border-radius: 0 0 0 0 !important;
      width: 100% !important;
      box-sizing: border-box;
    }
    #zangief-chat-input {
      width: 100% !important;
      margin-bottom: 12px;
    }
    #zangief-chat-send {
      width: 100% !important;
      min-width: 0;
    }
    #zangief-chat-body button {
      display: block !important;
      width: 100% !important;
      margin: 8px 0 !important;
    }
  }