.fed-graph-container {
  display: flex;
  flex-direction: row; 
  background-color: var(--bg-color);
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
  width: 100%; /* Updated */
  height: 100%;
  padding-left: 2px;
  padding-right: 2px; 
  padding-bottom: 2px;
  position: relative;
  display: none;
}

.fed-left-collapsed-panel {
  /*overflow: hidden;*/
  width: 6%;
  display: flex; /* Updated */
  flex-direction: column;
  position: relative;
  height: 100%;
  align-items: center;
  background-color: #ffffffc4;
  z-index: 19999;
  justify-content: start;
  padding-top: 4px;
  padding-bottom: 10px;
}

.hide-show-details-panel-button {
  display: flex;
  position: fixed;
  top: 50%;
  left: 1.5rem;
  z-index: 20000;
  background-color: black;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fed-share-search-icon-container {
  display: flex;
  position: fixed;
  bottom: 0%;
  left: 0%;
  right: unset;
  z-index: 20000;
  background-color: transparent;
  width: 6%;
  height: 50px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 10px;
  flex-direction: column;
  margin-bottom: 16px;
}

.fed-details-panel {
  /* ... */
  /*overflow: hidden;*/
  width: 22%;
  display: none; /* Updated */
  flex-direction: column;
  position: relative;
  height: 100%;
  align-items: left;
  background-color: black;
  z-index: 19999;
}

.fed-trend-container {
  /* ... */
  min-height: 54%;
  width: 100%;
  min-width: 100%;
  display: flex; /* Updated */
  flex-direction: column;
  margin-top: 10px;
  overflow-y: auto  ;
}

.fed-search-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.fed-search-zoom {
  display: flex;
  align-items: left;
  justify-content: left;
  position: relative; /* Add this line */
  width: 100%;
  height: 40px;
}

.fed-search-input {
  flex: 1;
  padding: 4px;
  border: none;
  border-radius: 15px !important;
  margin-right: 0px !important;
  font-size: 12px !important;
  background-color: #972525;
  color: var(--text-color);
}

.fed-search-close-icon {
  position: absolute;
  right: 15px;
  top: 45%; /* Add this line */
  transform: translateY(-50%);
  font-size: 16px;
  cursor: pointer;
  display: none;
}

.fed-search-zoom button:hover {
  background-color: #4CAF50;
}


/* search results display */
.fed-search-trends-results {
  background-color: transparent;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  box-sizing: border-box;
  display: block;
  flex-direction: row;
  justify-content: space-between;
  transition: height 0.3s ease, width 0.3s ease; /* Add this line */
  height: 400px; /* Adjust the height based on your needs */
  overflow-y: auto;
}

.fedSearchTrendsListContainer {
  background-color: transparent;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  box-sizing: border-box;
  display: block;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
}

.trend-node-row {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trend-node-row:hover {
  cursor: pointer;
}

.trend-node-logo {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 8px;
  border-radius: 50%;
}

.trend-node-title {
  font-size: 0.875rem;
  margin-bottom: 8px;
  width: 100%;
  color: white;
}

.fed-trend-header {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-left: 10px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.fed-trend-header i,
.fed-trend-header img {
  margin-right: 10px;
  color: red;
}


.fed-canvas-wrapper {
  display: block; /* Add this line */
  align-items: flex-start;
  height: 100%;
  width: 94%;
  background-color: white;
}

.fed-canvas-container {
  /* ... */
  background-color: white; /*var(--bg-color);*/
  display: flex;
  width: 100%; /* Updated */
  height: 100%;
  position: relative;
  align-items: flex-start; /* Add this line */
  flex-direction: column;
}

.fed-graph-wrapper {
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
}

.fed-stat-banner {
  display: flex;  
  justify-content: space-between;
  align-content: baseline;
  width: 96%;
}

.fed-edit-container {
  display: flex;
}

.fed-stat-container {
  display: flex; justify-content: space-between; align-items: center;
  margin-left: 10px;
}

.floor-type,
.children-count ,
.follower-count {
  display: flex;    
  align-items: center;
  margin-left: 20px;
  color: gray;
}

.follower-count {
  margin-left: 0px;
}

.floor-type {
  color: white;
}

.floor-type .fa-sharp fa-light,
.follower-count .fa-sharp fa-light,
.children-count .fa-sharp fa-light {
  margin-right: 5px;
}

.fed-graph-footer {
  width: 100%;
  height: 60px;
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: white;
  z-index: 999;
  display: none;
}

.fed-canvas-user-profile-image {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  margin-right: 4px;
  cursor: pointer;
}

.fed-header-user-img {
  height: 32px;
  width: 32px;  
  object-fit: contain; /* Added */
  border-radius: 4px;
  display: flex;
}

.fed-categories {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: left;
  overflow-x: auto;
  white-space: nowrap;
}

.floor-menu-button,
.all-button,
.category-button {
  display: inline-block;
  background-color: transparent;
  color: #333D42;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  margin-right: 0px;
  text-align: center;
  font-size: 12px;
  outline: none;
  width: auto;
  text-align: left;
}

.floor-menu-button {
  color: #333D42;
  padding-right: 8px;
  display: flex;
  align-items: center;
}

.category-button {
  color: black;
}

#home-page-loginBtn {
  background-color: #007bff;
  border: none;
  color: white;
  font-size: 16px;
  padding: 6px 6px !important;
  border-radius: 0.25rem;
  cursor: pointer;
  align-self: center;
  right: 10px;
  display: block;
  position: absolute;
}

#fed-page-loginBtn{
  background-color: #007bff;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 6px 6px !important;
  border-radius: 0.25rem;
  cursor: pointer;
  align-self: center;
  right: 0.2rem;
  display: block;
  position: absolute;
}

.floor-menu-button:hover,
.all-button:hover,
.category-button:hover {
  color: #007bff;
}

.floor-menu-button.active {
  color: #007bff;
  font-weight: bold;
 
}
.all-button.active,
.category-button.active {
  color: black;
}

.category-button.active {
  color: rgb(200,40,40);
}

.fed-graph-buttons {
  font-size: 24px; /* Adjust the font size as needed */
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  color: white;
  display: none;
  align-items: center;
  color: black;
  position: relative;
  top: 90%;
  right: 8%;
  height: 30px;
  display: flex;
}

.fed-Payout-buttons {
    position: fixed;
    display: flex;
    justify-content: flex-end;
    float: right;
    right: 12px;
    font-size: 24px;
    width: 300px;
    height: 30px;
    bottom: 10px;
    cursor: pointer;
    align-items: center;
    margin-right: 40%;
    z-index: -1;
}

.toggle-graph-button,
.reset-button {
  position: absolute;
  font-size: 24px; /* Adjust the font size as needed */
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  color: white;
  display: none;
  align-items: center;
  color: black;
  position: relative;
  left: 10px;
}

.fed-build-btn,
.fed-perform-table-close-btn,
.unplug-btn,
.plug-btn {
  position: absolute;
  font-size: 16px; /* Adjust the font size as needed */
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  color: white;
  display: none;
  align-items: center;
  color: black;
  position: absolute;
  padding: 6px 6px;
  border: none;
  background-color: #699CD3;
  color: #FFF;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}

.fed-perform-table-close-btn {
  bottom: 30px;
  right: 0%;
  margin-right: 6px;
}

.fed-build-btn {
  font-size: 16px;
  color: white;
  position: absolute;
  background-color: #007BFF;
  bottom: 16px;
  left: 16px;
  display: flex;
  z-index: 1;
}

.unplug-btn,
.plug-btn {
  font-size: 16px;
  color: white;
  position: relative;
  background-color: #007BFF;
  z-index: 1;
}

@keyframes fadeInScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Add this to your CSS file */
.transition {
  transition: opacity 0.5s ease-in-out;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.visible {
  opacity: 1;
  visibility: visible;
}

.no-trend-message {
  height: 50%;
  width: 100% ;
  color: white;
  font-size: 12px;
  align-items: center;
  display: flex;
  justify-content: center;
  text-align: center;
}

.fed-floors-list-view {
  height: 100%;
  width: 100% ;
  color: gray;
  display: none;
  text-align: center;
  flex-wrap: wrap;
  overflow-y: auto;
  align-items: start;
  justify-content: space-around;
  padding-top: 80px;
}

.fed-floors-list-view div {
  flex: 1 0 21%; /* Here, 21% is used instead of 25% to allow for some space between the elements. */
  margin: 1%;
}

.fed-wall-wrapper {
  width: 100%;
  height: 100%;  
  position: relative;
  flex-direction: column;
  align-items: flex-start; /* Add this line */
  background-color: transparent; 
  overflow-y: auto;
  display: flex;
  z-index: 999;
  margin-top: 0px;
  border-top: 0px solid #8080804d;
}

.fed-path-header {
  width: 100%;
  height: 45px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  background-color: transparent;
  padding-bottom: 4px;
  padding-top: 4px;
  position: absolute;
  top: 3rem;
  left: 0%;
  z-index: 999
}

.fed-wall-header {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  background: unset;
  padding-bottom: 4px;
  position: absolute;
  left: 0%;
  z-index: 999
}

.fed-wall-left-panel {
  display: flex; align-items:start; 
  background-color: transparent;
  flex-direction:row; 
  align-items: center; 
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.fed-wall-tab-button {
  background-color: rgb(230,230,230);
  transform: translateY(0px);
  color: rgb(0, 123, 255);
  height: 100%;
  display: none;
  flex-direction: row;
  z-index: 0;
  align-items: center;
  width: auto;
  font-size: 12px;
  font-weight: bold;
  border-radius: 16px;
  padding: 6px;
}

.fed-post-container,
.fed-wall-container{
    width: 100%;
    height: 100%;  
    position: relative;
    flex-direction: column;
    align-items: flex-start; /* Add this line */
    background-color: transparent; /* rgb(249, 249, 249); */
    overflow-y: auto;
    display: flex;
    padding-bottom:2rem;
    scrollbar-color: lightgray transparent;
}
.hashtag-results-container{
  width: 100%;
    height: 100%;  
    position: relative;
    flex-direction: column;
    align-items: flex-start; /* Add this line */
    background-color: white; /* rgb(249, 249, 249); */
    overflow-y: auto;
    display: none;
    padding-bottom:2rem;
}
.fed-post-container
{
  display: none;
}

/* CSS for the mobile view of the left panel */
@media (max-width: 767px) {

  #home-page-loginBtn {
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 14px;
    padding: 6px 6px !important;
    border-radius: 0.25rem;
    cursor: pointer;
    align-self: center;
    right: 10px;
    display: block;
    position: absolute;
  }

  #fed-page-loginBtn {
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 0.875rem;
    padding: 6px 6px !important;
    border-radius: 0.25rem;
    cursor: pointer;
    align-self: center;
    right: 10px;
    display: block;
    position: absolute;
  }

  .fed-graph-container {
    background-color: white;
    border-radius: 0px;
    display: flex;
    align-items: flex-start;
    height: 100%;
    width: 100%; 
    margin-top: 0%; /* Updated */
    display: none;
    margin-bottom: 0%; /* Updated */
    flex-direction: column; 
    justify-content: start;
    position: absolute;
    padding-left: 0px;
    padding-right: 0px; 
    padding-bottom: 0px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .fed-graph-wrapper {
    width: 100%;
  }

  .fed-Payout-buttons {
    position: fixed;
    display: flex;
    justify-content: flex-end;
    float: right;
    right: 12px;
    font-size: 24px;
    width: 300px;
    height: 30px;
    bottom: 10px;
    cursor: pointer;
    align-items: center;
    margin-right: 0%;
}

  .fed-left-collapsed-panel {
    display: none;  
  }

  .fed-details-panel {
    flex-direction: row;
    width: 100%;
    background-color: transparent;
    border-radius: 0px;
    flex-shrink: 0; /* Prevent panel from shrinking */
    height: auto;
    background-color: #292929;
    display: flex;
    align-items: start;
  }
  
  .fed-search-container {
    height: 34px;
    padding: 40px;
  }

  .fed-search-zoom {
    width: 80%;
  }

  .fed-search-input {
    height: 34px;
    font-size: 16px!important;
  }

  .fed-trend-container {
    /* ... */
    width: 100%;
    min-width: 100%;
    border-radius: 0px;
    background-color: transparent;
    margin-top: 0px;
    display: none;
    margin: 0px;
    min-height: unset;
  }

  .fed-search-trends-results { 
    transition: height 0.3s ease, width 0.3s ease; /* Add this line */
    height: 100%; /* Adjust the height based on your needs */
    overflow-y: auto;
  }
  
  .fed-search-trends-list-container {
    height: 100%;
    width: 100%;
    min-width: 100%;
    padding-left: 30px;
  }

  .trend-node-row {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  
  .fed-graph-footer {
    width: 100%;
    height: 40px;
  }

  .fed-Canvas-Wrapper {
    flex-direction: column; /* Stack the containers vertically on mobile */
    width: 100%; /* Add this line to set full width */
    height: 95%; /* Add this line to set full height */
    display: flex; /* Add this line to enable flex */
    margin-top: 1px;
  }

  .fed-canvas-container {
    /* ... */
    width: 100%; /* Updated */
    position: relative;
    display: block;
    height: auto;
  }

  .floor-menu-button,
  .all-button,
  .category-button {
    padding: 0px 6px;
    font-size: 1rem;
  }

  .floor-menu-button {
    padding: 6px 10px;
    padding-right: 8px;
    color:white;
  }

  .floor-menu-button i {
    color: white !important;
}

li.noThreadMsg {
  color: white;
}

  .unplug-btn,
  .plug-btn,
  .reset-button {
    font-size: 0.875rem; /* Adjust the font size as needed */
    position: relative;
  }

  #container {
    width: 100%;
  }

  .fed-perform-table-close-btn {
    bottom: 10px;
    right: 1%;
  }

  .fed-floors-list-view div {
    flex: 1 0 46%; /* Here, 46% is used instead of 50% to allow for some space between the elements. */
  }

  .fed-floors-list-view {
    height: 80%;
    padding-top:50px;
  }

  .fed-wall-wrapper {
    display: flex;
    width: 100%;
    margin-top: 0px;
  }

  .plug-btn {
    bottom: 0%;
    right: 10px;
    z-index: 0;
    font-size: 12px;
  }

  .fed-build-btn {
    bottom: 10%;
    left: 10px;
    z-index: 0;
    display: flex;
    font-size: 12px;
  }

  .fed-post-container,
  .fed-wall-container{
    height: 100%;  
    padding-bottom: 40px;
  }
  
  .fed-path-header {
    width: 100%;
    top: 0rem;
    bottom: 0%;
    height: 2.5rem;
    left: 0%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }
  .fed-wall-header {
    width: 100%;
  }
  
  .fed-stat-banner {
    
    display: none;
    justify-content: left;
    width: 100%;
    padding-left: 10px;
  }

  .fed-stat-container {
    margin-left: 0px;
  }
  
  .fed-header-user-img {
    height: 32px;
    width: 32px;  
    border-radius: 4px;
  }

  #fed-page-loginBtn {
    padding: 4px 8px !important;
    right: 0.2rem;
  }

  .hide-show-details-panel-button {
    display: none;
  }

  .fed-share-search-icon-container {
    display:none;
  }
  
  .fed-share-search-icon-container1 {
    display: flex;
    width: 2rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 0.8rem;
    position: absolute;
    right: 55px;
    height: 40px;
  }


}
