body {
  margin: 0;
  background-color: #1c1c1c;
  color: white;
  font-family: 'Inter', sans-serif;
  display: flex;
}

/* Sidebar */

.sidebar {
  width: 250px;
  height: 100vh;
  background: #111111;
  padding: 25px;
  box-sizing: border-box;
  border-right: 1px solid #242424;
  position: sticky;
  top: 0;
}

.sidebar h2 {
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
}

.sidebar button {
  width: 100px;
  padding: 14px;
  margin-bottom: 12px;
  border: none;
  border-radius: 16px;
  background: transparent;
  color: #d9d9d9;
  cursor: pointer;
  font-size: 15px;
  text-align: left;
  transition: 0.25s;
}

.sidebar button:hover {
  background: #232323;
  color: white;
  padding-left: 20px;
}

/* Main area */

.main {
  flex: 1;
  padding: 15px;
  display: block;
}

.main h1 {
  margin-bottom: 5px;
  font-size: 38px;
}

.main p {
  color: #b0b0b0;
}

/* Cards */

.card-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding: 10px 0 20px 0;
  scroll-behaviour: smooth;
}

.card-container::-webkit-scrollbar {
  height: 8px;
}

.card-container::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 10px;
}

.card-container::-webkit-scrollbar-track {
  background: transparent;
}

.card {
  display: block;
  flex: 0 0 220px;
  text-decoration: none;
  color: white;
  background: #1d1d1d;
  border: 1px solid #2a2a2a;
  border-radius: 22px;
  width: 220px;
  transition: 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #4a4a4a;
  background: #242424;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #2c2c2c;
  color: #bdbdbd;
  font-size: 12px;
  margin-top: 10px;
}

/* Fake avatar */

.avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  overflow: hidden;
  display: block;
}

.search {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 14px;
  background: #232323;
  color: white;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.search:focus {
  background: #2a2a2a;
}

.top-bar {
  width: 100%;
  background: #151515;
  border: 1px solid #2a2a2a;
  border-radius: 20px;
  padding: 20px;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.chat-page {
  width: 90%;
  max-width: 1200px;
  margin: 30px auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.chat-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-box {
  background: #181818;
  border-radius: 20px;
  padding: 25px;
  min-height: 65vh;
  width: 100%;
  box-sizing: border-box;
}

.message {
  padding: 14px 18px;
  border-radius: 18px;
  max-width: 60%;
}

.bot {
  background: #2a2a2a;
}

.input-area {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.input-area input {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 15px;
  background: #232323;
  color: white;
}

.input-area button {
  position: relative;
  z-index: 11;
  padding: 14px 20px;
  border: none;
  border-radius: 15px;
  background: #3a3a3a;
  color: white;
  cursor: pointer;
}

.user {
  background: #4a4a4a;
  margin-left: auto;
  margin-top: 12px;
}