body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background-color: #f5f6f8;
  /* Procedural noise */
  background-image:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.01) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(135deg, rgba(0,0,0,0.005) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.005) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 20% 30%, rgba(0,0,0,0.015) 0 1px, transparent 1px 100%);
  background-size: 3px 3px, 5px 5px, 7px 7px, 13px 13px;
  background-blend-mode: multiply;
}

.container {
  text-align: center;
  background-color: white;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  max-width: 360px;
  width: 100%;
  background-image: linear-gradient(45deg, #ffebf2, #fff, #fff, #dcf9ff);
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.spacer-10 {
    height: 10px;
}

.spacer-20 {
    height: 20px;
}

.spacer-30 {
    height: 30px;
}

.subtitle {
  font-size: 16px;
  color: #555;
}

.id-box {
  background-color: #f0f3f5;
  border-radius: 8px;
  padding: 10px 15px;
  display: inline-block;
  font-weight: 600;
  font-size: 16px;
  color: #111;
  margin-bottom: 20px;
}

.addr-img {
    width: 100%;
    margin: 10px auto;
    border: 0px solid #000;
    border-radius: 6px;
}

.shift-right {
    padding-left: 7px;
}

.instructions {
  text-align: left;
  font-size: 15px;
  color: #333;
  margin: 25px auto;
  max-width: 220px;
}

.instructions p {
  font-weight: 600;
  margin-bottom: 8px;
}

.instructions ol {
  margin: 0;
  padding-left: 20px;
}

.instructions li {
  margin-bottom: 6px;
}

.shadow-wrap {
  margin-top: 20px;
  position: relative;
  display: inline-block;
  width: 100%;
  isolation: isolate; /* prevents z-index blending issues */
}

.shadow-wrap::before {
  content: "";
  position: absolute;
  top:    0px;
  left:   0px;
  right:  0px;
  bottom: 0px;
  border-radius: 10px;
  background-color: #fa2074c0;
/*      background-image: linear-gradient(
    90deg,
    #a42253c0 0%,
    #823671c0 50%,
    #584479c0 100%
  );*/
  filter: blur(10px);
  z-index: 0;
  transition: background-color 0.5s ease-in;
}

.shadow-wrap.clicked::before {
  background-color: #00ff00c0;
/*      background-image: linear-gradient(
    90deg,
    #00ff00c0 0%
  );*/
}

.copy-button {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  background-color: #d02525;
  color: white;
  border: none;
/*      border-top: 1px solid #ff8282;
  border-right: 1px solid #ff8282;*/
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.5s ease-in;

  z-index: 0;
  isolation: isolate;


  display: flex;
  flex-direction: column-reverse;
  height: 45px;
}

/*    .copy-button:hover {
  background-color: #b02525;
}*/

.copy-button.clicked {
  background-color: #16a34a;
}

.copy-button::before {
  content: "";
  position: absolute;
  top:    0px;
  left:   0px;
  right:  0px;
  bottom: 0px;
  transition: background-color 0.25s ease-in;
  background-color: #00000000;
}

.copy-button:hover::before {
  background-color: #00000030;
}

/* Shine animation */
.copy-button:not(.clicked)::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 100, 100, 0) 0%,
    rgba(255, 100, 100, 0.4) 50%,
    rgba(255, 100, 100, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}
.copy-button:not(.clicked):hover::after {
  background: linear-gradient(
    120deg,
    rgba(200, 100, 100, 0) 0%,
    rgba(200, 100, 100, 0.4) 50%,
    rgba(200, 100, 100, 0) 100%
  );
}

@keyframes shine {
  0% {
    left: -75%;
  }
  50% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

.copy-button {
}

.copy-button > * {
  max-height: 100%;
  width: 100%;
  display: block;
  transition: transform 0.2s cubic-bezier(.64,.69,.4,1.46);
}


.caroussel-first {
  flex: 0 0 100%;
}

.copy-button .caroussel-first {
  transform: translateY(0%);
}

.copy-button.clicked .caroussel-first {
  transform: translateY(200%);
}

.caroussel-second {
  flex: 0 0 100%;
  position: relative;
}

.caroussel-second::before {
  content: " ";
  display: inline-block;
  margin-left: -50px;
  height: 100%;
  aspect-ratio: 1;
  margin-right: 10px;
  background-image: url("circle-check-solid-full-white.svg");
}

.caroussel-second::after {
  content: "Copied";
  display: inline-block;
  height: 100%;
  position: fixed;
  line-height: 1.3;
}

.copy-button .caroussel-second {
  transform: translateY(-100%);
}

.copy-button.clicked .caroussel-second {
  transform: translateY(100%);
}