#temp {
	font-family: monospace;
	font-size: 16px;
}

dialog menu {
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.my_custom {
  font-family: 'Verdana', sans-serif;
  max-width: 1300px;
  margin: 20px auto;
}

/* === Credits Banner === */
.credits-banner {
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.credits-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.credits-links a {
    color: var(--links);
    text-decoration: none;
    font-weight: 500;
}

.credits-links a:hover {
    text-decoration: underline;
}



/* === Controls (Search + Filters) === */
.controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* margin-bottom: 20px;*/
}

.search-container input {
  width: 80%; /* 100%; max-width: 800px; */
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  color: var(--form-text);
  font-size: 1em;
  margin: 0 auto; /* for centering */
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.1s ease;
}

.filter-btn.active {
    background: var(--button-base);
    color: var(--form-text);
    border-color: var(--focus);
}

.filter-btn:hover {
    background: var(--background-alt);
}


/* === Experiment Grid === */
.experiment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* min-height: 120px; Ensures consistent height */
}


.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    margin-bottom: 5px;
}

.card-title {
    font-size: 0.9em; /* 1.1em; */
    font-weight: 600; /* 600; */
    color: var(--text-bright);
    margin-bottom: 6px;
}

.card-desc {
    font-size: 0.8em; /* 0.9em; */
    color: var(--text-muted);
    line-height: 1.4;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1px;
}

.tools-used {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tool-badge {
    background: var(--background-alt);
    color: var(--text-main);
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.action-btn {
    background: var(--button-base);
    color: var(--form-text);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background 0.1s ease;
}

.action-btn:hover {
    background: var(--button-hover);
}

/* === Empty State === */
.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 40px;
}

/* === Footer === */
footer {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9em;
}

/* === Responsive Adjustments === */
@media (max-width: 600px) {
    .controls {
        gap: 12px;
    }

    .experiment-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 12px;
    }
}