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

body {
  font-family: 'DM Sans', sans-serif;
  background: #f5f4f0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.card {
  background: #fff;
  border: 2px solid #111;
  border-radius: 2px;
  padding: 2.5rem;
  width: 100%;
  box-shadow: 6px 6px 0 #111;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  border: 2px solid #111;
  border-radius: 2px;
  padding: 0.6rem 0.8rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  outline: none;
  background: #fafafa;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  transition: box-shadow 0.15s;
}

input:focus {
  box-shadow: 3px 3px 0 #111;
  background: #fff;
}

input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button {
  border: 2px solid #111;
  border-radius: 2px;
  padding: 0.55rem 1.1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  background: #111;
  color: #fff;
  transition: transform 0.1s, box-shadow 0.1s;
  white-space: nowrap;
}

button:hover:not(:disabled) {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 #555;
}

button:active:not(:disabled) {
  transform: translate(0, 0);
  box-shadow: none;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.alert {
  padding: 0.75rem 1rem;
  border: 2px solid;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-family: 'Space Mono', monospace;
}

.alert-error {
  border-color: #c0392b;
  background: #fdf0ef;
  color: #c0392b;
}

.alert-success {
  border-color: #27ae60;
  background: #f0faf3;
  color: #27ae60;
}

.alert-info {
  border-color: #2980b9;
  background: #eef5fb;
  color: #2980b9;
}

.divider {
  border: none;
  border-top: 2px dashed #ccc;
  margin: 1.5rem 0;
}

.hidden {
  display: none;
}
