.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: 100%;
    margin: auto;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0px;
    border-radius: 10px;
    background: #fff;

}
.chat-header {
    /* display: flex; */
    /* align-items: center; */
    /* padding: 5px; */
    background: linear-gradient(135deg, #f54447 0%, #f60059 100%);
    color: white;
    /* font-size: 16px; */
    /* font-weight: bold; */
    /* border: 1px solid #b43436; */
    /* border-radius: 10px; */
}

.chat-header img {
    height: 40px;
    margin-left: 4px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.messages {
    border-radius: 10px;
    background: #fff;
    list-style: none;
    padding: 10px;
    margin-top: -10px;
    margin-bottom: 0px;
    height: 500px;
    overflow-y: auto;
    scroll-behavior: smooth; /* Smooth scrolling */
    display: flex;
    flex-direction: column; /* Align messages vertically */
    gap: 0px; /* Adds space between messages */
}
/* Microsoft Edge scrollbar styling (same as Webkit) */
.messages::-webkit-scrollbar {
    width: 12px;
    width: 3px;
}

.messages::-webkit-scrollbar-track {
    background: #888;
    background: transparent;
    border-radius: 10px;
}
.messages:hover::-webkit-scrollbar-track {
    background: #888;
    background: #ddd;
    border-radius: 10px;
}

.messages::-webkit-scrollbar-thumb {
    background:transparent;
    border-radius: 10px;
}
.messages:hover::-webkit-scrollbar-thumb {
    background:linear-gradient(135deg, #f54447 0%, #f60059 100%);
    border-radius: 10px;
}

.messages::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.message {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    max-width: 80%;
    padding: 5px 10px;
    border-radius: 40px;
    line-height: 1.4;
    word-wrap: break-word;
    background-color: #f0f0f0;
    position: relative;
    margin: 10px 0;
    margin: 5px 0;
}


.message.user {
    font-size: 16px;
    background:linear-gradient(135deg, #f54447 0%, #f60059 100%); /* Background color of the user message box */
    color: #fff; /* Text color of the user message box */
    border: 3px solid #fff;
    text-align: left; /* Aligns text to the right within the message box */
    align-self: flex-end; /* Aligns the message box to the end (right) of the container */
    border-radius: 10px;
}


.message.bot {
    font-size: 16px;
    font-size: 15px;
    background:#fff;
    color: black;
    align-self: flex-start;
    border: 2px solid #ccc;
    border-radius: 10px; /* Aligns the message box to the start (left) of the container */
}








.options-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.option-box {
    max-width: 60%;
    max-width: 90%;
    font-size: 16px;
    padding: 5px 10px;
    background-color: #fff;
    color: #777;
    border-radius: 25px;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    width: fit-content;
    overflow-y: auto; /* Enable vertical scrolling */
    transition: background 0.3s ease;
    text-align: left;
}
.option-box:hover {
    color: #f60059;
    border: 1px solid #f60059;
}
.response-buttons {
    margin-top: 10px;
    border-radius: 20px;
    
}

.response-buttons button {
    margin-right: 10px;
    padding: 5px 12px;
    background:linear-gradient(135deg, #f54447 0%, #f60059 100%);
    color: white;
    font-family: "jost";
    font-size: 16px;
    border: 1px solid white;
    border-radius: 20px;
}
.message-icon {
    margin-right: 10px; /* Space between the image and the message content */
    width: 50px; /* Adjust the size of the image as needed */
    height: auto; /* Ensure the image is square */
    border-radius: 50%; /* Optional: make the image circular */
    align-items: center;
    justify-content: center;
}


.message-content {
    background: #fff; /* Background color of the message box */
    padding: 10px;
    border-radius: 5px;
}

.message-container.bot {
    justify-content: flex-start;
}

.message-container.user {
    justify-content: flex-end;
}
.message-container {
    display: flex;
    align-items: center; /* Align items vertically at the start */
    margin-bottom: 10px;
}
#nameEmailForm {
    /*display: none;*/
}

.response-buttons {
    margin-top: 10px;
    border-radius: 20px;
    
}

.response-buttons button {
    margin-right: 10px;
    padding: 5px 12px;
    background-color: #b43436;
    color: white;
    font-family: "jost";
    font-size: 16px;
    border: 1px solid white;
    border-radius: 20px;
}
.form-container {
   
  
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 300px;
    width: 100%;
}
.form-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}
.form-container input, .form-container textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.form-container button, #nameEmailBut {
    background:linear-gradient(135deg, #f54447 0%, #f60059 100%);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
.form-container button:hover {
    background-color: #b22b1a;
}
.response-message {
    display: none;
    margin-top: 20px;
    font-size: 18px;
    color: #28a745;
}
.messages input {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    max-width: 360px;
    border: 1px solid #ccc;
    border-radius: 4px;
}



/* Style the submit button */
#submitButton, #nameEmailBut {
    /* width: 100%; */
    margin-left: 80px;
    padding: 10px;
    background:linear-gradient(135deg, #f54447 0%, #f60059 100%);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight:500;
    cursor: pointer;
    transition: background-color 0.3s;
}
.header-text {
    /* display: flex; */
    align-items: center;
    font-size: 20px;
    color: White;
    /* margin-bottom: -30px; */
    width: 100%;
    /* margin-top: -20px; */
}


/* Styling the header text and logo container */
.chat-header {
    border-bottom: 2px solid #ddd;
    border-radius: 10px 10px 0 0 ;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}
/* Styling the text */
.talk-text {
    font-weight: 500;
    margin-bottom: 5px;
    margin-left: 10px; float:left;
}

/* Styling the logo image */
.logo {
    height: 30px; /* Adjust size as needed */
    width: auto; /* Maintain aspect ratio */
}
.disabled {
    pointer-events: none;
    opacity: 0.5; /* Optional: visually indicate that elements are disabled */
    cursor: not-allowed;
}

  
  .botImage {
    margin-right: 10px; /* Space between the image and the message content */
    width: 50px; /* Adjust the size of the image as needed */
    height: auto; /* Ensure the image is square */
    border-radius: 50%; /* Optional: make the image circular */
    align-items: center;
    justify-content: center;
  }
  
  .userImage {
    margin-left: 10px; /* Space between the image and the message content */
    width: 30px; /* Adjust the size of the image as needed */
    height: auto; /* Ensure the image is square */
    border-radius: 50%; /* Optional: make the image circular */
    align-items: center;
    justify-content: center;
  }
.load-more-button {
    display: inline-block;
    font-size: 14px;
    font-family: jost;
    font-weight: 400;
    color: #f62c4e;
    border: none;
    text-decoration: underline;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    background: transparent;
    text-transform: none;
}

.load-more-button:disabled {
   /* background-color: #d6d6d6;  Grey color for disabled state */
    cursor: not-allowed;
}
.option-box.disabled {
    opacity: 0.5; /* Make the text appear disabled */
    pointer-events: none; /* Prevent clicking */
    cursor: not-allowed; /* Change cursor to indicate disabled state */
}

#contactFormContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    background: #f4f4f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/*#contactForm label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#contactForm input,
#contactForm textarea {
    width: 80%;
    padding: 10px;
    margin-bottom: -10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    align-items: center;
    margin-left: 30px;
}
*/
#contactForm button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f54447 0%, #f60059 100%);
    color: white;
    border: none;
    border-radius: 5px;
   
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s;
}
#callForm button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f54447 0%, #f60059 100%);
    color: white;
    border: none;
    border-radius: 5px;
   
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s;

}

#contactForm button:hover {
    background:linear-gradient(135deg, #f54447 0%, #f60059 100%);
}

/* Error Message Styles */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
}

#responseMessage {
    
    margin-top: 20px;
    background:linear-gradient(135deg, #f54447 0%, #f60059 100%);
    color: white;
    font-weight: bold;
    font-size: 16px;
}
.hidden {
    display: none;
}
label {
    margin-top:10px;
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color:black;
}
.message.bot.form {
    max-width: 80%;
    padding: 12px;
    width: 100%;
   /* border-color: #ccc;
    border-radius: 5px;
    background: #eee;
    margin: auto -5px;
    border-width: 0;
    padding-top: 2px;*/
}
.message.bot.form input, .message.bot.form textarea {
    width: 92%;
    width: 100%;
    margin-top: 2px;
    padding: 7px 10px;border: 1px solid #ccc;
    font-size:14px;
}
.message.bot.form label {
   /* font-weight: normal;
    text-transform: uppercase;*/
    font-size: 14px;
    margin-bottom: 0;
    font-family:jost;
    font-weight:500;
}
#contactOptions {
    margin-top: 10px;
}

.option-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Adjusts space between each radio button and label */
    font-size:16px;
    margin-right:50px;
    font-family: jost;
}

.option-container input[type="radio"] {
    margin-right: 5px;
   
}

.option-container label {
    margin-right: 20px; /* Space between the "Email" and "Call" options */
    font-size: 16px; /* Adjust font size if needed */
    margin-top:-10px;
    font-family:jost;
    margin-left: -10px;
}
.radio-label {
    display: flex;
    align-items: center;
    gap: 5px; /* Space between the radio button and the text */
    font-size: 16px;
    cursor: pointer; /* Makes the label clickable */
}
.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: jost;
}

.phone-input-group input#countryCode {
    width: 60px; /* Small width for the country code */
    padding: 8px;
    font-size: 1rem;
}

.phone-input-group input#phoneNumber {
    flex-grow: 1; /* Takes the remaining space */
    padding: 8px;
    font-size: 1rem;
    margin-left:30px;
}
.phone-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family:jost;
}

.phone-input-group select#countryCode {
    width: 120px; /* Adjust as needed */
    padding: 8px;
    font-size: 1rem;
}

.phone-input-group input#phoneNumber {
    flex-grow: 1; /* Takes the remaining space */
    padding: 10px;
    font-size: 1rem;
}
/* Style for the open button */
/* Style for the open button */
#openChatbotButton {
    position: fixed;
    bottom: 0px;
    right: 20px;
    cursor: pointer;
    display: block; /* Ensure it is displayed by default */
    border-radius:50%;
    z-index:999;
   
}

#openChatbotButton img {
    width: 130px;
    padding: 10px;
    border-radius: 20px;
    vertical-align: middle; 
   
   
}

/* Style for the close sign */



/* Chatbot container style */
#emailInputInlne:invalid {
    border-color: red; /* Red border for invalid input */
}
.error-message {
    color:red;
}

#openChatbotButton span {
    font-size: 15px;
    font-weight: 500;
    /* margin-right: 10px; */
    display: block;
    text-align: center;
    margin-bottom: -15px;
}
#controlButtons {
   
    display:flex;
    top: 20px;
    right: 20px;
    display: flex;
    gap: -10px;
   
}

#closeChatbotButton, #minimizeChatbotButton {
    /* position: relative; */
    /* top: 220px; */
    /* margin-left: 0; */
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: block;
    /* width: 25px; */
    /* height: 15px; */
    line-height: 28px;
    /* align-items: center; */
    /* justify-content: center; */
    text-align: center;
    border-radius: 50%;
    width: 25px;
    border: 0;
    text-transform: uppercase;
    height: 25px;
    margin-top: 20px;
    background: transparent;
    float: left;
    margin-right: 15px;
}
#closeChatbotButton{    margin-right: 10px;}

#chatbotContainer {
    width: 300px;
    height: 200px;
    z-index: 999;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#playSoundButton {
    display: block; /* Ensure the button is visible */
    margin: 20px; /* Optional: Adds margin around the button */
    padding: 10px 20px; /* Optional: Adds padding inside the button */
    font-size: 16px; /* Optional: Adjusts the font size */
}
/* Optional styling */
.iti__country-list {
    z-index: 1000; /* Increase this value if necessary */
}
