@font-face {
  font-family: "Droid Sans";
  src: url('../webfonts/DroidSans-webfont.eot');
  src: url('../webfonts/DroidSans-webfont.eot?#iefix') format('embedded-opentype'), url('../webfonts/DroidSans-webfont.woff') format('woff'), url('../webfonts/DroidSans-webfont.ttf') format('truetype'), url('../webfonts/DroidSans-webfont.svg#DroidSansRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Minimal version from styleguide: Common/Common.UI/ng-ui/src/scss/styleguide/_colors.scss */
:root {
  --ui-black: #333;
  --ui-gray-mid: #c4c4c4;
  --ui-gray-light: #f7f7f7;
  --ui-gray-dark-outdated: #777877;
  --red-status-main: #d42021;
  --red-status-light: #f1cbcb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Droid Sans", sans-serif;
  background-color: var(--ui-gray-light);
  color: var(--ui-black);
  font-size: 14px;
  line-height: 1.42857143;
}

header {
  background: linear-gradient(to bottom, var(--gradient-start), var(--primary-main));
  height: 26vh;
}

main {
  background-color: white;
  width: 350px;
  margin: -13.5vh auto 0;
  padding: 1em 2em;
  border-radius: 8px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%);
}

button {
  border-radius: 24px;
  background-color: var(--accent);
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .2);
  padding: 6px 12px;
  color: #fff;
  width: 100%;
  border: 1px solid transparent;
  transition: background-color .3s;
  cursor: pointer;
  font: inherit;
}

button:hover {
  background-color: var(--accent-dark);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2em 0;
  gap: 4px;
}

.logo__brand {
  width: 180px;
}

.logo__secondary {
  width: 120px;
}

.form__group {
  margin-bottom: 16px;
}

.input-validation-error {
  border: solid 2px var(--red-status-main);
}

input {
  width: 100%;
  height: 45px;
  padding: 6px 12px;
  border: solid 1px var(--ui-gray-dark-outdated);
  border-radius: 4px;
  font: inherit;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: solid 4px var(--ui-gray-mid);
}


.totp__code {
  text-align: center;
}

.totp__header {
  font-weight: bold;
  font-size: large;
}

.checkbox__label {
  margin-left: 10px;
  font-size: 14px;
}

label {
  display: inline-block;
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 5px;
}

.container__password {
  position: relative;
}

.password__toggle {
  position: absolute;
  z-index: 3;
  right: 12px;
  top: 16px;
  cursor: pointer;
  color: var(--ui-gray-dark-outdated);
}

a {
  text-decoration: none;
  color: var(--accent) !important;
}

a:hover {
  text-decoration: underline;
}

.alert {
  padding: 16px;
  border-radius: 4px;
}

.alert--danger {
  color: var(--red-status-main);
  background-color: var(--red-status-light);
}

ul {
  margin: 0;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}

.text-center {
  text-align: center;
}

.u-flex {
  display: flex;
}
