.btn, .btn:link, .btn:visited {
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 40px;
    display: inline-block;
    border-radius: 100px;
    transition: all 0.2s;
    position: relative;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
  }
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  .btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
  }
  .btn:active, .btn:focus {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  .btn--white {
    background-color: #fff;
    color: #777;
  }
  .btn--white::after {
    background-color: #fff;
  }
  .btn--yellow {
    background-color: #ffc107;
    color: #777;
  }
  .btn--yellow::after {
    background-color: #ffc107;
  }
  .btn--green {
    background-color: #55c57a;
    color: #fff;
  }
  .btn--green::after {
    background-color: #55c57a;
  }
  .btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s;
  }
  .btn--animated {
    animation: moveInBottom 0.5s ease-out 0.75;
    animation-fill-mode: backwards;
  }
  
  .btn-text:link, .btn-text:visited {
    font-size: 1.6rem;
    color: #55c57a;
    display: inline-block;
    text-decoration: none;
    border-bottom: 1px solid #55c57a;
    padding: 3px;
    transition: all 0.2s;
  }
  .btn-text:hover {
    background-color: #55c57a;
    color: #fff;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
  }
  .btn-text:active {
    box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(0);
  }







  #categoryTree {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 0;
}

.category-node {
    margin-left: 20px;
    padding: 5px;
}

.subcategory-node {
    margin-left: 20px;
    padding: 5px;
}

.subsubcategory-node {
    margin-left: 20px;
    padding: 5px;
}

.category-label, .subcategory-label, .subsubcategory-label {
    cursor: pointer;
    font-weight: bold;
}

.expandable:before {
    content: "▶ ";
    margin-right: 5px;
}

.expandable.expanded:before {
    content: "▼ ";
}

.subcategory-list, .subsubcategory-list {
    margin-left: 20px;
    padding-left: 20px;
}

/* Flexbox container to align label and checkbox */
.category-container, .subcategory-container, .subsubcategory-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px; /* Optional, adds space between elements */
}

/* Optionally add some space between the label and checkbox */
.category-container .category-label,
.subcategory-container .subcategory-label,
.subsubcategory-container .subsubcategory-label {
  margin-right: 10px;
}

/* Adjust checkbox appearance */
.category-checkbox, .subcategory-checkbox, .subsubcategory-checkbox {
  margin-left: auto; /* Pushes checkbox to the right */
}

/* Make the container a flexbox to align subcategory text and the tree side by side */
.category-section {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative; /* Needed for absolute positioning of the category tree */
}

/* Right side of the flexbox to align the category tree */
.category-tree-container {
  position: absolute;
  right: 10px;
  top: 0;
  width: 200px; /* Adjust as needed */
  display: none; /* Initially hide the category tree */
}

/* Expandable tree node styles */
.category-node {
  margin: 5px 0;
}

.modal-dialog {
  max-height: 80vh; /* You can adjust the height of the modal itself */
  overflow-y: auto; /* Add scrolling if modal content exceeds the viewport */
}

#modalContent {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  height: 100%; /* Ensure modal content fills available space */
  max-height: 80vh; /* Set max height to control overall modal content */
  overflow-y: auto; /* Allow scrolling if content overflows */
}

#category, #subcategory {
  height: 100%; /* Fill available space inside #modalContent */
  max-height: 1000px; /* Ensure they don't grow too tall */
  overflow-y: auto; /* Scroll if content exceeds the height */
}

#categoryTree {
  /* You can control the height of this if needed as well */
  max-height: 100%; 
}




.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically center the items */
}

.flex-item {
  flex-grow: 1; /* Make each div take up an equal portion of the available space */
  text-align: center; /* Center the text inside each div */
}

/* Optional: You can add a little padding or margin to create some space */
.modal-header > div {
  padding: 0 10px; /* Space between each item */
}






.btn-inline--green {
  color: #55c57a;
  font-size: inherit;
  border: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s;

}
.btn-inline--red {
  color: #e71e1e;
  font-size: inherit;
  border: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-inline--yellow {
  color: #ffa807ee;
  font-size: inherit;
  border: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-inline--blue {
  color: #007bff; /* A bright blue */
  font-size: inherit;
  border: 1px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-inline--green span {
  margin-left: 3px;
  transition: margin-left 0.2s;
}
.btn-inline--green:hover {
  outline: none;
  animation: pulsate 1s infinite;
}
.btn-inline--green:hover span {
  margin-left: 8px;
}
.btn-inline--red span {
  margin-left: 3px;
  transition: margin-left 0.2s;
}
.btn-inline--red:hover {
  outline: none;
  animation: pulsate 1s infinite;
}
.btn-inline--red:hover span {
  margin-left: 8px;
}
.btn-inline--yellow span {
  margin-left: 3px;
  transition: margin-left 0.2s;
}
.btn-inline--yellow:hover {
  outline: none;
  animation: pulsate 1s infinite;
}
.btn-inline--yellow:hover span {
  margin-left: 8px;
}
.btn-inline--blue span {
  margin-left: 3px;
  transition: margin-left 0.2s;
}

.btn-inline--blue:hover {
  outline: none;
  animation: pulsate 1s infinite;
}

.btn-inline--blue:hover span {
  margin-left: 8px;
}

@keyframes pulsate {
  0% {
    transform: scale(1);
    box-shadow: none;
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow: none;
  }
}

.search {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 31.25em) {
  .search {
    order: 1;
    flex: 0 0 100%;
    background-color: #fff;
  }
}
.search__input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 100px;
  width: 90%;
  transition: all 0.2s;
  margin-right: -3.25rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 1);
}
.search__input:focus {
  outline: none;
  width: 100%;
  background-color: #fff;
}
.search__input::-webkit-input-placeholder {
  font-weight: 100;
  color: var(--color-grey-light-4);
}
.search__input:focus + .search__button {
  background-color: #fff;
}
.search__button {
  border: none;
  background-color: #fff;
}
.search__button:focus {
  outline: none;
}
.search__button:active {
  transform: translateY(2px);
}
.search__icon {
  height: 2rem;
  width: 2rem;
}

.logo {
  height: 2rem;
  margin-left: 3rem;
}



.domain {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 1);
}

.affiliate {
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 1);
}

.hidden {
  display: none !important;
} 

.custom-main-box {
  border: 3px solid #ffa807ee !important; /* Orange border */
  border-radius: 8px !important;          /* Rounded corners */
  margin-left: 25px !important;         /* Some spacing */
  margin-right: 25px !important;
  margin-bottom: 5px !important;
  font-weight: bold !important;           /* Bold content */
}
