.gyfthint-button-container {
  width: 100%;
}
/* .gyfthint-button-container {
  max-width:44rem;
} */
.gyfthint__button {
/* max-width: 270px !important;
  width: 270px !important; */
  width:100%;
  background-color: rgba(255, 255, 255, 0);
  font-family: inherit;
  color: #000;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  padding: 8px 15px 8px 15px;
  border: 1.5px solid #000 !important;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 auto;
  border-radius: inherit;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  margin-bottom: 1px;
  max-width: 345px !important;
}


.gyfthint-learn-more {
font-size: 11px;
font-family: inherit;
text-align: center;
margin: 0 auto;
color: #000;
font-weight: 400;
}

.gyfthint-learn-more > a{
  color: #000;
  font-size: 11px;
  line-height: 14.3px;
  display: flex;
  justify-content: center;
  margin-top: 5px;
  text-decoration: underline;
}

.gyfthint-learn-more > a > span {
  vertical-align: sub;
  margin-left: 4px;
}

.gyfthint__button_modal {
  background-color:#fda329;
  font-family: inherit;
  color:#fff;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  padding: 10px 10px 10px 10px;
  border: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin:0 auto;
  border-radius:inherit;
}

.gyfthint-text {
  display: flex;
  flex-direction: column; /* Stack text and "Powered by" vertically */
  align-items: center; /* Center align both text and small text */
  /* width: 100%; */
}
.gyfthint-text > span {
font-weight: 600;
font-size: 14px;
}

.gyfthint-text > small {
  /* align-self: end; */
  margin-top: 2px;
  font-style: italic;
  font-size: 11px;
}

/* .gyfthint__button:hover {
  border: 1.5px solid transparent !important;
  
} */

.gyfthint__button:focus {
  outline: none;
}

#gyfthintModal #signupButton {
width: 100%;
background-color: #fda329;
color: #fff;
border-radius: 10px;
margin-top: 5px;

}
#gyfthintModal #loginButton {
width: 100%;
margin-top: 0px;
background: none;
color: #101B6D;
text-decoration: underline;

}



.gyfthint__button.loading {
  cursor: not-allowed;
  opacity: 0.5;
}

.gyfthint__button.loading::after {
  display: inline-block;
  margin-left: 10px;
  animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% {
      color: rgba(0, 0, 0, 0);
      text-shadow:
      .25em 0 0 rgba(0, 0, 0, 0),
      .5em 0 0 rgba(0, 0, 0, 0);
  }
  40% {
      color: black;
      text-shadow:
      .25em 0 0 rgba(0, 0, 0, 0),
      .5em 0 0 rgba(0, 0, 0, 0);
  }
  60% {
      text-shadow:
      .25em 0 0 black,
      .5em 0 0 rgba(0, 0, 0, 0);
  }
  80%, 100% {
      text-shadow:
      .25em 0 0 black,
      .5em 0 0 black;
  }
}

/* Modal styles */
#gyfthintModal {
  display: none; 
  position: fixed; 
  z-index: 99999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  opacity: 1;
  visibility: visible; 
  pointer-events: all;

}

#gyfthintModal .modal-content {
  background-color: #fefefe;
  margin: 10% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 300px;
  text-align: center;
  position: relative;
  opacity: 1;
  visibility: visible; 
  pointer-events: all;
  height: auto;
  border-radius: 20px;
}

#gyfthintModalAction {
  display: none; 
  position: fixed; 
  z-index: 99999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  opacity: 1;
  visibility: visible; 
  pointer-events: all;

}

#gyfthintModalAction .modal-content {
  background-color: #fefefe;
  margin: 10% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 300px;
  text-align: center;
  position: relative;
  opacity: 1;
  visibility: visible; 
  pointer-events: all;
  height: auto;
}

#suggestFriendModal {
  display: none; 
  position: fixed; 
  z-index: 99999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  opacity: 1;
  visibility: visible; 
  pointer-events: all;

}

#suggestFriendModal .modal-content {
  background-color: #fefefe;
  margin: 10% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 900px;
  text-align: center;
  position: relative;
  opacity: 1;
  visibility: visible; 
  pointer-events: all;
  height: auto;
  transform: translateY(-10%);
}

#learnMoreModal {
  display: none; 
  position: fixed; 
  z-index: 99999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: hidden; 
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4); 
  opacity: 1;
  visibility: visible; 
  pointer-events: all;
}

#learnMoreModal .modal-content {
  background-color: #fefefe;
  margin: 10% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 80%; 
  max-width: 300px;
  text-align: center;
  position: relative;
  opacity: 1;
  visibility: visible; 
  pointer-events: all;
  height: auto;
}


.custom-close {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 0px;
  z-index: 999999;
}

.custom-close:hover,
.custom-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.gyfthint__button:hover {
  background-color: #fcac07;
}

/* Style for the disabled state of the signup button */
.gyfthint__button_modal:disabled {
  background-color: #959595;  /* Grey out the background */
}

.gh_suggest_friend_button_submit:disabled {
  background-color: #959595;  /* Grey out the background */
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 15px;
  height: 300px;
  overflow-y: scroll;
}
.friend-card {
  text-align: center;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, .15);
  background: #fff;
  padding: 1.5em 2em;
  margin-bottom: 0.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  

}
.friend-card img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.friend-card label {
font-size: 17px;
display: block;
margin-top: 5px;
font-weight: 500;
text-transform: capitalize;
color: rgba(0, 0, 0, .85);
}
.friend-toggle-button {
  width: 100% !important;
  border-radius: 10px;
  cursor: pointer;
  color: #343a40;
  background-color: transparent !important;
  background-image: none;
  border: 2px solid #343a40;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  padding: .375rem .75rem;
  font-size: 16px;
  line-height: 1.5;
  height: 35px;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.friend-toggle-button:hover {
  color: #fff;
  background-color: #1d2124 !important;
  border: 2px solid #343a40;
}
.friend-toggle-button.selected {
  color: #fff;
  background-color: #1d2124 !important;
  border: 2px solid #343a40;
}
.gh_suggest_friend_header {
border-bottom:1px solid #e9ecef;
}
.gh_suggest_friend_p {
font-size:inherit;
font-weight:bold;
color:#101B6D;
margin-bottom:10px;
}
.gh_suggest_friend_search-control {
border: none;
border-radius: 0;
height: 45px;
background-color: #f3f5f7 !important;
width: 100%;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
outline: none;
cursor: pointer;
font-size: inherit;
margin-top: 1rem;
padding: 5px 10px;
box-shadow: none;
color: #757575;
}
.gh_suggest_friend_search_container {
display: flex;
}
.gh_suggest_friend_search_bar {
width: 90%;
}
.gh_suggest_friend_search_button-control {
background-color: #fda328;
border: none;
height: 45px;
padding: 10px 33px;
border-radius: 0;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
border-top-left-radius: 8px;
border-bottom-left-radius: 8px;
outline: none;
text-align: center;
display: flex;
justify-content: center;
font-size: 1.1em;
align-items: center;
margin-top: 1rem;
}
.gh_suggest_friend_modal_button {
display: flex;
justify-content: space-between;
border-top: 1px solid #e9ecef;
padding-block-start: 2rem;
}
.gh_suggest_friend_button_submit {
background-color: #fda328;
color: #101b6d;
border: none;
height: 50px;
font-weight: 600;
border-radius: 10px;
display: inline-block;
text-align: center;
white-space: nowrap;
vertical-align: middle;
padding: .375rem 1.5rem;
font-size: inherit;
line-height: 1.5;
cursor: pointer;
}
.gh_suggest_friend_button_submit:hover {
color: #fff;
}
.gh_suggest_friend_button_cancel {
background-color: transparent !important;
background-image: none;
border: 2px solid #343a40;
color: #101b6d;
height: 50px;
font-weight: 600;
border-radius: 10px;
display: inline-block;
text-align: center;
white-space: nowrap;
vertical-align: middle;
padding: .375rem 1.5rem;
font-size: inherit;
line-height: 1.5;
width: 150px;
cursor: pointer;
}
.gh_suggest_friend_button_cancel:hover {
background-color: #343a40 !important;
color: #fff;
}
.gyfthint__button.rounded {
border-radius: 35px;
}

.gyfthint__button.semi-rounded {
  border-radius: 10px;
}

.gyfthint__button.not-rounded {
  border-radius: 0px;
}

.gh_loader {
  width: 18px;
  height: 18px;
  border: 3px solid #FFF;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: none;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  }

  @keyframes rotation {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
} 
/* Responsive Design */
@media (max-width: 768px) {
.gyfthint__button {
    font-size: 14px;
    padding: 8px 10px;
}
.gyfthint__button {
    max-width: 100% !important;
    width: 100% !important;
    background-color:rgba(255, 255, 255, 1);
    font-family: inherit;
    color:#000;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    padding: 8px 10px 8px 10px;
    border: 1px solid #000 !important;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin:0 auto;
}
#gyfthintModal .modal-content {
  margin: 40% auto !important;
  width: 90% !important;
  max-width: 400px !important;
  
}
#suggestFriendModal .modal-content {
  margin: 40% auto !important;
  width: 90% !important;
}
.gh_suggest_friend_p {
  font-size: 24px;
}
.gh_suggest_friend_modal_button {
  flex-direction: column-reverse;
  gap: 10px;
}
.gh_suggest_friend_button_cancel {
  width: 100%;
  height: 45px;
}
}