/* user-info.css — 使用者資訊 + 連結 */

/* ── Links ── */

.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: #64748b;
}

.auth-switch button {
    background: none;
    border: none;
    color: #818cf8;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-switch button:hover {
    color: #a5b4fc;
}

/* ── User Info (logged in state) ── */

.user-section {
    text-align: center;
}

.user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #6366f1;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.user-details {
    margin-bottom: 24px;
}

.user-details .user-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.user-details .user-email {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 4px;
}

.user-details .user-id {
    font-size: 0.7rem;
    color: #475569;
    font-family: 'Cascadia Code', 'Consolas', monospace;
}
