/* Privacy Policy Generator — Tool Styles */
/* Extends /style.css — General/Utility theme overrides */

/* ── Ad slots hidden ── */
.ad-slot,.ad-leaderboard,.ad-in-article,.ad-anchor,.ad-placeholder,[class*='ad-slot']{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;}

/* ── Page hero ── */
.tool-hero {
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  color: #fff;
}
.tool-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff !important;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.tool-hero p {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 0.35rem 0.95rem;
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ── Main layout ── */
.tool-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* ── Calculator card ── */
.calc-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.calc-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.calc-card h2 svg {
  color: #4f46e5;
}

/* ── Form Sections ── */
.form-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── Form fields ── */
.form-field {
  margin-bottom: 1.25rem;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-field input, .form-field select {
  width: 100%;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: all 0.2s;
}
.form-field input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}

/* ── Checkbox Groups ── */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
}
.checkbox-item:hover {
  border-color: #4f46e5;
  background: #f8fafc;
}
html[data-theme="dark"] .checkbox-item:hover { background: #1e293b; }

.checkbox-item input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.checkbox-item span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ── Output ── */
.output-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text);
  resize: vertical;
  outline: none;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79,70,229,0.3);
}

.copy-btn {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover { background: #dcfce7; transform: scale(1.02); }

/* ── Related tools grid ── */
.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .related-tools-grid { grid-template-columns: 1fr; }
}

.tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #4f46e5;
}
.icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}
.tool-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.tool-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Content section ── */
.content-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  border-left: 4px solid #4f46e5;
  padding-left: 1rem;
}
.content-section p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.steps-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  counter-reset: step;
}
.steps-box li {
  list-style: none;
  position: relative;
  padding: 0.75rem 0 0.75rem 3rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.steps-box li:last-child { border-bottom: none; }
.steps-box li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #4f46e5;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-pill {
  background: #f0f7ff;
  border-radius: 14px;
  padding: 1.25rem;
}
html[data-theme="dark"] .feature-pill { background: #1e293b; }
.feature-pill strong {
  display: block;
  color: #4f46e5;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.feature-pill p {
  font-size: 0.85rem;
  margin: 0;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.faq-item p {
  font-size: 0.9rem;
  margin: 0;
}

.related-list {
  list-style: none;
  padding: 0;
}
.related-list li {
  border-bottom: 1px solid var(--border);
}
.related-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}
.related-list a:hover { color: #4f46e5; padding-left: 0.5rem; }
.related-list a::before {
  content: "→";
  color: #4f46e5;
  font-weight: 700;
}
