:root {
  --auth-bg: #ffffff;
  --auth-rail: #f5f7ff;
  --auth-text: #101828;
  --auth-muted: #667085;
  --auth-border: #e7eaf3;
  --auth-accent: #5b3bf5;
  --auth-accent-2: #23c6ff;
  --fwl-font-family: "Gill Sans", "Trebuchet MS", "Verdana", sans-serif;
  --fwl-text: var(--auth-text);
  --fwl-muted: var(--auth-muted);
  --fwl-text-regular: 15px;
  --fwl-text-title: 20px;
  --fwl-text-subtitle: 14px;
  --fwl-bg: #ffffff;
  --fwl-surface: #f7f8fc;
  --fwl-border: var(--auth-border);
  --fwl-radius: 14px;
  --fwl-shadow: 0 16px 40px rgba(16, 24, 40, 0.1);
  --fwl-primary: var(--auth-accent);
  --fwl-danger: #b42318;
  --fwl-success: #0f766e;
}

* {
  box-sizing: border-box;
}

body.auth-body {
  margin: 0;
  font-family: "Gill Sans", "Trebuchet MS", "Verdana", sans-serif;
  background: var(--auth-bg);
  color: var(--auth-text);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 350px 1fr;
}

.auth-hero {
  padding: 32px 40px;
  background: var(--auth-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  border-right: 1px solid var(--auth-border);
}

.auth-logo {
  width: 300px;
  max-width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.auth-title {
  font-size: 34px;
  margin: 0;
  line-height: 1.2;
}

.auth-subtitle {
  font-size: 18px;
  color: var(--auth-muted);
  margin: 0;
  max-width: 460px;
}

.auth-points {
  display: grid;
  gap: 10px;
  color: var(--auth-muted);
  font-size: 15px;
}

.auth-main {
  padding: 48px 56px;
  background: var(--auth-rail);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.auth-card {
  border: 1px solid var(--auth-border);
  border-radius: 20px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.08);
  width: min(420px, 100%);
}

.auth-card--component {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  width: min(460px, 100%);
}

.auth-card--component #identity-mount {
  width: 100%;
}

.auth-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.auth-card p {
  margin: 0 0 16px;
  color: var(--auth-muted);
  font-size: 14px;
}

.auth-links {
  margin-top: 16px;
  font-size: 15px;
  color: var(--auth-muted);
}

.auth-links a {
  color: var(--auth-accent);
  text-decoration: none;
  font-weight: 600;
}

.auth-links a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-hero {
    border-right: none;
    border-bottom: 1px solid var(--auth-border);
  }
  .auth-main {
    padding: 32px 24px 48px;
  }
}
