* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    height: 100vh;
  }
  
  .chat-app {
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  
  /* New TEAL THEME */
  .chat-header {
    background-color: #008080;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .logo {
    font-weight: bold;
    cursor: pointer;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .logo:hover {
    color: #ffd700; /* golden/yellow hover */
  }
  
  
  .chat-header input {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    min-width: 200px;
  }
  
  .chat-container {
    display: flex;
    flex: 1;
    overflow: hidden;
    flex-direction: row;
  }
  
  .chat-sidebar {
    width: 250px;
    background-color: #fff;
    border-right: 1px solid #ccc;
    padding: 20px;
    overflow-y: auto;
    transition: transform 0.3s ease;
  }
  
  .chat-sidebar h2 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #444;
  }
  
  .chat-sidebar ul {
    list-style: none;
  }
  
  .contact {
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease;
  }
  
  .contact img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .contact:hover,
  .contact.active {
    background-color: #e4f3f2;
  }
  
  .chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #e0f7f4;
  }
  
  .chat-header-secondary {
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
  }
  
  .chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .message {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 70%;
    font-size: 15px;
    line-height: 1.4;
    word-wrap: break-word;
  }
  
  .received {
    background-color: #ffffff;
    align-self: flex-start;
  }
  
  .sent {
    background-color: #b2f0e6;
    align-self: flex-end;
  }
  
  .chat-form {
    display: flex;
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    flex-wrap: wrap;
  }
  
  .chat-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 25px;
    outline: none;
    min-width: 0;
  }
  
  .chat-form button {
    padding: 10px 20px;
    margin-left: 10px;
    margin-top: 10px;
    background-color: #008080;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    flex-shrink: 0;
  }
  
  .chat-form button:hover {
    background-color: #006666;
  }
  
  /* Hamburger Menu */
  .menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Responsive (Mobile) */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      color: white;
    }
  
    .chat-sidebar {
      position: absolute;
      top: 60px;
      left: 0;
      width: 70%;
      height: calc(100% - 60px);
      background-color: #fff;
      z-index: 1000;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
    }
  
    .chat-sidebar.open {
      transform: translateX(0);
    }
  
    .chat-container {
      position: relative;
      flex-direction: column;
    }
  
    .chat-form {
      flex-direction: column;
    }
  
    .chat-form input {
      width: 100%;
      margin-bottom: 10px;
    }
  
    .chat-form button {
      width: 100%;
      margin-left: 0;
    }
  
    .chat-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .message {
      max-width: 90%;
    }
  }

  .chat-footer {
    background-color: #008080;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    position: relative;
    z-index: 10;
  }
  
  /* Responsive footer for mobile */
  @media (max-width: 768px) {
    .chat-footer {
      font-size: 13px;
      padding: 12px;
    }
  }
  