.federation_container {
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: left;
  width: 25%;
  margin-right: 60px;
  justify-content: space-between;
  gap: 20px;
}

.federation-body {
  display: flex;
  flex-direction: column;
  align-items: left;
  height: 90%;
  width: 100%;
}

.floor-subdomain-container {
  height: 100%; /* Adjust the height as needed */
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 999;
}

.fed-banner {
  background-image: url('../images/federations_1.jpg'); /* Replace with the path to your background image */
  background-size: contain; /* This will make the background image cover the entire div */
  background-position: left top; /* This will center the background image */
  background-repeat: no-repeat; /* This will prevent the background image from repeating */
  background-color: #10F1FF; /* #33CC99;*/
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.1);
  border-radius: 10px 10px 10px 10px;
  height: 100%; /* Adjust the height as needed */
  width: 100%;
  position: relative;
  display: none;
}

#fedBannerBtn {
  background-color: white;
  border: none;
  color: black;
  font-size: 1rem;
  padding: -0.75rem 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  align-self: center;
  display: block;
  position: absolute;
  bottom: 35%;
  right: 15%;
}

#fedBannerBtn:hover {
  background-color: #007bff;
  color: White;
}

.federation-header {
  display: flex;
  flex-direction: column;
  align-items: left;
  height: 100%;
  font-size: 18px;
  width: 100%;
  background-color: white;
  border-radius: 16px;
}


.fedLabel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
  height: 10%;
}

.fedLabel-left,
.fedLabel-right {
  flex: 1;
}

.fedLabel-right {
  display: flex;
  justify-content: flex-end;
}

.fedLabel-left {
  display: flex;
  align-items: center;
}

.header-icon {
  font-size: 18px;
  cursor: pointer;
  color: black;
}

.fed-tabs-header {
  height:15%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #F7F9F9;
  border-radius: 16px 16px 0 0;
}

.fed-tabs {
  height:100%;
  display: flex;
  justify-content: left;
  gap: 0.5rem;
  border-radius: 10px;
  align-items: center;
  border-radius: 10px 0 0 0;
}

.fed-tab-button {
  background-color: transparent;
  border: none;
  color: #333D42;
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  outline: none;
  padding: 20px 20px;
  position: relative;
  text-align: center;
  transition: background-color 0.3s, transform 0.3s;
  border-radius: 10px;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.fed-tab-button:before {

  font-weight: bold;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.fed-tab-button.active {
  background-color: rgb(230,230,230);
  transform: translateY(0px);
  color: #333D42;
  border-radius: 10px 10px 0 0;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 0; 
}

.fed-tab-button:hover {
  color: lightgray;
}

.fed-list-container {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  align-items: center;
  min-height: 10px;
  flex-direction: column;
  background-color: transparent;
}

.fed-list-content {
  display: none;
  gap: 5px;
  scrollbar-width: 2px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  flex-direction: column;
}

.fed-list-content.active {
  display: block;
  z-index: 0;
}

.fed-list-menu-header {
  position: relative;
  height: 100%;
  justify-content: end;
  display: flex;
  align-items: center;
  width: auto;
  margin-right: 8px;
}

#newFedBtn {
  /* Add any additional styles for the logout button */
  background-color: #007BFF;
  border: none;
  color: white;
  padding: 8px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  border-radius: 5px;
}

#newFedBtn:hover {
  background-color: #73a4da;
  color: white;
}


.fed-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.fed-list:hover::-webkit-scrollbar {
  width: 5px;
  height: 2px;
}

.fed-list:hover::-webkit-scrollbar-thumb {
  background-color: lightblue;
}

.fed-box {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  height: 20%;
  border-radius: 8px;
}

.fed-box:hover {
  cursor: pointer;
  background-color: #F7F9F9;
}

.fedBox-logo-container {
  width: 60px;
  height: 60px;
  display: block;
  align-items: center;
  margin: 2px;
  margin-right: 10px;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Added */
  border-radius: 6px;
}

.fedBox-details-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-evenly;
  text-align: start;
  gap: 12px;
}

.title {
  font-size: 1.125rem;
  margin: 0;
  color: #333D42;
  font-weight: 600;
}

.description {
  font-size: 1rem;
  text-align: left; /* Update this line */
  color: black;  
  display: flex; /* Add this */
}

.fed-box-footer {
  display: flex;
  margin-top: 0px;
  justify-content: start;
  width: 100%;
  font-size: 12px;
  order: 3; 
}

.followers {
  display: flex;
  align-items: center;
  color: gray;
  margin-right: 20px;
}

.children {
  display: flex;
  align-items: center;
  color: gray;
  margin-right: 10px;
}

.icon {
  margin-right: 2px;
}

.right-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%; /* Subtract logo width and some space */
  align-items: center;
  box-sizing: border-box; 
}

.new-fed-layout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* Ensure the dialog appears on top of other elements */
  display: none;
}


.fed-creation-div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  height: auto;
  background-color: white;
  top: 10%;
  left: 10%;
  justify-content: left;
  border-radius: 10px;
  padding: 20px;
}

.fed-new-header {
  width: 100%;
  height: 40px;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.fed-input-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50px;
  background-color: transparent;
  width: 100%;
}

.fedid-input-box {
  flex: 1;
  padding: 10px;
  border-color: gray;
  border-radius: 5px !important;
  font-size: 16px;
  background-color: #fff;
  color: var(--text-color);
  width: 60%;
  margin-right: 4x !important;
}


.fed-status-box { 
  width: 100%;
  padding: 5px;
  font-size: 14px;
  text-align: center;
  color: white;
  min-height: 30px;
  display: none;
}

.fed-check-btn {
  margin-left: 10px;
  margin-right: 0px;
  padding: 10px 10px;
  border: none;
  background-color: #007BFF;
  color: #FFF;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
}

.fed-hub-list {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: left;
  margin-left: 10px;
  margin-right: 10px;
  scrollbar-width: auto;
}

.fed-new-btns-div {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: center;
  margin-left: 10px;
  margin-top: 10px;
}

#add-customform-btn
{
    padding: 8px 8px;
    border: none;
    background-color: #007BFF;
    color: #FFF;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    height: 32px;
    margin-top: 4px ;
    margin-right: 4px;
    display:none;
}

.floor-create-btn,
.fed-new-btn,
.fed-close-btn {
  padding: 8px 8px;
  border: none;
  background-color: #007BFF;
  color: #FFF;
  font-size: 14px;
  cursor: pointer;
  border-radius: 5px;
  margin-right: 20px;
}

.floor-create-btn {
  margin-right: 0px;
}

.plug-fee-input {
  width: 60%;
  display: flex;
  margin-bottom: 10px;
  justify-content: left;
  align-items: center;
  margin-top: 10px;
  flex-direction: row;
  margin-left: 10px;
}

#plugFee {
  width: 20% !important;
  font-size: 16px !important;
  color: green;
  display: block;
  position: absolute;
  left: 20px;
  text-align: center;
  align-items: center;
  border-radius: 10px !important;
}

.fed-wheel-display-switch {
  width: 30%;
  display: none;
  margin-bottom: 10px;
  position: absolute;
  right: 10px;
}

.tree-access-switch {
  width: 100%;
  display: flex;
  margin-bottom: 10px;
}

.fed-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 24px;
  margin: 0 10px;
}

.fed-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.fed-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.fed-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 8px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .fed-slider {
  background-color: #2196F3;
}

input:focus + .fed-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .fed-slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.fed-slider.round {
  border-radius: 34px;
}

.fed-slider.round:before {
  border-radius: 50%;
}

.plug-floor-notes,
.fed-footer-notes {
  text-align: center;
  margin-top: 4px;
  font-size: 10px;
  color: black;
}

.plug-floor-notes a,
.fed-footer-notes a {
  color: inherit;
  text-decoration: none;
}

.plug-floor-notes a:hover,
.fed-footer-notes   a:hover {
  color: #007bff;
}

/* New fed info details */

.fed-info-container {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  text-align: center;
  display: none;
}

.fed-members, .fed-online, .fed-similar, .fed-child-floors {
  margin: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.green-circle-icon {
  margin-right: 5px; /* Space between the icon and text */
  font-size: 0.875rem;
  vertical-align: middle; /* Align the icon with the text */
}

.fed-members-count, .fed-online-count, .fed-childfloors-count {
  font-weight: bold;
  font-size: 1rem; /* Bold and larger font for the count */
}

.fed-online-count {
  color: #008000;
}
.fed-members-text, .fed-online-text {
  font-size: 0.875rem; /* Smaller font for the text */
}

.fed-similar {
  display: none;
}

.similar-fed-link {
  color: #007bff; /* Link color */
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem; /* Slightly smaller for link */
}

.similar-fed-link:hover {
  text-decoration: underline;
}

#federationAI {
  float:left;
  width:100%;
  height:100%;
  display: none;
  background:rgb(240, 240, 240);
}

#federationAI .chat-window {
  width:100%;

}

/* CSS for the mobile view of the left panel */
@media (max-width: 767px) {

  #federationAI {
    float:left;
    width:100%;
    height:100%;
    display: none;
    background:rgb(240, 240, 240);
  }

  #federationAI .chat-window {
    width:100%;
    height:100%;
  }
  

  .federation_container {
    width: 100%;
    margin-right: 0px;
    display: none;
  }

  .federation-body {
    padding-left: 0px;
    padding-right: 0px;
    height: 66%;
    width: 100%;
    justify-content: end;
    margin-top: 20px;
  }

  #fedBannerBtn {
    bottom: 10px;
    right: 35%;
  }

  .floor-subdomain-container {
    flex-direction: row;
    padding: 6px;
  }
  
  .federation-header {
    width: 100%;
    padding: 0px;
    height: 100%;
    justify-content: center;
    border-radius: 0px;
    background-color: white;
    display: none;
  }

  .fedLabel {
    margin-bottom: 0px;
  }

  .fed-tabs-header {
    height:45px;
    border-radius: 0px;
  }

  .fed-tab-button.active {
    padding: 10px;
    width: 90px;
    border-radius: 0px;
  }

  #newFedBtn {
    margin-top: 0px;
    font-size: 1rem;
  }

  .fed-box {
    width: auto;
    margin-right: 5px;
    margin-bottom: 0px;
    height: 100%;
    display: flex;
    justify-content: center;
    margin-left: 10px;
    border: 1px solid;
    border-color: #bfbfbf;
    padding: 12px;
    flex-direction: column;
    border-radius: 8px;
    background: black;
  }

.fedBox-details-container .title {
    color: white;
}

.fedBox-details-container .description 
{
  color: white !important;
}

.fed-box-footer .followers
{
  color: white;
}

.fed-box:hover 
{
  cursor: pointer;
  background-color: black;
}

.fed-box-footer div i {
  color: white !important;
}

.fed-box-footer div span {
  color: white !important;
}

  .fed-list-container {
    height: 70%;
    flex-direction: column;
    background-color: rgb(230,230,230);
  }

  .fed-list-content.active {
    /* Adjust the width of the fed-list-content for mobile devices */
    width: 100%; /* subtract the widths of the left and right navigation buttons */
    padding: 0px;
    overflow-x: scroll;
    scrollbar-width: auto;
    height: 100%;
    margin-top: 0px;
    flex-direction: row;
    overflow-y: hidden;
    display: flex;
  }

  .fedBox-logo-container {
    margin-left: 0px;
    width: 80px;
    height: 80px;
    margin-right: 0px;
    margin-bottom: 10px;
  }

  .fed-box:last-child {
    margin-right: 0;
  }

  .right-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .title {
    font-size: 1.125rem;
    margin-left: 0px;
    margin-top: 0px;
    font-weight: 600;
  }

  .logo {
    width: 100%;
    height: 100%;
    margin-bottom: 0px;
    border-radius: 12px;
  }

  .description {
    max-height: none;
    text-align: center;
    font-size: 1rem;
    justify-content: center;
  }

  .followers {
    color: black;
    font-size: 10px;
  }
  
  .children {
    color: black;
    font-size: 10px;
    margin-right: 0px;
  }

  .nav-btn {
    display: none;
  }

  .fed-creation-div {
    width: 96%;
    padding: 10px;
    left: 2%;
    top: 25%;
  }

  #plugFee {
    left: 10px;
  }

  .fed-wheel-display-switch {
    display: flex;
  }

  .fed-profile-wall-list-content {
    display: flex;
    gap: 5px;
    scrollbar-width: 1px;
    width: 100%;
    height: 88%;
    overflow-x: auto;
    flex-direction: row;
    background-color: transparent;
    overflow-y: hidden;
  }

  .trending-federations-container {
    background-color: transparent;
    padding-top: 0px;
    height: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .trending-federations-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
    margin-top: 8px;
    background-color: transparent;/* #fc0;*/
    color: black;
    padding: 1px;
    padding-top: 1px;
    padding-bottom: 1px;
    border-radius: 4px;
    text-align: center;
    width: fit-content;
    margin-left: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
    letter-spacing: 0.05em;
    padding-left: 6px;
    padding-right: 6px;
  }

  
  .fedBox-details-container {
    text-align: center;
    gap: 0px;
  }

  .fed-box-footer {
    min-width: 130px;
  }

  .title {
    font-size: 0.975rem;
  }

  
  .description {
    font-size: 0.875rem;
  }

  
  .trending-federations-title {
    font-size: 0.975rem;
  }

}

/* LARGER SCREENS ------------------*/


/*
.nav-button {
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: darkgray;
}

.left-nav {
  margin-right: 10px;
}

.right-nav {
  margin-left: 10px;
}*/



/* /////////////////////////////////  

.fed-list-details {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 80px; 
  margin-bottom: 4px;
  margin-left: 10px;
}

.fed-list-logo-container {
  display: block;
  align-items: center;
  margin-right: 10px;
}

.fed-list-logo {
  height: 80px;
  object-fit: contain;
  border-radius: 6px;
}

.fed-list-details-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}
*/
