.auth-page-image {
  min-height: 100svh;
  overflow-y: auto;
  align-items: flex-start;
  padding: 24px;
}

.register-auth-shell {
  grid-template-columns: minmax(350px, 405px) minmax(520px, 640px);
  gap: 18px;
  width: min(1064px, 100%);
  margin: auto;
  align-items: stretch;
}

.auth-page-image .register-auth-card,
.auth-page-image .register-demo-panel {
  border: 1px solid #e2e5e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
  backdrop-filter: none;
}

.auth-page-image .register-auth-card {
  display: flex;
  flex-direction: column;
  padding: 28px 30px;
}

.register-auth-card .form-footer {
  margin-top: auto;
  padding-top: 22px;
}

.register-auth-card .auth-logo {
  margin-bottom: 18px;
}

.register-auth-card .auth-subtitle {
  margin-bottom: 18px;
}

.register-auth-card .form-group {
  margin-bottom: 11px;
}

.register-demo-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  color: #111827;
}

.register-demo-head {
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.register-demo-kicker {
  margin: 0 0 7px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
}

.register-demo-panel h2 {
  margin: 0 0 7px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.register-demo-lead {
  max-width: 560px;
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.register-demo-locked-note {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

.register-project-options {
  min-width: 0;
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.register-project-options legend {
  margin-bottom: 10px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

.register-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.register-project-option {
  position: relative;
  display: flex;
  min-width: 0;
  gap: 10px;
  padding: 13px;
  border: 1px solid #dfe3e8;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}

.register-project-option:hover {
  border-color: #aeb7c4;
  background: #f9fafb;
}

.register-project-option:has(input:checked) {
  border-color: #2563eb;
  background: #eff6ff;
}

.register-project-option:has(input:focus-visible) {
  outline: 3px solid rgba(37, 99, 235, .18);
  outline-offset: 2px;
}

.register-project-option input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: #2563eb;
  cursor: pointer;
}

.register-project-option input:disabled {
  cursor: default;
}

.register-project-content {
  display: block;
  min-width: 0;
}

.register-project-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.register-project-title strong {
  min-width: 0;
  color: #111827;
  font-size: 13px;
  line-height: 1.35;
}

.register-project-title em {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 5px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.register-project-content > small {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 10.5px;
  line-height: 1.4;
}

.register-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 9px;
  margin-top: 9px;
  color: #667085;
  font-size: 9.5px;
  line-height: 1.35;
}

.register-project-meta span:not(:first-child)::before {
  content: "·";
  margin-right: 9px;
  color: #98a2b3;
}

.register-project-option-empty {
  align-items: flex-start;
  background: #f9fafb;
}

.register-demo-note {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  color: #667085;
  font-size: 11px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .auth-page-image {
    padding: 16px;
  }

  .register-auth-shell {
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
    align-items: start;
  }

  .register-demo-panel {
    order: -1;
  }
}

@media (max-width: 620px) {
  .auth-page-image {
    padding: 10px;
  }

  .auth-page-image .register-auth-card,
  .auth-page-image .register-demo-panel {
    padding: 22px 18px;
    border-radius: 10px;
  }

  .register-project-grid {
    grid-template-columns: 1fr;
  }

  .register-demo-panel h2 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .register-project-option {
    transition: none;
  }
}
