.fees-section-q7mr {
  width: calc(100% - 16px);
  max-width: 1920px;
  margin: 8px auto;
  box-sizing: border-box;
  position: relative;
}

.fees-q7mr {
  display: flex;
  flex-direction: column;
  background-color: #282834;
  border-radius: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.fees__image-col-q7mr {
  padding: 0 8px 8px;
  display: flex;
  width: 100%;
  box-sizing: border-box;
}

.fees__image-q7mr {
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.fees__image-q7mr img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fees__content-q7mr {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  order: -1;
}

.fees__top-q7mr {
  padding: 24px;
}

.fees__title-q7mr {
  margin: 0;
  max-width: 800px;
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-feature-settings: 'ss04' on, 'case' on;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -1.28px;
  color: #ffffff;
}

.fees__bottom-q7mr {
  display: flex;
  flex-direction: column;
}

.fees__numbers-row-q7mr {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.fees__item-q7mr {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  min-height: 56px;
  padding: 8px 0;
  box-sizing: border-box;
}

.fees__item-q7mr:not(:last-child)::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.fees__label-q7mr {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'case' on;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0;
  color: #ffffff;
}

.fees__value-q7mr {
  flex-shrink: 0;
  font-family: 'Proxima Nova', sans-serif;
  font-feature-settings: 'salt' on;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.6px;
  color: #ffffff;
  text-align: right;
}

.fees__actions-q7mr {
  padding: 0 24px 24px;
}

.fees__btn-q7mr {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: none;
  border-radius: 12px;
  width: 164px;
  height: 40px;
  padding: 2px 16px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'case' on;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 0.18s ease-out;
}

.fees__btn-q7mr:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.fees-modal-overlay-q7mr {
  position: fixed;
  inset: 0;
  background-color: rgba(40, 40, 52, 0.5);
  visibility: hidden;
  opacity: 0;
  z-index: 900;
}

.fees-modal-overlay--open-q7mr {
  visibility: visible;
  opacity: 1;
}

.fees-modal-sheet-q7mr {
  position: fixed;
  inset: auto 8px 8px;
  width: calc(100% - 16px);
  max-width: none;
  height: auto;
  max-height: calc(100dvh - 16px);
  margin: 0;
  padding: 24px;
  border: none;
  border-radius: 20px;
  background-color: #ffffff;
  color: #282834;
  box-sizing: border-box;
  overflow: hidden;
}

.fees-modal-sheet-q7mr[open] {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.fees-modal-sheet-q7mr::backdrop {
  background-color: transparent;
}

.fees-modal__header-q7mr {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-shrink: 0;
}

.fees-modal__title-q7mr {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-feature-settings: 'ss04' on, 'case' on;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -1.28px;
  color: #282834;
}

.fees-modal__close-q7mr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background-color: transparent;
  color: #646587;
  cursor: pointer;
}

.fees-modal__close-icon-q7mr,
.fees-modal__arrow-q7mr {
  flex-shrink: 0;
  pointer-events: none;
}

.fees-modal__body-q7mr {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.fees-modal__body-q7mr::-webkit-scrollbar {
  display: none;
}

.fees-modal__category-q7mr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
}

.fees-modal__category--qr-q7mr {
  padding-top: 24px;
}

.fees-modal__category-title-q7mr,
.fees-modal__group-title-q7mr {
  margin: 0;
  align-self: stretch;
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'case' on;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0;
  color: #282834;
}

.fees-modal__link-q7mr {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'case' on;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  color: #434ce4;
  text-decoration: none;
  white-space: nowrap;
}

.fees-modal__group-title-q7mr {
  padding: 24px 0 16px;
}

.fees-modal__category-q7mr + .fees-modal__group-q7mr .fees-modal__group-title-q7mr {
  padding-top: 0;
}

.fees-modal__row-q7mr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 12px;
}

.fees-modal__row-q7mr:nth-child(odd) {
  background-color: #f4f5f9;
}

.fees-modal__row-label-q7mr,
.fees-modal__row-value-q7mr {
  flex: 1;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'case' on;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  color: #282834;
}

.fees-modal__row-value-q7mr {
  font-weight: 400;
  text-align: right;
}

.fees-modal__rows--qr-q7mr .fees-modal__row-value-q7mr {
  flex: 0 0 56px;
}

.fees-modal__note-q7mr {
  margin: 0;
  max-width: 489px;
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'case' on;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
  color: #646587;
}

@media (min-width: 1024px) {
  .fees-q7mr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    height: calc(100dvh - 16px);
    min-height: 712px;
  }

  .fees__image-col-q7mr {
    min-width: 0;
    padding: 8px 0 8px 8px;
    width: auto;
  }

  .fees__image-q7mr {
    aspect-ratio: auto;
  }

  .fees__content-q7mr {
    order: 0;
  }

  .fees__top-q7mr {
    padding: 40px;
  }

  .fees__title-q7mr {
    font-size: 72px;
    line-height: 72px;
    letter-spacing: -2.88px;
  }

  .fees__bottom-q7mr {
    padding: 40px;
    gap: 32px;
  }

  .fees__numbers-row-q7mr {
    padding: 0;
    gap: 8px;
  }

  .fees__item-q7mr {
    height: 72px;
    min-height: 72px;
    padding: 0;
    gap: 16px;
  }

  .fees__label-q7mr {
    font-size: 24px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.8);
  }

  .fees__value-q7mr {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1.92px;
  }

  .fees__actions-q7mr {
    padding: 0;
  }

  .fees__btn-q7mr {
    width: 180px;
    height: 48px;
    padding: 2px 24px;
  }

  .fees-modal-sheet-q7mr {
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    max-height: calc(100dvh - 96px);
    padding: 40px;
  }

  .fees-modal__header-q7mr {
    align-items: center;
  }

  .fees-modal__title-q7mr {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1.92px;
  }

  .fees-modal__close-q7mr {
    width: 48px;
    height: 48px;
    padding: 2px 0;
    border-radius: 12px;
    background-color: #e9f1ff;
    color: #434ce4;
  }

  .fees-modal__body-q7mr {
    gap: 32px;
  }

  .fees-modal__category-q7mr {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
  }

  .fees-modal__category--qr-q7mr {
    align-items: flex-start;
    padding-bottom: 16px;
  }

  .fees-modal__category-title-q7mr {
    align-self: auto;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }

  .fees-modal__rows--qr-q7mr .fees-modal__row-value-q7mr {
    flex: 1;
  }

  .fees-modal__rows--qr-q7mr .fees-modal__row-label-q7mr {
    flex: 0 0 316px;
  }

  .fees-modal__rows--qr-q7mr .fees-modal__row-q7mr:first-child .fees-modal__row-label-q7mr {
    white-space: pre-wrap;
  }

  .fees-modal__rows--qr-q7mr .fees-modal__row-q7mr + .fees-modal__row-q7mr .fees-modal__row-label-q7mr {
    flex: 1;
  }

  .fees-modal__note-q7mr {
    font-size: 14px;
    line-height: 18px;
  }
}
