.profile-public-posts {
 
 
    border-radius: 6px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
    box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.2);
}

.profile-public-posts h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 10px;
}

#public-posts-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;    scrollbar-width: thin;
    scrollbar-color: #0ad transparent;          /* For Firefox */
}

#public-posts-container::-webkit-scrollbar-track {
    background: transparent;                    /* Track background */
    border-radius: 4px;
}

.public-post {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.public-post p {
    margin: 0;
    font-size: 1em;
}

.public-post small {
    color: #aaa;
}

.loading {
    text-align: center;
    color: #ccc;
    margin-top: 10px;
}
.public-post {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

.post-content {
    font-size: 1rem;
    line-height: 1.5;
}

.post-image {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 8px;
}

.post-timestamp {
    display: block;
    color: var(--theme-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 10px;
}

.post-timestamp:hover {
    text-decoration: underline;
}

.loading {
    text-align: center;
    padding: 10px;
    color: #aaa;
}
.public-post,
.public-post p {
    text-align: left !important;
}
.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.public-post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.public-post-username {
  font-weight: bold;
  font-size: 1.1rem;
}
