body {
  font-family: "Trebuchet MS", Arial, sans-serif;
 /* background: linear-gradient(#e0e6f8, #ffffff); Just in case I ever want to remove the BG*/
  background-color: #e0e6f8;
  background-image: url('../assets/blissdark.webp');
  background-size: cover; /* Ensures the image scales to cover the whole window */
    background-position: center; /* Keeps the image centered */
    background-attachment: fixed; /* Prevents the background from moving when scrolling */
  margin: 0;
  color: #333;
}

.topbar {
  background: #c8d4f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
  border-bottom: 2px solid #b0bde3;
}

.logo {
  font-size: 24px;
  color: #eda13d;
  font-weight: bold;
}

.logo .beta {
  font-size: 12px;
  vertical-align: super;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #244282;
  font-weight: bold;
}

.container {
  display: flex;
  max-width: 1100px;
  margin: 20px auto;
  gap: 20px;
  align-items: flex-start;
}

.sidebar, .friends, .where-to-find {
  background: rgba(255, 255, 255, 0.75);
  padding: 12px;
  width: 220px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.12);
}

.content {
  flex: 1;
  background: rgba(255, 255, 255, 0.75);
  padding: 18px;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.12);
  min-height: 300px;
}

.profile {
  text-align: center;
}

.profile .avatar {
  width: 120px;
  border-radius: 6px;
  display: block;
  margin: 0 auto 8px;
}

.zenary-level {
  width: 36px;
  display: inline-block;
  margin: 6px auto;
  background: #f0f3fc;
  border-radius: 4px;
  font-size: 14px;
}

.add-friend {
  display: block;
  margin: 10px auto;
  padding: 6px 10px;
  background: #d7e0f4;
  border: 1px solid #aab8de;
  border-radius: 4px;
  cursor: pointer;
}

.menu {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.menu li {
  margin: 6px 0;
}

.menu a {
  text-decoration: none;
  color: #244282;
}

.reputation {
  display: flex;
  justify-content: space-around;
  background: #f0f3fc;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.rep-item {
  text-align: center;
  color: #333;
}

.hearts {
  display: block;
  font-size: 18px;
  margin-top: 4px;
}

.info {
  margin-top: 6px;
}

.info table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid #e2e8ff;
  border-radius: 6px;
  overflow: hidden;
}

.info td {
  padding: 8px 10px;
}

.info tr:nth-child(odd) {
  background: #f7f9ff;
}

.info tr:nth-child(even) {
  background: #eef3ff;
}

.info td:first-child {
  width: 140px;
  color: #444;
  font-weight: bold;
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.friend-grid img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* Comunidades */
.communities-title {
  margin-top: 6px;
  font-size: 14px;
}

.communities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.community {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #fbfcff;
  border-radius: 6px;
  border: 1px solid #e6ecff;
}

.community img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.community-name {
  font-size: 13px;
  color: #333;
  font-weight: bold;
}

/* Responsivo simples */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    max-width: 90%;
  }
  .sidebar, .friends, .where-to-find{
    width: 100%;
  }
  .communities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Caixas de destaque para Updates e DataStream */
.content-box {
  background: rgba(176, 189, 227, 0.1); /* Fundo azulado claro e transparente */
  padding: 12px;
  border: 1px dashed #b0bde3;
  margin-bottom: 15px;
  border-radius: 6px; /* Combinando com o arredondamento das tabelas */
}

/* Link para visualizar o histórico completo */
.view-link {
  font-size: 12px; 
  font-weight: bold; 
  display: block; 
  margin-top: 10px;
  text-align: right;
  color: #244282;
  text-decoration: none;
}

.view-link:hover {
  text-decoration: underline;
}
