/* Add your styles here */
.chat-box {
	position: fixed;
	bottom: 80px;
	right: 20px;
	width: 360px;
	height: 560px;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 15px; /* Set the same radius for all corners */
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
	transition: right 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
  }
  
  .chat-box.open {
   
	right: 10px;
  }
  
  .chat-header {
	/* background-color: #08306d !important; */
	background-image: url('http://estratcom.com/wp-content/uploads/2019/07/estrats_header_logo-1.pn');
	background-repeat: no-repeat;
	background-size: 160px;
	color: #08306d;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	border-radius: 8px 8px 0px 0px;
	height: 100px;
	border-bottom: outset;
  }
  
  .chat-title {
	/* font-weight: bold; */
	position: absolute;
	top: 40px;
	right: 10px;
	font-size: 15px;
  }
  .chat-close{
	position: absolute;
	top: 4px;
	right: 10px;
  }
  .chat-toggle {
	cursor: pointer;
  }
  
  .chat-messages {
	padding: 10px;
	flex-grow: 1;
	overflow-y: auto;
	width: 325px;
	height: 867px;
	display: flex;
	flex-direction: column;

  }
  input[type="text"] {
	flex: 1; /* Allow the input field to grow to fill available space */
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 5px;
	outline: none;
	white-space: pre-wrap; /* Allow text to wrap to a new line when it exceeds the width */
	word-wrap: break-word; /* Ensure long words wrap to a new line */
  }
  
  .message {
	padding: 10px;
	border-radius: 5px;
	margin-bottom: 10px;
	max-width: 70%; /* Adjust as needed */
	word-wrap: break-word;
	display: inline-block;
  }
  
  .user-message {
	background-color: #a3eaf7; /* User message background color */
	 
	margin-left: auto; /* Right-align user messages */
	margin-right: 10px; /* Add some space between user messages and the chat container */
	padding: 8px 12px;
	border-radius: 10px; /* Rounded corners for user messages */
	display: inline-block; /* Allow message div to size itself to text content */
	max-width: 70%; /* Optional: Limit message width to prevent it from stretching too wide */
	word-wrap: break-word; /* Allow long words to wrap to the next line */
	margin-bottom: 8px; /* Add margin to separate messages vertically */
	font-size: 16px;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;

}

.support-message {
	background-color: #f0f0f0; /* Support message background color */
	color: #333; /* Support message text color */
	margin-right: auto; /* Left-align support messages */
	margin-left: 10px; /* Add some space between support messages and the chat container */
	padding: 8px 12px;
	border-radius: 10px; /* Rounded corners for support messages */
	display: inline-block; /* Allow message div to size itself to text content */
	max-width: 70%; /* Optional: Limit message width to prevent it from stretching too wide */
	word-wrap: break-word; /* Allow long words to wrap to the next line */
	margin-bottom: 8px; /* Add margin to separate messages vertically */
	font-size: 16px;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;

}

.loading-gif {
  background-color: transparent !important;
  width: 25px;
  display: flex;
}
  
  
  .chat-input {
	display: flex;
	padding: 10px;
	border-top: 1px solid #ccc;
	background-color: #f4f7f9;
	border-radius: 0px 0px 16px 16px;     
	border: none;
  }
  input:focus {
	outline: none;
  }
  
  .chat-input input {
	
	padding: 5px;
	border: none;
	border-radius: 5px;
	white-space: pre-wrap;  
	word-wrap: break-word; 
  }
  
  
  .chat-input button {
	background-color: #ff0f00;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 5px 10px;
	margin-left: 10px;
	cursor: pointer;
  }
  

  /* Add your styles here */

/* Chat button */
/* Add your styles here */

/* Chat button */
.chat-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #08306d;
	color: #fff;
	border: none;
	border-radius: 50%; /* Circular shape */
	width: 50px; /* Adjust size */
	height: 50px; /* Adjust size */
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px; /* Adjust icon size */
	cursor: pointer;
	transition: background-color 0.3s;
	z-index: 999;
  }
  
  .chat-button:hover {
	background-color: #08306d;
  }
  
  .chat-button.open {
	background-color: #08306d; /* Change color when chat is open */
   
  }
  /* textarea{
	font-size: 16px;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
  } */
  .textAreaAS {
	 
	font-size: 16px;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
  }
  
  .textAreaAS::placeholder{
	color: #999;
	font-size: 16px;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
	padding-left: 2px;
  }

  /* import "../custom_styles/ChatBox.css"; // Import your CSS for styling */