#botchat-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#botchat-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#botchat-icon:hover {
    transform: scale(1.08);
}

#botchat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#botchat-box {
    width: 350px;
    height: 480px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#botchat-header {
    background: #1e73be;
    color: #fff;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#botchat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

#botchat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.bot-msg, .user-msg {
    max-width: 80%;
    padding: 10px 14px;
    margin-bottom: 10px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.bot-msg {
    background: #eaeaea;
    color: #333;
    align-self: flex-start;
    border-top-left-radius: 2px;
}

.user-msg {
    background: #1e73be;
    color: #fff;
    margin-left: auto;
    border-top-right-radius: 2px;
}

#botchat-input-area {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    background: #fff;
}

#botchat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    outline: none;
    font-size: 14px;
}

#botchat-send {
    background: #1e73be;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0 15px;
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

#botchat-send:hover {
    background: #155a96;
}

.bot-loading {
    color: #888;
    font-style: italic;
}
