﻿:root {
  --primary-font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  --color-state-focus-border: #0366d6;
  --color-state-focus-shadow: 0 0 0 3px rgba(3, 102, 214, 0.3);
  --steel_gray_120: #d3d9de;
  --steel_gray_80: #e7e8ec;
  --gray-600: #656565;
  --link-color: #2a5885;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

div.account-form-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

div.account {
  position: absolute;
  top: 10%;
  display: flex;
  flex-direction: column;
  width: 500px;
  height: fit-content;
  font-family: var(--primary-font-family);
  border-radius: 3px;
  box-shadow: 0 1px 0 0 var(--steel_gray_120),0 0 0 1px var(--steel_gray_80);
  box-sizing: border-box;
  user-select: none;
}

form {
  margin: 0;
  padding: 0;
}

div.panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px 15px 10px;
}

div.account > hr {
  border: none;
  border-top: 1px solid rgb(225, 228, 232);
  margin: 8px 0 8px 0;
  height: 1px;
  box-sizing: border-box;
}

div.form-title {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  display: flex;
  align-items: center;
  padding: 10px;
  height: 40px;
  width: auto;
  background: #fafbfc;
  border-bottom: 1px solid var(--steel_gray_80);
}

div.settings {
  display: flex;
  padding: 16px 0 15px 10px;
  font-size: 14px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

div.form {
  padding: 10px;
}

  div.settings > .title {
    color: var(--gray-600);
    font-size: 14px;
    padding: 10px;
  }

  div.settings > a {
    color: var(--link-color);
  }

form.password-changing-form {
  background: #fafbfc;
  display: none;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

div#password-settings.hide {
  display: none;
}

form.password-changing-form.open {
  display: block;
  transition-property: height;
  transition-duration: 500ms;
}

/*div.form-field {
  margin: 12px;
  display: flex;
  flex-direction: row;
  font-size: 14px;
  box-sizing: border-box;
}*/

/*  div.form-field > label {
    display: flex;
    align-items: center;
    padding: 0;
    min-width: 200px;
    color: #4a4a4a;
  }

  div.form-field input {
    border-radius: 3px;
    width: 100%;
    height: auto;
    line-height: 21px;
    border: 1px solid var(--steel_gray_120);
    padding: 4px 12px 4px 12px;
    font-size: 16px;
    font-family: var(--primary-font-family);
  }*/

    div.form-field input:focus {
      border: 1px solid var(--color-state-focus-border);
      box-shadow: var(--color-state-focus-shadow);
      outline: none;
      background: #f9fcff;
    }

div.password-change {
  display: flex;
  flex-direction: row;
}

.empty-space {
  flex-grow: 1;
}

.form-footer {
  margin: 0;
  padding: 10px 0 0 0;
  display: flex;
  justify-content: center;
}

/*button {
  margin: 10px;
  background-color: #1baf1b;
  border-radius: 3px;
  border: 1px solid var(--steel_gray_120);
  padding: 10px;
  color: azure;
  font-weight: 600;
  font-family: var(--primary-font-family);
}*/

a.change-password {
  display: block;
  margin: 0;
  padding: 10px;
  appearance: none;
  border: none;
  background: none;
  color: black;
  font-weight: 400;
  font-size: 14px;
}

a:hover {
  cursor: pointer;
}

button:hover {
  cursor: pointer;
}

@keyframes password-changing-form-show {
  from {
    height: 0
  }

  to {
    height: fit-content
  }
}
