/* nanoPost free-tier comparator */

.nanopost-tool--ftc {
  max-width: 1080px;
}

.nanopost-tool__form--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: #fafafa;
  border-radius: 6px;
}

.nanopost-tool__field small {
  display: block;
  margin-top: 0.25rem;
  color: #666;
  font-size: 0.8rem;
}

.nanopost-tool__field--checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
}

.nanopost-tool__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.nanopost-tool__actions {
  display: flex;
  align-items: end;
  gap: 0.75rem;
}

.nanopost-tool__reset {
  color: #666;
  font-size: 0.85rem;
  text-decoration: underline;
}

.nanopost-tool__count {
  margin: 0.5rem 0 0.75rem;
  color: #444;
  font-size: 0.9rem;
}

.nanopost-tool__table--ftc {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.nanopost-tool__table--ftc th,
.nanopost-tool__table--ftc td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

.nanopost-tool__table--ftc thead th {
  background: #f7f7f7;
  border-bottom: 2px solid #ddd;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nanopost-tool__table--ftc tbody tr:hover {
  background: #fafafa;
}

.nanopost-tool__badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nanopost-tool__badge.is-permanent { background: #e6f4ea; color: #1e6f3f; }
.nanopost-tool__badge.is-trial     { background: #fef4e6; color: #8a5a15; }
.nanopost-tool__badge.is-sandbox   { background: #eef1f8; color: #3a4a7a; }

.nanopost-tool__flag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  background: #fdecec;
  color: #8a2a2a;
  border-radius: 3px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nanopost-tool__notes {
  color: #444;
  font-size: 0.85rem;
  max-width: 26rem;
}

.nanopost-tool__cta {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  background: #111;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nanopost-tool__cta:hover {
  background: #333;
  color: #fff;
}

.nanopost-tool__empty {
  padding: 1rem;
  background: #fafafa;
  border-radius: 4px;
  color: #444;
}

.nanopost-tool__foot {
  margin-top: 1rem;
  font-size: 0.83rem;
  color: #555;
  border-top: 1px dashed #ddd;
  padding-top: 0.75rem;
}

.nanopost-tool__foot code {
  background: #f2f2f2;
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  font-size: 0.85em;
}

@media (max-width: 800px) {
  .nanopost-tool__table--ftc {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .nanopost-tool__notes {
    white-space: normal;
    max-width: none;
  }
}
