/* WootWP Tools Suite — shared tool styles. Brand: navy #08316A, orange #FA8C22. */
:root {
  --wt-navy: #08316A;
  --wt-navy-dark: #062550;
  --wt-orange: #FA8C22;
  --wt-orange-dark: #E07A12;
  --wt-bg: #F7F9FC;
  --wt-text: #1A2332;
  --wt-muted: #5A6B85;
  --wt-border: #E2E8F2;
  --wt-radius: 12px;
}

.wt-breadcrumb {
  font-size: 14px;
  color: var(--wt-muted);
  margin: 0 0 18px;
}
.wt-breadcrumb a { color: var(--wt-navy); text-decoration: none; }
.wt-breadcrumb a:hover { color: var(--wt-orange); }
.wt-breadcrumb .wt-sep { margin: 0 8px; color: var(--wt-border); }
.wt-breadcrumb .wt-current { color: var(--wt-text); font-weight: 600; }

.wt-tool {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  padding: 28px;
  margin: 0 0 32px;
  box-shadow: 0 2px 12px rgba(8, 49, 106, 0.06);
}
.wt-tool h3 { color: var(--wt-navy); margin-top: 0; }
.wt-field { margin-bottom: 16px; }
.wt-field label {
  display: block;
  font-weight: 600;
  color: var(--wt-navy);
  margin-bottom: 6px;
  font-size: 15px;
}
.wt-tool input[type="text"],
.wt-tool input[type="number"],
.wt-tool input[type="url"],
.wt-tool textarea,
.wt-tool select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--wt-border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--wt-text);
  background: #fff;
  box-sizing: border-box;
}
.wt-tool input:focus,
.wt-tool textarea:focus,
.wt-tool select:focus {
  outline: none;
  border-color: var(--wt-navy);
  box-shadow: 0 0 0 3px rgba(8, 49, 106, 0.12);
}
.wt-tool textarea { min-height: 140px; resize: vertical; }
.wt-row { display: flex; gap: 12px; flex-wrap: wrap; }
.wt-row .wt-field { flex: 1 1 160px; }

.wt-btn {
  display: inline-block;
  background: var(--wt-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 26px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.wt-btn:hover { background: var(--wt-orange); color: #fff; }
.wt-btn-secondary {
  background: #fff;
  color: var(--wt-navy);
  border: 2px solid var(--wt-navy);
}
.wt-btn-secondary:hover { border-color: var(--wt-orange); color: var(--wt-orange); background: #fff; }
.wt-btn-accent { background: var(--wt-orange); }
.wt-btn-accent:hover { background: var(--wt-orange-dark); }

.wt-result {
  margin-top: 20px;
  background: var(--wt-bg);
  border: 1px solid var(--wt-border);
  border-radius: 8px;
  padding: 20px;
}
.wt-result:empty { display: none; }
.wt-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.wt-stat {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.wt-stat .wt-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--wt-navy);
  display: block;
}
.wt-stat .wt-stat-label {
  font-size: 13px;
  color: var(--wt-muted);
}
.wt-output-list { list-style: none; padding: 0; margin: 12px 0 0; }
.wt-output-list li {
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.wt-copy-btn {
  background: var(--wt-bg);
  border: 1px solid var(--wt-border);
  color: var(--wt-navy);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.wt-copy-btn:hover { border-color: var(--wt-orange); color: var(--wt-orange); }
.wt-check { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; }
.wt-check input { width: 18px; height: 18px; accent-color: var(--wt-navy); }
.wt-note {
  font-size: 13px;
  color: var(--wt-muted);
  background: var(--wt-bg);
  border-left: 3px solid var(--wt-orange);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin-top: 16px;
}
.wt-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.wt-table th, .wt-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--wt-border);
}
.wt-table th { color: var(--wt-navy); font-weight: 700; background: var(--wt-bg); }

.wt-howto, .wt-faq, .wt-related { margin: 36px 0; }
.wt-howto h2, .wt-faq h2, .wt-related h2 {
  color: var(--wt-navy);
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--wt-orange);
  display: inline-block;
}
.wt-howto ol { padding-left: 22px; }
.wt-howto li { margin-bottom: 10px; font-size: 16px; }

.wt-faq-item {
  border: 1px solid var(--wt-border);
  border-radius: 8px;
  margin-bottom: 10px;
  background: #fff;
}
.wt-faq-item summary {
  padding: 14px 18px;
  font-weight: 600;
  color: var(--wt-navy);
  cursor: pointer;
  list-style: none;
}
.wt-faq-item summary::-webkit-details-marker { display: none; }
.wt-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--wt-orange);
  font-size: 20px;
  font-weight: 800;
}
.wt-faq-item[open] summary::after { content: "–"; }
.wt-faq-item p { padding: 0 18px 16px; margin: 0; color: var(--wt-text); }

.wt-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.wt-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--wt-border);
  border-radius: var(--wt-radius);
  padding: 20px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.wt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(8, 49, 106, 0.12);
  border-color: var(--wt-orange);
}
.wt-card-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wt-orange);
  margin-bottom: 6px;
}
.wt-card-title { font-size: 18px; font-weight: 700; color: var(--wt-navy); margin-bottom: 6px; }
.wt-card-desc { font-size: 14px; color: var(--wt-muted); flex: 1; }
.wt-card-link { margin-top: 12px; font-weight: 700; color: var(--wt-navy); font-size: 14px; }
.wt-card:hover .wt-card-link { color: var(--wt-orange); }

@media (max-width: 600px) {
  .wt-tool { padding: 18px; }
  .wt-btn { width: 100%; text-align: center; }
  .wt-howto h2, .wt-faq h2, .wt-related h2 { font-size: 20px; }
}
