@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
	font-weight:400;
    background-color: #f5f5f5;
  }

  .container {
    max-width: 800px; /* original 600 */
    margin: 0 auto;
    padding: 20px;
  }

  .header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .header img {
    width: 50px;
    height: 50px;
	border-radius: 50%;
    margin-right: 10px;
  }

  .chat-box {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
  }

  .messages {
    max-height: 640px;
    overflow-y: auto;
  }

  .message {
    display: flex;
    /* align-items: flex-end; */
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
  }

  .message.received {
    flex-direction: row;
  }

  .message.sent {
    flex-direction: row-reverse;
  }

  .avatar {
    width: 32px;
    height: 32px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 6px;
	margin-left: 6px;
  }

  .avatar img {
    width: 100%;
    height: 100%;
  }

  .text {
    padding: 10px;
    border-radius: 10px;
	  font-size:18px;
	  line-height:150%;
    max-width: 80%; /* original 70% */
  }
  
  .sent_bubble {
	background-color: #bfffdf;
  }
  
  .received_bubble {
	background-color: #f2f2f2;
  }
  
  .time {
    font-size: 11px;
    margin-left: 7px;
	margin-right: 7px;
    color: #666;
  }

  .input-box {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
  }

  .message-input {
    flex-grow: 1;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 20px;
    outline: none;
    font-size: 17px;
  }
  
.select-input {
    flex-grow: 1;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 20px;
    outline: none;
    font-size: 17px;
  }


  .send-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
  }

  .send-button:hover {
    background-color: #128C7E;
  }

  .dot-img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }

  .hide {
    display: none;
  }

  .show {
    display: block;
  }
  

/* Mobile */
@media only screen and (max-width: 480px) {
    .container {
        max-width: 900px!important;
        margin: 0 auto;
        padding: 10px;
    }
    .header img {
        width: 60px;
        height: 60px;
        margin-right: 17px;
    }
    .messages {
        max-height: 1200px;
    }
    .avatar {
        width: 25px;
        height: 25px;
    }
    .text {
    max-width: 70%;
    font-size: 17px;
    line-height: 160%;
    word-wrap: break-word;
    }
    .time {
        font-size: 12px;
        margin: 0px 10px;
    }
    .message-input {
    font-size: 17px;
    height: 20px;
    padding: 15px;
    }
    .send-button {
        width: 30px;
        height: 30px;
        font-size: 17px;
        margin-left: 5px;
    }
    .dot-img {
        width: 30px;
        height: 30px;
    }

  }
  
  /* Tablet */
  @media only screen and (min-width: 481px) and (max-width: 768px) {
    /* CSS Rules */
  }
  
.grecaptcha-badge { visibility: hidden; }

/* code box */
pre {
    background-color: #2d2d2d; /* Dark background */
    color: #ffffff; /* White text */
    padding: 15px; /* Add some padding */
    border-radius: 5px; /* Rounded corners */
    font-family: 'Courier New', Courier, monospace; /* Monospace font */
    font-size: 14px; /* Adjust font size */
    overflow-x: auto; /* Horizontal scrolling for long lines */
    margin: 20px 0; /* Space above and below */
    white-space: pre-wrap; /* Wrap long lines if needed */
}

/* Style specifically for <code> inside <pre> */
pre code {
    display: block; /* Ensure block display */
    padding: 0; /* Remove extra padding */
    background: none; /* No additional background */
    color: inherit; /* Inherit text color */
}

/* Optional: Add a subtle shadow for aesthetics */
pre {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
