/* The demo card on the login page (DemoCard.js): one ready-made account,
   "Log in as ..." and "Show someone else", above the normal login form. */

.auth-demo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.auth-demo[hidden] {
    display: none;
}

.auth-demo h2 {
    margin: 0;
}

.auth-demo-note {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.75;
}

.auth-demo-person {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem;
    border-radius: 12px;
    background: var(--surface, rgba(127, 127, 127, 0.08));
}

.auth-demo-avatar {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(127, 127, 127, 0.15);
}

.auth-demo-person p {
    margin: 0;
}

.auth-demo-name {
    font-weight: 600;
}

.auth-demo-handle,
.auth-demo-city {
    font-size: 0.875rem;
    opacity: 0.7;
}

.auth-demo-bio {
    margin: 0;
    line-height: 1.4;
}

.auth-demo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-demo-tags[hidden] {
    display: none;
}

.auth-demo-tags li {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: var(--chip-color, rgba(127, 127, 127, 0.15));
}

.auth-demo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.auth-demo-next {
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent, inherit);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.auth-demo.busy .auth-demo-person {
    opacity: 0.5;
    transition: opacity 0.15s;
}

/* The line between the card and the normal login form */
.auth-demo-or {
    margin: 0.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(127, 127, 127, 0.25);
    font-size: 0.875rem;
    opacity: 0.7;
    text-align: center;
}



.auth-demo-actions button.btn-primary{
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);

    padding: 4px 14px;
    border: 1px solid var(--thread-line);
    border-radius: 10px;
    font: inherit;
    cursor: pointer;
    background: var(--accent, #4f46e5);
    transition: all 0.15s ease;
}