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

body {
  margin: 0;
  font-family: system-ui, Arial, sans-serif;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

label {
  display: grid;
  gap: 4px;
  font-size: 13px;
}

input, button {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
  width: 100%;
  text-align: center;
}

.login-wrap {
  width: 100%;
  max-width: 300px;
  padding: 32px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-wrap h2 {
  margin: 0;
  font-size: 20px;
  text-align: center;
  color: #333;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

button[type=submit] {
  background: #333;
  color: #fff;
  border-color: #333;
  cursor: pointer;
}

button[type=submit]:hover { background: #555; border-color: #555; }

.login-error { color: #b00; font-size: 13px; margin: 0; }
