html {
  font-family: "Roboto", sans-serif;
}

.mdui-title {
  color: initial !important;
  text-decoration: none !important;
}

.warning {
  color: silver;
  font-size: 12px;
}

.bold {
  font-weight: bold !important;
}

.dialog-title {
  text-align: center;
  font-size: 24px;
}

#input {
  padding-bottom: 10px;
}

p {
  text-align: center;
}

mdui-icon {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

mdui-layout-main {
  padding-top: 0px;
  position: relative;
  margin: 0 auto;
  text-align: center;
  max-width: 90%;
  overflow-wrap: break-word;
}

mdui-navigation-bar {
  max-width: 640px;
  padding: 0 auto;
  margin: 0 auto;
}

#dialog {
  width: 80%;
  max-width: 90%;
  margin: 0 auto;
}
#dialog mdui-button {
  margin: 2px;
}
#dialog #dialog_close {
  width: calc(100% - 4px);
  margin-top: 10px;
}
#dialog .discord_buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#drawer h1 {
  margin-top: 40px;
  margin-left: 16px;
}
#drawer mdui-button {
  vertical-align: text-bottom;
  margin-left: 30px;
  width: 60px;
}

.hidden {
  visibility: hidden !important;
}

.main-container {
  max-width: 90%;
  display: flex;
  flex-direction: column;
}

/* Print styles */
@media print {
  body, html {
    margin: 0;
    padding: 0;
    min-height: unset !important;
    height: auto !important;
  }

  #barcode {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 80vh;
    width: auto;
    height: auto;
    page-break-inside: avoid;
    page-break-after: avoid;
    page-break-before: avoid;
  }

  .output {
    display: flex;
    justify-content: center;
    align-items: flex-start !important;
    min-height: unset !important;
    height: auto !important;
    width: 100%;
    page-break-inside: avoid;
    page-break-after: avoid;
    page-break-before: avoid;
  }

  * {
    page-break-inside: avoid;
  }

  br {
    display: none !important;
  }
}
