/* shell: Google Dork Finder - query builder (LS), live query + history
   (CS), preset templates (RS). Reuses several generic classes already
   loaded (.v1-tool-list, .v1-pulpit-inspector-field, .v1-pulpit-remote-
   hint, .v1-pulpit-connect-btn, .v1-import-manager-note,
   .v1-range-history-btn) rather than duplicating that styling here - same
   reuse convention Mail XSS Tester's own CSS file already established. */

.v1-google-dork-shell {
  padding: 12px;
  overflow-y: auto;
  height: 100%;
  box-sizing: border-box;
}

.v1-google-dork-library,
.v1-google-dork-templates {
  padding: 4px;
}

.v1-google-dork-query-preview {
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  background: #22252a;
  color: var(--txt);
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  overflow-wrap: break-word;
}

.v1-google-dork-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  background: #22252a;
  padding: 5px 6px;
  margin-top: 6px;
}

.v1-google-dork-history-text {
  width: auto;
  min-width: 0;
  font-size: 11px;
  color: var(--txt);
  font-family: var(--font-mono, monospace);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v1-google-dork-history-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
  width: 44px;
  justify-content: flex-end;
}

html[dir="rtl"] .v1-google-dork-history-actions {
  margin-left: 0;
  margin-right: 2px;
}

.v1-google-dork-template-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v1-google-dork-template-btn {
  border: 1px solid #3f3f46;
  border-radius: 8px;
  background: transparent;
  color: var(--txt);
  font-size: 11px;
  font-family: var(--font-ui);
  padding: 6px 10px;
  cursor: pointer;
  text-align: left;
}

.v1-google-dork-template-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}
