/* assets/css/git-commands.css */

.tool-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.search-bar {
  position: relative;
  margin-bottom: 30px;
}

.search-bar input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  font-size: 1.05rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
}

.search-bar .material-icons-outlined {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.commands-container {
  display: grid;
  gap: 20px;
}

.command-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s;
}

.command-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.command-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.command-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.copy-btn {
  padding: 6px 12px;
  font-size: 0.9rem;
}

.command-code {
  background: #1e2937;
  color: #e0f2fe;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: 'Consolas', monospace;
  font-size: 15px;
  margin: 12px 0;
  overflow-x: auto;
  white-space: pre;
}

.command-desc {
  color: var(--text-light);
  line-height: 1.5;
}