/* Fonts and Global Styles */
@font-face {
    font-family: "SF Pro";
    src: url("fonts/regular.OTF");
  }
  
  * {
    font-family: "SF Pro", Arial, sans-serif;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }
  
  *:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  
  button, .sidebar-item, .channel-card, .trending-hashtag-item, .topic-item, .post-actions button, .responseItem {
    user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
  }
  
  a, input, textarea, .post-content p {
    user-select: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;
  }
  
  .options-menu {
    background-color: #000000;
    border: 1px solid #2d2d2d;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    height: fit-content;
    z-index: 1000;
    position: static;
    /* Ensures it scrolls with the content */
  }
  
  .options-menu button {
    display: block;
    width: 100%;
    border: 1px solid #2d2d2d;
    padding: 8px;
    text-align: left;
    background-color: transparent;
    border: none;
    cursor: pointer;
  }
  
  .options-menu button:hover {
    background-color: #ffffff12;
  }
  
  
  .postImgInputBtn {
    border-radius: 100px;
    /* border: 1px solid #fff; */
    border: none;
    outline: none;
    height: 37px;
    width: 37px;
    background: #000;
    cursor: pointer;
    margin-right: 10px;
  }
  
  .postImgInputBtn > img {
    height: 20px;
    color: #000;
  }
  
  #user-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: -20px;
  }
  
  .post-image > img {
    width: 100%;
    margin-bottom: 10px;
  }
  
  #user-email {
    color: #888;
  }
  
  *::selection {
    background-color: #66fe0847;
  }
  
  body {
    margin: 0;
    padding: 0;
    /* overflow-x: hidden; */
    background: #000;
    /* position: absolute; */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
  }
  
  #main-c {
    width: 100vw;
    height: 100vh;
  }
  
  /* Buttons */
  .create-post-button {
    background: #fff;
    color: #000;
    padding: 10px 25px;
    border-radius: 20px;
    border-style: solid;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    outline: none;
    cursor: pointer;
  }
  
  .create-post-button:hover {
    background: rgba(255, 255, 255, 0.9);
  }
  
  .user {
    display: none
  }
  
  /* Removed logout button */
  
  
  /* Inputs and Textareas */
  input,
  textarea {
    border: 1px solid #2f3336;
    background: #000;
    font-weight: 500;
    color: #fff;
    user-select: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    cursor: text;
  }
  
  textarea {
    font-family: "SF Pro", Arial, sans-serif;
    resize: none;
    font-size: 10px;
  }
  
  
  textarea#content {
    font-size: 10px;
  }
  
  /* Main Content */
  .main-content {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  
  .master_post {
    transition: background 0.15s ease;
  }
  
  .master_post:hover {
    background: #ffffff0a;
  }
  
  .responseItem {
    display: flex;
    align-items: center;
    padding-inline: 20px;
    width: 33.3333%;
    justify-content: center;
    height: 20px;
    margin-top: 0px;
    border-top: 0.01px solid #2f3336;
    align-items: center;
    padding-block: 15px;
    border-right: 0.1px solid #2f3336;
    cursor: pointer;
    transition: background 0.15s ease;
  }
  
  .responseBar {
    display: flex;
    width: 106%;
  }
  
  .responseIcon {
    height:20px;
        width: 20px;
        margin-right:10px;
  }
  
  
  .posts-section {
    border-left: 0.1px solid #2f3336;
    border-right: 0.1px solid #2f3336;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .posts-section::-webkit-scrollbar {
    display: none;
  }
  
  .post {
    display: flex;
    border-radius: 0;
    padding-inline: 15px;
    width: 100%;
  }
  .master_post {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    padding-inline: 15px;
    border-bottom: 0.1px solid #2f3336;
    width: 100%;
    align-items: center;
  }
  
  
  .post .username{
    color: #ffffff;
    font-weight: 700;
    margin-top: 10px;
    /* background: greenyellow; */
  }
  
  .post .user-pic {
    width: 10%;
    margin-top: 10px;
    margin-right: 5px;
  }
  
  .posts-section .user-pic {
    width: 30px;
    margin-top: 10 px;
    display: flex;
    margin-right: 5px;
    justify-content: center;
    height: 30px;
  }
  
  .post .user-pic img {
    width: 30px;
    border-radius: 100px;
  }
  
  .post-content {
    display: flex;
    flex-direction: column;
  }
  
  
  .description {
    margin-top: -15px;
  }
  
  .posts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar>button {
    height: 50px;
  }
  
  /* Create Posts */
  .create_posts {
    display: flex;
    flex-direction: column;
    border-bottom: none;
    padding: 20px 10px;
  }
  
  .btn-wrap {
    width: 100%;
    display: flex;
    justify-content: right;
  }
  
  .create_posts>#title {
    height: 40px;
    margin-bottom: 10px;
    padding: 0 10px;
    font-size: 20px;
    display: none;
  }
  
  .create_posts>#content {
    padding: 10px;
    margin-bottom: 5px;
    border: none;
    font-size: 20px;
    height: 50px;
    background: transparent;
  }
  
  /* Loading Screen */
  #loading-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 24px;
    color: #65fe08;
  }
  
  .post_content {
    width: 100%;
  }
  
  .dots_icon {
    width: 20px;
  }
  
  
  .details-post {
    margin-top: 2px;
    border-radius: 100px;
        /* border: 1px solid #fff; */
        border: none;
        outline: none;
        height: 37px;
        width: 37px;
        background: #00000000;
        cursor: pointer;
  }
  
  .otherDetails {
    display: flex;
    flex-direction: row;
  }
  
  .post .time {
    color: #adadad;
    font-weight: normal;
    margin-top: 10px;
    margin-left: 3px;
    font-size: 15px;
  }
  
  .imgContainer {
    width: 100%;
    display: flex;
    justify-content: center ;
  }
  
  .imgContainer > button {
    position: relative;
    margin-top: 0px;
    height:20px;
    width: 20px;
    padding: 0px;
    border-radius: 10px 10px 10px 10px;
    /* margin-left: -30px; */
    cursor: pointer;
    background: #000;
    border: none;
    outline: none;
    margin-right: 10px;
    transition: all 0.3s ease-out;
    margin-left: 2px;
    border: 0.5px solid #adadad;
    color: #adadad;
  }
  
  .imgContainer>button:hover {
    position: relative;
    margin-top: 0px;
    height: 20px;
    width: 20px;
    padding: 0px;
    border-radius: 10px 10px 10px 10px;
    /* margin-left: -30px; */
    transition: all 0.3s ease;
    cursor: pointer;
    background: #ffffff54;
    border: none;
    outline: none;
  }
  
  .usernameAndTime {
    display: flex;
    flex-direction: row;
    /* background-color: red; */
    width: fit-content;
    /* justify-content: space-between; */
  }
  
  .row {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    /* background: red; */
  }
  
  .mod-badge {
    margin-top: 10px;
    margin-left: 4px;
    background-color: #19cc43;
    color: white;
    padding: 1px 5px 1px 5px;
    text-align: center;
    height: fit-content;
    border-radius: 5px;
  }
  
  .owner-badge {
    margin-top: 10px;
    background-color: #cc1919;
    margin-left: 4px;
    color: white;
    padding: 1px 5px 1px 5px;
    text-align: center;
    height: fit-content;
    border-radius: 5px;
  }
  
  .nav {
    display: none;
  }
  
  #main-content,
  #logintocontinue {
    display: none;
  }
  
  #logintocontinue, #loading-screen {
    width: 100dvw;
    height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Responsive Design */
  /* Tablet */
  @media (min-width: 768px) and (max-width: 1023px) {
    .nav {
        display: none;
        border: 0;
    }
  }
  
  /* Desktop */
  /* Right Sidebar Styles */
  .right-sidebar {
    width: 350px;
    margin-left: 30px;
    padding-top: 4px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
  
  .right-sidebar::-webkit-scrollbar {
    display: none;
  }
  
  /* Search */
  .sidebar-search {
    position: sticky;
    top: 0;
    background: #000;
    padding: 4px 0;
    z-index: 2;
  }
  
  .sidebar-search .search-container {
    background: #202327;
    border-radius: 9999px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    margin: 0 16px;
  }
  
  .sidebar-search i {
    color: #71767b;
    margin-right: 12px;
    font-size: 16px;
  }
  
  .sidebar-search input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    width: 100%;
  }
  
  .sidebar-search input::placeholder {
    color: #71767b;
  }
  
  /* Premium Card */
  .premium-card {
    background: #16181c;
    border-radius: 16px;
    padding: 16px;
    margin: 16px;
  }
  
  .premium-card h2 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 8px;
  }
  
  .premium-card p {
    font-size: 15px;
    color: #e7e9ea;
    margin: 0 0 16px;
    line-height: 1.3;
  }
  
  .subscribe-button {
    background: #18bd4f;
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .subscribe-button:hover {
    background: #15a745;
  }
  
  /* Developer News */
  .dev-news, .who-to-follow {
    background: #16181c;
    border-radius: 16px;
    margin: 16px;
  }
  
  .dev-news h2, .who-to-follow h2 {
    font-size: 20px;
    font-weight: 800;
    padding: 16px;
    margin: 0;
  }
  
  .news-list, .follow-list {
    border-top: 1px solid #2f3336;
  }
  
  .news-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #2f3336;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .news-image {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
  }
  
  .news-content {
    flex: 1;
  }
  
  .news-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .news-item:hover .source,
  .news-item:hover .title,
  .news-item:hover .description,
  .news-item:hover .time {
    color: inherit;
  }
  
  .news-item:hover .source i {
    color: #18bd4f;
  }
  
  .news-item .source {
    color: #71767b;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .news-item .source i {
    color: #18bd4f;
  }
  
  .news-item .title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  
  .news-item .description {
    font-size: 14px;
    color: #71767b;
    margin: 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .news-item .time {
    font-size: 13px;
    color: #71767b;
  }
  
  /* Who to Follow */
  .follow-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #2f3336;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .follow-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .follow-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
  }
  
  .follow-item .user-info {
    flex: 1;
  }
  
  .follow-item .name {
    font-weight: 700;
    margin-bottom: 2px;
  }
  
  .follow-item .handle {
    color: #71767b;
    font-size: 14px;
  }
  
  .follow-item .verified-badge {
    color: #18bd4f;
    margin-left: 2px;
  }
  
  .follow-button {
    background: #18bd4f;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
  }
  
  .follow-button:hover {
    background: #15a745;
  }
  
  @media (min-width: 1024px) {
    .nav {
        display: flex;
        flex-direction: column;
        width: 20%;
        text-align: left;
        align-items: center;
        margin-right: 0;
        border: 0;
        height: 100vh;
        gap: 12px;
        padding: 0 12px;
        position: relative;
    }
  
    .nav > img {
        height: 60px;
        width: 60px;
    }
  
    .posts-section {
        width: 45%;
    }
  
    .right-sidebar {
        width: 350px;
    }
  
    @media (max-width: 1280px) {
        .right-sidebar {
            width: 290px;
        }
    }
  
    @media (max-width: 1024px) {
        .right-sidebar {
            display: none;
        }
    }
  
    /* Remove user section */
  
    /* Removed user profile card and related styles */
  
    .nav {
        align-items: flex-start;
        text-align: left;
        margin-left: 20px;
        margin-right: 0;
        width: 20%;
    }
    }
  
  .sidebar {
    padding: 0;
    list-style: none;
    margin: 25px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    }
  
  .sidebar-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
        width: fit-content;
    min-width: 200px;
  }
  
  .sidebar-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .sidebar-item i {
    font-size: 26px;
    width: 32px;
    display: flex;
    justify-content: center;
  }
  
  .sidebar-item .dot {
    display: inline-block;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: #65fe08;
    margin-left: 6px;
  }
  
  .sidebar-item span:not(.dot) {
    margin-left: 12px;
  }
  
  .sidebar-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    font-size: 20px;
    white-space: nowrap;
  }
  
  .sidebar-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s ease;
  }
  
  .sidebar-user:hover {
  background: #ffffff14;
  }
  
  .sidebar-user .avatar {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
  }
  
  .sidebar-user .info {
  display: flex;
  flex-direction: column;
  }
  
  .sidebar-user .name {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
  }
  
  .sidebar-user .handle {
  color: #888;
  font-size: 13px;
  margin: 0;
  }
  
  .sidebar-user i {
  margin-left: auto;
  }
  
  .responseItem:hover {
    background: #ffffff0a;
  }
  
  /* Add post button */
  .account-switcher {
        position: absolute;
    bottom: 12px;
    width: 100%;
    margin: 12px auto;
    cursor: pointer;
  }
  
  .premium-container {
    width: 100%;
    padding: 0 12px;
    margin-bottom: 8px;
    position: absolute;
    bottom: 80px;
    box-sizing: border-box;
  }
  
  .premium-button {
    background: #18bd4f;
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
        display: flex;
    align-items: center;
        justify-content: center;
    width: 100%;
    margin: 10px 0;
    gap: 18px;
  }
  
  .premium-button:hover {
    background: #15a745;
  }
  
  .premium-button i {
    color: #fff;
  }
  
  .account-info {
    display: flex;
        align-items: center;
    gap: 12px;
    padding: 12px;
    width: 100%;
    border-radius: 9999px;
    transition: background-color 0.2s;
    min-width: 200px;
    cursor: pointer;
    position: relative;
  }
  
  .account-info:hover {
    background: #ffffff14;
  }
  
  .account-info .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .account-info .user-details {
    flex: 1;
    min-width: 0;
  }
  
  .account-info .name {
    font-weight: 700;
    font-size: 15px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .account-info .handle {
    color: #71767b;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .account-info i {
    font-size: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    padding: 8px;
    transition: background 0.2s ease;
  }
  
  .account-info i:hover {
    background: #ffffff14;
  }
  
  /* User Menu Styling */
  /* Removed user menu styles */
  
  /* Adjust post button margin to account for absolute positioned switcher */
  .post-button {
    margin-bottom: 80px;
  }
  
  .nav-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .comments-section {
  padding: 15px;
  border-top: 1px solid #2f3336;
  margin-top: 10px;
  }
  
  .comment-input {
  width: calc(100% - 100px);
  padding: 10px;
  border: 1px solid #2f3336;
  border-radius: 20px;
  margin-right: 10px;
  background: #000;
  color: #fff;
  }
  
  .comments-section button {
  padding: 10px 20px;
  background: #1DA1F2;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  }
  
  .comments-section button:hover {
  background: #1a91da;
  }
  
  .comments-list {
  margin-top: 15px;
  }
  
  .comment {
  padding: 10px 0;
  border-bottom: 1px solid #2f3336;
  }
  
  .comment:last-child {
  border-bottom: none;
  }
  
  .comment strong {
  color: #fff;
  margin-right: 8px;
  }
  
  .comment-time {
  color: #6e767d;
  font-size: 0.9em;
  }
  
  .comment p {
  margin: 5px 0 0;
  color: #fff;
  }
  
  .comments-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  overflow-y: auto;
  }
  
  .comments-modal-content {
  position: relative;
  background-color: #000;
  margin: 50px auto;
  width: 600px;
  max-width: 90%;
  border-radius: 16px;
  border: 1px solid #2f3336;
  }
  
  .comments-header {
  padding: 16px;
  border-bottom: 1px solid #2f3336;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  
  .comments-header h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #fff;
  }
  
  .close-comments {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  }
  
  .close-comments:hover {
  background-color: rgba(255, 255, 255, 0.1);
  }
  
  .comments-list {
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
  }
  
  .comment-input-container {
  padding: 16px;
  border-top: 1px solid #2f3336;
  display: flex;
  gap: 12px;
  }
  
  .comment-input {
  flex: 1;
  background: #000;
  border: 1px solid #2f3336;
  border-radius: 20px;
  padding: 12px 16px;
  color: #fff;
  font-size: 16px;
  }
  
  .comment-input:focus {
  border-color: #fff;
  outline: none;
  }
  
  .comment-button {
  background: #00ff00;
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  }
  
  .comment-button:hover {
  opacity: 0.9;
  }
  
  .comment {
  padding: 12px 0;
  border-bottom: 1px solid #2f3336;
  }
  
  .comment:last-child {
  border-bottom: none;
  }
  
  .comment strong {
  color: #fff;
  margin-right: 8px;
  transition: color 0.2s;
  }
  
  .comment strong:hover {
  color: #65fe08;
  }
  
  .comment-time {
  color: #6e767d;
  font-size: 14px;
  }
  
  .comment p {
  margin: 4px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  }
  
  .comment-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
  }
  
  .comment-input:focus::placeholder {
  color: rgba(255, 255, 255, 0.8);
  }
  
  /* Prevent body scroll when modal is open */
  body.modal-open {
  overflow: hidden;
  }
  
  .tab-section {
  display: none;
  width: 100%;
  height: 100%;
  }
  
  .tab-section.active {
  display: block;
  }
  
  .header {
  padding: 16px;
  border-bottom: 1px solid #2f3336;
  }
  
  .header h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #fff;
  }
  
  .search-container {
  margin-top: 16px;
  }
  
  .search-container input {
  width: 100%;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid #2f3336;
  background: #000;
  color: #fff;
  font-size: 16px;
  }
  
  .search-container input:focus {
  border-color: #fff;
  outline: none;
  }
  
  .ask-question-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 12px;
  transition: background-color 0.2s;
  }
  
  .ask-question-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  }
  
  .trending-posts, .jobs-container, .questions-container, .messages-container {
  padding: 16px;
  }
  
  /* Make sidebar items clickable */
  .sidebar-item {
  cursor: pointer;
  }
  
  .sidebar-item.active {
  background: rgba(0, 216, 119, 0.14);
  font-weight: bold;
  color: #fff;
  }
  
  .sidebar-item.active a {
  color: #fff;
  }
  
  .sidebar-item.active i {
  color: #fff;
  }
  
  .hashtag {
    color: #00d877;
    cursor: pointer;
  }
  
  .hashtag:hover {
    text-decoration: underline;
  }
  
  .trending-hashtags {
    padding: 16px;
    background: #000;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid #2f3336;
  }
  
  .trending-hashtags h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
  }
  
  .trending-hashtag-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #2f3336;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .trending-hashtag-item:last-child {
    border-bottom: none;
  }
  
  .trending-hashtag-item:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .trending-hashtag-name {
    color: #18bd4f;
    font-weight: bold;
  }
  
  .trending-hashtag-count {
    color: #18bd4f;
    font-size: 13px;
  }
  
  .no-results {
    text-align: center;
    padding: 32px 16px;
    color: #6e767d;
    font-size: 15px;
  }
  
  #explore-search {
    width: 100%;
    padding: 12px 16px;
    border-radius: 20px;
    border: 1px solid #2f3336;
    background: #000;
    color: #fff;
    font-size: 15px;
    margin-bottom: 16px;
    transition: border-color 0.2s;
  }
  
  #explore-search:focus {
    border-color: #18bd4f;
  }
  
  .search-container {
    padding: 0 16px;
    margin-bottom: 16px;
  }
  
  /* Trending Topics Styles */
  .trending-topics {
    background: #000;
    border: 1px solid #2f3336;
    border-radius: 16px;
    margin: 16px;
    padding: 16px;
  }
  
  .trending-topics h3 {
    font-size: 20px;
    margin: 0 0 16px 0;
    color: #fff;
  }
  
  .topic-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #2f3336;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .topic-item:last-child {
    border-bottom: none;
  }
  
  .topic-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
  }
  
  .topic-info {
    flex-grow: 1;
  }
  
  .topic-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
  }
  
  .topic-posts-count {
    font-size: 13px;
    color: #6e767d;
  }
  
  /* Channels Section Styles */
  .channels-section {
    background: #000;
    border: 1px solid #2f3336;
    border-radius: 16px;
    margin: 16px;
    padding: 16px;
  }
  
  .channels-section h3 {
    font-size: 20px;
    margin: 0 0 16px 0;
    color: #fff;
  }
  
  .channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    min-height: 200px; /* Minimum height to prevent layout shifts */
  }
  
  .channel-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #2f3336;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    background-color: #111;
  }
  
  .channel-card:hover {
    transform: translateY(-2px);
    border-color: #18bd4f;
  }
  
  .channel-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    background-color: #2f3336;
  }
  
  .channel-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  .channel-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 4px;
    font-size: 14px;
  }
  
  .channel-description {
    font-size: 12px;
    color: #6e767d;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
  }
  
  .channel-members {
    font-size: 12px;
    color: #6e767d;
    margin-top: auto;
  }
  
  /* Channel header styles */
  .channel-header {
    padding: 20px;
    border-bottom: 1px solid #2f3336;
    margin-bottom: 20px;
  }
  
  .channel-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  .channel-header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
  }
  
  .channel-header p {
    color: #6e767d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  
  .channel-stats {
    display: flex;
    align-items: center;
    color: #6e767d;
    font-size: 14px;
  }
  
  /* Channel content styles */
  .channel-content {
    padding: 0 20px;
  }
  
  /* Add these styles after the existing channel styles */
  
  .channel-join-btn {
    background: transparent;
    color: #00d877;
    border: 1px solid #00d877;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .channel-join-btn:hover {
    background: rgba(21, 167, 69, 0.1);
  }
  
  .channel-join-btn.joined {
    background: #00d877;
    color: #fff;
  }
  
  .channel-join-btn.joined:hover {
    background: #15a745;
  }
  
  /* Update other blue colors */
  a {
    color: #00d877;
    text-decoration: none;
  }
  
  .comment-button {
    background: #00ff00;
    color: #000;
  }
  
  .comment-button:hover {
    background: #15a745;
  }
  
  .channel-posts {
  margin-top: 20px;
  }
  
  .channel-posts .post {
  border-bottom: 1px solid #2f3336;
  padding: 15px;
  }
  
  .channel-header {
  padding: 20px;
  border-bottom: 1px solid #2f3336;
  background: #000;
  }
  
  .channel-banner {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  }
  
  .channel-header h2 {
  font-size: 24px;
  margin: 10px 0;
  }
  
  .channel-header p {
  color: #888;
  margin-bottom: 15px;
  }
  
  .channel-stats {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #888;
  }
  
  .error {
  color: #ff4444;
  padding: 15px;
  text-align: center;
  }
  
  /* Update post creation in channels */
  .channel-posts .create_posts {
  padding: 15px;
  border-bottom: 1px solid #2f3336;
  }
  
  .channel-posts .post-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  }
  
  .channel-posts .post-actions button {
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  }
  
  .channel-posts .post-actions button:hover {
  color: #00d877;
  }
  
  .channel-posts .post-actions i {
  font-size: 18px;
  }
  
  /* Update verification badge color */
  .verified-badge {
  color: #00d877;
  }
  
  /* Update any remaining blue colors */
  .like-btn:hover,
  .comment-btn:hover {
  color: #00d877;
  }
  
  /* Update any remaining hover effects */
  .news-item:hover,
  .follow-item:hover,
  .show-more:hover,
  .trending-hashtag-item:hover {
  background: rgba(255, 255, 255, 0.05);
  }
  
  /* Ensure consistent color scheme */
  .right-sidebar a,
  .right-sidebar .link {
  color: #18bd4f;
  }
  
  .right-sidebar button {
  background: #18bd4f;
  color: #fff;
  }
  
  .right-sidebar button:hover {
  background: #15a745;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 1200px) {
  .right-sidebar {
    display: none;
  }
  
  .main-content {
    grid-template-columns: auto 1fr;
  }
  
  .posts-section {
    max-width: 100%;
  }
  }
  
  @media screen and (max-width: 768px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  
  .nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: #000;
    border-right: 1px solid #2f3336;
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }
  
  .nav-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
  }
  
  .nav-content > img {
    width: 20px;
    height: 20px;
    margin: 15px auto;
  }
  
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 30px;
    flex: 1;
  }
  
  .sidebar-item {
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    position: relative;
    min-width: 30px;
    margin-left: 10px;
  }
  
  .sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .sidebar-item.active {
    background-color: rgba(102, 254, 8, 0.15);
  }
  
  .sidebar-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
  }
  
  .sidebar-item span:not(.dot) {
    display: none;
  }
  
  .sidebar-item i {
    font-size: 15px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .sidebar-item.active i {
    color: #66fe08;
  }
  
  .premium-container {
    width: 30px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
  }
  
  .premium-button {
    width: 30px;
    height: 30px;
    min-width: 30px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background: #66fe08;
    border-radius: 10px;
  }
  
  .premium-button span {
    display: none;
  }
  
  .premium-button i {
    font-size: 15px;
    color: #000;
  }
  
  .account-switcher {
    width: 30px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
  }
  
  .account-info {
    width: 30px;
    height: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .account-info .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .account-info .user-details {
    display: none;
  }
  
  .posts-section {
    margin-left: 30px;
    width: calc(100% - 30px);
    padding: 0 15px;
  }
  
  .tab-section {
    margin-left: 30px !important;
    width: calc(100% - 30px) !important;
  }
  }
  
  /* Hide right sidebar on tablets & below to free space */
  @media screen and (max-width: 1024px) {
  .right-sidebar {
    display: none;
  }
  }
  
  .profile-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  overflow-y: auto;
  }
  
  .profile-modal-content {
  position: relative;
  margin: 40px auto;
  background: #000;
  width: 600px;
  max-width: 90%;
  border-radius: 16px;
  border: 1px solid #2f3336;
  padding-bottom: 16px;
  }
  
  .profile-header {
  padding: 16px;
  border-bottom: 1px solid #2f3336;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  
  .profile-header h2 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  }
  
  .close-profile {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  }
  .close-profile:hover {
  background-color: rgba(255,255,255,0.1);
  }
  
  .profile-body {
  padding: 16px;
  }
  .profile-picture-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  }
  .profile-picture-section img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  }
  .change-picture-btn {
  background: #18bd4f;
  border: none;
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  }
  .change-picture-btn:hover { opacity: 0.9; }
  
  .profile-fields input,
  .profile-fields textarea {
  width: 100%;
  background: #000;
  border: 1px solid #2f3336;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
  }
  .profile-fields textarea { resize: vertical; height: 80px; }
  .email-field { display:flex; align-items:center; gap:8px; }
  .profile-footer {
  padding: 0 16px 16px;
  display: flex;
  justify-content: flex-end;
  }
  .save-profile-btn {
  background: #00ff00;
  border: none;
  color: #000;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  }
  .save-profile-btn:hover { opacity: 0.9; }
  
  /* --- Responsive Slim Sidebar --- */
  @media screen and (max-width: 768px) {
  .nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70px;
    background: #000;
    border-right: 1px solid #2f3336;
    z-index: 1000;
    display: flex;
    flex-direction: column;
  }
  
  .nav-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
  }
  
  .nav-content > img {
    width: 30px;
    height: 30px;
    margin: 20px auto 30px;
  }
  
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    flex: 1;
  }
  
  .sidebar-item {
    height: 50px;
    width: 30px;
    min-width: 30px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
    position: relative;
    border-radius: 10px;
    margin-left: 10px;
  }
  
  .sidebar-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .sidebar-item.active {
    background-color: rgba(102, 254, 8, 0.15);
  }
  
  .sidebar-item.active::before {
    display: none;
  }
  
  .sidebar-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
  }
  
  .sidebar-item span:not(.dot) {
    display: none;
  }
  
  .sidebar-item i {
    font-size: 20px;
    color: #fff;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .sidebar-item.active i {
    color: #66fe08;
  }
  
  .premium-container {
    margin: 10px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0;
  }
  
  .premium-button {
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .premium-button:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .premium-button i {
    font-size: 20px;
    color: #66fe08;
  }
  
  .account-switcher {
    margin: 10px auto 20px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .account-info {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    min-width: 50px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .account-info:hover {
    opacity: 0.9;
  }
  
  .account-info .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .account-info .user-details {
    display: none;
  }
  
  .posts-section {
    margin-left: 70px;
    width: calc(100% - 70px);
    padding: 0 15px;
  }
  }
  
  /* Hide right sidebar on tablets & below to free space */
  @media screen and (max-width: 1024px) {
  .right-sidebar {
    display: none;
  }
  }
  
  /* Tablet */
  @media screen and (max-width: 1024px) {
  .premium-container {
    width: 30px;
  }
  
  .premium-button {
    width: 30px;
    height: 30px;
    margin-left: 10px;
    background: #66fe08;
    border-radius: 10px;
    padding: 0;
  }
  
  .premium-button span {
    display: none;
  }
  
  .premium-button i {
    font-size: 15px;
    color: #000;
  }
  
  .right-sidebar {
    display: none;
  }
  }
  
  /* Mobile */
  @media screen and (max-width: 768px) {
  .premium-container {
    width: 50px;
    margin: 10px auto;
    margin-left: 5px;
    display: flex;
    justify-content: center;
  }
  
  .premium-button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background: #66fe08;
    border-radius: 10px;
    padding: 0;
  }
  
  .premium-button span {
    display: none;
  }
  
  .premium-button i {
    font-size: 15px;
    color: #000;
  }
  }