html, body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.page {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #000916 url(hands.jpeg) no-repeat 50% 50%;
  background-size: cover;
}

.panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 120px 40px 40px;
  background: rgba(0, 9, 22, 0.8);
  color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (min-width: 500px) {
  .panel { width: 500px; }
}

h1 {
  margin: 0 0 24px;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

p { margin: 0 0 16px; }

label {
  display: block;
  margin-top: 8px;
}

.form-control {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 4px 0 12px;
  padding: 6px 12px;
  font: inherit;
  color: #495057;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.form-control:focus {
  outline: 0;
  border-color: #80bdff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.btn {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  padding: 6px 12px;
  font: inherit;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.btn:disabled { opacity: 0.65; cursor: default; }

.btn-primary { background: #007bff; border-color: #007bff; }
.btn-primary:hover { background: #0069d9; }
.btn-success { background: #28a745; border-color: #28a745; }
.btn-success:hover { background: #218838; }

.forgot {
  display: block;
  margin: 8px 0 36px;
  text-align: right;
  color: #fff;
  text-decoration: underline;
}

.row {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.row .btn { flex: 1; }

.bubble {
  position: absolute;
  top: 45px;
  left: 25px;
  right: 25px;
  min-height: 70px;
  box-sizing: border-box;
  padding: 12px 76px 12px 16px;
  background: #fff;
  color: #333;
  border-radius: 8px;
}

.bubble p { margin: 0; }

.bubble .avatar {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.bubble.error { border-left: 6px solid #dc3545; }
.bubble.info { border-left: 6px solid #007bff; }

.is-hidden { display: none; }

@media (max-width: 499px) {
  .panel { padding-top: 140px; }
  h1 { font-size: 2rem; }
  .row { flex-direction: column; gap: 8px; }
}
