@font-face {
  font-family: fnt;
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/openr.woff2") format("woff2");
}

@font-face {
  font-family: fnt;
  font-style: normal;
  font-weight: 600;
  src: url("/assets/fonts/openb.woff2") format("woff2");
}

@font-face {
  font-family: fnt;
  font-style: italic;
  font-weight: 400;
  src: url("/assets/fonts/openi.woff2") format("woff2");
}

*,
::after,
::before,
button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: fnt, sans-serif;
  font-size: 16px;
  background-color: #fff;
  color: #000;
  -webkit-user-select: none;
  user-select: none;
  overflow: hidden;
}

#header {
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 61px;
  background-color: #ee5736;
  text-align: left;
}

#hue-logo {
  display: block;
  width: 3em;
  padding-left: 10px;
}

#suburani-logo {
  display: block;
  width: 13em;
  height: auto;
  padding-left: 0.5em;
}

button {
  -webkit-appearance: button;
  align-items: flex-start;
  background-color: #efefef;
  border-color: #767676;
  border-image: initial;
  border-radius: 3px;
  border-style: outset;
  border-width: 1px;
  color: #000;
  cursor: default;
  display: inline-block;
  font-family: fnt, sans-serif;
  font-size: 0.85rem;
  letter-spacing: normal;
  min-width: 4rem;
  padding: 0.35rem 0.3rem 0.25rem;
  text-align: center;
  text-transform: uppercase;
}

button:hover {
  background-color: #dcdcdc;
}

/* Shut during a sign-in lockout: greyed rather than hidden, so the control
   the message refers to is still where the user expects it. The :hover
   override stops a shut button lighting up as though it were live. */
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button:disabled:hover {
  background-color: #efefef;
}

#innr {
  position: absolute;
  top: 61px;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  line-height: 1.4;
  overflow: auto;
}

a {
  font-size: 0.9rem;
  color: #4285f4;
  text-decoration: none;
}

/* #newpwbtn / #helpbtn are <button>s (JS-driven toggles, not links) styled
   to match the surrounding <a> tags in #tosbox. */
#newpwbtn,
#helpbtn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.9rem;
  text-transform: none;
  color: #4285f4;
  text-decoration: none;
  cursor: pointer;
}

#signfeedback,
#completefeedback {
  min-height: 0.2rem;
  color: #111;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

#cutoverreset {
  text-align: center;
  margin-top: 0.5rem;
}

#cutoverreset button {
  margin: 0.25rem 0.5rem;
}

#teacherpanel {
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  margin-top: 0.5rem;
}

#teacherpanel p {
  margin: 0.5rem 0;
}

#teachername {
  font-weight: 700;
  text-align: center;
}

#newpass {
  font-size: 1.3rem;
  color: #04c;
  margin: 1rem 0 1rem 2rem;
}

#passwdlab {
  display: inline-block;
  margin-right: 7.5rem;
}

#showpw {
  margin-right: 0.2rem;
}

#prompt {
  font-size: 1rem;
  margin-bottom: 1rem;
}

#prompt p {
  margin: 0.5rem 0;
}

#passwordbtn {
  float: left;
}

.btnbox,
.btnboxcentre {
  text-align: right;
  margin-top: 1rem;
}

.btnboxcentre {
  text-align: center;
}

#okbtn {
  display: none;
}

#tosbox {
  text-align: center;
  margin-top: 0.5rem;
}

#passwordreset {
  display: none;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 23.5rem;
  margin: 2rem auto 0;
}

#signbox {
  font-size: 1.2rem;
  line-height: 1.5;
  width: 26rem;
  margin: 1rem auto 0;
  padding: 0.9rem 1.5rem;
  background-color: #fff;
  color: #000;
  border: 2px solid #4285f4;
  border-radius: 1rem;
}

/* The reset page's completion title is an id, not a second .signttl: the
   e2e suite finds the request view by that class and needs it unique. */
.signttl,
#completettl {
  color: #222;
  font-family: fnt, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.signlab {
  color: #888;
  font-size: 0.9rem;
}

.field {
  border: 0;
  border-bottom: 2px solid #ddd;
  font-family: fnt, sans-serif;
  font-size: 1.1rem;
  margin: 0 0 1rem;
  padding: 0.25rem 0;
  width: 100%;
  outline: 0;
}

.field:focus {
  border-bottom: 2px solid #4285f4;
}

.hlptxt {
  margin: 0.75rem 0;
}

.info {
  color: #c40;
}

#npdiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#refreshbtn {
  background-color: #6f0;
  border-radius: 1rem;
  padding: 0.5rem 0.7rem;
}

#helptext {
  max-width: 23.5rem;
  margin: 1.5rem auto 0;
  padding: 1rem 1.5rem;
  color: #333;
  background-color: #f5f8ff;
  border: 1px solid #d0ddf0;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.suggestion {
  background-color: #eef4ff;
  border: 1px solid #c8d8f0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  #signbox {
    width: auto;
    margin: 1rem;
  }
}

@media (max-width: 62.5em) {
  #suburani-logo {
    width: 12em;
  }
}

@media (max-width: 34em) {
  #suburani-logo {
    width: 8em;
  }
  #hue-logo {
    width: 2em;
  }
}
