body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #525266 0%, #3D3548 100%);
  color: white;
  overflow: hidden;
}

/* Layout grid */
.app {
  display: flex;
  height: 100vh;
}

/* ===== SIDE MENU ===== */
.sidebar {
  width: 250px;
  background: #525266;
  border-right: 1px solid #76768B;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
}

.server-icon {
  width: 80px;
  height: 80px;
  background: #919AF8;
  border-radius: 25px;
  margin: 1rem 0;
}

.server-separator {
  width: 80%;
  border: 0;
  border-top: 4px solid #717187;
  margin: 1rem 0;
}

/* ===== MAIN CONTENT ===== */
.main {
  flex: 1;
  display: flex;
  flex-direction: row;
}

/* ===== INFO BAR ===== */
.info-bar {
  position: absolute;
  top: 0;
  left: 250px;
  right: 430px;
  height: 80px;
  background: #48435E;
  border-bottom: 1px solid #726C8D;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-shadow: 0px 8px 15px rgba(103, 98, 160, 0.3);
  z-index: 10;
}

.info-bar h1 {
  font-size: 28px;
}

.info-icons {
  display: flex;
  gap: 1rem;
}

.info-icons .icon {
  width: 40px;
  height: 40px;
  background: #79799D;
  border-radius: 50%;
}

/* ===== CHAT ===== */
.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 80px;
  padding: 1rem;
}

.messages {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 1rem;
}

.message {
  margin-bottom: 10px;
}

/* ===== TEXT BAR ===== */
.text-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #525266 30%, rgba(82, 82, 102, 0.35) 80%);
  border: 1px solid #605E73;
  border-radius: 50px;
  padding: 10px 20px;
  margin: 10px;
}

.text-bar input {
  flex: 1;
  border: none;
  background: transparent;
  color: white;
  font-size: 16px;
  outline: none;
}

.text-bar button {
  background: #76768B;
  border: none;
  border-radius: 50%;
  color: white;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* ===== USERS BAR ===== */
.users-bar {
  width: 430px;
  background: #525266;
  border-left: 1px solid #76768B;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  overflow-y: auto;
}

.user {
  display: flex;
  align-items: center;
  background: #3D3548;
  border-radius: 23px;
  padding: 10px;
  margin-bottom: 1rem;
}

.avatar {
  width: 60px;
  height: 60px;
  background: #79799D;
  border-radius: 50%;
  margin-right: 1rem;
}

.user-info .username {
  font-size: 20px;
  font-weight: 500;
}

.user-info .bio {
  font-size: 14px;
  opacity: 0.8;
}
