:root {
  --primary: #0066ff;
  --bg: #f9fafc;
  --border: #e0e0e0;
  --text: #333;
  --muted: #777;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.reg-card {
  display: flex;
  max-width: 880px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  overflow: hidden;
}

.reg-illustration {
  flex: 1;
  background: linear-gradient(120deg, var(--primary), #0099ff);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reg-illustration h2 {
  margin-bottom: 10px;
}

.reg-content {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-inner {
  width: 100%;
  max-width: 340px;
}

.reg-header h1 {
  margin-bottom: 4px;
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}

.field {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 14px;
  margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"] {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.field input:focus {
  border-color: var(--primary);
}

.remember {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.btn {
  padding: 10px 16px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  background: #0044cc;
}

.msg {
  text-align: center;
  font-size: 14px;
  margin-top: 12px;
}

.msg.success {
  color: green;
}

.msg.error {
  color: red;
}

.reg-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.reg-footer a {
  color: var(--primary);
  text-decoration: none;
}

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