/* #region modal-sheet */

/* #region modal */

.modal-sheet {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(2px);
  transition: all 0.5s step-end;
}

.modal-sheet.active {
  opacity: 1;
  pointer-events: all;
  transition: all 0.5s step-start;
}

.modal-sheet-back {
  position: absolute;
  inset: 0;
  background-color: #0000003b;
}

/* #endregion modal */

/* #region modal-content */

.modal-sheet-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-primary);
  overflow-y: hidden;
  z-index: 1;
  transition: all 0.5s ease-in-out;
  max-width: calc(100% - 32px) !important;
  max-height: calc(100% - 32px) !important;
  border-radius: 16px;
  margin: 16px;
  overflow-x: hidden;
}

.modal-sheet-content.h-100 {
  height: 100% !important;
}

.modal-vectorBack{
  position: absolute;
  bottom: -120px;
  right: -40px;
  width: 100%;
  z-index: -1;
}


/* #region modal-header */

.modal-sheet-header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 24px 0 0 0 ;
  background: var(--color-primary);
}
.modal-sheet-header > p{
    margin-top: 10px !important;
    font-size: 1rem;
}

.modal-sheet-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #3a3a3a;
  margin: 0;
  gap: 8px;
}

.modal-sheet-btnClose {
  position: absolute;
  left: 24px;
  display: none;
}

.modal-sheet-btnBack {
  position: absolute;
  right: 24px;
}

/* #endregion modal-header */

/* #region modal-body */

.modal-sheet-body {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px;
  overflow-y: auto;
}

.modal-sheet-body.p-0 {
  padding: 0;
}

/* #endregion modal-body */

/* #region modal-footer */

.modal-sheet-footer {
  width: calc(100% - 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--color-neutral-200);
}

/* #endregion modal-footer */

/* #endregion modal-content */

/* #region modal-bottomSheet */

.bottomSheet-content {
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: 100vh;
  transform: translateY(100%);
}

.modal-sheet.active .bottomSheet-content {
  animation: showModalBottom 0.5s ease-in-out;
  transform: translateY(0);
}

@keyframes showModalBottom {
  0% {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }

  10% {
    opacity: 1;
    pointer-events: all;
  }

  100% {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
}

/* #endregion modal-bottomSheet */

/* #region modal-rightSheet */

.rightSheet-content {
  right: 0;
  top: 0;
  max-width: 100%;
  height: 100%;
  transform: translateX(100%);
}

.modal-sheet.active .rightSheet-content {
  animation: showModalRight 0.5s ease-in-out;
  transform: translateX(0);
}

@keyframes showModalRight {
  0% {
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
  }

  10% {
    opacity: 1;
    pointer-events: all;
  }

  100% {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
  }
}

/* #endregion modal-rightSheet */

@media screen and (min-width: 992px) {
  .modal-sheet {
    transition: all 0.3s step-end;
  }

  .modal-sheet.active {
    transition: all 0.3s step-start;
  }

  .modal-sheet-content {
    inset: auto;
    width: 500px;
    max-width: 80%;
    max-height: 80%;
    border-radius: var(--radius-global) !important;
    transform: none !important;
    opacity: 0;
  }

  .modal-sheet.active .modal-sheet-content {
    opacity: 1;
    animation: none;
  }

  .modal-sheet-btnClose {
    display: block;
  }

  .modal-sheet-btnBack {
    display: none;
  }

  .modal-sheet-body::-webkit-scrollbar {
    width: 8px;
    background-color: var(--color-neutral-100);
    border-radius: 0 0 8px 8px;
  }

  .modal-sheet-body::-webkit-scrollbar-thumb {
    background-color: var(--color-neutral-300);
    border-radius: 8px;
  }
}

@media screen and (min-width: 1200px) {
  .modal-sheet-content {
    max-width: 992px;
  }
}

/* #endregion modal-sheet */
