/* Shared styles for entity detail pages (Person, Organization, Funder, Land Node) */

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.detail-section h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.detail-field {
    margin-bottom: 1rem;
}

.detail-field-label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-color-secondary);
}

.detail-field-value {
    margin: 0;
}

/* Match card on detail-page Matches tab */
.match-card-detail {
    background: var(--surface-card);
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.match-card-detail .match-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.match-card-detail .match-name {
    font-weight: 600;
    font-size: 1rem;
}

.match-card-detail a.match-name-link {
    color: var(--mln-primary, #00594c);
    text-decoration: none;
}
.match-card-detail a.match-name-link:hover {
    text-decoration: underline;
}

.match-card-detail .match-type {
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    margin-left: 0.5rem;
}

.match-card-detail .match-reasoning-text {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.match-card-detail .match-score-val {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.match-empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--text-color-secondary);
}
