body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 40px;
  background: #f9f9f9;
  color: #333;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

h1 {
  margin-top: 0;
  color: #111;
  font-size: 24px;
  margin-bottom: 5px;
}

#search {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 25px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
}
#search:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.pkg {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.pkg a {
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
}
.pkg a:hover {
  text-decoration: underline;
}

.subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
  font-family: monospace;
}

h2 {
  font-size: 18px;
  margin: 20px 0 10px 0;
  padding-bottom: 5px;
  border-bottom: 2px solid;
}

.inner-title {
  color: #000000;
  border-color: #000000;
}

.pkg-file {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}
.pkg-file a {
  text-decoration: none;
  font-family: monospace;
  font-size: 14px;
  word-break: break-all;
}

.local-file a {
  color: #0066cc;
}
.pypi-file a {
  color: #0066cc;
}

.pkg-file a:hover {
  text-decoration: underline;
}
.no-results {
  display: none;
  color: #666;
  font-style: italic;
  padding: 15px 0;
  text-align: center;
}

/* Layout to put Search and Reload side-by-side */
.search-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.search-row #search {
    margin-bottom: 0; /* Clear previous margin */
    flex: 1;
}

/* Professional Button Style */
.btn-reload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease-in-out;
}
.btn-reload:hover {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}
.btn-reload:active {
    background-color: #f1f5f9;
}
.btn-reload::before {
    content: "🔄";
    margin-right: 6px;
    font-size: 13px;
}

.copy-btn {
    background: none;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 6px;
    margin-right: 8px;
    color: #64748b;
    line-height: 1;
    transition: all 0.15s;
    flex-shrink: 0;
}
.copy-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}
.copy-btn.copied {
    color: #16a34a;
    border-color: #16a34a;
}
