#overlay-root-login {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}

.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.hidden {
  display: none !important;
}

.login-panel {
  position: relative;
  background-color: #eeeeee;
  padding: 32px;
  border-radius: 5px;
  width: 420px;
  color: #888;
  font-family: sans-serif;
  font-size: 14px;
  border: 1px solid #ccc;
}

.login-panel h3 {
  margin: 0 0 20px;
  font-size: 22px;
  color: #888;
  text-align: center;
}

.login-label {
  display: block;
  margin-bottom: 6px;
  margin-top: 10px;

  font-size: 13px;
  font-weight: normal;
  color: #888;
  letter-spacing: 0.2px;
}

.login-panel input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 10px 10px;

  font-size: 14px;
  font-family: sans-serif;

  border-radius: 3px;
  border: 1px solid #bbb;
  background-color: #fff;
  color: #555;
}

.login-panel input:focus {
  outline: none;
  border-color: #1587f9;
}

#login-submit {
  width: 100%;
  margin-top: 16px;
  padding: 10px 0;

  border-radius: 3px;
  background-color: #ddd;
  border: 1px solid #bbb;
  color: #777;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

#login-submit:hover {
  background-color: #fff;
}

.login-panel .error {
  margin-top: 8px;
  color: #c44;
  font-size: 14px;
}

.switch-mode {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

.switch-mode span {
  cursor: pointer;
}

.switch-mode span:hover {
  color: #1587f9;
}

.login-close {
  position: absolute;
  top: 10px;
  right: 12px;

  background: none;
  border: none;
  color: #888;
  font-size: 20px;
  cursor: pointer;
}

.login-close:hover {
  color: #000;
}