/* ==========================================================================
   User Card — shared across followers, following, search results,
   notifications. Used via Pages/Shared/_UserCard.cshtml.
   ========================================================================== */

.user-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-md, 8px);
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    transition: background 0.15s, transform var(--transition-base), box-shadow var(--transition-base);
}

.user-card:hover {
    background: var(--color-surface-hover, #f8fafc);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.user-card__link {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.user-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color-border, #e5e7eb);
}

.user-card__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
}

.user-card__name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card__username {
    font-size: 0.8rem;
}

.user-card__location {
    font-size: 0.78rem;
}

.user-card__badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.user-card__action {
    flex-shrink: 0;
}

/* User list wrapper — stacks cards */
.user-card-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2);
}

/* Badges */
.badge-firstreview,
.badge-tenreviews,
.badge-hundredreviews,
.badge-betatester,
.badge-siteowner {
    color: var(--color-neutral-0);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-firstreview i,
.badge-tenreviews i,
.badge-hundredreviews i,
.badge-betatester i,
.badge-siteowner i {
    margin-right: 4px;
}

.badge-firstreview     { background-color: var(--color-badge-firstreview); }
.badge-tenreviews      { background-color: var(--color-badge-tenreviews); }
.badge-hundredreviews  { background-color: var(--color-badge-hundredreviews); }
.badge-betatester      { background-color: var(--color-badge-betatester); }
.badge-siteowner       { background-color: var(--color-badge-siteowner); }

/* ── Landing hero brand lockup (logo + site name) ───────────────────────────
   Defined here (globally loaded) so both Index.cshtml and Menu.cshtml
   can use the same classes without each page importing menu.css. */
.landing-hero__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: var(--spacing-4);
}

.landing-hero__brand--stacked {
    flex-direction: column;
    gap: var(--spacing-3);
}

.landing-hero__logo {
    width: auto;
    height: 80px;
    object-fit: unset;
}

.landing-hero__app-name {
    color: var(--color-primary-300);
    font-size: clamp(2.4rem, 6vw, 3rem);
    white-space: nowrap;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
}

