#disclaimerModal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;

  &.disclaimer-modal-show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .modal-content {
    display: flex;
    width: 800px;
    flex-direction: column;
    // align-items: flex-start;
    padding: 24px;
    gap: 24px;
    border: none;
    border-radius: 1px;
    background: #FFFFFF;
    // box-shadow: 0 0 16px 0 rgba(29, 29, 29, 0.12);
    overflow: hidden;
  }

  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    width: 100%;
    border: none;

    .disclaimer-modal-primary-title-js {
      font-weight: 600;
      margin: 0;
      color: #1D1D1D;
      font-family: "Source Sans 3";
      font-size: 24px;
      font-style: normal;
      font-weight: 600;
      line-height: 32px;
    }

    .close {
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      line-height: 1;
    }
  }

  .modal-body {
    // font-size: 0.9375rem;
    // line-height: 1.6;
    padding: 0rem;

    .disclaimer-modal-secondary-title-js {
      font-family: "Source Sans 3";
      font-size: 16px;
      font-style: normal;
      font-weight: 400;
      line-height: 24px;
      padding-bottom: 28px;
    }

    .disclaimer-modal-description-js {
      margin: 0px;

      ul:last-child {
        margin-bottom: 0px;
      }
    }
  }

  .modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: none;
    padding: 0px !important;
    gap: 16px;

    .disclaimer-modal-cancel-js {
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0;
      font-weight: 600;
      background: #FFFFFF;
      border: 1px solid #0A8276;
      color: #0A8276;
      padding: 8px 16px;
      cursor: pointer;
      border-radius: 2px;
      margin: 0;
    }

    .disclaimer-modal-confirm-js {
      margin: 0;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0;
      font-weight: 600;
      background: #0A8276;
      color: #FFFFFF;
      padding: 8px 16px;
      cursor: pointer;
      border-radius: 2px;

      &:hover {
        background: #08665C;
      }
    }
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #disclaimerModal {
    .modal-content {
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    .modal-body {
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    .modal-footer {
      gap: 16px;
    }
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  #disclaimerModal {
    .modal-content {
      width: 100%;
      height: 100vh;
      padding: 24px 16px;
      overflow: hidden;
    }

    .modal-body {
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    .modal-footer {
      gap: 16px;
    }
  }
}

@media (min-width: 360px) and (max-width: 575px) {
  #disclaimerModal {
    align-items: center;

    .modal-content {
      width: 100%;
      height: 100vh;
      padding: 24px 16px;
      overflow: hidden;
    }

    .modal-body {
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    .modal-footer {
      flex-direction: column-reverse;
      flex-wrap: unset;
      gap: 16px;

      .disclaimer-modal-cancel-js,.disclaimer-modal-confirm-js {
        width: 100%;
      }
    }
  }
}