/* Container-Grid für die Insights-Karten */
.market-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Die Produktkarte im spartanischen Co-Libri Look */
.product-insight-card {
    background: var(--tw-card-bg, #1a1f26);
    border: 1px solid var(--tw-border-color, #2d3540);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-insight-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Bildbereich */
.product-image-wrapper {
    width: 100%;
    height: 170px;
    background: #11151a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #2d3540;
    padding: 10px;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Informations-Inhalt */
.product-info-wrapper {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-info-wrapper h3 {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    font-family: monospace;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.8rem;
    line-height: 1.4;
}

.meta-row .label {
    color: #94a3b8;
}

.meta-row .value {
    color: #cbd5e1;
    text-align: right;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Human-in-the-Loop Action Buttons */
.action-buttons-wrapper {
    padding: 12px 16px 16px 16px;
    display: flex;
    gap: 8px;
    background: #15191f;
    border-top: 1px solid #2d3540;
}

.action-buttons-wrapper button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}

.btn-verify {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
.btn-verify:hover {
    background: rgba(16, 185, 129, 0.22);
}

.btn-reject {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
}
.btn-reject:hover {
    background: rgba(239, 68, 68, 0.22);
}
