body {
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pwa-install-screen {
  padding: 30px;
  text-align: center;
  font-family: "Segoe UI", sans-serif;
  color: #222;
  background-color: #8d2121;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Background setup for mobile and desktops */
.bg-wrapper {
  background: url("../img/bg2.jpg") no-repeat center top;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 550px;
  min-width: 355px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Container adjustments */
.container-box {
  background-color: rgba(0, 0, 0, 0.35);
  width: 100%;
  padding: 1rem;
  border-radius: 15px;
  margin: 0 10px;
}

.logo-wrapper {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo-img {
  max-width: 170px;
  height: auto;
}

/* Optional - mobile spacing */
@media (max-width: 576px) {
  .container-box {
    margin: 0 10px;
  }
}
.member-id-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  min-height: 100vh;
  max-width: 550px;
  margin: 0 auto;
  padding-top: 7rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.member-name {
  margin-top: -0.25rem; /* pull it closer */
}
.member-photo {
  width: 140px;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

.member-photo .photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.qr-code-box {
  width: 120px;
  height: 120px;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
}

.qr-code-box canvas {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}

/* .qr-img {
  width: 130px;
  height: 130px;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 1rem;
} */

.member-details {
  margin-top: 0.5rem;
}
