body.modal-open {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10002;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-dialog {
  width: 720px;
  max-width: 100%;
  margin: 0;
}

.modal-content {
  background-color: var(--white);
  border-radius: 25px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInUp 0.3s ease-out;
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.modal-header span.title {
  font-size: var(--body1-font-size);
  font-weight: var(--bold-weight);
  line-height: 1.2;
}

.modal-header .btn-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: var(--brown-600);
  border: none;
  font-size: 32px;
  color: var(--white);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header .btn-close:hover {
  background-color: var(--aquamarine-600);
}

.modal-header .btn-close span{
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.modal-header .btn-close span::before,
.modal-header .btn-close span::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
  border-radius: 2px;
}

.modal-header .btn-close span::before{
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-header .btn-close span::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-body {
  padding: 0 24px 30px 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-body .body-text {
  margin-top: 20px;
}

.modal-list {
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
}

.modal-list li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.modal-list li:last-child {
  border-bottom: none;
}

.modal-list li i {
  font-size: 24px;
  margin-right: 16px;
}

@keyframes fadeInUp {
  from {
  opacity: 0;
  transform: translateY(20px);
  }
  to {
  opacity: 1;
  transform: translateY(0);
  }
}

@media (max-width: 575px) {
  
  .modal-dialog {
  width: 100vw;
  height: 100%;
  }
  
  .modal-content {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  border-radius: 0;
  }
  
  .modal-header {
  background-color: var(--white);
  }
  
  .modal-header .btn-close {
    order: 0;
  }
  
  .modal-header span {
    order: 1;
  }
  
  .modal-body {
    padding: 0 24px 24px 24px;
  }
  
}