.member-info-container {
  width: 402px;
  height: 874px;
  margin: 20px auto;
  overflow: auto;
  position: absolute; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 25px;
  z-index: 1000;
  visibility: hidden;
  flex-direction: column;
  opacity: 0; 
  transition: opacity 0.3s ease-in-out; 
  -webkit-transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
}

.member-info-container::-webkit-scrollbar {
  display: none; 
}

.member-info-header {
  background-color: #6349eb;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  position: relative;
}

.member-info-back-button {
  font-size: 24px;
  margin-right: 15px;
  cursor: pointer;
}

.member-info-header-title {
  font-size: 40px;
  font-weight: 600;
  margin: 0;
  flex-grow: 1;
  text-align: center;
}

.member-info-illustration {
  background-color: #6349eb;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.member-info-illustration-img {
  width: 90%;
  height: auto;
}

.member-info-content {
  background-color: white;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  margin-top: -20px;
}

.member-info-section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.member-info-profile-card {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
}

.member-info-profile-image {
  width: 70px;
  height: 70px;
  background-color: #cfcdff;
  border-radius: 50%;
  margin-right: 15px;
}

.member-info-profile-details {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.member-info-profile-name {
  font-size: 16px;
  font-weight: 600;
}

.member-info-profile-button {
  background-color: white;
  color: #6349eb;
  border: 1px solid #6349eb;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}

.member-info-contacts-section {
  margin-bottom: 20px;
}

.member-info-contacts-title {
  font-size: 16px;
  font-weight: 600;
  margin: 15px 0;
}

.member-info-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.member-info-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.member-info-contact-image {
  width: 70px;
  height: 70px;
  background-color: #cfcdff;
  border-radius: 50%;
  margin-bottom: 5px;
  object-fit: cover;
}

.member-info-add-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #cfcdff;
  color: #6349eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 5px;
}

.member-info-contact-name {
  font-size: 14px;
  margin: 0;
}

.member-info-add-text {
  font-size: 12px;
  color: #6349eb;
  margin: 0;
}