.chat-widget {
    position: fixed;
    bottom: 0px; /* Positioned above the button */
    right: 20px;
    width: 350px; /* Widget width */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: #40a1d1;
    color: white;
    padding: 10px;
    text-align: center;
    position: relative;
    font-size:15px;
}

.close-btn {
    position: absolute;
    top: -14px;
    right: 0px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-content {
    padding: 15px;
    max-height: 600px;
    overflow-y: auto;
}

.message {
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 0px;
}

.bot-message {
    color: #000;
    font-size:13px;
    align-self: flex-start;
}

.user-message {
    font-size:13px;
    color: #000;
    align-self: flex-end;
}

.user-message label {
    display: block;
    margin-bottom: 5px;
    font-size:13px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 0px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size:13px;
}



/* Toggle Button */
.toggle-btn {
    position: fixed;
    bottom: 0px;
    right: 20px;
    background: transparent !important;
    color: white;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
   z-index: 300;
  
}

.toggle-btn:hover {
    background-color: #ef6700;
}

.hidden {
    display: none;
}
