/* respond.css — passwordless respond page */

.respond-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.respond-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.respond-brand a {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d2554;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.respond-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.respond-type-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}

.respond-card h1 {
  margin: 0 0 .35rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.respond-meta {
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.respond-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 1.5rem 0;
}

.respond-form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: .35rem;
}

.respond-form select,
.respond-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: .65rem .9rem;
  font-size: .95rem;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

.respond-form select:focus,
.respond-form textarea:focus {
  border-color: #3b82f6;
}

.respond-form textarea {
  resize: vertical;
  min-height: 130px;
}

.respond-form .form-group {
  margin-bottom: 1.1rem;
}

.respond-form .terms-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .84rem;
  color: #475569;
  margin-bottom: 1.25rem;
}

.respond-form .terms-row input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.respond-form .terms-row a {
  color: #2563eb;
}

.respond-btn {
  display: block;
  width: 100%;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .85rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}

.respond-btn:hover { background: #1e40af; }
.respond-btn:disabled { background: #93c5fd; cursor: not-allowed; }

/* States */
.respond-loading,
.respond-expired,
.respond-success,
.respond-already,
.respond-trial-expired,
.respond-error-state {
  display: none;
}

.respond-loading.visible,
.respond-expired.visible,
.respond-success.visible,
.respond-already.visible,
.respond-trial-expired.visible,
.respond-error-state.visible {
  display: block;
}

.state-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: .75rem;
}

.state-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin-bottom: .5rem;
}

.state-body {
  font-size: .9rem;
  color: #475569;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cta-btn {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  border-radius: 10px;
  padding: .75rem 1.5rem;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: .75rem;
}

.cta-btn:hover { background: #15803d; }

.secondary-link {
  display: block;
  text-align: center;
  font-size: .84rem;
  color: #64748b;
}

.secondary-link a { color: #2563eb; }

.respond-error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .88rem;
  color: #b91c1c;
  margin-bottom: 1rem;
  display: none;
}

.respond-error-msg.visible { display: block; }
