   body {
      font-family: Arial, sans-serif;
      text-align: center;
      padding: 20px;
    }
    .container {
      max-width: 600px;
      margin: 0 auto;
    }
    textarea {
      width: 100%;
      height: 100px;
      margin-bottom: 10px;
      font-size: 16px;
    }
    .keyboard {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 10px;
    }
    button {
      padding: 10px 20px;
      font-size: 16px;
      border: none;
      background-color: #007BFF;
      color: white;
      border-radius: 5px;
      cursor: pointer;
      margin: 5px;
    }
    button:active {
      background-color: #0056b3;
    }
    .mode-buttons {
      margin-bottom: 20px;
    }
    .active-mode {
      background-color: #0056b3;
      cursor: default;
    }
    @media (max-width: 600px) {
      button {
        font-size: 14px;
        padding: 10px;
      }
    }
    /* Global styles */
    body {
      margin: 0;
      font-family: 'Arial', sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      background-color: #f3f4f6;
    }

    .chat-container {
      width: 100%;
      max-width: 400px;
      height: 80%;
      display: flex;
      flex-direction: column;
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .chat-header {
      background-color: #1e90ff;
      color: #ffffff;
      padding: 15px;
      font-size: 18px;
      font-weight: bold;
      text-align: center;
    }

    .chat-body {
      flex: 1;
      padding: 15px;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
      background-color: #f9f9f9;
    }

    .message {
      margin: 10px 0;
      display: flex;
      flex-direction: column;
    }

    .message.user {
      align-items: flex-end;
    }

    .message-content {
      max-width: 70%;
      padding: 10px 15px;
      border-radius: 15px;
      font-size: 14px;
      line-height: 1.4;
    }

    .message.user .message-content {
      background-color: #1e90ff;
      color: #ffffff;
      border-bottom-right-radius: 0;
    }

    .message.other .message-content {
      background-color: #e0e0e0;
      color: #333333;
      border-bottom-left-radius: 0;
    }

    .chat-footer {
      padding: 15px;
      display: flex;
      gap: 10px;
      background-color: #ffffff;
      border-top: 1px solid #e0e0e0;
    }

    .chat-footer input {
      flex: 1;
      padding: 10px;
      border: 1px solid #e0e0e0;
      border-radius: 5px;
      font-size: 14px;
    }

    .chat-footer button {
      padding: 10px 20px;
      background-color: #1e90ff;
      color: #ffffff;
      border: none;
      border-radius: 5px;
      font-size: 14px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .chat-footer button:hover {
      background-color: #006fd6;
    }