main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 328px;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
}



.modal__picture img {
  max-width: 80%;
}

.download-app {
  background-image: url('../img/download-app.png');
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  padding: 16px;
  border-radius: var(--border-radius);

  p.l-2 {
    margin-top: 8px;
  }

  .button {
    margin-top: auto;
    height: 35px;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    color: var(--foreground-primary);
    background: white;

    &:hover {
      background: white;
      color: var(--foreground-primary);
    }
  }
}

.invoice-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(auto-fit, 17px);
  padding: 16px;
  gap: 16px;
  border: 1px solid var(--color-gray-3);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0;
  width: 100%;
  border-radius: 8px;

  & > *:nth-child(2n) {
    font-weight: 700;
    text-align: right;
  }
}

.invoice-data {
  display: grid;
  grid-template-columns: minmax(auto, 184px) minmax(auto, 144px);
  grid-template-rows: 1fr;
  border: 1px solid var(--color-gray-3);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0;
  width: 100%;
  border-radius: 8px;

  .invoice-data__column {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(auto-fit, minmax(17px, auto));
    gap: 16px;
    border-right: 1px solid var(--color-gray-3);
    padding: 16px;

    &:nth-child(2) {
      p {
        font-weight: 700;
        font-size: 12px;
        line-height: 120%;
        letter-spacing: 0;
        text-align: right;
        text-transform: uppercase;

        &.green {
          color: #34c759;
        }
      }
    }
  }
}

.invoice-total {
  display: grid;
  grid-template-columns: minmax(auto, 176px) minmax(auto, 136px);
  align-items: center;
  grid-template-rows: 1fr;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0;
  text-align: right;
  gap: 16px;
  width: 100%;

  p {
    text-transform: uppercase;
    text-align: right;

    &:nth-child(2) {
      font-weight: 700;
      padding: 16px;
      border: 1px solid var(--color-gray-3);
      border-radius: 8px;
    }
  }
}

a {
  font-weight: 600;
}

.button {
  position: sticky;
  bottom: 16px;
}

.why {
  margin-top: 24px;

}


.why__title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 120%;
  text-align: center;
  color: #0E090A;
  margin-bottom: 8px;
}

.why__txt {
  text-align: center;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: #0E090A;
}





.why__list {
  padding: 30px 20px;
  background: #F4F3F3;
  border-radius: 16px;
  margin-bottom: 24px;
}

.why-item {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #D3D3D3;
}

.why-item__img img {
  width: 43px;
}

.why-item__img {
  margin-right: 16px;
}

.why-item__title {
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  color: #DA022A;
}


.why-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}


.why__app {
  padding: 20px;
  border: 1px solid #F4F3F3;
  border-radius: 16px;
  display: flex;
  align-items: center;
}


.why__app img {
  width: 48px;
}

.why__app-img {
  margin-right: 24px;
}

.why__app-txt {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #0E090A;
}


.why-item__txt {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  color: #0E090A;
}