/* public/css/commandReference.css — shared styles for the SMS command reference,
   rendered by views/partials/commandReference.ejs on both /help and /settings/preferences. */

/* More breathing room than legal.css's default page padding, for /help specifically */
.help-page {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Boxed "card" look for /help, matching the settings page's pref-section styling
   so both surfaces present the command list with the same visual weight. */
.help-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06);
  padding: 2rem 2.25rem;
}

.help-card h1 {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  margin-bottom: 0.375rem;
}

.help-card .updated {
  font-size: 0.9375rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Pointer to the web Settings page, since allowlist/schedule/shortcuts have no SMS command */
.help-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  background: #eef2ff;
  margin-bottom: 1.75rem;
}

.help-callout__icon {
  flex-shrink: 0;
  font-size: 1.125rem;
  line-height: 1.5;
}

.help-callout p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #3730a3;
}

.help-callout a {
  color: #3730a3;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.help-callout a:hover {
  color: #312e81;
}

.command-reference {
  margin-top: 0.5rem;
}

.command-reference__group {
  margin-bottom: 1.5rem;
}

.command-reference__group:last-child {
  margin-bottom: 0;
}

.command-reference__group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin: 0 0 0.625rem;
}

.command-reference__group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #eef1ff;
  font-size: 0.8125rem;
}

.command-reference__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.command-reference__item {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.command-reference__item:last-child {
  border-bottom: none;
}

.command-reference__token {
  flex-shrink: 0;
  min-width: 3.25rem;
  text-align: center;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a2e;
  background: #f0f0f0;
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.command-reference__desc {
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .help-card {
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
  }
}
