html {
  font-size: 14px;
  min-height: 100%;
  font-weight: 300;
}

* {
  font-family: Inter, -apple-system, "Ubuntu", "Helvetica Neue", sans-serif;
}

:root {
  --mdc-theme-primary: #02539f;
  --mdc-theme-secondary: #0075e2;
  --mdc-theme-background: #f6f7f8;
  --header: #06223b;
}

body {
  background-color: var(--mdc-theme-background);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px), (max-height: 600px) {
  body {
    background-size: 300px;
  }
}

a {
  text-decoration: none;
  color: var(--mdc-theme-primary);
}

h6 {
  margin: 4px 0;
  color: rgba(0, 0, 0, 0.87);
  font-family: Inter;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.25px;
}

.demo-container {
  max-width: 1024px;
  margin: 0 auto;
  width: 90%;
}

.demo-container > h1 {
  padding: 48px 0 24px;
  margin: 0;
}

.aut-banner-logo {
  display: flex;
  align-items: center;
}

.aut-banner-logo img {
  height: 40px;
  width: auto;
  max-width: 350px;
  object-fit: contain;
}

.demo-info {
  margin-bottom: 32px;
  padding: 6px;
  background-color: #FFF9DC;
}

.demo-info > div {
  display: flex;
  margin-top: 0;
}

.demo-info > div > i {
  padding: 10px 10px 10px 0;
  margin: 0;
  color: #A16207;
}

.demo-info-text {
  color: #A16207;
}

.aut-hidden {
  height: 0;
  overflow: hidden;
}

#error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 120px;
  min-height: calc(100vh - 120px - 66px - 136px);
  text-align: center;
}

#error-title {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 40px;
  color: #555454;
}

#error-description {
  color: #555454;
  font-size: 16px;
  line-height: 32px;
  max-width: 620px;
  padding: 0 16px;
}

#error-hint {
  color: #b00020;
  opacity: 50%;
  margin: 16px 0;
}

.alert-danger {
  padding: 12px 16px;
  margin: 20px 0;
  color: #cf3228;
  background-color: #fff8f7;
  font-size: 12px;
}

#password-strength-container {
  margin-top: 8px;
  display: none;
}

#password-strength-text {
  color: #555454;
  font-size: 12px;
  margin-top: 8px;
}

#password-strength-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  column-gap: 8px;
}

.password-strength-step {
  height: 4px;
  background-color: lightgray;
  border-radius: 4px;
}

.weak {
  background-color: #f25f5c;
}

.fair {
  background-color: #ffe066;
}

.strong {
  background-color: yellowgreen;
}

.very-strong {
  background-color: forestgreen;
}

pre {
  font-family: monospace;
  color: #ffffff;
  background: #2b323c;
  border-radius: 4px;
  padding: 16px;
  white-space: -moz-pre-wrap; /* Mozilla */
  white-space: -hp-pre-wrap; /* HP printers */
  white-space: -o-pre-wrap; /* Opera 7 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: pre-wrap; /* CSS 2.1 */
  word-wrap: break-word; /* IE */
  word-break: break-all;
}

pre.with-copy {
  position: relative;
  border-radius: 4px 0 4px 4px;
}

pre.with-copy .pre-copy-button {
  position: absolute;
  right: -1px;
  display: flex;
  align-items: center;
  top: -33px;
  height: 16px;
  padding: 8px 12px;
  background-color: #f7faff;
  border: 1px solid #c2c3c6;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

pre.with-copy .pre-copy-button:hover {
  opacity: 0.6;
  cursor: pointer;
}

pre.with-copy .pre-copy-button i {
  font-size: 12px;
  margin-right: 4px;
}

.form-field {
  width: 100%;
  margin-bottom: 24px;
}

.form-field > input {
  background-color: #fcfcff;
}

.form-field > input:disabled {
  background: #fbfcfd;
  border: 1px solid #e9ebec;
}

.form-field textarea {
  resize: none;
  display: block;
  width: 100%;
  border: solid 1px gray;
  border-radius: 4px;
  padding: 16px;
  box-sizing: border-box;
}

.more-values.collapsed {
  display: none;
}

.more-values.expanded {
  display: table-row;
}

footer {
  display: flex;
  font-size: 12px;
  justify-content: center;
  color: #555454;
  margin: 80px auto 32px auto;
  width: 90%;
  line-height: 24px;
  text-align: center;
}

/* Demo portal */

.custom-header {
  background-color: white;
  border-bottom: solid 1px #ececec;
  margin-bottom: 40px;
}


@media (max-width: 600px) {
  .custom-header {
    width: 100%;
  }
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: #f0f0f0;
    padding: 5px;
    z-index: 9999;
}
.skip-link:focus {
    top: 0;
}

@media (max-width: 768px) {
  /* increased font size prevents mobile web view zooming on input fields */
  input, textarea, select {
    font-size: 16px;
  }
}