* {
  box-sizing: border-box;
}

/* General Styles */
body {
  font-family: 'Inter', sans-serif; /* Updated font for a more festive look */
  margin: 0;
  padding: 0;
  background-color: #1e1e1e; /* Creamy color for a warm feel */
  font-size: 16px;
}

/* Chat container */
#chat-container {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 50px auto;
  background-color: #1e1e1e; /* Light red for a festive touch */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  /* border: 1px solid #008000;  Green border for Christmas theme */
}

@media (min-width: 601px) {
  #chat-container {
    max-width: 600px;
  }
}

/* Messages */
#messages {
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow-y: auto;
  flex-grow: 1;
} 

/* Chat bubbles */
.message {
  max-width: 70%;
  margin-bottom: 10px;
  padding: 12px 18px;
  border-radius: 20px; 
  line-height: 1.4;
  font-size: 16px;
  word-wrap: break-word;
  overflow-wrap: break-word; /* wrap text */
}


.message pre {
  white-space: pre-wrap; /* Wrap text for line breaks */
  font-family: inherit; /* Use the same font family as the rest of the page */
  margin: 0; /* Reset default margins */
}

.message-content {
  display: flex;
  flex-direction: column;
}

/* Updated colors for messages */

.user-message {
  align-self: flex-end;
  background-color: #2563eb; /* User message */
  color: #FFFFFF; /* White text */
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 10px 20px;
  margin-bottom: 10px;
}

.bot-message {
  align-self: flex-start;
  background-color: #3f3f46; /* Bot message */
  color: #FFFFFF; /* White text */
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 10px 20px;
  margin-bottom: 10px;
}

/* Input container */
#input-container {
  display: flex;
  align-items: center; /* align items to the center of the container */
  padding: 10px;
}

/* Input field */
#user-input {
  flex-grow: 1;
  border: none;
  padding: 5px 10px;
  font-size: 16px;
  outline: none;
	background-color: #1e1e1e;
	border: #0ea5e9 1px solid;
	color:#0ea5e9;
 /* disable textarea resizing */
  overflow:visible; /* hide scrollbar */
  height: 40px; /* set initial height */
  min-height: 80px; /* set a minimum height */
  max-height: 100px; /* set a maximum height */
  word-wrap: break-word; /* allow text to wrap to new lines */
  overflow-wrap: break-word; /* allow text to wrap to new lines */
}

a { color: #0ea5e9;}

/* Send button */
#send-button {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
	border-radius: 5px;
  margin-left: 10px; /* add some space between the input field and the button */
}

/* Send button */
#send-image-button {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
	border-radius: 5px;
  outline: none;
  margin-left: 10px; /* add some space between the input field and the button */
}

/* Send button */
#supportYack {
  background-color: #ff4757;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
	border-radius: 5px;
  outline: none;
	margin-left: 10px; /* add some space between the input field and the button */ }

.signUpNow {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
	border-radius: 5px;
  margin-left: 10px; /* add some space between the input field and the button */
} 

#signUpNow {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
	border-radius: 5px;
  margin-left: 10px; /* add some space between the input field and the button */
}

#signUpNow a {

  color: #fff;
 
}



/* Send button */
.send-button {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  outline: none;
	border-radius: 5px;
  margin-left: 10px; /* add some space between the input field and the button */
}

/* Send button */
.send-image-button {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
	border-radius: 5px;
  outline: none;
  margin-left: 10px; /* add some space between the input field and the button */
}


/* Yack image */
.yack-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Message info */
.message-info {
  display: flex;
  align-items: center;
  margin-top: 5px;
  font-size: 14px;
  color: #888;
}

/* Assistant name */
.assistant-name {
  margin-left: 10px;
  font-weight: bold;
	color: #ffffff;
}

/* Response messages */
.bot-message .message-info {
  display: flex;
  align-items: center;
}

.bot-message .message-text {
  margin-right: 10px;
}

.message-text {
  word-wrap: break-word;
  overflow-wrap: break-word; /* wrap text */
}

.bot-message .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* List styles */
.bot-message ul {
  list-style-type: none;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.bot-message li {
  font-size: 0.9em;
  padding: 3px 0;
  text-indent: -20px;
  margin-left: 20px;
}


.bot-message li:before {
  content: "•";
  display: inline-block;
  width: 20px;
  text-indent: 0;
}

h1 { margin-bottom: 0px; }

.ask-yack {
	font-family: 'Inter', sans-serif;
  font-size: 32px;
  text-align: center;
  margin: auto;
	padding-top: 25px;
  color: #0ea5e9;
	display: flex;
  align-items: center;
  gap: 10px; /* Adjust the space between the image and the text */
}


.yack-logo {
  width: 40px; /* Adjust the width of the image */
  height: auto;
}


/* Loading icon */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-icon {
  display: inline-block;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #666;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  animation: spin 0.6s linear infinite;
}
.email-response-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5em;
  padding: 0;
  margin-left: 0.5em;
  color: #333;
}

.email-response-button:hover {
  color: #007bff;
}

/* navigation */

/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  right: 0; /* Aligh menu on the right side */
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	font-size: 16px;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 16px;
  color: #818181;
  display: block;
  transition: 0.3s;
	
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #0ea5e9;
	 
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#socialTags {
  display: flex;
  align-items: center;
  justify-content: center; /* Optional, use this to center the icons */
}

#socialTags a {
  text-decoration: none;
  padding: 0 10px; /* Adjust the space between the icons */
}

.socialTags:hover {
  color: #0d8fd4; /* Darker Twitter blue for hover effect */
}



/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


/* Hamburger Menu Icon */
.menu-icon {
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.bar1, .bar2, .bar3 {
  width: 25px;
  height: 3.5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

#menu-wrapper.open .menu-icon {
  display: none;
}


.dark-theme {
  background-color: #647081;
}

.dark-theme #chat-container {
  background-color: #434a54;
}

.dark-theme .bot-message {
  background-color: #6f7785;
  color: #d1d6db;
}

.dark-theme .user-message {
  background-color: #869bb3;
  color: #fff;
}

.dark-theme .assistant-name {
	color: #ffffff;
}

pre {
  background-color: #DBDBDB;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 10px;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 10px;
}

pre.plaintext-code {
  white-space: pre-wrap;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #dfeeff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
}

.modal-content-plus {
  background-color: #dfeeff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
	border-radius: 25px;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.version-info {
	margin: auto 0;
  font-size: 10px;
  color: #666;
  
	padding: 10px;
}
.askyack-bottomchat{
	margin: auto 0;
  font-size: 10px;
  color: #666;
  
	padding: 10px;
}

/* Add this to your CSS file */
@media (max-width: 768px) {
  .message-image img {
    width: 250px;
    height: 250px;
  }
}


/*-- modal CSS --*/

/* Add these styles to your CSS file or inside a <style> tag in the <head> of your HTML file */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #dfeeff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width:  300px;
	border-radius: 25px;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.powered-by {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  margin-top: 10px;
}

.powered-by-logo {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}



@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#registrationModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

#registrationModal .modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
}

#registrationModal .close {
  color: #333;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

#registrationModal .close:hover,
#registrationModal .close:focus {
  color: #007bff;
}

#registrationModal h2 {
  margin-top: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

#registrationModal form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#registrationModal label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

#registrationModal input[type="email"],
#registrationModal input[type="password"],
#registrationModal input[type="text"] {
  padding: 12px 15px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: border-color 0.3s;
}

#registrationModal input[type="email"]:focus,
#registrationModal input[type="password"]:focus,
#registrationModal input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
}

#registrationModal button[type="submit"] {
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 15px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

#registrationModal button[type="submit"]:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

#registrationModal button[type="submit"]:active {
  transform: translateY(0);
}

#registrationModal .g-recaptcha {
  margin-top: 10px;
  align-self: center;
  transform: scale(0.95);
}

#registrationModal label input[type="checkbox"] {
  margin-right: 10px;
}

@media (max-width: 600px) {
  #registrationModal .modal-content {
    margin: 20% auto;
    padding: 20px;
  }

  #registrationModal h2 {
    font-size: 20px;
  }
}




/*-- Registration MODAL 

#registrationModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#registrationModal .modal-content {
  background-color: #dfeeff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
}

#registrationModal .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#registrationModal .close:hover,
#registrationModal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#registrationModal h2 {
  margin-top: 0;
  font-size: 28px;
}

#registrationModal form {
  display: flex;
  flex-direction: column;
}

#registrationModal label {
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

#registrationModal input[type="email"],
#registrationModal input[type="password"],
#registrationModal input[type="text"]
 {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}

#registrationModal button[type="submit"] {
  background-color: #007bff;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
}

#registrationModal button[type="submit"]:hover {
  background-color: #0062cc;
} --*/

/*-- Registration MODAL --*/
/*-- Registration MODAL --*/

/*-- Login MODAL --*/

#loginModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#loginModal .modal-content {
  background-color: #dfeeff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 500px;
}

#loginModal .close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#loginModal .close:hover,
#loginModal .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#loginModal h2 {
  margin-top: 0;
  font-size: 28px;
}

#loginModal form {
  display: flex;
  flex-direction: column;
}

#loginModal label {
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

#loginModal input[type="email"],
#loginModal input[type="password"],


#loginModal input[type="text"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}

#loginModal button[type="submit"] {
  background-color: #007bff;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
}

#loginModal button[type="submit"]:hover {
  background-color: #0062cc;
}


.user-indicator {
	padding: 10px;
}


.about-us-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.about-us-modal-content {
  background-color: #dfeeff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 600px;
  border-radius: 25px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-us-close {
  color: #333;
  cursor: pointer;
  font-size: 2em;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
}

h2 {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.about-us-text p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  margin-bottom: 20px;
}

.about-us-text p:last-child {
  margin-bottom: 0;
}

.mail-link {
  display: inline-flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}

.mail-link i {
  margin-right: 5px;
}

