html,body
{
  margin:0;
  padding:0;
}
body
{
  background: rgb(41, 48, 66);
  font-family: Poppins, sans-serif;
  font-size: 22.8px;
  color: #fff;
}
.card-header
{
  padding: 8px 16px;
}
h4
{
  opacity: 0.75;
  line-height: 27.36px;
  font-weight: 500;
  font-size: 22.8px;
  margin:0;
}
button
{
  background: rgb(11, 94, 132);
  border: 1px solid rgb(9, 78, 110);
  border-radius: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  height: 53px;
  line-height: 30.6px;
  width: 100%;
  max-width: 388px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}
button:hover
{
  background: rgb(9, 78, 110);
}
input
{
  background: rgb(41, 48, 66);
  border: 1px solid rgb(141, 163, 177);
  border-radius: 4px;
  color: rgb(212, 214, 217);
  font-size: 19px;
  font-weight: 400;
  line-height: 32.3px;
  padding: 8px 16px;
  max-width: 356px;
  width: calc(100% - 32px);
}
input:focus
{
  background: #fff;
  color: rgb(16, 18, 25);
}
table
{
  margin-bottom: 8px;
}
thead, tbody
{
  width: 100%;
  display: block;
}
tr
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}
td
{
  display: flex;
  flex-direction: column;
}
table .mdl-button
{
  padding: 5px;
  margin: 0;
}
.mb-2
{
  margin-bottom: 8px;
}
.mdl-layout
{
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.page-content
{
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.logo
{
  opacity: .6;
  max-width: 90%;
  margin: 0;
}
.card-body
{
  padding: 16px;
}
#form-container
{
  text-align:center;
}
.mdl-chip
{
  border-radius: 8px;
  color: #712b29;
  background-color: #f7dddc;
  border-color: #f4cfce;
  display: block;
  padding: 16px;
  line-height: 1.5em;
  font-size: 16px;
}
.mdl-chip.mdl-color--green
{
  color: #27633c;
  background-color: #dbf2e3;
  border-color: #cdedd8;
}
.mdl-chip.mdl-color--yellow
{
  color: #63633c;
  background-color: #f2f2e3;
  border-color: #ededcd;
}
.mdl-button
{
  color: #fff;
  background-color: #2f3d4a;
  border-color: #2f3d4a;
  text-decoration: none;
  width: 100%;
  display: inline-block;
  border-radius: 4px;
  font-size: 18px;
  text-align: center;
  padding: 8px 0;
  margin-bottom:8px;
  cursor: pointer;
  transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.mdl-button:hover
{
  color: #fff;
  background-color: #202a33;
  border-color: #1b232b;
}
.mdl-button.mdl-button--green
{
  background: #3ca861;
  cursor: not-allowed;
}
.mdl-button.mdl-button--red
{
  background: #d9534f;
}
.mdl-button.mdl-button--yellow
{
  background: #E5A54B;
  color: #212529;
  cursor: not-allowed;
}
pre
{
  text-wrap: wrap;
  white-space-collapse: collapse;
  white-space: pre-wrap;
}
#js_btn_login
{
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1em;
}
#js_btn_login img
{
  padding-right: 10px;
  display: none;
}
#js_btn_login.js_loading img
{
  display: block;
}

.font-size-adjuster
{
  position: fixed;
  top: 10px;
  left: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 10px);
}
.font-size-adjuster span
{
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  margin-left: 5px;
}
.font-size-adjuster span.font-size-shrink
{
    font-size: 14px;
}
.eye-show {
  position: absolute;
  color: black;
  top: 15px;
  left: calc(100% - 40px);
  z-index: 1;

}
.font-size-adjuster span.scan-show {
  border-right: 0px;
}
.font-size-adjuster span.scan-hide {
  text-wrap: nowrap;
  text-indent: 16px;
  margin-right: 16em;
  font-size: 14px;
}
input.scan {
  border-radius: 0px;
  color: white;
  padding: 9px 10px 8px;
  margin: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  margin-left: 0;
  border-left: 0px;
}
input.scan:focus {
  outline: none;
  /* caret-color: transparent;*/
}
.button {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                supported by Chrome, Edge, Opera and Firefox */
}
.button:hover {cursor: pointer; 
  -webkit-transition: opacity 0.15s ease-in-out;
  -moz-transition: opacity 0.15s ease-in-out;
  -o-transition: opacity 0.15s ease-in-out;
  transition: opacity 0.15s ease-in-out;}
.button:hover {opacity: 0.8;}

.error_msg {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgb(255, 237, 240);
  color: #ff6b6b;
  font-size: 16px;
  padding: 15px 25px !important;
  text-align: left;
  min-height: 40px;
  font-family: "Lato", sans-serif;
  border: 2px solid #ff6b6b;

  display: none;
  align-items: center;
  justify-content: center;

  white-space: normal;
  word-break: break-word;
  max-width: 90vw;
  box-sizing: border-box;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 420px;
}
.hidden {
  display: none;
}

@media (max-width: 600px) {
  .error_msg {
    max-width: 95vw;  /* wider for mobile */
    font-size: 15px;  /* slightly smaller text */
    padding: 12px 24px !important; /* more breathing room */
    top: 80px; /* lower it a bit */
  }
}
