#varenyam-chatbot-container {
    border: none;
    padding: 20px;
    width: 350px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1001; /* Ensure it's above other content */
}

#varenyam-chatbot-messages {
    height: 250px;
    overflow-y: auto;
    padding: 15px;
}

.user-message,
.bot-message {
    font-size: 15px;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 15px;
    max-width: 85%;
    clear: both;
    word-wrap: break-word;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.user-message:hover,
.bot-message:hover {
    transform: scale(1.02);
}

.user-message {
    text-align: right;
    float: right;
    background-color: #e1f0c4;
    color: #333;
}

.bot-message {
    text-align: left;
    float: left;
    background-color: #fff;
    color: #333;
    border: 1px solid #eee;
}

#varenyam-chatbot-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #eee;
    background-color: #fff;
}

#varenyam-chatbot-input {
    flex-grow: 1;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 20px;
    color: #333;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease;
}

#varenyam-chatbot-input:focus {
    border-color: #007bff;
    outline: none;
}

#varenyam-chatbot-send,
#varenyam-chatbot-voice {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#varenyam-chatbot-send:hover,
#varenyam-chatbot-voice:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

#varenyam-chatbot-greeting {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

#varenyam-chatbot-greeting::before {
    content: "Welcome to Varenyam 2.0\A";
    white-space: pre-wrap;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: normal;
    color: #555;
}

/* Chatbot button styles */
#varenyam-chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 1000;
    overflow: hidden;
    background-image: url("<?php echo plugin_dir_url(__FILE__) . 'your-logo.png'; ?>");
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), inset 0px 0px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#varenyam-chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* Hide the chatbot container initially */
#varenyam-chatbot-container {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #fff;
    z-index: 1001;
}

/* Styles to improve button appearance */
#varenyam-chatbot-button img { /* This might be redundant now, but keep it for safety */
  width: 100%;
  height: 100%;
  object-fit: cover;
}