/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal container */
.modal-container {
  background-color: #fcfcfc;
  position: relative;
  border-radius: 24px;
  box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.2);
  width: 592px;
  max-height: 90vh;
  overflow: hidden;
}

/* Close button */
.modal-close-btn {
  position: absolute;
  right: 20px;
  top: 21px;
  width: 46px;
  height: 46px;
  background-color: #e4e4e4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  padding: 0;
  transition: background-color 0.2s;
}

.modal-close-btn:hover {
  background-color: #d4d4d4;
}

/* Content area */
.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 67px;
  gap: 16px;
}

.modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 499px;
}

/* App icon */
.modal-icon {
  width: 100px;
  height: 100px;
}

.modal-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Description text */
.modal-description {
  text-align: center;
  color: #333;
  font-size: 22px;
  letter-spacing: 0.44px;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  line-height: 1.5;
}

.modal-description p {
  margin: 0;
}

/* QR code */
.modal-qr {
  width: 194px;
  height: 194px;
}

.modal-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bottom banner */
.modal-banner {
  background-color: #00a095;
  border-radius: 0 0 24px 24px;
  width: 100%;
}

.modal-banner-inner {
  padding: 45px 103px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-banner-text {
  text-align: center;
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.44px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  line-height: 1.5;
  width: 387px;
}

.modal-banner-text p {
  margin: 0;
}
