.popup {
  display: none;
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  padding: 25px;
  background: rgba(0, 0, 0, 0.7);
}
.popup__wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  background: #fff;
  color: #111;
  position: relative;
  border-bottom-right-radius: 30px;
  border-bottom-left-radius: 30px;
  padding-bottom: 10px;
}
.popup-close {
  position: sticky;
  top: 0;
}
.popup-close:hover::before {
  background: rgba(255, 255, 255, 0.5);
}
.popup-close::before {
  font-family: "msi-icons" !important;
  content: "\ea02";
  color: #fff;
  font-size: 20px;
  position: absolute;
  left: 100%;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
@media (min-width: 996px) {
  .popup-close::before {
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}
.popup__header {
  position: sticky;
  top: 0;
  background: linear-gradient(to left, #ef6e02, #e7bf3a, #ef6e02);
  padding: 10px;
  text-align: center;
  font-size: 24px;
  color: #fff;
  text-shadow: #111 1px 1px 3px;
}
@media (min-width: 996px) {
  .popup__header {
    font-size: 30px;
  }
}
.popup__content {
  padding: 25px;
  height: 80vh;
  overflow-y: auto;
  margin: 10px 10px 30px;
}
.popup__content::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.popup__content::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.popup__content::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #ef6e02, #ff7b00, #ef6e02);
  border-radius: 10px;
}
@media (min-width: 996px) {
  .popup__content {
    padding: 80px;
  }
}

#terms {
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
}
#terms ul {
  margin-left: 20px;
}
#terms ul li {
  list-style: disc;
  padding: 5px 0;
  color: #4e4e4e;
}
#terms ol {
  margin-left: 25px;
  padding: 15px 0;
}
#terms ol li {
  list-style: lower-roman;
  color: #4e4e4e;
}
#terms ol li ul {
  margin-left: 20px;
}
#terms ol li ul li {
  list-style: disc;
  padding: 5px 0;
  color: #4e4e4e;
}
#terms table {
  width: 100%;
  border-collapse: collapse;
}
#terms table th {
  background: linear-gradient(to left, #8ca6d1, #4292e9);
  padding: 15px;
  text-align: center;
  color: #fff;
  border-right: #fff 1px solid;
}
#terms table td {
  border: #8ca6d1 1px solid;
  padding: 5px 10px;
  text-align: center;
  font-size: 15px;
  font-family: var(--MSIBodyFont);
}
#terms .title {
  margin: 20px 0 10px;
  position: relative;
}
#terms .title::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  top: 50%;
  background: linear-gradient(to left, #ffdabb, #ff9137);
}
#terms .title span {
  display: inline-block;
  position: relative;
  z-index: 2;
  background: #fff;
  padding-right: 5px;
}
#terms .sub-li li {
  list-style-type: lower-latin;
}
#terms .sub-title {
  border-bottom: 1px solid;
  display: inline-block;
  font-weight: 400;
  color: #e34800;
  margin: 1% auto;
  font-size: 18px;
}
#terms .tc-list-point {
  margin-top: 1.5%;
  color: #4e4e4e;
}

#terms .tc-list-point a {
  color: #e34800;
}
#terms .tc-list-point a:hover {
  text-decoration: underline;
}
