#bot-ai-chat {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 380px;
    min-width: 260px;
    min-height: 220px;
    max-width: 600px;
    max-height: 80vh;
    background: linear-gradient(135deg, rgba(30,20,50,0.95) 70%, #ff7fc2 100%);
    color: #fff;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(161,110,255,0.18), 0 1px 8px rgba(0,0,0,0.18);
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
    backdrop-filter: blur(8px);
    animation: bot-ai-fadein 0.7s cubic-bezier(.4,0,.2,1);
    resize: both;
}
@keyframes bot-ai-fadein {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}
#bot-ai-chat-header {
    background: linear-gradient(90deg, #ff7fc2 0%, #a16eff 100%);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    border-radius: 32px 32px 0 0;
    letter-spacing: 0.5px;
    padding: 14px 38px 14px 74px;
    text-align: left;
    position: relative;
    cursor: move;
    user-select: none;
    box-shadow: 0 2px 8px rgba(255,127,194,0.10);
    min-height: 48px;
    max-height: 56px;
    flex-shrink: 0;
}
#bot-ai-chat-avatar {
    position: absolute;
    left: 18px;
    top: 8px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff7fc2;
    box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(255,127,194,0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
#bot-ai-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#bot-ai-chat-close {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    line-height: 24px;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 0;
}
#bot-ai-chat-close:hover {
    opacity: 1;
}
#bot-ai-chat-messages {
    padding: 18px 20px 18px 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    font-size: 16px;
    background: rgba(30, 20, 50, 0.15);
    border-radius: 0 0 0px 18px;
    /* min-height: 60px; */
    /* max-height: 50vh; */
}
#bot-ai-chat-messages div {
    color: #fff !important;
}
#bot-ai-chat-form {
    display: flex;
    border-top: 1px solid #a16eff;
    background: transparent;
    align-items: stretch;
    padding: 0;
    /* min-height: 49px; */
    /* max-height: 64px; */
    flex-shrink: 0;
}
#bot-ai-chat-input {
    flex: 1;
    border: none;
    padding: 0 18px;
    font-size: 16px;
    border-radius: 0 0 0 32px;
    outline: none;
    background: rgba(255,255,255,0.08);
    color: #fff;
    height: 48px;
    min-width: 0;
    transition: background 0.2s;
}
#bot-ai-chat-form button {
    background: linear-gradient(90deg, #ff7fc2 0%, #a16eff 100%);
    color: #fff;
    border: none;
    border-radius: 0 0 32px 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255,127,194,0.15);
    letter-spacing: 1px;
    margin: 0;
    height: 48px;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.10);
}
#bot-ai-chat-form button:hover {
    background: linear-gradient(90deg, #a16eff 0%, #ff7fc2 100%);
    box-shadow: 0 4px 16px rgba(255,127,194,0.25);
}
#bot-ai-chat-bubble {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 10000;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #a16eff 60%, #ff7fc2 100%);
    box-shadow: 0 4px 16px rgba(161,110,255,0.18), 0 1px 8px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
    opacity: 0.95;
}
#bot-ai-chat-bubble:hover {
    background: linear-gradient(135deg, #ff7fc2 60%, #a16eff 100%);
    opacity: 1;
}
#bot-ai-mini-widget {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 10000;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #a16eff 60%, #ff7fc2 100%);
    color: #fff;
    border-radius: 32px;
    box-shadow: 0 4px 16px rgba(161,110,255,0.18), 0 1px 8px rgba(0,0,0,0.18);
    padding: 8px 18px 8px 8px;
    min-width: 0;
    max-width: 90vw;
    cursor: pointer;
    font-size: 15px;
    opacity: 0.97;
    transition: box-shadow 0.2s, opacity 0.2s;
}
#bot-ai-mini-widget:hover {
    opacity: 1;
    box-shadow: 0 8px 32px rgba(161,110,255,0.25);
}
#bot-ai-mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff7fc2;
    box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(255,127,194,0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
#bot-ai-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#bot-ai-mini-name {
    font-weight: 600;
    margin-right: 12px;
    white-space: nowrap;
}
#bot-ai-mini-typing {
    font-size: 14px;
    opacity: 0.8;
    white-space: nowrap;
}
.bot-ai-mini-dots {
    display: inline-block;
    width: 18px;
    text-align: left;
}
#bot-ai-mini-bubble {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 10000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(161,110,255,0.18), 0 1px 8px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s, opacity 0.2s;
    opacity: 0.97;
    border: 2px solid #a16eff;
    overflow: hidden;
}
#bot-ai-mini-bubble:hover {
    opacity: 1;
    box-shadow: 0 8px 32px rgba(161,110,255,0.25);
}
#bot-ai-mini-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
@media (max-width: 600px) {
	#bot-ai-chat-bubble{
	display:none!important;
	}
	#bot-ai-chat-close span{
	left: 1.5px;
    position: relative;
    top: -0.5px;
	}
  #bot-ai-chat {
    left: 2vw !important;
    right: 2vw !important;
    width: 96vw !important;
    min-width: 0 !important;
    max-width: 98vw !important;
    border-radius: 18px !important;
    bottom: 2vw !important;
    top: auto !important;
    animation: bot-ai-slidein 0.4s cubic-bezier(.4,0,.2,1);
	z-index: 1000000;
  }
  #bot-ai-chat-header {
    font-size: 16px;
    border-radius: 18px 18px 0 0;
    min-height: 40px;
    padding: 10px 32px 10px 54px;
  }
  #bot-ai-chat-form,
  #bot-ai-chat-input,
  #bot-ai-chat-form button {
    height: 40px !important;
    font-size: 15px !important;
    border-radius: 0 0 18px 0 !important;
  }
  #bot-ai-chat-avatar {
    width: 32px;
    height: 32px;
    left: 10px;
    top: 6px;
  }
  #bot-ai-chat-bubble {
    right: 10px;
    bottom: 10px;
    width: 52px;
    height: 52px;
  }
  #bot-ai-mini-widget {
    left: 10px;
    bottom: 10px;
    padding: 6px 10px 6px 6px;
    border-radius: 18px;
    font-size: 14px;
  }
  #bot-ai-mini-avatar {
    width: 32px;
    height: 32px;
    margin-right: 7px;
  }
  #bot-ai-mini-name {
    margin-right: 7px;
    font-size: 13px;
  }
  #bot-ai-mini-typing {
    font-size: 12px;
  }
  #bot-ai-mini-bubble {
    left: 10px;
    bottom: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }
  #bot-ai-mini-bubble img {
    width: 100%;
    height: 100%;
  }
}
@keyframes bot-ai-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: none; opacity: 1; }
} 