* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  align-items: center;
  background: #f0f4f6;
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  justify-content: center;
  min-height: 100vh;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  max-width: 380px;
  padding: 40px;
  width: 100%;
}

h1 {
  color: #31849b;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.sub {
  color: #666;
  font-size: .85rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

label {
  color: #444;
  display: block;
  font-size: .82rem;
  font-weight: bold;
  margin-bottom: 5px;
}

input {
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  width: 100%;
}

input:focus {
  border-color: #31849b;
  box-shadow: 0 0 0 2px #31849b22;
  outline: none;
}

button {
  background: #31849b;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 14px;
  padding: 11px;
  width: 100%;
}

button:hover {
  background: #256f87;
}

button:disabled {
  background: #aaa;
  cursor: not-allowed;
}

.error {
  color: #c0392b;
  display: none;
  font-size: .82rem;
  margin-top: 10px;
}

.hidden {
  display: none !important;
}
