/* Tools app styling — client-side only, no backend. */

.tools-app {
  margin: 1.5rem 0 2rem;
  background: var(--code-bg, rgba(0,0,0,0.04));
  border: 1px solid var(--border, rgba(128,128,128,0.25));
  border-radius: 12px;
  padding: 1.5rem;
}

.tool-question h2,
.tool-result-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.tool-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.tool-option {
  text-align: left;
  padding: 0.85rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--border, rgba(128,128,128,0.35));
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.tool-option:hover,
.tool-option:focus-visible {
  border-color: var(--primary, #3b82f6);
  background: rgba(59,130,246,0.08);
}

.tool-drone-name {
  font-size: 1.5rem;
  font-weight: 700;
}

.tool-drone-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary, #888);
  margin-left: 0.4rem;
}

.tool-drone-tag {
  color: var(--primary, #3b82f6);
  font-weight: 600;
  margin: 0.2rem 0 0.5rem;
}

.tool-drone-title {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.05rem;
}

.tool-drone-why {
  margin-bottom: 0.75rem;
}

.tool-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-top: 1px solid var(--border, rgba(128,128,128,0.2));
}

.tool-specs li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border, rgba(128,128,128,0.2));
  font-size: 0.95rem;
}

.tool-specs li strong {
  color: var(--primary, #3b82f6);
  font-weight: 600;
  margin-right: 0.3rem;
}

.tool-drone-link {
  display: inline-block;
  font-weight: 600;
}

.tool-restart {
  margin-top: 1.25rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border, rgba(128,128,128,0.4));
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.95rem;
}

.tool-restart:hover {
  border-color: var(--primary, #3b82f6);
}

/* Tool hub grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.tool-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--border, rgba(128,128,128,0.25));
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s;
}

.tool-card:hover {
  border-color: var(--primary, #3b82f6);
  transform: translateY(-2px);
}

.tool-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tool-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.tool-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
  flex: 1;
}

.tool-card-cta {
  font-weight: 600;
  color: var(--primary, #3b82f6);
}
