.bottom-sheet-wrapper {
  display: none;
}

.bottom-sheet-wrapper .backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease-in-out;

  /* initially it will be hidden */
  opacity: 0;
  pointer-events: none;
  overflow-y: hidden;
}

.bottom-sheet-wrapper .bottom-sheet {
  background: #fff;
  width: 100%;
  min-height: 200px;
  position: absolute;
  z-index: 2000;
  border-radius: 15px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: all 0.2s ease-in-out;
  position: fixed;

  /* centereing an absolute div */
  left: 50%;
  transform: translateX(-50%);

  /* initially it will be pushed down out of the view. */
  bottom: -110%;
}

.bottom-sheet-wrapper.show-modal {
  display: block;
}

.bottom-sheet-wrapper.show-modal .backdrop {
  opacity: 1;
  pointer-events: all;
  z-index: 100;
}

.bottom-sheet-wrapper.show-modal .bottom-sheet {
  bottom: 0px;
}

.close {
  position: absolute;
  width: 16px;
  height: 16px;
  right: 6px;
  top: 12px;
  margin: 10px;
  cursor: pointer;
  z-index: 100;
}

.close span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #000000;
  transform: rotate(45deg);
}

.close span::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #000000;
  transform: rotate(90deg);
}

.bottom-sheet-header {
  flex: 0 1 0%;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 1px solid rgb(231, 231, 232);
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  padding-top: 1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  position: relative;
  padding-bottom: 8px !important;
  -webkit-box-pack: center !important;
  justify-content: center !important;
}

.bottom-sheet-header .header {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  margin-right: 1.25rem;
}

.bottom-sheet-body {
  flex: 1 1 0%;
  overflow: auto;
  width: 100%;
  height: 500px;
  padding: 0px !important;
  font-size: 14px;
  font-weight: 300;
}

.bottom-sheet-body p {
  margin: 0;
}

.bottom-sheet-content-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  gap: 0.5rem;
  padding: 1rem;
}

.bottom-sheet-content img {
  position: relative;
}

.bottom-sheet-subheader {
  display: flex;
  flex-direction: column;
  gap: 2px;
  --tw-text-opacity: 1;
  color: rgba(134, 134, 135, var(--tw-text-opacity));
  font-size: 0.875rem;
  line-height: 1.25rem;
  padding: 1rem;
  border-bottom: 1px solid rgb(231, 231, 232);
}

.bottom-sheet-subheader .content-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bottom-sheet-subheader .content-wrapper svg {
  flex: none;
  --tw-text-opacity: 1;
  color: rgba(1, 126, 254, var(--tw-text-opacity));
}

.bottom-sheet-subheader .content-wrapper .content {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
