/** App styles */
html {
  font-size: 10px;
}

@media (min-width: 992px) {
  html {
    font-size: 14px;
  }
}

body {
  min-width: 520px;
}

.qrcodes-table {
  margin-bottom: 100px;
}

.qrcodes-table > :not(caption) > * > * {
  padding: 1rem 1rem;
}

.qrcodes-table thead {
  text-transform: uppercase;
}

.qrcodes-table td {
  word-break: break-word;
}

.qrcodes-table tr td:nth-child(1) {
  width: 66px;
}

.qrcodes-table tr td:nth-child(2) {
  width: 70px;
}

.qrcodes-table tr td:nth-child(3) {
  width: auto;
}

.qrcodes-table tr td:nth-child(4) {
  width: 92px;
  word-break: break-all;
}

.qrcodes-table tr td:nth-child(5) {
  min-width: 130px;
}

@media (min-width: 768px) {
  .qrcodes-table tr td:nth-child(1) {
    width: 82px;
  }
  
  .qrcodes-table tr td:nth-child(2) {
    width: 72px;
  }
}

@media (min-width: 992px) {
  .qrcodes-table tr td:nth-child(1) {
    width: 101px;
  }
  
  .qrcodes-table tr td:nth-child(2) {
    width: 101px;
  }
  
  .qrcodes-table tr td:nth-child(3) {
    width: 280px;
  }
  
  .qrcodes-table tr td:nth-child(4) {
    width: 130px;
  }
}

@media (min-width: 1200px) {
  .qrcodes-table tr td:nth-child(4) {
    width: auto;
  }
  
  .qrcodes-table tr td:nth-child(5) {
    width: 180px;
  }
}

.leads-to-raw {
  margin-bottom: 1rem;
  display: none;
}

@media (min-width: 1200px) {
  .leads-to-raw {
    display: block;
  }  
}

.qrcodes-table tbody img {
  width: 44px;
  height: auto;
  user-select: none;
}

@media (min-width: 768px) {
  .qrcodes-table tbody img {
    width: 60px;
  }
}

@media (min-width: 992px) {
  .qrcodes-table tbody img {
    width: 80px;
  }
}

.add-form-wrapper {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: auto;
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1;
}

.add-form-wrapper form {
  background: var(--bs-light);
  width: 100%;
  display: none;
}

.add-form-wrapper .add-form-trigger {
  width: 40px;
  height: 40px;
  overflow: hidden;
  font-size: 2.5em;
  line-height: 20px;
}

@media (min-width: 992px) {
  .add-form-wrapper .add-form-trigger {
    width: 70px;
    height: 70px;
    line-height: 36px;
  }
}

.add-form-wrapper.showed {
  width: 320px;
  bottom: auto;
  right: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column-reverse;
}

.add-form-wrapper.showed form {
  display: block;
}

.add-form-wrapper.showed .add-form-trigger {
  width: 50px;
  height: 40px;
  font-size: 1.5em;
  line-height: 24px;
}

.page-cap {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  z-index: 0;
}

.page-cap.showed {
  opacity: 1;
  visibility: visible;
}
