@keyframes modalSlideInBottom {
  0% {
    opacity: 0;
    bottom: -50px;
  }
  100% {
    opacity: 1;
    bottom: 0px;
  }
}
.modal {
  display: none; /* 隐藏模态框 */
  position: fixed;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 背景半透明 */
}

.modal_main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.modal-content-item {
  position: relative;
  opacity: 0;
  animation-name: modalSlideInBottom;
  pointer-events: all;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  /* width: 70%; */
  /* height: 70%; */
  /* background-color: #ededed; */
  background-color: white;
  border-radius: 15px;
}
.close {
  cursor: pointer;
  font-size: 2rem;
  color: white;
  position: absolute;
  top: 20px;
  right: 30px;
}

.modal-content-item .modal-header {
  padding: 20px 30px;
}

.modal-body {
  padding: 30px;
  border-top: 1px solid #ebebeb;
}

/* ask */

.modal-body .ask-form {
  width: 520px;
}

.modal-body .ask-form {
  width: 520px;
}

.ask-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ask-header .ask-title {
  font-size: 18px;
  font-weight: bold;
}

.ask-header .icon-close {
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.ask-header .icon-close:hover {
  transform: scale(1.05);
}

.modal-body .contact__fields {
  display: flex;
  gap: 10px;
}

.modal-body .field::after {
  border-radius: 30px;
  border-color: #ebebeb;
  border-width: 1px !important;
}

.modal-body .field:hover:after {
  border-color: #000;
}

.modal-body .field {
  margin-bottom: 10px;
}

.modal-body .ask-note {
  font-size: 15px;
  margin: 25px 0;
}

.modal-body .ask-button {
  width: 100%;
  height: 50px;
  --color-button-background: 0, 0, 0;
}

/* share */
.modal-body .share-body {
  width: 310px;
}

.modal-body .share-copy {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.copy__url {
  border: 1px solid #ebebeb;
  border-radius: 30px;
  padding: 10px 20px;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 250px;
  overflow: hidden;
  line-height: 30px;
  font-size: 14px;
}

.copy__button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.share-title {
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 16px;
}

.share-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.share-meta button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.condition-body {
  width: 716px;
}
