.preview_enabled {
  position: relative;
  overflow: hidden;
}
.preview_enabled .preview {
  display: block;
}
.preview {
  display: none;
}
.preview_cover {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
.preview_content {
  width: 60vw;
  height: 80vh;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  padding: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.preview_content_title {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding: 0 1% 10px;
  margin-bottom: 15px;
}
.preview_content_title > div {
  font-size: 18px;
}
.preview_content_title_close {
  cursor: pointer;
  font-size: 20px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  transition: background 0.3s;
}
.preview_content_title_close:hover {
  background: #e0e0e0;
}
.preview_content_list {
  padding: 0 1%;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 10px;
}
.preview_content_list_item {
  border-block-end: rgba(5, 5, 5, 0.06) solid 1px;
  padding: 12px 0;
}
.preview_content_list_item:last-of-type {
  border-block-end: none;
}
.preview_content_list_item .key {
  font-weight: bold;
  margin: 0 0 4px 0;
  color: rgba(0, 0, 0, 0.77);
  font-size: 16px;
  line-height: 1.57;
}
.preview_content_list_item .value {
  color: rgba(0, 0, 0, 0.45);
  font-size: 16px;
  line-height: 1.57;
}
.preview_content_list_item .value p {
  color: inherit;
  font-size: inherit;
}
.preview_content_btn {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.preview_content_btn button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 0 10px;
  cursor: pointer;
  transition: background 0.3s;
}
.preview_content_btn button:hover,
.preview_content_btn button:disabled {
  background-color: #0056b3;
}
.preview_content_btn .ant-btn-loading-icon {
  opacity: 0;
  margin-right: -16px;
  transition: all 0.3s;
}
.preview_content_btn .submit_active .ant-btn-loading-icon {
  opacity: 1;
  margin-right: 10px;
}
.preview_content_btn .submit_active .anticon-loading {
  animation: loadingCircle 1s infinite linear;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
@keyframes loadingCircle {
  100% {
    transform: rotate(360deg);
  }
}
@media screen and (max-width: 768px) {
  .preview_content {
    width: 90vw;
    height: 80vh;
  }
  .preview_list {
    padding: 0 2%;
  }
  .preview_btn button {
    padding: 8px 16px;
  }
}
