/* 整体样式 */
.index-modal {
  font-size: 12px;
  width: 520px;
  position: absolute;
  z-index: 10;
  height: calc(100vh - 110px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 4px;
}

.index-modal .container {
  overflow: scroll;
  height: 100%;
  position: relative;
}

.index-modal p {
  line-height: 20px;
}

.index-modal .close {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  display: block;
  font-style: normal;
  vertical-align: baseline;
  text-align: center;
  text-transform: none;
  text-rendering: auto;
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 14px;
  color: rgb(204, 204, 204);
}

/* content */
.index-modal .content {
  padding: 0 20px;
  color: rgb(51, 51, 51);

}

.index-modal .piece {
  margin-top: 8px;
  margin-bottom: 8px;
}

.index-modal .banner {
  height: 240px;
}

.index-modal .title .text {
  font-size: 14px;
  color: rgb(51, 51, 51);
  font-weight: 500;
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
}

.index-modal .title .line {
  height: 1px;
  background-color: rgb(234, 234, 234);
}

.index-modal .title .money {
  color: rgb(226, 45, 45);
}

.index-modal .p-text {
  margin: 10px 0;
}

.index-modal .subtitle .left-line {
  width: 4px;
  height: 11px;
  background: rgb(95, 121, 230);
  margin-right: 5px;
}

.index-modal .subtitle .bottom-line {
  height: 1px;
  background-color: rgb(234, 234, 234);
  width: 100%;
}

.index-modal .subtitle .text {
  display: flex;
  justify-content: start;
  align-items: center;
  color: rgb(95, 121, 230);
  margin: 8px 0;
}

/* footer */
.index-modal .empty-box {
  height: 60px;
}

.index-modal .footer {
  position: fixed;
  bottom: 0;
  height: 60px;
  background: rgb(244, 244, 244);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.index-modal .footer .buy-btn {
  background: linear-gradient(to right, rgb(67 , 165, 255), rgb(150, 85 ,230));
  border: none;
  border-radius: 4px;
  padding: 10px 70px;
  font-size: 14px;
  line-height: 20px;
  color: white;
}
