@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/notosans-regular.woff2') format('woff2'),
  url('../fonts/notosans-regular.woff') format('woff'),
  url('../fonts/notosans-regular.ttf') format('truetype');
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  font-family: Noto-Sans,Helvetica,Arial,sans-serif;
  font-size: 14px;
}

body {
  margin: 0;
  font-family: Noto Sans, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: #32323c;
  background-color: #f4f4f8;
}

main {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30px;
}

header {
  align-self: stretch;
  background-color: #fff;
  padding: 13px 30px;
  border-bottom: 2px solid;
  margin: 0 -30px;
  border-image-slice: 1;
  border-image-source: linear-gradient(to left, #FF6D69, #ffc600);
}

img {
  vertical-align: middle;
  margin-right: 6px;
}

span {
  font-size: 24px;
  vertical-align: middle;
}

span.version{
  font-size: 14px;
  vertical-align: bottom;
}

section, form {
  flex-grow: 1;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form {
  margin-bottom: 200px;
}

section {
  position: absolute;
  height: 100%;
}

h1 {
  margin: 0 0 15px;
  font-size: 32px;
  font-weight: normal;
}

section h1 {
  font-size: 90px;
}

h2 {
  margin: 7px 0 0;
  font-weight: normal;
}

div {
  margin-bottom: 15px;
}

label {
  margin-bottom: 4px;
  display: block;
}

input:not([type="checkbox"]) {
  border: 1px solid #adadad;
  border-radius: 2px;
  height: 30px;
  padding: 5px;
  width: 100%;
  min-width: 250px;
  outline: none;
  font-size: inherit;
  color: inherit;
}

input[type="checkbox"] {
  border: 1px solid #adadad;
  border-radius: 2px;
  outline: none;
  font-size: inherit;
  color: inherit;
}

input:not([type="checkbox"]) {
  border-color: #1c64b4;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.checkbox-wrapper label {
  margin-bottom: unset;
}

button[type="submit"] {
  align-self: flex-end;
  background-color: #1c64b4;
  border: 1px solid #154b88;
  color: #ffffff;
  border-radius: 2px;
  height: 30px;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  font-size: inherit;
  min-width: 80px;
  transition: background-color 250ms, border-color 250ms;
}

button[type="submit"]:hover {
  background-color: #1a5ca6;
  border-color: #123f72;
}

footer {
  flex-shrink: 0;
  text-align: center;
  color: #5a5a64;
  font-size: 13px;
  margin-bottom: 20px;
}

@media (max-width: 960px) {
  input:not([type="checkbox"]) {
    height: 37px;
  }

  button[type="submit"]  {
    height: 44px;
  }

  header {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  footer {
    font-size: 12px;
    padding-bottom: 20px;
  }
}

.logo {
  margin-top: 50px;
  height: 260px;
}

.error {
  background-color: #ffedef;
  border: 1px solid #f11510;
  padding: 8px;
  border-radius: 2px;
}

.message {
  background-color: #95e595;
  border: 1px solid #1fab1f;
  padding: 8px;
  border-radius: 2px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  margin: 45px auto;
}

.tabs .tabs_input[type="radio"] {
  display: none;
}

.tabs .tabs_label {
  padding: 15px 20px 6px 20px;
  margin-bottom: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(0px, 1px);
  border: 1px solid transparent;
}

.tabs .tabs_label:hover {
  border: 1px solid #cacacd
}


.tabs_label:first-of-type {
  margin-left: 9.5px;
}

.tabs .tab {
  border: 1px solid #CACACD;
  width: 100%;
  padding: 20px;
  background: #fff;
  order: 1;
  display: none;
}

.tabs .tabs_input[type='radio']:checked + .tabs_label + .tab {
  display: block;
}

.tabs .tabs_input[type="radio"]:checked + .tabs_label {
  background: #fff;
  border: 1px solid #CACACD;
  border-top: 3px solid #1c64b4;
  border-bottom: 1px solid white;

}
