:root { --amplify-green: #02FD00; --amplify-dark: #000D00; }
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: #000D00;
  color: #eef9f0;
  -webkit-font-smoothing: antialiased;
}

.container {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 24px;
}

.card {
  width: 100%; max-width: 380px;
  background: #04140c;
  border: 1px solid rgba(2,253,0,0.14);
  border-top: 2px solid var(--amplify-green);
  border-radius: 8px;
  padding: 40px 32px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.brand { margin-bottom: 18px; }
.brand svg { height: 26px; width: auto; display: block; }

.subtitle { margin: 0 0 24px; color: rgba(238,249,240,0.60); font-size: 0.95rem; line-height: 1.5; }

.form-control { margin-bottom: 20px; display: flex; flex-direction: column; }
label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; color: rgba(238,249,240,0.7); margin-bottom: 8px; }

input[type="password"] {
  width: 100%; padding: 12px 14px; font-size: 1rem; color: #eef9f0;
  background: #00190f; border: 1px solid rgba(238,249,240,0.16);
  border-radius: 6px; transition: border-color .2s, box-shadow .2s;
}
input[type="password"]:focus { outline: none; border-color: var(--amplify-green); box-shadow: 0 0 0 3px rgba(2,253,0,0.18); }
input:disabled { opacity: 0.6; }

.button-container { margin-top: 4px; }
button {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 1rem; font-weight: 700;
  color: #00120a; background: var(--amplify-green); border: none; border-radius: 6px;
  cursor: pointer; transition: filter .2s, transform .05s;
}
button:hover { filter: brightness(1.08); }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
button:disabled { opacity: 0.6; cursor: default; }

.footer { margin-top: 22px; font-size: 0.8rem; color: rgba(238,249,240,0.35); }

.alert { display: none; opacity: 0; transition: opacity .3s ease-in-out; margin-bottom: 18px; padding: 10px 14px; border-radius: 6px; font-size: 0.9rem; }
.alert p { margin: 0; }
.alert.error { background: rgba(255,70,70,0.12); border: 1px solid rgba(255,70,70,0.35); color: #ffb3b3; }
.alert.success { background: rgba(2,253,0,0.12); border: 1px solid rgba(2,253,0,0.35); color: #baffb8; }
