﻿/* ================================================================
   PersonDedupDialog.css — person-dedup-dialog-only styles (pdd-)
   Shared chrome (dlg-) lives in css/dialogs.css.
   Linked in App.razor: <link rel="stylesheet" href="css/PersonDedupDialog.css" />
================================================================ */

/* ── Warning-tinted title chip (overrides the shared indigo chip) ── */
.dlg-dialog-title-icon.pdd-icon-warn {
    background: rgba(255, 193, 7, 0.14);
    color: var(--mud-palette-warning);
}

/* ── Existing-person summary card ── */
.pdd-person-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--mud-palette-background-grey, rgba(0, 0, 0, 0.04));
    border-radius: 8px;
}

.pdd-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mud-palette-primary, #7e6fff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    flex-shrink: 0;
}

.pdd-person-info {
    flex: 1;
    min-width: 0;
}

.pdd-person-name {
    font-weight: 500;
    font-size: 15px;
}

.pdd-person-meta {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

/* ── Name-conflict notice ── */
.pdd-conflict {
    background: rgba(255, 193, 7, 0.12);
    border-left: 3px solid var(--mud-palette-warning);
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
}

.pdd-conflict-sub {
    margin-top: 6px;
    opacity: 0.8;
}

/* ── Explanatory note ── */
.pdd-note {
    font-size: 13px;
    margin: 0;
    color: var(--mud-palette-text-secondary);
}
