
* {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

body {
  display: flex;
  height: 100vh;
  background: #1e1e1e;
  color: white;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: #121212;
  padding: 20px;
  overflow-y: auto;
}

.sidebar h2 {
  margin-bottom: 20px;
}

.menu li,
.chats li {
  list-style: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.menu li:hover,
.chats li:hover {
  background: #2a2a2a;
}

.sidebar h4 {
  margin: 20px 0 10px;
  color: #aaa;
}

/* Profile */
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 20px;
}

.profile span {
  background: purple;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
}

/* Main */
.main {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
}

.main h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* Input Box */
.input-box {
  display: flex;
  align-items: center;
  background: #2a2a2a;
  padding: 12px 16px;
  border-radius: 25px;
  width: 60%;
  max-width: 600px;
  gap: 10px;
}

.input-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 16px;
}

.input-box button {
  background: #444;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
}

.input-box button:hover {
  background: #666;
}

