/* Join Modal */
.join-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.join-modal-content {
  position: relative;
  background: linear-gradient(135deg, #042878, #0a9bf4);
  padding: 20px;
  border-radius: 5px;
  max-width: 90%;
  /*width: 90%;*/
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  max-height: 95vh;
  overflow-y: auto;
  color: white;
}

.close-join-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #45424b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 1100;
}

.close-join-modal:hover {
  background: #0070f2;
}

.dark .close-join-modal:hover {
  background: #0099fb;
}

.people-circles {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 0; /* Remove gap to allow overlapping */
}

.person-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: transform 0.3s;
  position: relative;
  margin-left: -10px; /* Create overlapping effect */
  cursor: pointer;
}

.person-circle:first-child {
  margin-left: 0;
}

.person-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-circle:hover {
  transform: scale(1.1);
  z-index: 5;
}

/* Join Modal Content */
.popup-header {
  text-align: center;
  margin-bottom: 30px;
}

.popup-title {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #f2c632;
}

.popup-description {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 15px;
  opacity: 0.9;
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.popup-description-big {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 15px;
  opacity: 0.9;
  text-align: center;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}