.marketplace {
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.header p {
    color: var(--ifm-color-emphasis-600);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.card {
    border: 1px solid var(--ifm-color-emphasis-200);
    border-radius: 8px;
    padding: 1.5rem;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.card:hover {
    border-color: var(--ifm-color-primary);
    box-shadow: 0 2px 12px rgba(74, 222, 128, 0.15);
}

.cardTitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ifm-color-primary);
    margin: 0 0 0.5rem 0;
}

.cardDescription {
    color: var(--ifm-color-emphasis-700);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.installRow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.installCommand {
    background: var(--ifm-color-emphasis-100);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-family: var(--ifm-font-family-monospace);
    font-size: 0.75rem;
    overflow-x: auto;
    white-space: nowrap;
    color: var(--ifm-color-emphasis-800);
    flex: 1;
    min-width: 0;
}

.copyButton {
    background: transparent;
    color: var(--ifm-color-emphasis-600);
    border: 1px solid var(--ifm-color-emphasis-300);
    border-radius: 4px;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s;
}

.copyButton:hover {
    color: var(--ifm-color-primary);
    border-color: var(--ifm-color-primary);
    background: var(--ifm-color-emphasis-100);
}

.installLabel {
    font-size: 0.75rem;
    color: var(--ifm-color-emphasis-500);
    margin-bottom: 0.25rem;
}

.count {
    text-align: center;
    color: var(--ifm-color-emphasis-500);
    margin-bottom: 1.5rem;
}

.error {
    text-align: center;
    color: var(--ifm-color-danger);
    margin-bottom: 1.5rem;
}
