:root {
  --bg-dark: #05060a;
  --sidebar-bg: #111827;
  --text-main: #f5f5f5;
  --text-muted: #9ca3af;
  --accent-color: #ffffff;
  --accent-text: #000000;
  --border-color: #1f2937;
  --input-bg: rgba(255, 255, 255, 0.03);
}

body {
  margin: 0;
  font-family: montserrat, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.register-card {
  background: var(--sidebar-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.brand {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h2 {
  margin: 0 0 10px 0;
  font-size: 24px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 25px;
  display: block;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

label {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 6px;
  font-weight: 500;
}

input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

input:focus {
  border-color: var(--text-muted);
}

.btn-register {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  background: var(--accent-color);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  transition: transform 0.1s;
}

.btn-register:hover {
  opacity: 0.9;
}

.btn-register:active {
  transform: scale(0.98);
}

.footer-links {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.error-msg {
  color: #ef4444;
  font-size: 13px;
  margin-top: 10px;
  display: none;
}