/*
 * PSC.Blazor.Components.SenderDomain — admin UI styles.
 *
 * Scoped to .sd-* classes so they never collide with host styles. Uses
 * Bootstrap CSS variables (--bs-*) so the cards inherit the host's
 * light / dark theme automatically.
 */

.sd-record-card {
    border-left-width: 4px;
}

.sd-record-card.sd-status-verified {
    border-left-color: var(--bs-success);
}

.sd-record-card.sd-status-mismatch {
    border-left-color: var(--bs-danger);
}

.sd-record-card.sd-status-pending {
    border-left-color: var(--bs-secondary);
}

.sd-value-textarea {
    /* Long DKIM TXT values are unreadable when wrapped — let the user
       scroll horizontally and keep the textarea height predictable. */
    white-space: pre;
    word-break: keep-all;
    overflow-x: auto;
    min-height: 3rem;
}

.sd-found-value {
    /* Same constraints as the value textarea so the diff aligns visually. */
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.8rem;
    border-radius: 0.25rem;
}

.sd-row:hover {
    background-color: var(--bs-tertiary-bg);
}

.sd-empty-icon {
    font-size: 3rem;
}
