* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #121212; color: #E5E5EA; line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 32px 16px; min-height: 100vh; display: flex; justify-content: center; align-items: flex-start;
}
.card {
  width: 100%; max-width: 560px; background: #1C1C1E; border: 1px solid #2C2C2E; border-radius: 6px;
  padding: 36px 28px; box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}
.badge { display: inline-block; background: #2A2A2E; color: #A1A1A6; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; margin-bottom: 14px; }
h1 { color: #F5F5F7; font-size: 26px; letter-spacing: -.5px; margin-bottom: 10px; }
h2 { color: #F5F5F7; font-size: 17px; margin: 26px 0 8px; }
p, li { color: #A1A1A6; font-size: 15px; margin-bottom: 14px; }
ul, ol { padding-left: 22px; margin-bottom: 14px; }
a { color: #9E9AE6; }
label { display: block; color: #E5E5EA; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; background: #121212; color: #F5F5F7; border: 1px solid #3A3A3C; border-radius: 3px;
  padding: 12px 14px; font-size: 15px;
}
input:focus { outline: 2px solid #9E9AE6; border-color: transparent; }
.btn { display: inline-block; width: 100%; margin-top: 18px; padding: 14px 20px; background: #9E9AE6; color: #121212;
  font-weight: 700; font-size: 14px; border: 0; border-radius: 2px; cursor: pointer; text-align: center; text-decoration: none; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.danger { background: #E5534B; color: #fff; }
.btn.ghost { background: transparent; color: #9E9AE6; border: 1px solid #9E9AE6; }
.msg { margin-top: 16px; padding: 12px 14px; border-radius: 3px; font-size: 14px; display: none; }
.msg.show { display: block; }
.msg.error { background: #3A1F1F; color: #F4B4B0; }
.msg.ok { background: #1F3A27; color: #A8E6B8; }
.hint { font-size: 12.5px; color: #7C7C82; margin: 6px 0 0; }
.hidden { display: none; }
.footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid #2C2C2E; font-size: 12px; color: #636366; }
