* {
  box-sizing: border-box;
}

:root {
  --asana-blue: #4573d2;
  --asana-text: #151b26;
  --asana-muted: #6f7782;
  --asana-border: #cbd4db;
  --asana-font: "Apercu", "Apercu Pro", "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: var(--asana-text);
  font-family: var(--asana-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.auth-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.auth-logo {
  position: absolute;
  top: 30px;
  left: 28px;
  display: inline-flex;
  color: inherit;
  text-decoration: none;
}

.auth-logo svg {
  display: block;
}

.password-panel {
  position: absolute;
  top: 43%;
  left: 50%;
  width: 356px;
  transform: translate(-50%, -50%);
}

.password-panel h1 {
  margin: 0 0 8px;
  color: var(--asana-text);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.6px;
  text-align: center;
}

.password-subtitle {
  margin: 0 0 34px;
  color: var(--asana-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.33;
  letter-spacing: -0.1px;
  text-align: center;
}

.password-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.password-form label {
  margin: 0 0 10px;
  color: var(--asana-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.password-form input {
  width: 100%;
  height: 32px;
  margin: 0 0 22px;
  padding: 4px 8px;
  color: var(--asana-text);
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  background: #fff;
  border: 1px solid var(--asana-border);
  border-radius: 5px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.password-form input:focus {
  border-color: var(--asana-blue);
  box-shadow: 0 0 0 1px var(--asana-blue);
}

.password-form button {
  min-width: 132px;
  height: 32px;
  padding: 0 16px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 32px;
  background: var(--asana-blue);
  border: 0;
  border-radius: 5px;
  cursor: default;
}

@media (max-width: 760px) {
  .auth-logo {
    top: 28px;
    left: 28px;
  }

  .password-panel {
    top: 50%;
    left: 50%;
    width: min(356px, calc(100% - 40px));
    transform: translate(-50%, -50%);
  }
}
