*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f4f2ed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-shell {
  width: 100%;
  max-width: 400px;
  padding: 24px;
}

.login-card {
  background: #fff;
  border: 1px solid #e5e2da;
  border-radius: 10px;
  padding: 36px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.brand-label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.login-heading {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  margin-bottom: 20px;
}

.login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

.login-input {
  border: 1px solid #d1cdc6;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 14px;
  color: #111;
  outline: none;
  transition: border-color 0.15s;
}

.login-input:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.08);
}

.login-button {
  margin-top: 4px;
  padding: 10px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.login-button:hover { background: #333; }
.login-button:active { background: #000; }
