/* NEXUS Public CSS — card embed + capture form + dashboard */

/* ── Embed card ──────────────────────────────────────────── */
.nexus-card-embed {
  max-width: 360px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0 auto;
}
.nexus-card-embed-header {
  padding: 28px 20px 20px;
  text-align: center;
  color: #fff;
}
.nexus-card-embed-photo {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,.8); display: block; margin: 0 auto 10px; background: #e0e0e0;
}
.nexus-card-embed-name     { font-size: 18px; font-weight: 700; }
.nexus-card-embed-headline { font-size: 13px; opacity: .85; margin-top: 2px; }
.nexus-card-embed-body     { padding: 14px 16px; }
.nexus-card-embed-field    { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; }
.nexus-card-embed-field:last-child { border-bottom: none; }
.nexus-card-embed-field a  { color: inherit; text-decoration: none; }
.nexus-card-embed-field a:hover { opacity: .7; }
.nexus-card-embed-footer   { padding: 12px 16px; text-align: center; }
.nexus-btn-save-embed {
  display: inline-block; padding: 10px 24px; border-radius: 10px;
  color: #fff; font-weight: 600; text-decoration: none; font-size: 14px;
  cursor: pointer; border: none; width: 100%; text-align: center;
}

/* ── Capture form ─────────────────────────────────────────── */
.nexus-capture-form {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  max-width: 440px;
  margin: 0 auto;
  font-family: 'Inter', system-ui, sans-serif;
}
.nexus-capture-form h3 { margin: 0 0 20px; font-size: 18px; color: #1a202c; }
.nexus-capture-field   { margin-bottom: 14px; }
.nexus-capture-field label {
  display: block; font-size: 12px; font-weight: 600; color: #718096;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px;
}
.nexus-capture-field input {
  width: 100%; padding: 11px 14px; border: 1.5px solid #e2e8f0;
  border-radius: 10px; font-size: 15px; font-family: inherit;
  transition: border-color .2s; box-sizing: border-box;
}
.nexus-capture-field input:focus { outline: none; border-color: #4F6EF7; }
.nexus-capture-submit {
  width: 100%; padding: 13px; background: #4F6EF7; color: #fff;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit; margin-top: 4px;
}
.nexus-capture-submit:hover { background: #3a5ae0; }
.nexus-capture-success { display: none; text-align: center; padding: 20px 0; }
.nexus-capture-success h3 { color: #2d7d32; }

/* ── Dashboard shortcode ─────────────────────────────────── */
.nexus-dashboard-wrap { font-family: 'Inter', system-ui, sans-serif; max-width: 900px; margin: 0 auto; }
.nexus-dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.nexus-dashboard-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.05); position: relative;
}
.nexus-dashboard-card-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.nexus-dashboard-card-url  { font-size: 11px; color: #a0aec0; word-break: break-all; margin-bottom: 12px; }
.nexus-dashboard-card-actions a { font-size: 13px; margin-right: 10px; color: #4F6EF7; text-decoration: none; }
.nexus-dashboard-card-actions a:hover { text-decoration: underline; }
.nexus-new-card-form { background: #f7f8fc; border-radius: 14px; padding: 20px; margin-top: 20px; }
.nexus-new-card-form h3 { margin: 0 0 14px; font-size: 16px; }
.nexus-new-card-form input[type=text] {
  width: 100%; padding: 10px 12px; border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-size: 14px; margin-bottom: 10px; box-sizing: border-box;
}
.nexus-new-card-form button { background: #4F6EF7; color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-size: 14px; cursor: pointer; }
