:root {
  --color-state-focus-border: #0366d6;
  --color-state-focus-shadow: 0 0 0 3px rgba(3, 102, 214, 0.3);
  --primary-font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
  --color-input: #24292e;
  --color-field-label: #464a4e;
  --color-link: rgb(27, 94, 167);
}

/* Form Container */

div.login-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/Content/Images/login_page.jpg');
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

div.bg {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Login Form */

div.login-form {
  width: 320px;
  min-height: 500px;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  border: none;
  border-radius: 6px;
  margin-top: -10%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  user-select: none;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* Form Header */

div.title {
  margin: 0;
  padding: 0;
  background: rgba(61, 61, 63, 0.8);
  text-align: center;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: none;
  border: none;
}

  div.title > img {
    width: 300px;
    padding: 20px;
  }

p.system-name {
  margin: 0;
  padding: 10px 0 10px 0;
  color: aliceblue;
  font-family: var(--primary-font-family);
  font-size: 16px;
}

/* Form Body */

div.login-form-content {
  margin: 0;
  padding: 12px;
  height: 100%;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

  div.login-form-content > div.header {
    margin: 0;
    padding: 0;
  }

    div.login-form-content > div.header > h1 {
      margin: 0;
      font-weight: 400;
      font-family: var(--primary-font-family);
      font-size: 24px;
      color: #6d6d6d;
      padding: 0 0 12px 0;
      border-bottom: 1px solid #e2e2e2;
      text-align: center;
    }

/* Form Field */

div.form-field {
  margin: 8px 0 8px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

  div.form-field > label {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--primary-font-family);
    margin: 0px 0px 3px 0;
    color: var(--color-field-label);
  }

  div.form-field > div > input {
    width: 100%;
    background: white;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 14px;
    font-family: var(--primary-font-family) !important;
    margin: 0 0 15px 0;
    line-height: 20px;
    color: var(--color-input) !important;
  }

    div.form-field > div > input:focus {
      border: 1px solid var(--color-state-focus-border);
      box-shadow: var(--color-state-focus-shadow);
      outline: none;
      background: #f9fcff;
    }

  div.form-field > div.field-label {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--primary-font-family);
    margin: 0 0 0 0;
    color: #24292e;
    display: flex;
    flex-direction: row;
    align-items: center;
  }

    div.form-field > div.field-label > a {
      margin: 0 0 3px 0;
      color: #4081d2;
    }

div.field-label > label {
  margin: 0 0 3px 0;
  font-weight: 600;
}

.link > a {
  text-decoration: none;
  color: var(--color-link);
}

/* Form Footer */

button.sign-in {
  border: none;
  background: #f1b500;
  font-size: 14px;
  width: 100%;
  font-weight: 500;
  color: #383636;
  padding: 5px 16px;
  border-radius: 6px;
  font-family: var(--primary-font-family);
  box-shadow: 0 1px 0 0 #a2a2a27a;
}

  button.sign-in:hover {
    background: #ecb200;
  }

  button.sign-in:focus {
    outline: none;
  }

.validation-summary-errors {
  margin: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .validation-summary-errors > ul {
    margin: 0;
    padding: 0;
  }

    .validation-summary-errors > ul > li {
      margin: 0;
      padding: 0;
    }

input:-webkit-autofill,
input:-webkit-autofill:first-line {
  font-size: 14px;
  font-family: var(--primary-font-family);
}
