* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #333;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background: white;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  text-align: center;
}

h1, h2 {
  margin-bottom: 10px;
}

p {
  margin-bottom: 20px;
}

input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

input:focus {
  outline: none;
  border-color: #667eea;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: #556cd6;
}

.btn-outline {
  background: transparent;
  border: 2px solid #667eea;
  color: #667eea;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
}

.small {
  font-size: 14px;
  margin-top: 15px;
}

a {
  color: #667eea;
  text-decoration: none;
}
body.dark {
  background: #121212;
  color: #eee;
}

body.dark .card {
  background: #1e1e1e;
}

.toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
}
function toggleDark() {
  document.body.classList.toggle("dark");
}
