:root {
  --primary: #7C3AED;
  --primary-hover: #6D28D9;
  --background: #F9FAFB;
  --surface: #FFFFFF;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, sans-serif;
  
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
}

.auth-layout {
  display: flex;
  width: 100vw;
  height: 100vh;
}

.auth-brand-panel {
  flex: 1;
  background-color: var(--background);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 64px 80px;
}

.auth-brand-panel .logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.auth-brand-panel .brand-content {
  margin: auto 0;
}

.auth-brand-panel .hero-text {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 24px 0;
  letter-spacing: -2px;
  max-width: 480px;
}

.auth-brand-panel .sub-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}

.auth-brand-panel .brand-footer {
  font-size: 14px;
  color: var(--text-muted);
}

.auth-form-panel {
  flex: 1;
  background-color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form {
  width: 480px;
  display: flex;
  flex-direction: column;
}

.form-header {
  margin-bottom: 40px;
}

.form-header h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text);
  letter-spacing: -1px;
}

.form-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.label-row label {
  margin-bottom: 0;
}

.forgot-link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background-color: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

input::placeholder {
  color: #9CA3AF;
}

button[type="submit"] {
  width: 100%;
  height: 36px;
  background-color: var(--primary);
  color: var(--surface);
  border: none;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

button[type="submit"]:hover {
  background-color: var(--primary-hover);
}

.form-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.form-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

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