:root {
  --bg-main: #36393f;
  --card-bg: #2f3136;
  --primary: #5865f2;
  --text-color: #fff;
  --text-muted: #b9bbbe;
  --radius: 8px;
  --font: "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-main);
  font-family: var(--font);
  color: var(--text-color);
}

/* Make .card look like the login card */
.card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.field {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--text-muted);
}

input, select, textarea {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  border: none;
  background: #202225;
  color: var(--text-color);
}

input:focus, textarea:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(88,101,242,0.08);
}

/* Remove browser-specific focus rings while keeping an accessible hint */
:-moz-focusring {
  outline: none;
}

/* Prevent tap highlight on mobile */
button, a, input { -webkit-tap-highlight-color: transparent; }

button {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.1);
}

.login, .signup, .forgot-password {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
}

.login a, .signup a, .forgot-password a {
  color: var(--primary);
  text-decoration: none;
}

