.appbar {
  position: sticky;
  top: 0;
  z-index: 1000;

   display: flex;
  align-items: center;
   justify-content: space-between;

  padding: 12px 15px;
  background: #0f0f10;
  border-bottom: 1px solid #1f1f22;

  position: relative; /* 👈 importante */
}

.left, .right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  font-weight: bold;
  font-size: 16px;

  pointer-events: none; /* 👈 evita conflito com clique */
}



.user-area {
  cursor: pointer;
}

.login-link {
  font-size: 12px;
  color: #00ff88;
  font-weight: 600;
  white-space: nowrap;
}


.login-btn {
  background: none;
  border: none;
  color: #00ff88;
  font-size: 14px;
  cursor: pointer;
}

.notification {
  cursor: pointer;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 14px;
}

.user-area {
  padding: 6px 10px;
  border-radius: 8px;
  transition: 0.3s;
}

.user-area:hover {
  background: #1f1f1f;
  color: #fff;
}

.user-action {
  font-size: 12px;
  color: #00ff88;
  cursor: pointer;
}

.notification {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.notification svg {
  transition: 0.2s;
}

.notification:hover svg {
  opacity: 0.7;
  transform: scale(1.1);
}