* { box-sizing: border-box; }
body { margin: 0; background: #151515; color: #f2f2f2; font: 14px/1.8 "Microsoft Yahei", Arial, sans-serif; }
.register-page { width: 620px; max-width: calc(100% - 24px); margin: 28px auto 60px; padding: 24px 28px; background: #2a2a2a; border-radius: 12px; box-shadow: 0 0 24px rgba(0,0,0,.35); }
h1 { margin: 0 0 20px; color: #ffcc33; text-align: center; font-size: 28px; font-weight: normal; }
.message { margin-bottom: 16px; padding: 10px 14px; border-radius: 6px; text-align: center; }
.message.ok { background: #234d2e; color: #c9ffd2; }
.message.error { background: #5b2727; color: #ffd4d4; }
.form-row { display: flex; align-items: center; margin-bottom: 13px; }
.form-row label { width: 118px; padding-right: 14px; text-align: right; color: #e5e5e5; }
.form-row input, .form-row select { flex: 1; height: 34px; border: 1px solid #555; border-radius: 5px; padding: 0 10px; background: #fff; color: #111; }
.form-row.important label { color: #ff8b8b; }
.code-row input { flex: 0 0 180px; }
.code-row img { width: 96px; height: 34px; margin-left: 10px; border-radius: 4px; cursor: pointer; background: #fff; }
.tips { margin: 12px 0 18px 118px; color: #ffcc33; }
.actions { margin-left: 118px; }
.actions button { min-width: 120px; height: 36px; border: 0; border-radius: 5px; margin-right: 10px; background: #ffcc33; color: #111; cursor: pointer; }
.actions .secondary { background: #666; color: #fff; }
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.info-table td { padding: 6px 12px; vertical-align: top; }
.info-table td:first-child { width: 120px; color: #aaa; text-align: right; font-size: 13px; }
.info-table td:last-child { color: #fff; }
.info-table td.highlight { color: #ffcc33; font-weight: 600; }
.role-table th, .role-table td { padding: 7px 8px; border-bottom: 1px solid #3c3c3c; text-align: center; color: #ddd; }
.role-table th { color: #ffcc33; font-weight: normal; }
.role-table td:first-child { width: auto; text-align: center; }
@media (max-width: 560px) { .form-row { display: block; } .form-row label { display: block; width: auto; text-align: left; margin-bottom: 4px; } .tips, .actions { margin-left: 0; } }
