
#login-screen {
  background: url("../background_login.png") center/cover no-repeat;
}

#login-screen .header-main {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  background: #ffffff;
  color: #5c616c;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: .2px;
  z-index: 10;
}

#login-screen .main-container {
  width: 333px;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: auto;
  height: fit-content;
  background: #ffffff;
  border-radius: 6px;
  border-bottom: 4px solid #cccccc;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

#login-screen .box-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  padding-top: 28px;
  background: #eaf6f9;
  box-shadow: 0 1px 4px rgba(0,0,0,.17);
}

#login-screen .profile {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-left: 4px;
}

#login-screen .input { position: relative; }
#login-screen .input input {
  width: 191px;
  height: 32px;
  border: none;
  border-radius: 5px;
  padding: 0 7px;
  margin-bottom: 8px;
  font-size: .9rem;
  box-shadow: 0 2px 2px rgba(0,0,0,.11);
}
#login-screen .input label {
  position: absolute;
  color: #5c616c;
  font-size: .8rem;
  pointer-events: none;
  top: 9px;
  left: 7px;
}
#login-screen .input input:focus ~ label,
#login-screen .input input:valid ~ label {
  display: none;
}

#login-screen .alert {
  display: none;
  text-align: center;
  padding: 10px 0;
  color: #ffffff;
  font-size: .9rem;
}
#login-screen .alert.alert-blue { background:#2777ff; }
#login-screen .alert.alert-red { background:#bf1717; }
#login-screen .alert.show { display:block !important; }

#login-screen .button-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 67px;
  background:#ffffff;
}
#login-screen .btn {
  width: 86px;
  height: 30px;
  border: none;
  border-radius: 5px;
  font-size: .9rem;
  cursor: pointer;
}
#login-screen .btn.login { background:#2777ff; color:#fff; }
#login-screen .btn.cancel { background:#eeeeee; color:#5c616c; }

/* Note visible below header, nudged slightly to the right and down */
#login-screen .login-note {
  position: relative;
  margin-top: 60px;   /* a bit further down */
  margin-left: 60px;  /* a bit further right */
  z-index: 5;
}
#login-screen .login-note img {
  max-width: 300px;
  height: auto;
}

@media (max-width: 380px) {
  #login-screen .main-container { width: 260px; }
  #login-screen .input input { width: 100%; }
}
