body.dark {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
}

.topbar {
  padding: 15px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  border-bottom: 1px solid #222;
  color: #0f0;
}

.feed {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.post-card {
  background-color: #111;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #222;
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-header .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.post-text {
  margin: 10px 0;
}

.post-image {
  width: 100%;
  border-radius: 12px;
  margin-top: 10px;
}

.post-actions button {
  background: none;
  border: none;
  color: #0f0;
  cursor: pointer;
  margin-right: 10px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #111;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 1px solid #222;
}

.bottom-nav a {
  color: #0f0;
  font-size: 20px;
  text-decoration: none;
}

/* Modal */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #111;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  position: relative;
}

.modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

#modalPostContent {
  width: 100%;
  height: 80px;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #222;
  background-color: #000;
  color: #fff;
  resize: none;
}

#modalPostImage {
  margin-bottom: 10px;
}

#modalPostBtn {
  background-color: #0f0;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#modalPostBtn:hover {
  background-color: #0c0;
}