/* ==========================================================================
   NEXUS Leads (Buyers & Sellers)
   ========================================================================== */

.nx-lead-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.nx-lead-interest {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.nx-lead-interest__option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--panel2);
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background-color 160ms ease;
}

.nx-lead-interest__option:hover {
    border-color: var(--accent);
}

.nx-lead-interest__option input {
    accent-color: var(--accent);
    width: 1rem;
    height: 1rem;
}

.nx-lead-interest__option:has(input:checked) {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

.nx-lead-interest__option span {
    color: var(--text);
    font-weight: 650;
    font-size: 0.9rem;
}

.nx-auth-card--lead {
    max-width: 520px;
}

@media (max-width: 900px) {
    .nx-lead-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .nx-lead-interest {
        grid-template-columns: 1fr;
    }
}

/* Offices */
.nx-office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.nx-office-card {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.nx-office-card--primary {
    border-color: var(--accent);
}

.nx-office-card__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.nx-office-card__name {
    margin: 0 0 0.25rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.nx-office-card__tagline {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.nx-office-card__line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.nx-office-card__line .nx-icon {
    flex: none;
    color: var(--accent);
}

.nx-office-card__license {
    color: var(--text);
}

.nx-office-card__actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.nx-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.nx-office-print-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.85rem;
}

.nx-office-print-footer strong {
    color: var(--text);
    font-weight: 700;
}

.nx-office-print-footer span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nx-office-print-footer .nx-icon {
    color: var(--accent);
}

@media print {
    .nx-office-print-footer {
        border-top: 1px solid #ccc;
        color: #333;
    }

    .nx-office-print-footer strong {
        color: #000;
    }
}

.no-print {
    display: flex;
}

@media print {
    .no-print {
        display: none !important;
    }
}

.nx-print-by-select {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border);
    font-size: 0.85rem;
    color: var(--muted);
}

.nx-print-by-select select {
    margin-left: 0.5rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    border-radius: 0.35rem;
    background: var(--panel);
    color: var(--text);
    font-size: 0.85rem;
}

.nx-print-by {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--muted);
}

/* Reports */
.nx-table--report {
    width: 100%;
    margin-bottom: 0.5rem;
}

.nx-table__empty {
    text-align: center;
    color: var(--muted);
    padding: 1rem;
}

.nx-report-sub {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}
