* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f5f9;
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  color: #1f2430;
}

.card {
  width: 320px;
  background: #ffffff;
  border: 1px solid #e3e6ef;
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 8px 30px rgba(20, 20, 40, 0.12);
}

.brand {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: #767c92;
}

input {
  font-size: 14px;
  padding: 9px 10px;
  border: 1px solid #e3e6ef;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  color: #1f2430;
}
input:focus {
  border-color: #7c5cff;
}

button {
  margin-top: 4px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #7c5cff;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: #6c4ce0; }
button:disabled { opacity: 0.6; cursor: default; }

.error {
  font-size: 12.5px;
  color: #d63939;
  background: #fdeaea;
  border-radius: 6px;
  padding: 8px 10px;
}
