body {
  margin: 0;
  padding: 0;
  background: #f2f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 480px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.qr-img {
  width: 200px;
  height: 200px;
  margin: 0 auto 15px auto;
  border-radius: 8px;
  border: 1px solid #ddd;
  object-fit: contain;
}

.red-tip {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.title-tag {
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #222;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ccc;
  margin-bottom: 20px;
}

.id-box {
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #444;
  gap: 10px;
}

.id-box input {
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  width: auto;
  text-align: center;
  background-color: #fff;
  color: #222;
  pointer-events: none;
  user-select: all;
}

.copy-btn {
  padding: 6px 12px;
  font-size: 14px;
  background-color: #0088cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.copy-btn:hover {
  background-color: #006fa8;
}

.download-links a {
  display: block;
  padding: 10px;
  background: #0088cc;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  margin: 8px 0;
  transition: background-color 0.2s ease;
}

.download-links a:hover {
  background: #006fa8;
}

/* ? 複製提示浮出訊息 */
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff69b4;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
}

input:focus,
button:focus {
  outline: none;
  box-shadow: none;
}
