.login-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  min-height: calc(100vh - 52px - 80px);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md);
}

.login-eyebrow {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.login-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.login-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 26px;
}

.login-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
}

.hidden { display: none; }

.code-input {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}

.code-cell {
  width: 44px;
  height: 52px;
  font-family: 'DM Mono', monospace;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
  -moz-appearance: textfield;
}

.code-cell::-webkit-outer-spin-button,
.code-cell::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.code-cell:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}

.code-cell.filled { background: var(--bg-soft); }

.code-sep {
  color: var(--text-tertiary);
  font-size: 18px;
  user-select: none;
  padding: 0 2px;
}

.code-meta {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  padding: 0;
}
.btn-link:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .code-cell { width: 38px; height: 46px; font-size: 18px; }
  .login-card { padding: 24px; }
  .login-title { font-size: 24px; }
}
