.upload-result-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  position: relative;
  z-index: 1;
}

.upload-result-wrapper  .upload-ljc-box{
  width: 100%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  overflow: hidden;
  outline: 1px solid #555;
  border-radius: 5px;
}
.upload-result-wrapper  .upload-ljc-box .upload-ljc-img{
  width: 100%;
  height: 100%;
}
.upload-result-wrapper  .upload-ljc-box .upload-ljc-img::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: url("../xlr/img/ruler.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(var(--bg-rotate, 0deg)) scale(1.4) ;
  transition: transform 0.8s ease-in-out;

}

.upload-result-wrapper .upload-result-img-box{
  width: 100%;
  height:100%;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
}
.upload-result-wrapper .upload-result-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: opacity(0.5);
}
/*生成方案*/ /*生成中*/
.create-plan-button , .loading-plan-button, .download-plan-button , .reset-choose-file-button{
  background-image: none;
  text-align: center;
  line-height: 48px;
  font-size: 16px;
}
.button{
  width: 280px;
  height: 50px;
  background-image: url("../xlr/img/button.png");
  background-size: 280px 50px;
  margin: 5px auto 0;
  font-size: 16px;
  line-height: 18px;
  color: #FAE8CA;
  letter-spacing: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.save-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.save-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.save-image-content {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 20px 0;
  z-index: 1;
}

.save-image-item {
  text-align: center;
  padding: 15px;
  font-size: 16px;
  color: #333;
  border-bottom: 1px solid #eee;
}

.save-image-item:last-child {
  border-bottom: none;
  color: #999;
}

.custom-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  max-width: 80%;
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
  pointer-events: none;
}
.reset-vertical-scale-button{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 0;
}
.custom-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

