
  .loading {
      margin-top: 20px;
      display: none;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 10px;
    }
    .loading img {
      width: 24px;
      height: 24px;
    }
    .logo {
      max-width: 200px;
    }
    main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px 40px;
  width: 100%;
  max-width: 624px;
  margin: 0 auto;
  box-sizing: border-box;
}
    .tabs {
  display: flex;
  margin-bottom: 20px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
    .tab {
      padding: 10px 20px;
      margin: 0 5px;
      border-radius: 8px;
      cursor: pointer;
      background: #e0e0e0;
      transition: background 0.3s ease;
    }
    .tab.active {
      background: #4F46E5;
      color: white;
      font-weight: bold;
    }
    .form-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
    .form-section {
      display: none;
      width: 100%;
    }
    .form-section.active {
      display: block;
    }
    .form-box input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}
    .form-box button {
  width: 100%;
  padding: 12px;
  background: #4F46E5;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  box-sizing: border-box;
  margin-top: 10px;
}
    .form-box button:hover {
      background: #3730a3;
    }
    .result-container {
      margin-top: 30px;
      background: #f0f1f7;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      text-align: left;
      display: flex;
      align-items: center;
      justify-content: space-evenly;
      width: 100%;
      box-sizing: border-box;
      gap: 20px;
    }
    #qrcode {
      flex-shrink: 0;
    }
    .result-link-content {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .result-label {
      font-size: 0.9rem;
      color: #555;
    }
    .result-link {
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 10px;
      word-break: break-word;
    }
    .copy-btn svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: #fff;
      stroke-width: 2;
      display: block;
      margin: auto;
    }
    .copy-btn {
      width: auto !important;
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      padding: 0;
      margin: 0 0 !important;
      cursor: pointer;
    }
    .clear-link {
      margin-top: 15px;
      font-size: 0.9rem;
      text-decoration: underline;
      color: #4F46E5;
      cursor: pointer;
    }
    footer {
      text-align: center;
      padding: 20px;
      font-size: 0.9rem;
      color: #999;
    }
    @media (max-width: 600px) {
  .result-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .result-link {
    justify-content: center;
  }
  .form-box {
    padding: 20px;
  }
  .form-box input,
  .form-box button {
    font-size: 1rem;
  }

      .result-link {
        justify-content: center;
      }
    