:root {
  --grey: #81888c;
  --box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
  --check-font-regular: "IBM Plex Mono", IBM Plex, monospace, sans-serif;
}
.un-steps__check {
  display: block;
  margin: 0px 0px 1.4rem;
}
.check {
  box-shadow: var(--box-shadow);
  max-width: 100%;
  font-family: var(--check-font-regular);
  font-size: 0.9rem;
}
.check__wrapper {
  padding: 0.5rem;
}
.check__iban {
  margin-bottom: 1rem;
  display: block;
  font-weight: 500;
}
.check__top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.check__top-col-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
}
.check__top-col-1-row {
  display: flex;
  flex-direction: column;
}
.check__top-col-title {
  color: var(--grey);
  margin-bottom: 8px;
  margin-top: 8px;
}
.check__top-col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.check__bot {
  border-bottom: 3px solid rgb(0, 0, 0);
}
.check__bot-grid {
  display: grid;
  grid-template-columns: 1fr 5fr 1fr 1fr 1fr;
}
.check__bot-grid-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgb(0, 0, 0);
}
.check__bot-grid-col-title {
  font-weight: 500;
  background-color: rgba(128, 128, 128, 0.39);
  border-right: 1px solid rgb(0, 0, 0);
  border-bottom: 3px solid rgb(0, 0, 0);
  padding-left: 2px;
}
.check__thanks {
  text-align: right;
  display: block;
  margin: 0.5rem 2rem;
}
.un-steps__check-mobile {
  display: none;
}
@media (max-width: 1200px) {
  .check {
    font-size: 0.85rem;
  }
}
@media (max-width: 980px) {
  .un-steps__check {
    display: none;
  }
  .un-steps__check-mobile {
    display: block;
    padding: 2rem;
    border: 1px solid grey;
    font-family: var(--check-font-regular);
    line-height: 1.3;
    margin: 0px 0px 1.4rem;
  }
  .check-mobile__top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-bottom: 1.5px solid rgb(102, 102, 102);
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
  }
  .check-mobile__bot {
    display: flex;
    width: 100%;
    justify-content: space-between;
    font-size: 1.5rem;
  }
  .check-mobile_lcolumn {
    display: block;
    text-align: left;
    color: rgb(102, 102, 102);
  }
  .check-mobile_rcolumn {
    display: block;
    text-align: right;
    color: rgb(0, 0, 0);
  }
  .check-mobile_sum-text {
    font-size: 1.8rem;
    color: rgb(0, 0, 0);
  }
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: 1rem;
  }
  .check-mobile__logo {
    margin: 0.5rem auto 1rem;
    max-width: 200px;
    width: 100%;
    height: 25px;
    object-fit: cover;
  }
  .check-mobile_amount,
  .check-mobile__date {
    color: rgb(102, 102, 102);
    margin-bottom: 0.5rem;
  }
  .check-mobile_amount {
    font-size: 1.4rem;
  }
  .check-mobile__date {
    margin: 1.5rem auto;
    font-size: 1rem;
  }
}
@media (max-width: 840px) {
  .un-steps__check-mobile {
    padding: 1.5rem;
  }
  .check-mobile__top {
    margin-bottom: 1rem;
  }
  .check-mobile_sum-text {
    font-size: 1.4rem;
    color: rgb(0, 0, 0);
  }
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: 0.75rem;
    margin: 0.6rem;
  }
  .check-mobile__logo {
    margin: 0.6rem auto;
  }
  .check-mobile_amount,
  .check-mobile__date {
    color: rgb(102, 102, 102);
    margin-bottom: 0.6rem;
  }
  .check-mobile_amount {
    font-size: 1.1rem;
  }
  .check-mobile__date {
    margin: 0.7rem auto;
    font-size: 0.9rem;
  }
}
@media (max-width: 580px) {
  .un-steps__check-mobile {
    padding: 1.5rem;
  }
  .check-mobile__top {
    margin-bottom: 1rem;
  }
  .check-mobile__logo {
    margin: 0.6rem auto;
  }
  .check-mobile_amount,
  .check-mobile__date {
    color: rgb(102, 102, 102);
    margin-bottom: 0.6rem;
  }
  .check-mobile_amount {
    font-size: 1.1rem;
  }
  .check-mobile__date {
    margin: 0.7rem auto;
    font-size: 0.9rem;
  }
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: 0.8rem;
    margin: 0.6rem;
  }
  .un-steps__check-mobile {
    padding: 1.5rem;
  }
  .check-mobile_sum-text {
    font-size: 1.4rem;
  }
}
@media (max-width: 460px) {
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: 0.7rem;
  }
  .check-mobile_amount {
    font-size: 1rem;
  }
  .check-mobile__date {
    font-size: 0.9rem;
  }
}
@media (max-width: 420px) {
  .check-mobile_lcolumn p,
  .check-mobile_rcolumn p {
    font-size: 0.6rem;
  }
  .un-steps__check-mobile {
    padding: 0.8rem;
  }
  .check-mobile_amount {
    font-size: 1rem;
  }
  .check-mobile__date {
    margin: 0.7rem auto;
    font-size: 0.8rem;
  }
  .check-mobile_sum-text {
    font-size: 1.2rem;
  }
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #00000070;
  padding: 20px;
}

.modal-inner {
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
  padding: 10px;
  border-radius: 16px;
  background-color: #fff;
  max-width: 450px;
  margin: 0 auto;
}

#close {
  position: relative;
  left: 92%;
  background-color: transparent;
  padding: 5px;
  cursor: pointer;
  border: none;
  font-size: 24px;
}