/* Reset default margins and padding */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* Apply a modern font and gradient background */
  body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f6d365, #fda085);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }
  
  /* Chat container styling */
  .chat-container {
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  /* Header styling */
  .chat-header {
    background-color: #1a73e8;
    color: #fff;
    padding: 20px;
    text-align: center;
  }
  
  .chat-header h1 {
    font-size: 24px;
    font-weight: 500;
  }
  
  .chat-header p {
    font-size: 14px;
    margin-top: 5px;
  }
  
  /* Chat box styling */
  .chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background-color: #f9f9f9;
  }
  
  /* Message styling */
  .message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    line-height: 1.4;
  }
  
  .user-message {
    background-color: #e3f2fd;
    margin-left: auto;
    text-align: right;
  }
  
  .bot-message {
    background-color: #f1f0f0;
    margin-right: auto;
    text-align: left;
  }
  
  /* Input area styling */
  .input-area {
    display: flex;
    border-top: 1px solid #eee;
  }
  
  input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 16px;
  }
  
  input:focus {
    outline: none;
  }
  
  button {
    background-color: #1a73e8;
    color: #fff;
    border: none;
    padding: 0 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: #1557b0;
  }
  
  /* Loading text style */
  .loading {
    color: #666;
    font-style: italic;
  }
  