body.showmodal{
  overflow: hidden;
}
.modal-backdrop{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(12, 27, 49, 0.6);
  z-index: 999;
  -webkit-backdrop-filter: blur(0.4rem);
  backdrop-filter: blur(0.4rem);
}
.modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}
.modal.show{
  display: block;
}
.modal-dialog{
  --modal-margin: 5rem;
  position: relative;
  pointer-events: none;
  width: 100%;
  max-width: 50rem;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  margin: var(--modal-margin) auto;
  min-height: calc(100% - var(--modal-margin) * 2);
}
.modal-content{
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: var(--white);
  background-clip: padding-box;
}
.modal-head-block{
  background: var(--dark-black);
  padding: 3rem 2.5rem;
  border-radius: 0 0 2.4rem 2.4rem;
  position: relative;
}
.modal-head{
  display: flex;
  flex-wrap: wrap;
  border: 0.13rem solid var(--gold);
  padding: 1.3rem 1.3rem 1.1rem 2.3rem;
  border-radius: 0.9rem;
}
.modal-head-item:first-child{
  width: 29rem;
  padding-right: 1.6rem;
}
.modal-head-item:nth-child(2){
  width: calc(100% - 29rem);
}
.modal-head-item span{
  display: block;
  font-size: 1.8rem;
  line-height: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.18px;
  margin: 0 0 0.6rem;
}
.modal-head-block .square-shape-outer{
  position: absolute;  
  bottom: -1.9rem;
}
.modal-body{
  padding: 3rem 2.6rem;
}
.modal-body .h5{
  text-transform: initial;
  letter-spacing: 0;
  line-height: 2.2rem;
  margin-bottom: 2rem;
}
.modal-body .h5:last-child{
  margin-bottom: 0;
}
.table-modal{
  width: 100%;
}
.table-modal th,
.table-modal td{
  text-align: left;
  padding: 1.6rem;
  font-size: 1.4rem;
  line-height: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid var(--light-gold);
  border-left: 0;
  border-right: 0;
  letter-spacing: 0;
}
.table-modal th:last-child,
.table-modal td:last-child{
  text-align: right;
}
.table-modal td{
  color: var(--dark-black);
}
.btn-modal-close{
  position: absolute;
  top: -4.2rem;
  right: -1.7rem;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 0.13rem solid var(--gold);
  border-radius: 1rem 0 1rem 0;
}
.btn-modal-close:hover{
  background: var(--gold);
}
.btn-modal-close:hover img{
  -webkit-filter: brightness(0) invert(100%);
  filter: brightness(0) invert(100%);
}
@media(max-width:767.98px){
  .btn-modal-close {
    right: 0;
  }
  .modal-head-item:first-child {
    width: 100%;
    padding-right: 0;
  }
  .modal-head-item:nth-child(2) {
    width: 100%;
    margin-top: 0.8rem;
  }
  .table-modal th, .table-modal td {
    padding: 1.2rem;
  }
}