/* ابزارهای رایگان سایت اصلی نیکو */
.nk-tool-card {
  display: block;
  height: 100%;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--lf-line, #e2e8f0);
  border-radius: var(--lf-radius, 16px);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
}
.nk-tool-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  color: inherit;
}
.nk-tool-card > i {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--lf-blue-soft, #e8f0ff);
  color: var(--lf-blue-mid, #1d4ed8);
  font-size: 1.25rem;
  margin-bottom: .75rem;
}
.nk-tool-card h3 {
  font-size: 1.05rem;
  margin: 0 0 .4rem;
}
.nk-tool-card p {
  margin: 0;
  color: var(--lf-muted, #64748b);
  font-size: .92rem;
  line-height: 1.7;
}
.nk-tool-panel {
  background: #fff;
  border: 1px solid var(--lf-line, #e2e8f0);
  border-radius: var(--lf-radius, 16px);
  padding: 1.25rem 1.35rem;
}
.nk-tool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--lf-line, #e2e8f0);
  padding-bottom: .75rem;
}
.nk-tool-tabs button {
  border: 1px solid transparent;
  background: #f1f5f9;
  color: var(--lf-ink, #0f172a);
  border-radius: 999px;
  padding: .4rem .95rem;
  font-size: .9rem;
  cursor: pointer;
}
.nk-tool-tabs button.active {
  background: var(--lf-blue-soft, #e8f0ff);
  border-color: #bfdbfe;
  color: var(--lf-blue-mid, #1d4ed8);
  font-weight: 600;
}
.nk-tool-out {
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  min-height: 2.5rem;
}
.nk-age-main {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--lf-blue-mid, #1d4ed8);
}
.nk-qr-box {
  display: inline-flex;
  padding: .75rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  min-width: 120px;
  min-height: 120px;
  align-items: center;
  justify-content: center;
}
.nk-img-drop {
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
}
.nk-img-drop.is-drag {
  border-color: var(--lf-blue-mid, #1d4ed8);
  background: var(--lf-blue-soft, #e8f0ff);
}
.nk-img-preview {
  max-width: 100%;
  max-height: 280px;
  border-radius: 12px;
  margin-top: 1rem;
}
.nk-tool-cta {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--lf-radius, 16px);
  background: linear-gradient(135deg, #041c45 0%, var(--lf-blue-deep, #062a63) 100%);
  color: #fff;
}
.nk-tool-cta h3 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.nk-tool-cta p { color: rgba(255,255,255,.85); margin-bottom: 1rem; }
.nk-tool-faq .accordion-button { font-weight: 600; }
