.profile-page {
  background-color: rgba(99, 73, 235, 1);
  width: 402px;
  height: 874px;
  padding-top: 58px;
  flex-direction: column;
  position: absolute;
  overflow: hidden;
  z-index: 1000;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  font-weight: 600;
  text-align: center;
  visibility: hidden;
  opacity: 0; 
  border-radius: 25px;
  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;
}

.profile-content {
  border-radius: 35px 35px 0 0;
  background-color: rgba(246, 245, 255, 1);
  display: flex;
  margin-top: 60px;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.profile-photo {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 165px;
  z-index: 10;
  margin-top: -41px;
  max-width: 100%;
}

.profile-name {
  color: rgba(0, 0, 0, 1);
  font-size: 32px;
  letter-spacing: 2.56px;
  margin-top: 12px;
}

.profile-age {
  color: rgba(0, 0, 0, 1);
  font-size: 28px;
  letter-spacing: 2.24px;
  margin-top: 10px;
}

.blood-type {
  color: rgba(99, 73, 235, 1);
  font-size: 18px;
  letter-spacing: 1.44px;
  margin-top: 56px;
  text-align: center;
}

.blood-type-value {
  color: rgba(38, 50, 56, 1);
  text-align: center;
}

.address {
  color: rgba(0, 0, 0, 1);
  font-size: 18px;
  letter-spacing: 1.44px;
  margin-top: 20px;
}

.label-purple {
  color: rgba(99, 73, 235, 1);
}

.health-condition {
  color: rgba(0, 0, 0, 1);
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 1.44px;
  margin-top: 19px;
}

.allergies {
  color: rgba(0, 0, 0, 1);
  font-size: 18px;
  letter-spacing: 1.44px;
  margin-top: 19px;
}

.emergency-contact {
  color: rgba(99, 73, 235, 1);
  font-size: 18px;
  letter-spacing: 1.44px;
  margin-top: 19px;
}

.contact-number {
  color: rgba(38, 50, 56, 1);
}

.alert-section {
  background-color: rgba(255, 219, 219, 1);
  align-self: stretch;
  display: flex;
  margin-top: 60px;
  width: 100%;
  padding: 22px 37px;
  flex-direction: column;
  align-items: center;
}

.alert-button {
  border-radius: 70px;
  background-color: rgba(255, 94, 94, 1);
  align-self: center;
  width: 100%;
  max-width: 276px;
  padding: 13px 19px;
  font-size: 28px;
  color: rgba(246, 245, 255, 1);
  white-space: nowrap;
  letter-spacing: 2.24px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.alert-description {
  color: rgba(99, 73, 235, 1);
  font-size: 15px;
  letter-spacing: 1.2px;
  margin-top: 18px;
}

.text-gray {
  font-weight: 400;
  color: rgba(122, 117, 149, 1);
}

.text-red {
  color: rgba(255, 94, 94, 1);
}
