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

body {
  font-family: Arial, sans-serif;
  background: #1a1a2e;
  color: #eee;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-page {
  width: 100%;
  max-width: 460px;
  padding: 24px 16px;
}

.register-header {
  text-align: center;
  margin-bottom: 28px;
}

.register-header h1 {
  font-size: 26px;
  color: #e94560;
  margin-bottom: 6px;
}

.register-header p {
  color: #888;
  font-size: 14px;
}

.register-box {
  background: #16213e;
  border: 1px solid #0f3460;
  border-radius: 16px;
  padding: 32px 28px;
}

.register-box h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #eee;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  background: #1a1a2e;
  border: 1px solid #0f3460;
  border-radius: 8px;
  color: #eee;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: #e94560;
}

.form-group input::placeholder {
  color: #555;
}

.register-error {
  color: #e94560;
  font-size: 13px;
  margin-bottom: 14px;
  min-height: 18px;
}

.register-success {
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid #27ae60;
  border-radius: 10px;
  padding: 16px;
  color: #27ae60;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: #e94560;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: #c73652;
}

.btn-submit:disabled {
  background: #555;
  cursor: not-allowed;
}

.register-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #888;
}

.register-footer a {
  color: #e94560;
  text-decoration: none;
}

.register-footer a:hover {
  text-decoration: underline;
}
