/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  
  /* Header */
  .header {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
  }
  
  .icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
  
  .title {
    font-size: 1.5em;
  }
  
  /* Chat Container */
  .chat-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
  }
  
  .chat {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
  }
  
  .message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
  }
  
  .message.you {
    align-self: flex-end;
    background: #e0f7fa;
  }
  
  .message.server {
    align-self: flex-start;
    background: #fce4ec;
  }
  
  .username {
    font-weight: bold;
    margin-right: 5px;
  }
  
  .text {
    display: inline-block;
  }
  
  /* Input Container */
  .input-container {
    display: flex;
    padding: 10px;
    background: #007bff;
  }
  
  .chat-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 1em;
  }
  
  .send-btn {
    padding: 10px 20px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .send-btn:hover {
    background: #004085;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .title {
      font-size: 1.2em;
    }
  
    .icon {
      width: 30px;
      height: 30px;
    }
  
    .chat-input {
      font-size: 0.9em;
    }
  
    .send-btn {
      padding: 8px 15px;
      font-size: 0.9em;
    }
  }
  