/* CSS for the Tricorder USB flasher web interface */
/* This file is part of the JS-Flasher project */
body {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: large;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
header {
  background-color: #f8f9fa;
  box-shadow: rgba(0,0,0,0.25) 0px 0px 8px 0px;
  padding: 10px;
}
.large-thin-caps {
  font-size: 3em;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.smallButton {
  text-decoration: none;
  background-color: #eee;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: small;
  color: #666;
}
a:hover {
  filter: brightness(90%);
}
.whenDisconnected {
  display: block;
}
.whenConnected {
  display: none;
}
.greyBg {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
}
.horizontalGroup {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn {
  font-size: large;
}
.code {
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  font-size: x-small;
  color: #666;
  overflow-y: scroll;
  height: 100px;
  white-space: pre;
    }
.progress-bar {
  transition-duration: 0.2s;
}
#connectSection {
  display: none;
}
#connectContainer {
  min-height: 70px;
}
#upgradeButton {
  border: #000000 1px solid;
  min-width: 100px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
#upgradeButton:hover {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
#upgradeButton:disabled, #upgradeButton[disabled] {
  background-color: #eee;
  opacity: 0.3;
}
#introText {
  margin-bottom: 1rem;
}
#postUpgradeInfo {
  display: none;
}
#log {
  height: 300px;
  margin-top: 10px;
  display: block;
}
.custom-file-button input[type=file] {
  margin-left: -2px !important;
}
.custom-file-button input[type=file]::-webkit-file-upload-button {
  display: none;
}
.custom-file-button input[type=file]::file-selector-button {
  display: none;
}
.custom-file-button:hover label {
  background-color: #dde0e3;
  cursor: pointer;
}
.btn-warning {
  --bs-btn-disabled-color: #878787;
  --bs-btn-disabled-bg: #ecd388;
}