/* Public demo request & auth forms */

.public-form-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(160deg, #0f0e17 0%, #1e1b4b 40%, #312e81 100%);
  color: #1e1b4b;
}

.public-form {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-form__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}

.public-form__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.public-form__logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 8px;
}

.public-form__back {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.public-form__back:hover { color: #fff; }

.public-form__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px 48px;
}

.public-form__card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.public-form__card--wide {
  max-width: 640px;
}

.public-form__card--auth {
  max-width: 420px;
}

.public-form__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6366f1;
  margin-bottom: 12px;
}

.public-form__card h1 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.2;
}

.public-form__card > p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 28px;
}

.form-grid {
  display: grid;
  gap: 20px;
}

.form-grid--2 {
  grid-template-columns: 1fr 1fr;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e1b4b;
  margin-bottom: 6px;
}

.form-field .hint {
  font-weight: 400;
  color: #94a3b8;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #1e1b4b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
  background: #fff;
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-field--trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-errors {
  padding: 14px 16px;
  margin-bottom: 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-size: 14px;
  color: #b91c1c;
}

.form-errors ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.form-actions {
  margin-top: 8px;
}

.btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-form:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.thank-you__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border-radius: 50%;
}

.thank-you {
  text-align: center;
}

.thank-you h1 { text-align: center; }
.thank-you p { text-align: center; }

@media (max-width: 600px) {
  .form-grid--2 { grid-template-columns: 1fr; }
  .public-form__card { padding: 28px 24px; }
}
