@media screen and (max-width: 768px) {
  .search-box {
    width: 80% !important;
  }
  .icon-tag {
    white-space: nowrap;
  }
  .input-wrapper input {
    width: 100%;
  }
}
@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.search-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 58px);
  padding: 50px 0;
}
.search-form .search-box {
  position: relative;
  box-sizing: border-box;
  width: 382px;
  padding: 40px 22px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.search-form .search-box .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  display: none;
  width: 60px;
  height: 60px;
  animation: rotate 2s linear infinite;
}
.search-form .search-box .loading.show {
  display: block;
}
.search-form .search-box .search-content,
.search-form .search-box .search-result {
  display: none;
  flex-direction: column;
  align-items: center;
}
.search-form .search-box .search-content.show,
.search-form .search-box .search-result.show {
  display: flex;
}
.search-form .search-content .main-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
}
.search-form .search-content .title {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  text-align: center;
}
.search-form .search-content .subtitle {
  margin-bottom: 30px;
  font-size: 15px;
  color: #9C9C9C;
  text-align: center;
}
.search-form .search-content .form-group {
  width: 100%;
  margin-bottom: 12px;
}
.search-form .search-content .form-group .label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #000000;
}
.search-form .search-content .form-group .input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  background: #F9FAFB;
  border-radius: 12px;
}
.search-form .search-content .form-group .input-wrapper input {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 12px;
  color: #000000;
  outline: none;
}
.search-form .search-content .form-group .input-wrapper input::placeholder {
  color: #838383;
}
.search-form .search-content .form-group .input-wrapper .btn-paste {
  width: 45px;
  height: 25px;
  background: #E5E7EB;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  color: #4B4B4B;
  cursor: pointer;
}
.search-form .search-content .form-group .input-wrapper .btn-paste:hover {
  opacity: 0.8;
}
.search-form .search-content .btn-submit {
  width: 100%;
  height: 51px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #FF8317 0%, #E97B0C 100%);
  border: none;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #FFF;
  cursor: pointer;
  transition: opacity 0.2s;
}
.search-form .search-content .btn-submit:hover {
  opacity: 0.9;
}
.search-form .search-content .how-to-get {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 15px;
  background: #F3F4F6;
  border-radius: 8px;
}
.search-form .search-content .how-to-get .divider {
  margin-bottom: 10px;
  font-size: 12px;
  color: #7B7B7B;
  text-align: center;
}
.search-form .search-content .how-to-get .path-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.search-form .search-content .how-to-get .path-item:last-child {
  margin-bottom: 0;
}
.search-form .search-content .how-to-get .path-item .icon-tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 46px;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 12px;
  color: #FFF;
  font-weight: 600;
}
.search-form .search-content .how-to-get .path-item .path-text {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
}
.search-form .search-content .how-to-get .path-item .path-text > span {
  background-color: rgb(242, 228, 222);
  color: #F66D14;
  font-weight: 700;
}
.search-form .search-content .how-to-get .path-item.wechat .icon-tag {
  background: #00C900;
}
.search-form .search-content .how-to-get .path-item.alipay .icon-tag {
  background: #009DFF;
}
.search-form .search-content .footer-tips {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}
.search-form .search-content .footer-tips img {
  width: 9px;
  height: 15px;
}
.search-form .search-content .footer-tips span {
  font-size: 12px;
  color: #FF6265;
}
.search-form .search-content .footer-tips .link-tutorial {
  font-size: 12px;
  color: #2D8FFF;
  text-decoration: none;
}
.search-form .search-content .footer-tips .link-tutorial:hover {
  text-decoration: underline;
}
.search-form .search-result .result-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 13px;
}
.search-form .search-result .result-title {
  margin-bottom: 13px;
  font-size: 24px;
  font-weight: 600;
  color: #000000;
}
.search-form .search-result .result-subtitle {
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 500;
  color: #9C9C9C;
}
.search-form .search-result .info-card {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 30px;
  padding: 20px;
  background: #F3F4F6;
  border-radius: 12px;
}
.search-form .search-result .info-card .info-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 22px;
}
.search-form .search-result .info-card .info-item:last-child {
  margin-bottom: 0;
}
.search-form .search-result .info-card .info-item label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #818181;
}
.search-form .search-result .info-card .info-item .software-name {
  font-size: 20px;
  font-weight: 700;
  color: #F66D14;
}
.search-form .search-result .info-card .info-item .id-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.search-form .search-result .info-card .info-item .id-wrapper .member-id {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
}
.search-form .search-result .info-card .info-item .id-wrapper .btn-copy-id {
  width: 38px;
  height: 20px;
  padding: 0;
  background: #FFF;
  border: 1px solid #9DD9FF;
  border-radius: 4px;
  font-size: 12px;
  color: #0F8BFF;
  cursor: pointer;
}
.search-form .search-result .info-card .info-item .id-wrapper .btn-copy-id:hover {
  background: #F9FAFB;
}
.search-form .search-result .info-card .info-item .download-link {
  font-size: 12px;
  color: #4696FF;
  text-decoration: none;
}
.search-form .search-result .info-card .info-item .download-link:hover {
  text-decoration: underline;
}
.search-form .search-result .info-card .info-item .login-method-box {
  display: inline-block;
  padding: 5px 10px;
  background: #DBEAFE;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #005CD8;
}
.search-form .search-result .btn-copy-all {
  width: 100%;
  height: 51px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #FF8317 0%, #E97B0C 100%);
  border: none;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 700;
  color: #FFF;
  cursor: pointer;
}
.search-form .search-result .btn-copy-all:hover {
  opacity: 0.9;
}
.search-form .search-result .back-to-search {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.search-form .search-result .back-to-search:hover {
  opacity: 0.7;
}
.search-form .search-result .back-to-search img {
  width: 18px;
  height: 18px;
}
.search-form .search-result .back-to-search span {
  font-size: 16px;
  color: #A8A8A8;
}

.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  z-index: 9999;
  display: none;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  transform: translateX(-50%);
}
.toast.success {
  background-color: #F0F9EB;
  color: #67c23a;
}
.toast.error {
  background-color: #FEF0F0;
  color: #F56C6C;
}