body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
  }
  
  #chat {
    margin: 50px auto;
    max-width: 500px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  #header {
    background-color: #8b0000; /* 버건디 색상 */
    color: #fff;
    padding: 20px;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  #header h1 {
    font-size: 24px;
    margin: 0;
  }
  
  #header p {
    font-size: 14px;
    margin: 0;
    font-weight: bold;
  }
  
  #header #username {
    color: #E0F2F1;
  }
  
  #messages {
    height: 405px; /* 35% more than the original height of 300px */
    padding: 10px;
    overflow-y: scroll;
  }
  
  #input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
  }
  
  #message {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    margin-right: 10px;
  }
  
  #send {
    padding: 10px;
    background-color: #8b0000; /* 버건디 색상 */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .message {
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
  }
  
  .message.sent {
    margin-left: auto;
    background-color: #f7d6d5; /* 밝은 살색 */
    color: #000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  .message.received {
    background-color: #f3e8fa; /* 매우 연한 연보라색 */
  }
  
  .message .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  
  .message .header .name {
    font-weight: bold;
    margin-right: 5px;
  }
  
  .message .header .time {
    color: #999;
  }
  
  .message .content {
    word-wrap: break-word;
  }
  
  .watermark {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #999;
    text-align: center;
  }
  
  