html {
  scrollbar-gutter: stable;
}
body.modal-open {
  padding-right: 0 !important;
  overflow: hidden !important;
}
#academyTipModal {
  background: rgba(35, 24, 21, 0.5);
}

.academy-modal-dialog {
  max-width: 44.8958vw;
}

.academy-modal-content {
  width: 44.8958vw;
  height: 40.7292vw;
  padding: 2.0833vw 2.9167vw 1.6667vw;
  border: none;
  border-radius: 0.8333vw;
  overflow: hidden;
  position: relative;
  background: #fafafa;
}

.academy-modal-header {
  border-bottom: none;
  padding: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25vw;
}

.academy-modal-title {
  color: #231815;
  text-align: center;
  margin: 0;
  font-family: "Montserrat-SemiBold";
  font-family: Montserrat;
  font-size: 1.6667vw;
  font-style: normal;
  line-height: 150%;
  text-transform: capitalize;
}

.academy-modal-header .close {
  position: absolute;
  top: -0.8333vw;
  right: -1.6667vw;
  z-index: 1;
  opacity: 0.6;
  margin: 0;
  padding: 0;
}

.custom-close-icon {
  font-size: 1.25vw;
}

.academy-modal-body {
  padding: 0;
  flex: none;
  width: 39.0625vw;
  height: 28.6458vw;
}
.academy-modal-body > div:first-child {
    height: 100%;
}
.academy-modal-body img {
  width: 100%;
  height: 100%;
  border-radius: .625vw;
}

.academy-modal-img {
  width: 39.0625vw;
  height: 28.6458vw;
  margin: 0 auto;
}

.academy-modal-img img {
  width: 39.0625vw;
  height: 28.6458vw;
  display: block;
  object-fit: cover;
}

.academy-modal-footer {
  border-top: none;
  padding: 2.5vw 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.academy-modal-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.academy-modal-checkbox input[type="checkbox"] {
  margin-right: 0.4167vw;
  width: 0.9375vw;
  height: 0.9375vw;
  cursor: pointer;
  accent-color: #1890ff;
}

.academy-modal-checkbox label {
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  color: #231815;
  font-family: Montserrat;
  font-size: 0.7292vw;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-transform: capitalize;
}

.academy-modal-btn {
  cursor: pointer;
  display: flex;
  padding: 0.4167vw 2.0833vw;
  justify-content: center;
  align-items: center;
  gap: 2.0833vw;
  border-radius: 1.25vw;
  background: #3a66fb;
  backdrop-filter: blur(15px);
  color: #fff;
  text-align: center;
  font-family: "Montserrat-SemiBold";
  font-size: 0.8333vw;
  font-style: normal;
  line-height: 150%;
}

@media (max-width: 768px) {
  .academy-modal-dialog {
    max-width: 92vw;
    margin: 0 auto;
  }

  .academy-modal-content {
    width: 92vw;
    height: auto;
    padding: 5.3333vw 4.2667vw 4.2667vw;
    border-radius: 4.2667vw;
  }

  .academy-modal-header {
    margin-bottom: 6.4vw;
  }

  .academy-modal-title {
    font-size: 8.5333vw;
  }

  .academy-modal-header .close {
    top: -4.2667vw;
    right: -4.2667vw;
  }

  .custom-close-icon {
    font-size: 6.4vw;
  }
.academy-modal-body{
    width: 100%;
    height: auto;
    overflow-y: scroll;
    max-height: 66.6667vw;
}
  .academy-modal-img {
    width: 100%;
    height: auto;
  }
.academy-modal-body img{
  border-radius: 3.2vw;
}
  .academy-modal-img img {
    width: 100%;
    height: auto;
  }

  .academy-modal-footer {
    padding: 6.4vw 0 0;
    flex-direction: column;
    gap: 4.2667vw;
    align-items: stretch;
  }

  .academy-modal-checkbox input[type="checkbox"] {
    margin-right: 2.1333vw;
    width: 4.8vw;
    height: 4.8vw;
  }

  .academy-modal-checkbox label {
    font-size: 3.7333vw;
  }

  .academy-modal-btn {
    padding: 2.1333vw 10.6667vw;
    gap: 0;
    border-radius: 6.4vw;
    font-size: 4.2667vw;
    text-align: center;
    justify-content: center;
  }
}
