/* Code entry under the sign-in forms (modules/code-signin.js). Used on index.html and signin.html,
   which share the dark brand palette but not a variables file, so values are literal here. */
.code-entry {
  margin-top: 20px;
  text-align: left;
}

.code-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b8b6b2;
}

.code-row {
  display: flex;
  gap: 8px;
}

.code-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #3c3e41;
  border-radius: 8px;
  background: #1a1a1a;
  color: #f5f4f1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-input::placeholder {
  color: #5c5c5c;
}

.code-input:focus {
  outline: none;
  border-color: #d63944;
}

.code-btn {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid #3c3e41;
  border-radius: 8px;
  background: #2c2e31;
  color: #f5f4f1;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.code-btn:hover { background: #34363a; }
.code-btn:disabled { opacity: 0.6; cursor: default; }

.code-status {
  min-height: 1.4em;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: #b8b6b2;
}

.code-status.error { color: #f5f4f1; }
.code-status.success { color: #8ab45e; }
