.modal__content {
  background-color: #FFFFFF;
  padding: 24px;
  border-radius: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100dvh;
  width: 100%;
  max-height: 100vh;
  display: flex;
  flex-direction: column; }
  @media (min-width: 768px) {
    .modal__content {
      border-radius: 8px;
      width: fit-content;
      height: fit-content;
      max-height: 90vh; } }
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0;
  font-weight: 500;
  flex-shrink: 0; }
  .modal__header h3 {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    font-weight: 500; }

.modal__info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  width: fit-content;
  flex-shrink: 0; }
  @media screen and (max-width: 768px) {
    .modal__info-grid {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(3, 1fr);
      gap: 12px; } }
.modal__label {
  color: #A0A6B2; }

.modal__value-title {
  font-weight: 700; }

.graphic-table {
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column; }
  .graphic-table__content {
    flex: 1;
    overflow: auto;
    min-height: 100px; }
  .graphic-table__container {
    min-width: fit-content; }
    .graphic-table__container--five-cols {
      min-width: fit-content; }
  .graphic-table__header {
    display: grid;
    grid-template-columns: 44px 122px 120px 85px;
    gap: 16px;
    text-align: center;
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); }
  .graphic-table__body {
    display: grid;
    grid-template-columns: 44px 122px 120px 85px;
    text-align: center;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 16px; }
  .graphic-table__column-title {
    text-wrap: nowrap;
    color: #A0A6B2; }
    .graphic-table__column-title--hidden {
      display: none; }
  .graphic-table__header--five-cols, .graphic-table__body--five-cols {
    grid-template-columns: 44px 122px 120px 85px 120px; }

.modal-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  flex-shrink: 0; }

::-webkit-scrollbar {
  width: 8px;
  height: 8px; }
  ::-webkit-scrollbar-track {
    background-color: #f0f1f1;
    border-radius: 10px; }
  ::-webkit-scrollbar-thumb {
    background: #3DA746;
    border-radius: 10px; }

@supports (scrollbar-width: auto) {
  .graphic-table__content {
    scrollbar-width: auto; } }

.payment-modal {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  padding: 16px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 40px -8px rgba(88, 92, 95, 0.16);
  z-index: 100; }
  @media (min-width: 640px) {
    .payment-modal {
      top: 145px;
      width: 555px; } }
  .payment-modal--hidden {
    display: none; }
  .payment-modal__title {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.5px;
    font-weight: 500;
    margin-bottom: 24px; }
  .payment-modal__options {
    display: flex;
    flex-direction: column;
    gap: 12px; }
    @media (min-width: 640px) {
      .payment-modal__options {
        flex-direction: row;
        justify-content: space-between;
        align-items: stretch; } }
  .payment-modal__option {
    flex: 1; }
  .payment-modal__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0; }
    .payment-modal__radio:checked + .payment-modal__label {
      background-color: #EFFBEF;
      border-color: #3DA746; }
      .payment-modal__radio:checked + .payment-modal__label .payment-modal__option-title {
        color: #3DA746; }
    .payment-modal__radio .payment-modal__label {
      background-color: transparent;
      border-color: #E2E4E9; }
    .payment-modal__radio__option-title {
      color: #3DA746;
      font-size: 16px;
      line-height: 18px;
      letter-spacing: 0;
      font-weight: 500;
      margin-bottom: 12px; }
    .payment-modal__radio__option-description {
      color: #000;
      font-size: 14px;
      line-height: 20px;
      letter-spacing: 0;
      font-weight: 400; }
  .payment-modal__label {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    height: 100%;
    background: white;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in; }
    .payment-modal__label:hover {
      background-color: #f9fafb; }
    .payment-modal__label:focus {
      outline: none; }

.caption-l {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.2px;
  font-weight: 500; }

.caption-l-tertiary {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.2px;
  font-weight: 500;
  color: #A0A6B2; }

.subheading-m {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0px;
  font-weight: 400; }
